Lines Matching defs:pattern
38 const char *pattern;
238 if (strchr(t->pattern, '\'') != NULL ||
241 if (t->flags == 0 && strcmp(t->pattern, "\\") == 0)
246 t->pattern, t->string);
248 (t->flags == 0 && strchr(t->pattern, '\\') == NULL)))
251 t->pattern, t->string);
282 result = fnmatch(t->pattern, t->string, flags);
285 if (strchr(t->pattern, '\\') == NULL &&
288 result = fnmatch(t->pattern, t->string, flags);
294 if (strchr(t->pattern, '\\') != NULL &&
299 result = fnmatch(t->pattern, t->string, flags);
305 if ((t->string[0] != '.' || t->pattern[0] == '.' ||
309 result = fnmatch(t->pattern, t->string, flags);
319 result = fnmatch(t->pattern, t->string, flags);
325 if ((((t->string[0] != '.' || t->pattern[0] == '.') &&
330 result = fnmatch(t->pattern, t->string, flags);
336 if ((((t->string[0] != '.' || t->pattern[0] == '.') &&
341 result = fnmatch(t->pattern, t->string, flags);
350 result = fnmatch(t->pattern, t->string, flags);
358 result = fnmatch(t->pattern, t->string, flags);
364 if (strchr(t->pattern, '\\') == NULL &&
368 result = fnmatch(t->pattern, t->string, flags);
377 i + 1, t->pattern, t->string,
382 i + 1, t->pattern, t->string,