Home
last modified time | relevance | path

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

/art/test/697-checker-string-append/
Dinfo.txt1 Test for String append pattern recognition.
/art/benchmark/stringbuilder-append/
Dinfo.txt1 Benchmarks for the StringBuilder append pattern.
/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/test/699-checker-string-append2/
Dinfo.txt1 Regression tests for String append pattern recognition bugs. b/146014745
/art/test/593-checker-shift-and-simplifier/
Dinfo.txt1 Regression test on pattern that caused double removal of AND by ARM64 simplifier.
/art/test/460-multiple-returns3/
Dinfo.txt1 Tests inlining of a pattern not generated by DX: multiple
/art/test/452-multiple-returns2/
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/libartbase/base/
Dutils.cc318 std::string pattern(key); in GetProcessStatus() local
319 pattern.push_back(':'); in GetProcessStatus()
325 if (strncmp(pattern.c_str(), line.c_str(), pattern.size()) == 0) { in GetProcessStatus()
327 size_t pos = line.find_first_not_of(" \t", pattern.size()); in GetProcessStatus()
/art/test/631-checker-get-class/
Dinfo.txt1 Checker test to make sure we recognize the pattern:
/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/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/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/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/test/458-checker-instruct-simplification/smali/
DSmaliTests2.smali47 # Test simplification of the `~~var` pattern.
DSmaliTests.smali331 # Test simplification of the `~~var` pattern.