Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndapi.c54 if (cursor->cond.ds == NULL) { in check_search_cursor()
61 dicinfo = &(cursor->cond.ds->dic[i]); in check_search_cursor()
84 if (cursor->cond.yomi == NULL) { in check_search_cursor()
89 if (cursor->cond.ylen > NJ_MAX_LEN) { in check_search_cursor()
94 if (cursor->cond.operation == NJ_CUR_OP_LINK) { in check_search_cursor()
96 } else if (cursor->cond.kanji != NULL) { in check_search_cursor()
98 if (nj_strlen(cursor->cond.kanji) > NJ_MAX_RESULT_LEN) { in check_search_cursor()
103 switch (cursor->cond.operation) { in check_search_cursor()
112 switch (cursor->cond.mode) { in check_search_cursor()
153 ret = njd_b_search_word(&cursor->cond, loctset); in search_word()
[all …]
Dndldic.c116 static NJ_INT16 get_cand_by_sequential(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATIO…
117 static NJ_INT16 get_cand_by_evaluate(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_…
118 static NJ_INT16 get_cand_by_evaluate2(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION…
924 static NJ_INT16 get_cand_by_sequential(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, in get_cand_by_sequential() argument
940 cond->yomi, cond->ylen, &from, &to, &forward_flag); in get_cand_by_sequential()
964 ptr = get_search_index_address(loctset->loct.handle, cond->operation); in get_cand_by_sequential()
971 ret = str_que_cmp(iwnn, loctset->loct.handle, cond->yomi, cond->ylen, que_id, 1); in get_cand_by_sequential()
979 ret = str_que_cmp(iwnn, loctset->loct.handle, cond->yomi, cond->ylen, que_id, 2); in get_cand_by_sequential()
990 cond->yomi, cond->ylen, cond->kanji, 0); in get_cand_by_sequential()
1023 if (njd_connect_test(cond, que->mae_hinsi, que->ato_hinsi)) { in get_cand_by_sequential()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c413 work->cursor.cond.operation = operation; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
414 work->cursor.cond.mode = order; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
415 work->cursor.cond.ds = &( work->dicSet ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
416 work->cursor.cond.yomi = work->keyString; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
417 work->cursor.cond.charset = &( work->approxSet ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
421 work->cursor.cond.yomi = work->previousStroke; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
422 work->cursor.cond.kanji = work->previousCandidate; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DUtils.java46 public static void assertTrue(boolean cond) { in assertTrue() argument
47 if (!cond) { in assertTrue()
/packages/apps/Gallery/src/com/android/camera/
DUtil.java352 public static void Assert(boolean cond) { in Assert() argument
353 if (!cond) { in Assert()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java251 public static void Assert(boolean cond) { in Assert() argument
252 if (!cond) { in Assert()
/packages/apps/Camera/src/com/android/camera/
DUtil.java236 public static void Assert(boolean cond) { in Assert() argument
237 if (!cond) { in Assert()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
Dnj_lib.h230 NJ_SEARCH_CONDITION cond; member