Lines Matching defs:match
60 // Loop over environmentValueBuffer, removing any components that match the search value ending with a colon.
62 char* match = strstr(componentStart, searchValueWithColon);
63 bool foundAnyMatches = match != NULL;
64 while (match != NULL) {
65 // Update componentStart to point to the colon immediately preceding the match.
67 while (nextColon && nextColon < match) {
72 // Copy over everything right of the match to the current component start, and search from there again.
75 strcpy(componentStart, match + searchLength);
78 // The edge case is if the colon is the last character in the string, so "match + searchLengthWithoutColon + 1" is the
80 strcpy(componentStart, match + searchLengthWithColon);
83 match = strstr(componentStart, searchValueWithColon);
87 match = strstr(componentStart, searchValue);
88 while (match != NULL) {
89 if (match[searchLength] == '\0')
91 match = strstr(match + 1, searchValue);
95 if (match) {
96 // Update componentStart to point to the colon immediately preceding the match.
98 while (nextColon && nextColon < match) {