Lines Matching refs:pattern
654 /* If the approx pattern registration area was full, return an error code */
683 const PREDEF_APPROX_PATTERN* pattern;
685 pattern = predefinedApproxPatterns[ approxPattern ];
686 if( work->approxSet.charset_count + pattern->size <= NJ_MAX_CHARSET ) {
689 for( i = 0 ; i < pattern->size ; i++ ) {
699 /* Set approximate pattern */
700 from[ 0 ] = convertUTFCharToNjChar( pattern->from + i * 2 ); /* "2" means the size of UTF-16BE */
703 to[ 0 ] = convertUTFCharToNjChar( pattern->to + i * 2 ); /* "2" means the size of UTF-16BE */
706 work->approxSet.charset_count += pattern->size;
713 /* If the approx pattern registration area was full, return an error code */