Lines Matching defs:tokenStr
226 const char* tokenStr = token.c_str();
227 if (*tokenStr == '!') {
229 tokenStr++;
232 if (strncasecmp(tokenStr, kDir, sizeof(kDir)) == 0) {
236 tokenStr += sizeof(kDir);
239 if (strncasecmp(tokenStr, kFile, sizeof(kFile)) == 0) {
243 tokenStr += sizeof(kFile);
247 size_t n = strlen(tokenStr);
248 if (*tokenStr == '*') {
250 tokenStr++;
253 ignore = strncasecmp(tokenStr, filename.c_str() + filenameLen - n, n) == 0;
255 } else if (n > 1 && tokenStr[n - 1] == '*') {
257 ignore = strncasecmp(tokenStr, filename.c_str(), n - 1) == 0;
259 ignore = strcasecmp(tokenStr, filename.c_str()) == 0;