Searched refs:NJ_UINT8 (Results 1 – 16 of 16) sorted by relevance
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_ext.h | 24 ( (((NJ_UINT8*)(a))[0] == ((NJ_UINT8*)(b))[0]) && (((NJ_UINT8*)(a))[1] == ((NJ_UINT8*)(b))[1]) ) 27 ( (((NJ_UINT8*)(a))[0] < ((NJ_UINT8*)(b))[0]) || \ 28 … ((((NJ_UINT8*)(a))[0] == ((NJ_UINT8*)(b))[0]) && (((NJ_UINT8*)(a))[1] <= ((NJ_UINT8*)(b))[1])) ) 31 ( (((NJ_UINT8*)(a))[0] > ((NJ_UINT8*)(b))[0]) || \ 32 … ((((NJ_UINT8*)(a))[0] == ((NJ_UINT8*)(b))[0]) && (((NJ_UINT8*)(a))[1] >= ((NJ_UINT8*)(b))[1])) ) 36 ( (((NJ_UINT8*)(a))[0] == ((NJ_UINT8*)(b))[0]) \ 37 ? (((NJ_UINT8*)(a))[1] - ((NJ_UINT8*)(b))[1]) \ 38 : (((NJ_UINT8*)(a))[0] - ((NJ_UINT8*)(b))[0]) ) \ 43 ((NJ_UINT8*)(dst))[0] = ((NJ_UINT8*)(src))[0]; \ 44 ((NJ_UINT8*)(dst))[1] = ((NJ_UINT8*)(src))[1]; \ [all …]
|
D | nj_lib.h | 23 typedef unsigned char NJ_UINT8; typedef 109 typedef NJ_UINT8 * NJ_DIC_HANDLE; 120 NJ_UINT8 *node; 121 NJ_UINT8 *now; 126 NJ_UINT8 statusFlg; 127 #define NJ_STATUSFLG_CACHEOVER ((NJ_UINT8)0x01) 128 #define NJ_STATUSFLG_AIMAI ((NJ_UINT8)0x02) 129 #define NJ_STATUSFLG_HINDO ((NJ_UINT8)0x04) 130 NJ_UINT8 viewCnt; 144 NJ_UINT8 type; [all …]
|
D | njx_lib.h | 26 NJ_UINT8 yomi_len; 27 NJ_UINT8 hyouki_len; 31 NJ_UINT8 fzk_yomi_len; 37 NJ_UINT8 type; 40 NJ_UINT8 yomi_len; 41 NJ_UINT8 hyouki_len; 42 NJ_UINT8 yomi_byte; 43 NJ_UINT8 hyouki_byte; 44 NJ_UINT8 next_flag; 50 NJ_UINT8 count; [all …]
|
D | nj_dic.h | 61 {(to)[0]=(NJ_UINT8)(((from)>>24) & 0x000000ff);\ 62 (to)[1]=(NJ_UINT8)(((from)>>16) & 0x000000ff);\ 63 (to)[2]=(NJ_UINT8)(((from)>>8) & 0x000000ff);\ 64 (to)[3]=(NJ_UINT8)((from) & 0x000000ff);} 67 {(to)[0]=(NJ_UINT8)(((from)>>8) & 0x00ff);\ 68 (to)[1]=(NJ_UINT8)((from) & 0x00ff);}
|
D | njd.h | 50 #define GET_LOCATION_STATUS(x) ((NJ_UINT8)((x)&0x0f)) 52 #define GET_LOCATION_OPERATION(x) ((NJ_UINT8)(((x) >> 4)&0x0f)) 57 #define NJ_GET_DIC_FMT(h) ((NJ_UINT8)((*((h)+0x1C)) & 0x03))
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndbdic.c | 24 #define NODE_TERM(x) ((NJ_UINT8)(0x80 & (*(x)))) 25 #define NODE_LEFT_EXIST(x) ((NJ_UINT8)(0x40 & (*(x)))) 26 #define NODE_DATA_EXIST(x) ((NJ_UINT8)(0x20 & (*(x)))) 27 #define NODE_IDX_EXIST(x) ((NJ_UINT8)(0x10 & (*(x)))) 28 #define NODE_IDX_CNT(x) ((NJ_UINT8)((0x0f & (*(x))) + 2)) 30 #define STEM_TERMINETER(x) ((NJ_UINT8)(0x80 & (*(x)))) 32 #define STEM_NO_CONV_FLG(x) ((NJ_UINT8)(0x40 & (*(x)))) 37 #define APPEND_YOMI_FLG(h) ((NJ_UINT8)(0x80 & (*((h) + 0x1C)))) 38 #define HINSI_NO_TOP_ADDR(h) ((NJ_UINT8*)((h) + NJ_INT32_READ((h) + 0x1D))) 41 #define HINSI_NO_BYTE(h) ((NJ_UINT8)(*((h) + 0x25))) [all …]
|
D | ndldic.c | 58 #define GET_YSIZE_FROM_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ((x)+1) & 0x7F)) 60 #define GET_KSIZE_FROM_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ((x)+3) & 0x7F)) 62 #define GET_YSIZE_FROM_EXT_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ(x) & 0x7F)) 77 (*(x) = (NJ_UINT8)(((type) & 0x03) | \ 80 (*(x) = (NJ_UINT8)(((type) & 0x03) | \ 86 { ((NJ_UINT8*)(to))[0] = ((NJ_UINT8*)(from))[0]; \ 87 ((NJ_UINT8*)(to))[1] = ((NJ_UINT8*)(from))[1]; \ 88 ((NJ_UINT8*)(to))[2] = ((NJ_UINT8*)(from))[2]; \ 89 ((NJ_UINT8*)(to))[3] = ((NJ_UINT8*)(from))[3]; } 113 … handle, NJ_UINT16 que_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, NJ_UINT8 multi_flg); [all …]
|
D | ndfdic.c | 50 ((NJ_UINT8)((*((x)+DATA_OFFSET_CANDIDATE_LEN) << 4) | \ 58 ((NJ_UINT8)((*((x)+DATA_OFFSET_YOMI_LEN)))) 60 #define YOMI_INDX_TOP_ADDR(h) ((NJ_UINT8*)((h)+NJ_INT32_READ((h)+0x1C))) 63 #define STEM_AREA_TOP_ADDR(h) ((NJ_UINT8*)((h)+NJ_INT32_READ((h)+0x24))) 64 #define STRS_AREA_TOP_ADDR(h) ((NJ_UINT8*)((h)+NJ_INT32_READ((h)+0x28))) 65 #define YOMI_AREA_TOP_ADDR(h) ((NJ_UINT8*)((h)+NJ_INT32_READ((h)+0x2C))) 71 #define CURRENT_INFO_SET (NJ_UINT8)(0x10) 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); 80 NJ_UINT8 *data; in search_data() [all …]
|
D | necode.c | 26 ((NJ_UINT16)( (((NJ_UINT8*)(s))[0] << 8) | ((NJ_UINT8*)(s))[1] )) 30 ((NJ_UINT8*)(s))[0] = (NJ_UINT8)(((c) >> 8) & 0x00ff); \ 31 ((NJ_UINT8*)(s))[1] = (NJ_UINT8)(((c)) & 0x00ff); \
|
D | ndrdic.c | 25 #define F_HINSI_TOP_ADDR(h) ((NJ_UINT8*)((h)+NJ_INT32_READ((h)+0x20))) 26 #define B_HINSI_TOP_ADDR(h) ((NJ_UINT8*)((h)+NJ_INT32_READ((h)+0x24))) 43 NJ_INT16 njd_r_get_hinsi(NJ_DIC_HANDLE rule, NJ_UINT8 type) { in njd_r_get_hinsi() 86 NJ_INT16 njd_r_get_connect(NJ_DIC_HANDLE rule, NJ_UINT16 hinsi, NJ_UINT8 type, NJ_UINT8 **connect) { in njd_r_get_connect() 101 *connect = (NJ_UINT8*)(F_HINSI_TOP_ADDR(rule) + ((hinsi - 1) * rec_len)); in njd_r_get_connect() 106 *connect = (NJ_UINT8*)(B_HINSI_TOP_ADDR(rule) + ((hinsi - 1) * rec_len)); in njd_r_get_connect()
|
D | ndapi.c | 42 static NJ_INT16 search_word(NJ_CLASS *iwnn, NJ_CURSOR *cursor, NJ_UINT8 comp_flg, NJ_UINT8 *exit_fl… 43 static void set_operation_id(NJ_SEARCH_LOCATION *dicinfo, NJ_UINT8 reverse, NJ_RESULT *result); 44 …word_and_search_next_word(NJ_CLASS *iwnn, NJ_CURSOR *cursor, NJ_RESULT *result, NJ_UINT8 comp_flg); 123 static NJ_INT16 search_word(NJ_CLASS *iwnn, NJ_CURSOR *cursor, NJ_UINT8 comp_flg, in search_word() 124 NJ_UINT8 *exit_flag) { in search_word() 187 NJ_UINT8 comp_flg) { 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() 456 static NJ_INT16 njd_search_word(NJ_CLASS *iwnn, NJ_CURSOR *cursor, NJ_UINT8 comp_flg, in njd_search_word() 457 NJ_UINT8 *exit_flag) { in njd_search_word() 470 NJ_UINT8 comp_flg) { in njd_get_word() [all …]
|
D | nj_str.c | 143 NJ_UINT8 *nj_memcpy(NJ_UINT8 *dst, NJ_UINT8 *src, NJ_UINT16 n) { in nj_memcpy() 145 NJ_UINT8 *d = dst; in nj_memcpy()
|
D | neapi.c | 163 lword->yomi_len = (NJ_UINT8)ret; in set_learn_word_info() 168 lword->hyouki_len = (NJ_UINT8)ret; in set_learn_word_info()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | predef_table.h | 23 ( NJ_UINT8* ) 29 ( NJ_UINT8* ) 43 ( NJ_UINT8* ) 49 ( NJ_UINT8* ) 63 ( NJ_UINT8* ) 79 ( NJ_UINT8* ) 103 ( NJ_UINT8* ) 119 ( NJ_UINT8* ) 143 ( NJ_UINT8* ) 150 ( NJ_UINT8* )
|
D | OpenWnnDictionaryImplJni.c | 45 static NJ_CHAR convertUTFCharToNjChar( NJ_UINT8* src ) in convertUTFCharToNjChar() 48 NJ_UINT8* dst; in convertUTFCharToNjChar() 51 dst = ( NJ_UINT8* )&ret; in convertUTFCharToNjChar() 68 NJ_UINT8* dst_tmp; in convertStringToNjChar() 69 dst_tmp = ( NJ_UINT8* )&( dst[ o ] ); in convertStringToNjChar() 99 NJ_UINT8 dst1, dst2, dst3; in convertStringToNjChar() 144 NJ_UINT8* src_tmp; in convertNjCharToString() 145 src_tmp = ( NJ_UINT8* )&( src[ i ] ); in convertNjCharToString() 161 NJ_UINT8 src1, src2, src3; in convertNjCharToString() 214 NJ_UINT8* dic_type; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork() [all …]
|
D | OpenWnnJni.h | 65 NJ_UINT8 dicType[ NJ_MAX_DIC ]; 76 NJ_UINT8 flag; 84 NJ_UINT8* from; 85 NJ_UINT8* to;
|