• Home
  • Raw
  • Download

Lines Matching refs:result

43 static void set_operation_id(NJ_SEARCH_LOCATION *dicinfo, NJ_UINT8 reverse, NJ_RESULT *result);
44 static NJ_INT16 get_word_and_search_next_word(NJ_CLASS *iwnn, NJ_CURSOR *cursor, NJ_RESULT *result,…
186 static NJ_INT16 get_word_and_search_next_word(NJ_CLASS *iwnn, NJ_CURSOR *cursor, NJ_RESULT *result, in get_word_and_search_next_word() argument
204 result->word = tmp_word; in get_word_and_search_next_word()
291 ((j == max_len) && (loctset->cache_freq > result->word.stem.hindo)) || in get_word_and_search_next_word()
294 set_operation_id(&(loctset->loct), 0, result); in get_word_and_search_next_word()
296 result->word = tmp_result.word; in get_word_and_search_next_word()
320 set_operation_id(&(loctset->loct), 0, result); in get_word_and_search_next_word()
322 result->word = tmp_result.word; in get_word_and_search_next_word()
413 static void set_operation_id(NJ_SEARCH_LOCATION *dicinfo, NJ_UINT8 reverse, NJ_RESULT *result) { in set_operation_id() argument
452 result->operation_id = in set_operation_id()
469 static NJ_INT16 njd_get_word(NJ_CLASS *iwnn, NJ_CURSOR *cursor, NJ_RESULT *result, in njd_get_word() argument
475 ret = get_word_and_search_next_word(iwnn, cursor, result, comp_flg); in njd_get_word()
480 NJ_INT16 njd_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *stroke, NJ_UINT16 size) { in njd_get_stroke() argument
486 if (result->word.stem.loc.handle == NULL) { in njd_get_stroke()
490 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_stroke()
499 if (GET_LOCATION_OPERATION(result->word.stem.loc.status) != NJ_CUR_OP_COMP) { in njd_get_stroke()
500 ret = njd_b_get_stroke(&result->word, stroke, size); in njd_get_stroke()
502 len = NJ_GET_YLEN_FROM_STEM(&result->word); in njd_get_stroke()
512 nj_strncpy(stroke, result->word.yomi, len); in njd_get_stroke()
520 ret = njd_l_get_stroke(iwnn, &result->word, stroke, size); in njd_get_stroke()
524 ret = njd_f_get_stroke(&result->word, stroke, size); in njd_get_stroke()
538 NJ_INT16 njd_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, in njd_get_candidate() argument
544 if (result->word.stem.loc.handle == NULL) { in njd_get_candidate()
548 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_candidate()
557 ret = njd_b_get_candidate(&result->word, candidate, size); in njd_get_candidate()
562 ret = njd_l_get_candidate(iwnn, &result->word, candidate, size); in njd_get_candidate()
566 ret = njd_f_get_candidate(&result->word, candidate, size); in njd_get_candidate()
817 NJ_EXTERN NJ_INT16 njx_get_word(NJ_CLASS *iwnn, NJ_CURSOR *cursor, NJ_RESULT *result) { in njx_get_word() argument
828 if (result == NULL) { in njx_get_word()
832 ret = njd_get_word(iwnn, cursor, result, 0); in njx_get_word()