Lines Matching refs:pattern
39 char* pattern; member
79 regcache(const char* pattern, regflags_t reflags, int* status) in regcache() argument
93 if (!pattern) in regcache()
134 for (i = 0; i < sizeof(key) && pattern[i]; i++) in regcache()
135 ((char*)&key)[i] = pattern[i]; in regcache()
145 …else if (*(Key_t*)matchstate.cache[i]->pattern == key && !strcmp(matchstate.cache[i]->pattern, pat… in regcache()
169 if ((i = strlen(pattern) + 1) >= cp->size) in regcache()
172 if (!(cp->pattern = newof(cp->pattern, char, cp->size, 0))) in regcache()
179 strcpy(cp->pattern, pattern); in regcache()
181 cp->pattern[i] = 0; in regcache()
182 pattern = (const char*)cp->pattern; in regcache()
183 if (i = regcomp(&cp->re, pattern, reflags)) in regcache()