/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
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;
|
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 extern NJ_INT16 njd_get_word_data(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD *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) [all...] |
nj_lib.h | 25 typedef unsigned short NJ_UINT16; 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...] |
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)))
|
njd.h | 54 #define SET_LOCATION_OPERATION(ope) ((NJ_UINT16)((ope) << 4))
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
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...] |
nj_str.c | 33 NJ_CHAR *nj_strncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { 53 NJ_UINT16 nj_strlen(NJ_CHAR *c) { 55 NJ_UINT16 count = 0; 76 NJ_INT16 nj_strncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { 90 NJ_UINT16 nj_charlen(NJ_CHAR *c) { 92 NJ_UINT16 count = 0; 102 NJ_INT16 nj_charncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { 103 NJ_UINT16 i; 122 NJ_CHAR *nj_charncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { 125 NJ_UINT16 i [all...] |
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) 41 NJ_UINT16 pnt; 42 NJ_UINT16 wchar;
|
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...] |
ndcommon.c | 26 NJ_INT16 njd_connect_test(NJ_SEARCH_CONDITION *con, NJ_UINT16 hinsiF, NJ_UINT16 hinsiR)
|
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, NJ_UINT16 size) [all...] |
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...] |
neapi.c | 70 NJ_EXTERN NJ_INT16 njx_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_size) { 100 NJ_EXTERN NJ_INT16 njx_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_size) { 183 if ((ret != 0) && (lword->f_hinsi == (NJ_UINT16)ret)) { 186 lword->f_hinsi = (NJ_UINT16)ret; 192 if ((ret != 0) && (lword->b_hinsi == (NJ_UINT16)ret)) { 195 lword->b_hinsi = (NJ_UINT16)ret; 201 if ((ret != 0) && (lword->stem_b_hinsi == (NJ_UINT16)ret)) { 204 lword->stem_b_hinsi = (NJ_UINT16)ret;
|
ndapi.c | 49 NJ_UINT16 i; 241 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word); 283 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word); 304 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &(tmp_result.word)); 372 NJ_INT16 njd_get_word_data(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD *word) { 414 NJ_UINT16 dictype; 453 (NJ_UINT16)((NJ_UINT16)NJ_OP_SEARCH | (NJ_UINT16)NJ_FUNC_SEARCH | dictype); 480 NJ_INT16 njd_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *stroke, NJ_UINT16 size) [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
OpenWnnDictionaryImplJni.c | 792 NJ_UINT16 lcount = 0, rcount = 0; 826 NJ_UINT16 lcount = 0, rcount = 0; [all...] |