Lines Matching refs:pattern
128 const char* pattern;
399 if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] || ent->name[wp->prefix] == '/'))
427 mimelist(Mime_t* mp, Sfio_t* fp, const char* pattern)
435 if (ws.pattern = pattern)
437 for (s = pattern; *s && *s != '/'; s++);
439 ws.prefix = s - (char*)pattern;
440 else if (ent = (Ent_t*)dtmatch(mp->cap, pattern))
442 ws.pattern = 0;