HomeSort by relevance Sort by last modified time
    Searched refs:NJ_CHAR (Results 1 - 13 of 13) sorted by null

  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
nj_str.c 21 NJ_CHAR *nj_strcpy(NJ_CHAR *dst, NJ_CHAR *src) {
23 NJ_CHAR *ret = dst;
33 NJ_CHAR *nj_strncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) {
35 NJ_CHAR *d = dst;
53 NJ_UINT16 nj_strlen(NJ_CHAR *c) {
64 NJ_INT16 nj_strcmp(NJ_CHAR *s1, NJ_CHAR *s2)
    [all...]
ndfdic.c 74 static NJ_UINT16 convert_to_yomi(NJ_DIC_HANDLE hdl, NJ_UINT8 *index, NJ_UINT16 len, NJ_CHAR *yomi, NJ_UINT16 size);
75 static NJ_UINT16 yomi_strcmp_forward(NJ_DIC_HANDLE hdl, NJ_UINT8 *data, NJ_CHAR *yomi);
151 static NJ_UINT16 convert_to_yomi(NJ_DIC_HANDLE hdl, NJ_UINT8 *index, NJ_UINT16 len, NJ_CHAR *yomi, NJ_UINT16 size)
154 NJ_CHAR *wky;
179 if (((ret + char_len + NJ_TERM_LEN) * sizeof(NJ_CHAR)) > size) {
180 return (size / sizeof(NJ_CHAR));
189 if (((ret + 1 + NJ_TERM_LEN) * sizeof(NJ_CHAR)) > size) {
190 return (size / sizeof(NJ_CHAR));
192 *wky++ = (NJ_CHAR)(*(wkc + idx));
201 static NJ_UINT16 yomi_strcmp_forward(NJ_DIC_HANDLE hdl, NJ_UINT8 *data, NJ_CHAR *yomi
    [all...]
necode.c 39 NJ_INT16 nje_convert_hira_to_kata(NJ_CHAR *hira, NJ_CHAR *kata, NJ_UINT16 len)
ndldic.c 113 static NJ_INT16 que_strcmp_complete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, NJ_UINT8 multi_flg);
114 static NJ_CHAR *get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
115 static NJ_CHAR *get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
119 static NJ_INT16 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag);
120 static NJ_INT16 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 sfrom, NJ_UINT16 sto, NJ_UINT16 *from, NJ_UINT16 *to,
122 static NJ_INT16 search_range_by_yomi_multi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 *from, NJ_UINT16 *to);
123 static NJ_INT16 str_que_cmp(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 yomiLen, NJ_UINT16 que_id, NJ_UINT8 mode);
134 static NJ_INT16 que_strcmp_include(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi);
306 que->yomi_len = que->yomi_byte / sizeof(NJ_CHAR);
    [all...]
ndbdic.c 89 static NJ_UINT16 get_stem_yomi_string(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, NJ_CHAR *yomi, NJ_UINT16 yomi_pos, NJ_UINT16 yomi_size, NJ_UINT16 size);
102 NJ_CHAR *yomi, NJ_UINT16 yomilen,
109 static NJ_INT16 get_node_bottom(NJ_CHAR *yomi, NJ_UINT8 *now, NJ_UINT8 *node_mid,
479 return len * sizeof(NJ_CHAR);
486 static NJ_UINT16 get_stem_yomi_string(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, NJ_CHAR *yomi, NJ_UINT16 yomi_pos, NJ_UINT16 yomi_size, NJ_UINT16 size)
515 if (((copy_len + char_len + NJ_TERM_LEN) * sizeof(NJ_CHAR)) > size) {
522 ytbl += sizeof(NJ_CHAR);
526 if (((copy_len + 1 + NJ_TERM_LEN) * sizeof(NJ_CHAR)) > size) {
530 *(yomi + copy_len) = (NJ_CHAR)(*ytbl);
535 if ((yomi_size + (NJ_TERM_LEN * sizeof(NJ_CHAR))) > size)
    [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) {
ndapi.c 192 NJ_CHAR tmp_stroke[NJ_MAX_LEN + NJ_TERM_LEN];
193 NJ_CHAR result_stroke[NJ_MAX_LEN + NJ_TERM_LEN];
480 NJ_INT16 njd_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *stroke, NJ_UINT16 size) {
504 if (size < ((len + NJ_TERM_LEN) * sizeof(NJ_CHAR))) {
539 NJ_CHAR *candidate, NJ_UINT16 size) {
616 if (NJ_INT32_READ(addr) > (NJ_MAX_LEN * sizeof(NJ_CHAR))) {
622 if (NJ_INT32_READ(addr) > (NJ_MAX_RESULT_LEN * sizeof(NJ_CHAR))) {
677 NJ_CHAR *p_yomi, *p_key;
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
nj_ext.h 85 NJ_CHAR *stroke, NJ_UINT16 size);
87 NJ_CHAR *candidate, NJ_UINT16 size);
94 extern NJ_INT16 njd_b_get_candidate(NJ_WORD *word, NJ_CHAR *candidate,
96 extern NJ_INT16 njd_b_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size);
101 extern NJ_INT16 njd_f_get_stroke(NJ_WORD *word, NJ_CHAR *stroke,
103 extern NJ_INT16 njd_f_get_candidate(NJ_WORD *word, NJ_CHAR *candidate,
115 NJ_CHAR *stroke, NJ_UINT16 size);
117 NJ_CHAR *candidate, NJ_UINT16 size);
138 extern NJ_UINT16 nje_check_string(NJ_CHAR *s, NJ_UINT16 max_len);
139 extern NJ_UINT8 nje_get_top_char_type(NJ_CHAR *s)
    [all...]
njx_lib.h 28 NJ_CHAR yomi[NJ_MAX_LEN +NJ_TERM_LEN];
29 NJ_CHAR hyouki[NJ_MAX_RESULT_LEN + NJ_TERM_LEN];
70 NJ_CHAR learn_string_tmp[NJ_MAX_RESULT_LEN + NJ_TERM_LEN];
72 NJ_CHAR muhenkan_tmp[NJ_MAX_RESULT_LEN + NJ_TERM_LEN];
nj_lib.h 29 typedef unsigned short NJ_CHAR;
106 #define NJ_USER_QUE_SIZE (((NJ_MAX_USER_LEN + NJ_MAX_USER_KOUHO_LEN) * sizeof(NJ_CHAR)) + 5)
169 NJ_CHAR keyword[NJ_MAX_KEYWORD];
174 NJ_CHAR *from[NJ_MAX_CHARSET];
175 NJ_CHAR *to[NJ_MAX_CHARSET];
202 NJ_CHAR *yomi;
205 NJ_CHAR *kanji;
243 NJ_CHAR yomi[NJ_MAX_LEN + NJ_TERM_LEN];
244 NJ_CHAR kouho[NJ_MAX_RESULT_LEN + NJ_TERM_LEN];
268 NJ_CHAR *yomi;
    [all...]
nj_dic.h 70 #define NJ_GET_MAX_YLEN(h) ((NJ_INT16)(NJ_INT16_READ((h)+0x16)/sizeof(NJ_CHAR)))
72 #define NJ_GET_MAX_KLEN(h) ((NJ_INT16)(NJ_INT16_READ((h)+0x1A)/sizeof(NJ_CHAR)))
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/
OpenWnnJni.h 66 NJ_CHAR keyString[ NJ_MAX_LEN + NJ_TERM_LEN ];
73 NJ_CHAR approxStr[ NJ_MAX_CHARSET * NJ_APPROXSTORE_SIZE ];
74 NJ_CHAR previousStroke[ NJ_MAX_LEN + NJ_TERM_LEN ];
75 NJ_CHAR previousCandidate[ NJ_MAX_RESULT_LEN + NJ_TERM_LEN ];
OpenWnnDictionaryImplJni.c 45 static NJ_CHAR convertUTFCharToNjChar( NJ_UINT8* src )
47 NJ_CHAR ret;
50 /* convert UTF-16BE character to NJ_CHAR format */
58 static int convertStringToNjChar( JNIEnv *env, NJ_CHAR* dst, jstring srcJ, int maxChars )
136 static int convertNjCharToString( JNIEnv* env, jstring* dstJ, NJ_CHAR* src, int maxChars )
506 NJ_CHAR stroke[ NJ_MAX_LEN + NJ_TERM_LEN ];
508 if( njx_get_stroke( &( work->wnnClass ), &( work->result ), stroke, sizeof( NJ_CHAR ) * ( NJ_MAX_LEN + NJ_TERM_LEN ) ) >= 0 &&
514 if( convertNjCharToString( env, &str, ( NJ_CHAR* )"\x00\x00", NJ_MAX_LEN ) >= 0 ) {
539 NJ_CHAR candidate[ NJ_MAX_LEN + NJ_TERM_LEN ];
541 if( njx_get_candidate( &( work->wnnClass ), &( work->result ), candidate, sizeof( NJ_CHAR ) * ( NJ_MAX_RESULT_LEN + NJ_TERM_LEN ) ) >= 0 &
    [all...]

Completed in 1194 milliseconds