Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_event.cc444 size_t patLen = strlen(pattern); in PatternMatch() local
446 patLen--; in PatternMatch()
447 if (target.size() < patLen) { in PatternMatch()
450 return strcmp(pattern+1, target.c_str() + (target.size()-patLen)) == 0; in PatternMatch()
451 } else if (pattern[patLen-1] == '*') { in PatternMatch()
452 return strncmp(pattern, target.c_str(), patLen-1) == 0; in PatternMatch()