/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndbdic.c | 62 #define WORD_LEN(x) ((NJ_UINT16)(0x007F & (x))) 71 NJ_UINT16 stem_size; 72 NJ_UINT16 term; 73 NJ_UINT16 no_conv_flg; 75 NJ_UINT16 hindo_jitu; 76 NJ_UINT16 candidate_size; 77 NJ_UINT16 yomi_size; 78 NJ_UINT16 fhinsi; 79 NJ_UINT16 bhinsi; 80 NJ_UINT16 fhinsi_jitu; [all …]
|
D | ndldic.c | 55 #define GET_UINT16(ptr) ((((NJ_UINT16)(*(ptr))) << 8) | (*((ptr) + 1) & 0x00ff)) 57 #define GET_FPOS_FROM_DATA(x) ((NJ_UINT16)NJ_INT16_READ((x)+1) >> 7) 58 #define GET_YSIZE_FROM_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ((x)+1) & 0x7F)) 59 #define GET_BPOS_FROM_DATA(x) ((NJ_UINT16)NJ_INT16_READ((x)+3) >> 7) 60 #define GET_KSIZE_FROM_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ((x)+3) & 0x7F)) 61 #define GET_BPOS_FROM_EXT_DATA(x) ((NJ_UINT16)NJ_INT16_READ(x) >> 7) 62 #define GET_YSIZE_FROM_EXT_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ(x) & 0x7F)) 65 NJ_INT16_WRITE((x), ((NJ_UINT16)((bpos) << 7) | ((ysize) & 0x7F))) 67 NJ_INT16_WRITE(((x)+1), ((NJ_UINT16)((fpos) << 7) | ((ysize) & 0x7F))) 69 NJ_INT16_WRITE(((x)+3), ((NJ_UINT16)((bpos) << 7) | ((ksize) & 0x7F))) [all …]
|
D | ndrdic.c | 27 #define V2_F_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x28))) 28 #define BUN_B_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x2A))) 29 #define TAN_F_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x30))) 30 #define TAN_B_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x32))) 31 #define SUUJI_B_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x34))) 32 #define MEISI_F_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x36))) 33 #define MEISI_B_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x38))) 34 #define JINMEI_F_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x3A))) 35 #define JINMEI_B_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x3C))) 36 #define CHIMEI_F_HINSI(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x3E))) [all …]
|
D | ndfdic.c | 35 ( (NJ_UINT16)(0x01FF & \ 36 (((NJ_UINT16)*((x)+DATA_OFFSET_FHINSI ) << 1) | \ 39 ( (NJ_UINT16)(0x01FF & \ 40 (((NJ_UINT16)*((x)+DATA_OFFSET_BHINSI ) << 2) | \ 43 ((NJ_HINDO)(0x003F & ((NJ_UINT16)*((x)+DATA_OFFSET_HINDO)))) 61 #define YOMI_INDX_CNT(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x20))) 62 #define YOMI_INDX_BYTE(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x22))) 73 static NJ_UINT16 search_data(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset); 74 static NJ_UINT16 convert_to_yomi(NJ_DIC_HANDLE hdl, NJ_UINT8 *index, NJ_UINT16 len, NJ_CHAR *yomi, … 75 static NJ_UINT16 yomi_strcmp_forward(NJ_DIC_HANDLE hdl, NJ_UINT8 *data, NJ_CHAR *yomi); [all …]
|
D | nj_str.c | 33 NJ_CHAR *nj_strncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { in nj_strncpy() 53 NJ_UINT16 nj_strlen(NJ_CHAR *c) { in nj_strlen() 55 NJ_UINT16 count = 0; in nj_strlen() 76 NJ_INT16 nj_strncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { in nj_strncmp() 90 NJ_UINT16 nj_charlen(NJ_CHAR *c) { in nj_charlen() 92 NJ_UINT16 count = 0; in nj_charlen() 102 NJ_INT16 nj_charncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { in nj_charncmp() 103 NJ_UINT16 i; in nj_charncmp() 122 NJ_CHAR *nj_charncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { in nj_charncpy() 125 NJ_UINT16 i; in nj_charncpy() [all …]
|
D | ndapi.c | 49 NJ_UINT16 i; in check_search_cursor() 241 … ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word); in get_word_and_search_next_word() 283 … ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word); in get_word_and_search_next_word() 304 … ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &(tmp_result.word)); in get_word_and_search_next_word() 372 …ta(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD… in njd_get_word_data() 414 NJ_UINT16 dictype; in set_operation_id() 453 (NJ_UINT16)((NJ_UINT16)NJ_OP_SEARCH | (NJ_UINT16)NJ_FUNC_SEARCH | dictype); in set_operation_id() 480 NJ_INT16 njd_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *stroke, NJ_UINT16 size) { in njd_get_stroke() 482 NJ_UINT16 len; in njd_get_stroke() 539 NJ_CHAR *candidate, NJ_UINT16 size) { in njd_get_candidate() [all …]
|
D | neapi.c | 70 NJ_EXTERN NJ_INT16 njx_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf… in njx_get_candidate() 100 NJ_EXTERN NJ_INT16 njx_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_si… in njx_get_stroke() 183 if ((ret != 0) && (lword->f_hinsi == (NJ_UINT16)ret)) { in set_learn_word_info() 186 lword->f_hinsi = (NJ_UINT16)ret; in set_learn_word_info() 192 if ((ret != 0) && (lword->b_hinsi == (NJ_UINT16)ret)) { in set_learn_word_info() 195 lword->b_hinsi = (NJ_UINT16)ret; in set_learn_word_info() 201 if ((ret != 0) && (lword->stem_b_hinsi == (NJ_UINT16)ret)) { in set_learn_word_info() 204 lword->stem_b_hinsi = (NJ_UINT16)ret; in set_learn_word_info()
|
D | necode.c | 26 ((NJ_UINT16)( (((NJ_UINT8*)(s))[0] << 8) | ((NJ_UINT8*)(s))[1] )) 39 NJ_INT16 nje_convert_hira_to_kata(NJ_CHAR *hira, NJ_CHAR *kata, NJ_UINT16 len) in nje_convert_hira_to_kata() 41 NJ_UINT16 pnt; in nje_convert_hira_to_kata() 42 NJ_UINT16 wchar; in nje_convert_hira_to_kata()
|
D | ndcommon.c | 26 NJ_INT16 njd_connect_test(NJ_SEARCH_CONDITION *con, NJ_UINT16 hinsiF, NJ_UINT16 hinsiR) in njd_connect_test()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_ext.h | 67 ((NJ_UINT16)(((NJ_UINT16)(data) >> (16 - (pos) - (width))) & \ 68 ((NJ_UINT16)0xffff >> (16 - (width) )))) 80 ((NJ_UINT16)(((NJ_UINT16)(errval) & 0x007F) << 8)) 83 …ta(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD… 85 NJ_CHAR *stroke, NJ_UINT16 size); 87 NJ_CHAR *candidate, NJ_UINT16 size); 95 NJ_UINT16 size); 96 extern NJ_INT16 njd_b_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size); 102 NJ_UINT16 size); 104 NJ_UINT16 size); [all …]
|
D | nj_lib.h | 25 typedef unsigned short NJ_UINT16; typedef 112 NJ_UINT16 base; 113 NJ_UINT16 high; 122 NJ_UINT16 idx_no; 131 NJ_UINT16 keyPtr[NJ_MAX_KEYWORD]; 164 NJ_UINT16 mode; 173 NJ_UINT16 charset_count; 194 NJ_UINT16 foreSize; 195 NJ_UINT16 foreFlag; 197 NJ_UINT16 rearSize; [all …]
|
D | njx_lib.h | 24 NJ_UINT16 f_hinsi; 25 NJ_UINT16 b_hinsi; 30 NJ_UINT16 stem_b_hinsi; 36 NJ_UINT16 entry; 38 NJ_UINT16 mae_hinsi; 39 NJ_UINT16 ato_hinsi; 81 NJ_UINT16 save_top; 82 NJ_UINT16 save_bottom; 83 NJ_UINT16 save_count;
|
D | nj_dic.h | 76 #define F_HINSI_SET_CNT(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x1C))) 77 #define B_HINSI_SET_CNT(h) ((NJ_UINT16)(NJ_INT16_READ((h)+0x1E)))
|
D | njd.h | 54 #define SET_LOCATION_OPERATION(ope) ((NJ_UINT16)((ope) << 4))
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 792 NJ_UINT16 lcount = 0, rcount = 0; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setLeftPartOfSpeech() 826 NJ_UINT16 lcount = 0, rcount = 0; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setRightPartOfSpeech() 1059 NJ_UINT16 lcount = 0, rcount = 0; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getConnectArray() 1132 NJ_UINT16 lcount = 0, rcount = 0; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNumberOfLeftPOS() 1159 NJ_UINT16 lcount = 0, rcount = 0; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNumberOfRightPOS()
|