Home | History | Annotate | Download | only in libwnnDictionary

Lines Matching defs:to

10  * Unless required by applicable law or agreed to in writing, software
50 /* convert UTF-16BE character to NJ_CHAR format */
66 /* convert UTF-8 to UTF-16BE */
142 /* convert UTF-16BE to a UTF-8 */
239 /* Retrieve data pointers of dictionary from the dictionary library, and put to internal work area */
261 /* Execute the initialize method to initialize the internal work area */
356 /* If -1 was specified to base or high, clear that dictionary information structure */
419 /* If the link search feature is specified, set the predict search information to structure */
602 work->approxSet.to[ i ] = NULL;
630 NJ_CHAR* to;
632 /* Set pointers of string to store approximate informations */
634 to = work->approxStr + NJ_APPROXSTORE_SIZE * work->approxSet.charset_count + NJ_MAX_CHARSET_FROM_LEN + NJ_TERM_LEN;
636 work->approxSet.to[ work->approxSet.charset_count ] = to;
638 /* Convert approximate informations to internal format */
640 convertStringToNjChar( env, to, dstJ, NJ_MAX_CHARSET_TO_LEN ) >= 0 ) {
651 work->approxSet.to[ work->approxSet.charset_count ] = NULL;
691 NJ_CHAR* to;
693 /* Set pointers of string to store approximate informations */
695 to = work->approxStr + NJ_APPROXSTORE_SIZE * ( work->approxSet.charset_count + i ) + NJ_MAX_CHARSET_FROM_LEN + NJ_TERM_LEN;
697 work->approxSet.to[ work->approxSet.charset_count + i ] = to;
703 to[ 0 ] = convertUTFCharToNjChar( pattern->to + i * 2 ); /* "2" means the size of UTF-16BE */
704 to[ 1 ] = 0x0000;
930 /* Put the previous word information to engine */
1208 if( convertNjCharToString( env, &dstJ, work->approxSet.to[ i ], NJ_MAX_CHARSET_TO_LEN ) < 0 ) {
1282 nj_strcpy( &baseStr[ queryLen ], work->approxSet.to[ i ] );
1283 tailOffset = nj_strlen( work->approxSet.to[ i ] );