Lines Matching refs:NJ_CHAR
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 &&
547 if( convertNjCharToString( env, &str, ( NJ_CHAR* )"\x00\x00", NJ_MAX_RESULT_LEN ) >= 0 ) {
629 NJ_CHAR* from;
630 NJ_CHAR* to;
690 NJ_CHAR* from;
691 NJ_CHAR* to;
1188 NJ_CHAR from[ NJ_MAX_CHARSET_FROM_LEN + NJ_TERM_LEN ];
1252 NJ_CHAR keyString[ NJ_MAX_LEN + NJ_TERM_LEN ];
1256 NJ_CHAR baseStr[ NJ_MAX_LEN + NJ_MAX_CHARSET_TO_LEN + NJ_TERM_LEN ];