/art/libartbase/base/ |
D | utils.cc | 294 std::string pattern(key); in GetProcessStatus() local 295 pattern.push_back(':'); in GetProcessStatus() 301 if (strncmp(pattern.c_str(), line.c_str(), pattern.size()) == 0) { in GetProcessStatus() 303 size_t pos = line.find_first_not_of(" \t", pattern.size()); in GetProcessStatus()
|
/art/tools/checker/match/ |
D | line.py | 53 pattern = re.escape(getVariable(expression.name, variables, pos)) 55 pattern = expression.text 59 match = re.match(pattern, stringWord)
|
/art/test/569-checker-pattern-replacement/ |
D | info.txt | 1 Test pattern substitution used when we cannot inline.
|
/art/tools/checker/file_format/checker/ |
D | struct.py | 162 def createPattern(pattern): argument 163 return TestExpression(TestExpression.Variant.Pattern, None, pattern) 171 def createVariableDefinition(name, pattern): argument 173 return TestExpression(TestExpression.Variant.VarDef, name, pattern)
|
D | parser.py | 161 pattern = line[0:matchPattern.end()] 162 pattern = pattern[2:-2] 164 assertion.addExpression(TestExpression.createPattern(pattern))
|
D | test.py | 98 def assertEqualsPattern(self, string, pattern): argument 99 self.assertEqual(self.parseExpression(string), TestExpression.createPattern(pattern)) 104 def assertEqualsVarDef(self, string, name, pattern): argument 106 TestExpression.createVariableDefinition(name, pattern))
|
/art/test/593-checker-shift-and-simplifier/ |
D | info.txt | 1 Regression test on pattern that caused double removal of AND by ARM64 simplifier.
|
/art/test/452-multiple-returns2/ |
D | info.txt | 1 Tests inlining of a pattern not generated by DX: multiple
|
/art/test/460-multiple-returns3/ |
D | info.txt | 1 Tests inlining of a pattern not generated by DX: multiple
|
/art/test/448-multiple-returns/ |
D | info.txt | 1 Tests inlining of a pattern not generated by DX: multiple
|
/art/test/631-checker-get-class/ |
D | info.txt | 1 Checker test to make sure we recognize the pattern:
|
/art/test/094-pattern/ |
D | info.txt | 1 A simple test to exercise pattern matching.
|
/art/test/622-simplifyifs-exception-edges/smali/ |
D | Test.smali | 35 # Note: There is no move-exception here to prevent matching the SimplifyIfs() pattern. 67 # Note: There is no move-exception here to prevent matching the SimplifyIfs() pattern.
|
/art/compiler/dex/ |
D | inline_method_analyser.cc | 47 static bool Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]); 70 static bool DoMatch(const CodeItemDataAccessor* code_item, MatchFn* const* pattern, size_t size); 79 bool Matcher::Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]) { in Match() 80 return DoMatch(code_item, pattern, size); in Match() 129 bool Matcher::DoMatch(const CodeItemDataAccessor* code_item, MatchFn* const* pattern, size_t size) { in DoMatch() argument 132 if (!pattern[matcher.pos_](&matcher)) { in DoMatch()
|
/art/test/980-redefine-object/ |
D | info.txt | 21 It is also possible it could fail due to the pattern of allocations caused by
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 468 static bool PatternMatch(const char* pattern, const std::string& target) { in PatternMatch() argument 469 size_t patLen = strlen(pattern); in PatternMatch() 470 if (pattern[0] == '*') { 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() 479 return strcmp(pattern, target.c_str()) == 0; in PatternMatch()
|
D | jdwp_handler.cc | 1270 std::string pattern(request->ReadUtf8String()); in ER_Set() local 1271 std::replace(pattern.begin(), pattern.end(), '.', '/'); in ER_Set() 1272 mod.classMatch.classPattern = strdup(pattern.c_str()); in ER_Set() 1279 std::string pattern(request->ReadUtf8String()); in ER_Set() local 1280 std::replace(pattern.begin(), pattern.end(), '.', '/'); in ER_Set() 1281 mod.classExclude.classPattern = strdup(pattern.c_str()); in ER_Set()
|
/art/test/004-JniTest/src/ |
D | Main.java | 384 String pattern = "^Shared library .*libarttest.* already opened by ClassLoader.*" + in testDoubleLoad() 386 if (!Pattern.matches(pattern, msg)) { in testDoubleLoad()
|
/art/tools/checker/ |
D | README | 8 followed by a pattern that the engine attempts to match in the compiler output. 41 enclosed in round brackets. For example, the pattern '{{foo{2}}}' will parse
|
/art/test/458-checker-instruct-simplification/smali/ |
D | SmaliTests2.smali | 47 # Test simplification of the `~~var` pattern.
|
D | SmaliTests.smali | 331 # Test simplification of the `~~var` pattern.
|