Home | History | Annotate | Download | only in libwnnDictionary

Lines Matching refs:approxSet

417    			work->cursor.cond.charset	= &( work->approxSet );
599 work->approxSet.charset_count = 0;
601 work->approxSet.from[ i ] = NULL;
602 work->approxSet.to[ i ] = NULL;
628 if( work->approxSet.charset_count < NJ_MAX_CHARSET ) {
633 from = work->approxStr + NJ_APPROXSTORE_SIZE * work->approxSet.charset_count;
634 to = work->approxStr + NJ_APPROXSTORE_SIZE * work->approxSet.charset_count + NJ_MAX_CHARSET_FROM_LEN + NJ_TERM_LEN;
635 work->approxSet.from[ work->approxSet.charset_count ] = from;
636 work->approxSet.to[ work->approxSet.charset_count ] = to;
641 work->approxSet.charset_count++;
650 work->approxSet.from[ work->approxSet.charset_count ] = NULL;
651 work->approxSet.to[ work->approxSet.charset_count ] = NULL;
686 if( work->approxSet.charset_count + pattern->size <= NJ_MAX_CHARSET ) {
694 from = work->approxStr + NJ_APPROXSTORE_SIZE * ( work->approxSet.charset_count + i );
695 to = work->approxStr + NJ_APPROXSTORE_SIZE * ( work->approxSet.charset_count + i ) + NJ_MAX_CHARSET_FROM_LEN + NJ_TERM_LEN;
696 work->approxSet.from[ work->approxSet.charset_count + i ] = from;
697 work->approxSet.to[ work->approxSet.charset_count + i ] = to;
706 work->approxSet.charset_count += pattern->size;
1192 for( i = 0 ; i < work->approxSet.charset_count ; i++ ) {
1193 if( nj_strcmp( from, work->approxSet.from[ i ] ) == 0 ) {
1204 for( i = outIndex = 0 ; i < work->approxSet.charset_count ; i++ ) {
1205 if( nj_strcmp( from, work->approxSet.from[ i ] ) == 0 ) {
1208 if( convertNjCharToString( env, &dstJ, work->approxSet.to[ i ], NJ_MAX_CHARSET_TO_LEN ) < 0 ) {
1264 for( i = -1, approxPattern = -1 ; i < work->approxSet.charset_count ; i++ ) {
1265 if( i == -1 || keyString[ queryLen ] == work->approxSet.from[ i ][ 0 ] ) {
1282 nj_strcpy( &baseStr[ queryLen ], work->approxSet.to[ i ] );
1283 tailOffset = nj_strlen( work->approxSet.to[ i ] );