Lines Matching refs:que

96 #define NEXT_QUE(que, max)  ( ((que) < ((max) - 1)) ? ((que) + 1) : 0 )  argument
98 #define PREV_QUE(que, max) ( ((que) == 0) ? ((max) - 1) : ((que) - 1) ) argument
266 NJ_WQUE *que = &(iwnn->que_tmp); in get_que_type_and_next() local
275 que->type = GET_TYPE_FROM_DATA(ptr); in get_que_type_and_next()
276 que->next_flag = GET_FFLG_FROM_DATA(ptr); in get_que_type_and_next()
278 switch (que->type) { in get_que_type_and_next()
282 return que; in get_que_type_and_next()
295 NJ_WQUE *que = &(iwnn->que_tmp); in get_que_yomiLen_and_hyoukiLen() local
304 que->type = GET_TYPE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen()
305 que->yomi_byte = GET_YSIZE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen()
306 que->yomi_len = que->yomi_byte / sizeof(NJ_CHAR); in get_que_yomiLen_and_hyoukiLen()
307 que->hyouki_byte = GET_KSIZE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen()
308 que->hyouki_len = que->hyouki_byte / sizeof(NJ_CHAR); in get_que_yomiLen_and_hyoukiLen()
310 switch (que->type) { in get_que_yomiLen_and_hyoukiLen()
313 return que; in get_que_yomiLen_and_hyoukiLen()
326 NJ_WQUE *que = &(iwnn->que_tmp); in get_que_allHinsi() local
335 que->type = GET_TYPE_FROM_DATA(ptr); in get_que_allHinsi()
336 que->mae_hinsi = GET_FPOS_FROM_DATA(ptr); in get_que_allHinsi()
337 que->ato_hinsi = GET_BPOS_FROM_DATA(ptr); in get_que_allHinsi()
339 switch (que->type) { in get_que_allHinsi()
342 return que; in get_que_allHinsi()
354 NJ_WQUE *que = &(iwnn->que_tmp); in get_que() local
363 que->entry = que_id; in get_que()
364 que->type = GET_TYPE_FROM_DATA(ptr); in get_que()
365 que->mae_hinsi = GET_FPOS_FROM_DATA(ptr); in get_que()
366 que->ato_hinsi = GET_BPOS_FROM_DATA(ptr); in get_que()
367 que->yomi_byte = GET_YSIZE_FROM_DATA(ptr); in get_que()
368 que->yomi_len = que->yomi_byte / sizeof(NJ_CHAR); in get_que()
369 que->hyouki_byte= GET_KSIZE_FROM_DATA(ptr); in get_que()
370 que->hyouki_len = que->hyouki_byte / sizeof(NJ_CHAR); in get_que()
371 que->next_flag = GET_FFLG_FROM_DATA(ptr); in get_que()
373 switch (que->type) { in get_que()
376 return que; in get_que()
387 NJ_WQUE *que; in is_continued() local
408 que = get_que_type_and_next(iwnn, handle, que_id); in is_continued()
411 que = NULL; in is_continued()
414 if (que == NULL) { in is_continued()
417 if (que->type != QUE_TYPE_EMPTY) { in is_continued()
419 if (que->next_flag != 0) { in is_continued()
434 NJ_WQUE *que; in continue_cnt() local
456 que = get_que_type_and_next(iwnn, handle, que_id); in continue_cnt()
457 if (que == NULL) { in continue_cnt()
460 if (que->type != QUE_TYPE_EMPTY) { in continue_cnt()
462 if (que->next_flag != 0) { in continue_cnt()
769 NJ_WQUE *que; in get_hyouki() local
779 que = get_que_yomiLen_and_hyoukiLen(iwnn, handle, que_id); in get_hyouki()
780 if (que == NULL) { in get_hyouki()
786 if (que->yomi_len > NJ_MAX_USER_LEN) { in get_hyouki()
789 if (que->hyouki_len > NJ_MAX_USER_KOUHO_LEN) { in get_hyouki()
793 if (que->yomi_len > NJ_MAX_LEN) { in get_hyouki()
796 if (que->hyouki_len > NJ_MAX_RESULT_LEN) { in get_hyouki()
803 if (que->hyouki_len == 0) { in get_hyouki()
822 size = que->yomi_byte; in get_hyouki()
877 size = que->hyouki_byte; in get_hyouki()
918 *slen = que->hyouki_len; in get_hyouki()
932 NJ_WQUE *que; in get_cand_by_sequential() local
1022 que = get_que_allHinsi(iwnn, loctset->loct.handle, que_id); in get_cand_by_sequential()
1023 if (njd_connect_test(cond, que->mae_hinsi, que->ato_hinsi)) { in get_cand_by_sequential()
1063 NJ_WQUE *que; in get_cand_by_evaluate() local
1167 que = get_que_allHinsi(iwnn, loctset->loct.handle, que_id); in get_cand_by_evaluate()
1168 if (njd_connect_test(cond, que->mae_hinsi, que->ato_hinsi)) { in get_cand_by_evaluate()
1684 NJ_WQUE *que; in get_hindo() local
1704 que = get_que(iwnn, loctset->loct.handle, que_id); in get_hindo()
1705 if (que == NULL) { in get_hindo()
1721 NJ_WQUE *que; in njd_l_get_word() local
1738 que = get_que(iwnn, loctset->loct.handle, que_id); in njd_l_get_word()
1739 if (que == NULL) { in njd_l_get_word()
1751 NJ_SET_FPOS_TO_STEM(word, que->mae_hinsi); in njd_l_get_word()
1752 NJ_SET_YLEN_TO_STEM(word, que->yomi_len); in njd_l_get_word()
1753 if (que->hyouki_len > 0) { in njd_l_get_word()
1754 NJ_SET_KLEN_TO_STEM(word, que->hyouki_len); in njd_l_get_word()
1757 NJ_SET_KLEN_TO_STEM(word, que->yomi_len); in njd_l_get_word()
1759 NJ_SET_BPOS_TO_STEM(word, que->ato_hinsi); in njd_l_get_word()
1940 NJ_WQUE *que; in get_cand_by_evaluate2() local
2274 que = get_que_allHinsi(iwnn, loctset->loct.handle, que_id); in get_cand_by_evaluate2()
2275 if (njd_connect_test(cond, que->mae_hinsi, que->ato_hinsi)) { in get_cand_by_evaluate2()