Lines Matching refs:ret

127     NJ_INT16 ret = 0;
153 ret = njd_b_search_word(&cursor->cond, loctset);
157 ret = njd_l_search_word(iwnn, &cursor->cond, loctset, comp_flg);
161 ret = njd_f_search_word(&cursor->cond, loctset);
167 if (ret < 0) {
168 return ret;
170 if (ret == 0) {
188 NJ_INT16 ret = -1;
241 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word);
242 if (ret < 0) {
243 return ret;
246 ret = njd_get_stroke(iwnn, &tmp_result, tmp_stroke, sizeof(tmp_stroke));
247 if (ret <= 0) {
248 if ((ret == 0) || (NJ_GET_ERR_CODE(ret) == NJ_ERR_BUFFER_NOT_ENOUGH)) {
251 return ret;
267 ret = njd_b_search_word(&cursor->cond, loctset);
272 ret = njd_l_search_word(iwnn, &cursor->cond, loctset, comp_flg);
279 if (ret < 0) {
280 return ret;
283 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word);
284 if (ret < 0) {
285 return ret;
304 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &(tmp_result.word));
305 if (ret < 0) {
306 return ret;
310 ret = njd_get_stroke(iwnn, &tmp_result, tmp_stroke, sizeof(tmp_stroke));
311 if (ret <= 0) {
312 if ((ret == 0) || (NJ_GET_ERR_CODE(ret) == NJ_ERR_BUFFER_NOT_ENOUGH)) {
315 return ret;
349 ret = njd_b_search_word(&cursor->cond, loctset);
354 ret = njd_l_search_word(iwnn, &cursor->cond, loctset, comp_flg);
358 ret = njd_f_search_word(&cursor->cond, loctset);
366 if (ret < 0) {
367 return ret;
373 NJ_INT16 ret = 0;
395 ret = njd_b_get_word(loctset, word);
400 ret = njd_l_get_word(iwnn, loctset, word);
404 ret = njd_f_get_word(loctset, word);
410 return ret;
458 NJ_INT16 ret;
461 ret = check_search_cursor(iwnn, cursor);
462 if (ret != 0) {
463 return ret;
472 NJ_INT16 ret;
475 ret = get_word_and_search_next_word(iwnn, cursor, result, comp_flg);
477 return ret;
481 NJ_INT16 ret = 0;
500 ret = njd_b_get_stroke(&result->word, stroke, size);
520 ret = njd_l_get_stroke(iwnn, &result->word, stroke, size);
524 ret = njd_f_get_stroke(&result->word, stroke, size);
531 if (ret == 0) {
534 return ret;
540 NJ_INT16 ret = 0;
557 ret = njd_b_get_candidate(&result->word, candidate, size);
562 ret = njd_l_get_candidate(iwnn, &result->word, candidate, size);
566 ret = njd_f_get_candidate(&result->word, candidate, size);
573 if (ret == 0) {
576 return ret;
818 NJ_INT16 ret;
832 ret = njd_get_word(iwnn, cursor, result, 0);
834 return ret;