Lines Matching refs:pat
51 char pat[64]; \
96 char pat[256];
137 if (pn >= sizeof(pat))
138 pn = sizeof(pat) - 1;
139 memcpy(pat, p, pn);
140 pat[pn] = 0;
141 if (strmatch(h, pat))
335 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix);
338 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(%s([-.])%s%s|%s.%s)", info->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version);
342 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(?([-.])%s%s|%s%s)", info->prefix, name, version, info->suffix, info->suffix, version);
440 } while (!strmatch(scan->ent->fts_name, scan->pat));