Searched refs:pattern (Results 1 – 7 of 7) sorted by relevance
/art/test/094-pattern/ |
D | info.txt | 1 A simple test to exercise pattern matching.
|
/art/tools/ |
D | cpplint.py | 409 def Match(pattern, s): argument 414 if not pattern in _regexp_compile_cache: 415 _regexp_compile_cache[pattern] = sre_compile.compile(pattern) 416 return _regexp_compile_cache[pattern].match(s) 419 def Search(pattern, s): argument 421 if not pattern in _regexp_compile_cache: 422 _regexp_compile_cache[pattern] = sre_compile.compile(pattern) 423 return _regexp_compile_cache[pattern].search(s) 1879 for pattern in (r'\bif\s*\((.*)\)\s*{', 1883 match = Search(pattern, line) [all …]
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 443 static bool PatternMatch(const char* pattern, const std::string& target) { in PatternMatch() argument 444 size_t patLen = strlen(pattern); in PatternMatch() 445 if (pattern[0] == '*') { 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() 454 return strcmp(pattern, target.c_str()) == 0; in PatternMatch()
|
D | jdwp_handler.cc | 1287 std::string pattern(request.ReadUtf8String()); in ER_Set() local 1288 std::replace(pattern.begin(), pattern.end(), '.', '/'); in ER_Set() 1289 mod.classMatch.classPattern = strdup(pattern.c_str()); in ER_Set() 1296 std::string pattern(request.ReadUtf8String()); in ER_Set() local 1297 std::replace(pattern.begin(), pattern.end(), '.', '/'); in ER_Set() 1298 mod.classExclude.classPattern = strdup(pattern.c_str()); in ER_Set()
|
/art/compiler/dex/quick/arm64/ |
D | int_arm64.cc | 380 DividePattern pattern; member 408 DividePattern pattern = magic_table[lit].pattern; in SmallLiteralDivRem() local 409 if (pattern == DivideNone) { in SmallLiteralDivRem() 424 switch (pattern) { in SmallLiteralDivRem() 441 LOG(FATAL) << "Unexpected pattern: " << pattern; in SmallLiteralDivRem() 452 DividePattern pattern = magic_table[lit].pattern; in SmallLiteralDivRem64() local 453 if (pattern == DivideNone) { in SmallLiteralDivRem64() 492 switch (pattern) { in SmallLiteralDivRem64() 506 LOG(FATAL) << "Unexpected pattern: " << pattern; in SmallLiteralDivRem64()
|
/art/compiler/dex/ |
D | compiler_enums.h | 435 std::ostream& operator<<(std::ostream& os, const DividePattern& pattern);
|
/art/compiler/dex/quick/arm/ |
D | int_arm.cc | 469 DividePattern pattern; member 497 DividePattern pattern = magic_table[lit].pattern; in SmallLiteralDivRem() local 498 if (pattern == DivideNone) { in SmallLiteralDivRem() 514 switch (pattern) { in SmallLiteralDivRem() 530 LOG(FATAL) << "Unexpected pattern: " << pattern; in SmallLiteralDivRem()
|