Lines Matching refs:patterns
1400 && (strcmp(string, iPtr->patterns[i]) == 0)) {
1403 * cache and shift the other patterns down one position.
1410 cachedString = iPtr->patterns[i];
1413 iPtr->patterns[j+1] = iPtr->patterns[j];
1417 iPtr->patterns[0] = cachedString;
1438 if (iPtr->patterns[NUM_REGEXPS-1] != NULL) {
1439 ckfree(iPtr->patterns[NUM_REGEXPS-1]);
1443 iPtr->patterns[i+1] = iPtr->patterns[i];
1447 iPtr->patterns[0] = (char *) ckalloc((unsigned) (length+1));
1448 strcpy(iPtr->patterns[0], string);