Lines Matching defs:wildcard
1182 lws_strcmp_wildcard(const char *wildcard, size_t wlen, const char *check,
1185 const char *match[3], *wc[3], *wc_end = wildcard + wlen,
1191 if (wildcard == wc_end) {
1193 * We reached the end of wildcard, but not of check,
1194 * and the last thing in wildcard was not a * or we
1199 wildcard = wc[sp - 1];
1210 if (*wildcard == '*') {
1212 if (++wildcard == wc_end)
1220 * Now we need to stick wildcard here and see if there
1229 wc[sp] = wildcard;
1235 if (*(check++) == *wildcard) {
1237 if (wildcard == wc_end)
1240 * We're still compatible with wildcard... keep going
1242 wildcard++;
1258 * We reached the end of check, if also at end of wildcard we're OK
1261 return wildcard != wc_end;