Lines Matching full:matchname
315 const char* matchName = strings[i];
316 size_t matchLen = strlen(matchName);
318 if ((matchExclude = matchName[0] == '~')) {
320 matchName++;
323 if ((matchStart = matchName[0] == '^')) {
324 matchName++;
327 if ((matchEnd = matchName[matchLen - 1] == '$')) {
331 && strncmp(name, matchName, matchLen) == 0
333 && strncmp(name + testLen - matchLen, matchName, matchLen) == 0
334 : strstr(name, matchName) != 0) {