Home
last modified time | relevance | path

Searched refs:CANGJIE_OK (Results 1 – 15 of 15) sorted by relevance

/dports/chinese/libcangjie/libcangjie-1.3/tests/
H A Dtest_cangjiecharlist.c32 assert(ret == CANGJIE_OK); in test_cangjie_char_list_append()
35 assert(ret == CANGJIE_OK); in test_cangjie_char_list_append()
41 assert(ret == CANGJIE_OK); in test_cangjie_char_list_append()
44 assert(ret == CANGJIE_OK); in test_cangjie_char_list_append()
59 assert(ret == CANGJIE_OK); in test_cangjie_char_list_prepend()
62 assert(ret == CANGJIE_OK); in test_cangjie_char_list_prepend()
68 assert(ret == CANGJIE_OK); in test_cangjie_char_list_prepend()
71 assert(ret == CANGJIE_OK); in test_cangjie_char_list_prepend()
H A Dtest_cangjie.c40 assert(ret == CANGJIE_OK); in test_cangjie_new()
53 assert(ret == CANGJIE_OK); in test_cangjie_get_characters_single_result()
59 assert(ret == CANGJIE_OK); in test_cangjie_get_characters_single_result()
75 assert(ret == CANGJIE_OK); in test_cangjie_get_characters_by_shortcode()
81 assert(ret == CANGJIE_OK); in test_cangjie_get_characters_by_shortcode()
113 assert(ret == CANGJIE_OK); in test_cangjie_get_characters_multiple_queries()
119 assert(ret == CANGJIE_OK); in test_cangjie_get_characters_multiple_queries()
123 assert(ret == CANGJIE_OK); in test_cangjie_get_characters_multiple_queries()
H A Dtest_cangjiechar.c32 assert(ret == CANGJIE_OK); in test_cangjie_char_a()
48 assert(ret == CANGJIE_OK); in test_cangjie_char_zh()
/dports/chinese/libcangjie/libcangjie-1.3/src/
H A Dcangjiecharlist.c39 return CANGJIE_OK; in cangjie_char_list_new_elem()
48 if (ret != CANGJIE_OK) { in cangjie_char_list_append()
61 return CANGJIE_OK; in cangjie_char_list_append()
66 return CANGJIE_OK; in cangjie_char_list_append()
74 if (ret != CANGJIE_OK) { in cangjie_char_list_prepend()
85 return CANGJIE_OK; in cangjie_char_list_prepend()
90 return CANGJIE_OK; in cangjie_char_list_free()
99 return CANGJIE_OK; in cangjie_char_list_free()
H A Dcangjie.c86 return CANGJIE_OK; in cangjie_get_filter_query()
143 return CANGJIE_OK; in cangjie_get_filter_query()
171 if (ret != CANGJIE_OK) { in cangjie_new()
208 return CANGJIE_OK; in cangjie_new()
281 if (ret != CANGJIE_OK) { in cangjie_get_characters()
286 if (ret != CANGJIE_OK) { in cangjie_get_characters()
305 return CANGJIE_OK; in cangjie_get_characters()
367 return CANGJIE_OK; in cangjie_get_characters_by_shortcode()
385 return CANGJIE_OK; in cangjie_get_radical()
394 return CANGJIE_OK; in cangjie_is_input_key()
[all …]
H A Dcli.c193 } else if (ret != CANGJIE_OK) { in main()
203 if (ret == CANGJIE_OK) { in main()
228 } else if (ret != CANGJIE_OK) { in main()
254 return CANGJIE_OK; in main()
H A Dcangjiechar.c46 return CANGJIE_OK; in cangjie_char_new()
52 return CANGJIE_OK; in cangjie_char_free()
H A Ddbbuilder.c102 return CANGJIE_OK; in insert_line()
165 return CANGJIE_OK; in insert_line()
222 return CANGJIE_OK; in main()
H A Dbench.c53 } else if (ret != CANGJIE_OK) { in main()
131 return CANGJIE_OK; in main()
H A Dcangjieerrors.h21 #define CANGJIE_OK 0 /* Successful result */ macro
/dports/chinese/libcangjie/libcangjie-1.3/docs/
H A Derrors.md6 When everything goes right, the function succeeds and returns `CANGJIE_OK`.
H A Dcangjie.md125 // ret would be equal to CANGJIE_OK here
132 The function only returns either `CANGJIE_OK` (the key is a valid Cangjie
/dports/chinese/pycangjie/pycangjie-1.3/src/cangjie/
H A D_core.pyx175 if ret not in (_core.CANGJIE_OK, _core.CANGJIE_INVALID):
180 return ret == _core.CANGJIE_OK
H A Derrors.pyx67 if code != _core.CANGJIE_OK:
H A D_core.pxd40 cdef int CANGJIE_OK