Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_event.cc469 size_t patLen = strlen(pattern); in PatternMatch() local
471 patLen--; in PatternMatch()
472 if (target.size() < patLen) { in PatternMatch()
475 return strcmp(pattern+1, target.c_str() + (target.size()-patLen)) == 0; in PatternMatch()
476 } else if (pattern[patLen-1] == '*') { in PatternMatch()
477 return strncmp(pattern, target.c_str(), patLen-1) == 0; in PatternMatch()