Home
last modified time | relevance | path

Searched refs:patLen (Results 1 – 1 of 1) sorted by relevance

/art/runtime/jdwp/
Djdwp_event.cc429 size_t patLen = strlen(pattern); in PatternMatch() local
431 patLen--; in PatternMatch()
432 if (target.size() < patLen) { in PatternMatch()
435 return strcmp(pattern+1, target.c_str() + (target.size()-patLen)) == 0; in PatternMatch()
436 } else if (pattern[patLen-1] == '*') { in PatternMatch()
437 return strncmp(pattern, target.c_str(), patLen-1) == 0; in PatternMatch()