Lines Matching full:querylen
1255 int queryLen, outIndex, approxPattern;
1261 for( queryLen = 0 ; queryLen < maxBindsOfQuery && keyString[ queryLen ] != NJ_CHAR_NUL ; queryLen++ ) {
1265 if( i == -1 || keyString[ queryLen ] == work->approxSet.from[ i ][ 0 ] ) {
1269 if( *( ( NJ_UINT8* )( &keyString[ queryLen ] ) + 0 ) == 0x00 &&
1270 ( *( ( NJ_UINT8* )( &keyString[ queryLen ] ) + 1 ) == 0x25 || /* '%' */
1271 *( ( NJ_UINT8* )( &keyString[ queryLen ] ) + 1 ) == 0x5c || /* '\' */
1272 *( ( NJ_UINT8* )( &keyString[ queryLen ] ) + 1 ) == 0x5f ) ) { /* '_' */
1273 *( ( NJ_UINT8* )( &baseStr[ queryLen + 0 ] ) + 0 ) = 0x00;
1274 *( ( NJ_UINT8* )( &baseStr[ queryLen + 0 ] ) + 1 ) = 0x5c; /* '\' */
1275 baseStr[ queryLen + 1 ] = keyString[ queryLen ];
1278 baseStr[ queryLen + 0 ] = keyString[ queryLen ];
1282 nj_strcpy( &baseStr[ queryLen ], work->approxSet.to[ i ] );
1286 *( ( NJ_UINT8* )( &baseStr[ queryLen + tailOffset ] ) + 0 ) = 0x00;
1287 *( ( NJ_UINT8* )( &baseStr[ queryLen + tailOffset ] ) + 1 ) = 0x25; /* '%' */
1288 baseStr[ queryLen + tailOffset + 1 ] = NJ_CHAR_NUL;
1307 *( ( NJ_UINT8* )( &baseStr[ queryLen ] ) + 0 ) = 0x00;
1308 *( ( NJ_UINT8* )( &baseStr[ queryLen ] ) + 1 ) = 0x5f; /* '_' */
1309 baseStr[ queryLen + 1 ] = NJ_CHAR_NUL;
1312 for( ; queryLen < maxBindsOfQuery ; queryLen++ ) {
1361 int queryLen, dstPtr;
1363 for( queryLen = dstPtr = 0 ; queryLen < maxBindsOfQuery ; queryLen++ ) {
1380 if( queryLen != maxBindsOfQuery-1 ) {