Searched refs:CANGJIE_OK (Results 1 – 15 of 15) sorted by relevance
32 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()
40 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()
32 assert(ret == CANGJIE_OK); in test_cangjie_char_a()48 assert(ret == CANGJIE_OK); in test_cangjie_char_zh()
39 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()
86 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 …]
193 } 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()
46 return CANGJIE_OK; in cangjie_char_new()52 return CANGJIE_OK; in cangjie_char_free()
102 return CANGJIE_OK; in insert_line()165 return CANGJIE_OK; in insert_line()222 return CANGJIE_OK; in main()
53 } else if (ret != CANGJIE_OK) { in main()131 return CANGJIE_OK; in main()
21 #define CANGJIE_OK 0 /* Successful result */ macro
6 When everything goes right, the function succeeds and returns `CANGJIE_OK`.
125 // ret would be equal to CANGJIE_OK here132 The function only returns either `CANGJIE_OK` (the key is a valid Cangjie
175 if ret not in (_core.CANGJIE_OK, _core.CANGJIE_INVALID):180 return ret == _core.CANGJIE_OK
67 if code != _core.CANGJIE_OK:
40 cdef int CANGJIE_OK