Home
last modified time | relevance | path

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

/art/libartbase/base/
Dutils.cc294 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/
Dline.py53 pattern = re.escape(getVariable(expression.name, variables, pos))
55 pattern = expression.text
59 match = re.match(pattern, stringWord)
/art/test/569-checker-pattern-replacement/
Dinfo.txt1 Test pattern substitution used when we cannot inline.
/art/tools/checker/file_format/checker/
Dstruct.py162 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)
Dparser.py161 pattern = line[0:matchPattern.end()]
162 pattern = pattern[2:-2]
164 assertion.addExpression(TestExpression.createPattern(pattern))
Dtest.py98 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/
Dinfo.txt1 Regression test on pattern that caused double removal of AND by ARM64 simplifier.
/art/test/452-multiple-returns2/
Dinfo.txt1 Tests inlining of a pattern not generated by DX: multiple
/art/test/460-multiple-returns3/
Dinfo.txt1 Tests inlining of a pattern not generated by DX: multiple
/art/test/448-multiple-returns/
Dinfo.txt1 Tests inlining of a pattern not generated by DX: multiple
/art/test/631-checker-get-class/
Dinfo.txt1 Checker test to make sure we recognize the pattern:
/art/test/094-pattern/
Dinfo.txt1 A simple test to exercise pattern matching.
/art/test/622-simplifyifs-exception-edges/smali/
DTest.smali35 # 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/
Dinline_method_analyser.cc47 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/
Dinfo.txt21 It is also possible it could fail due to the pattern of allocations caused by
/art/runtime/jdwp/
Djdwp_event.cc468 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()
Djdwp_handler.cc1270 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/
DMain.java384 String pattern = "^Shared library .*libarttest.* already opened by ClassLoader.*" + in testDoubleLoad()
386 if (!Pattern.matches(pattern, msg)) { in testDoubleLoad()
/art/tools/checker/
DREADME8 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/
DSmaliTests2.smali47 # Test simplification of the `~~var` pattern.
DSmaliTests.smali331 # Test simplification of the `~~var` pattern.