Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 29) sorted by relevance

12

/art/tools/runtime_memusage/
Dprune_sanitizer_output.py30 def match_to_int(match): argument
36 if match == "use-after-poison" or match == "unknown-crash":
38 elif match == "READ":
41 return int(match[1:-1])
71 trace_line_matches = [(match_to_int(match.group()), match.start())
72 for match in re.finditer("#[0-9]+ "
79 bad_line_no = next((i - 2 for i, match in enumerate(trace_line_matches)
80 if i - 2 != match[0]), len(trace_line_matches) - 2)
/art/tools/checker/match/
Dfile.py20 from match.line import MatchLines, EvaluateLine
188 def moveCursor(self, match): argument
189 assert self.cursor <= match.scope.end
192 self.handleNotQueue(MatchScope(self.cursor, match.scope.start))
194 self.cursor = match.scope.end + 1
195 self.variables = match.variables
216 match = findMatchingLine(statement, self.c1Pass, scope, variables, matchedLines)
217 variables = match.variables
218 assert match.scope.start == match.scope.end
219 assert match.scope.start not in matchedLines
[all …]
Dline.py60 match = re.match(pattern, stringWord)
61 if not match:
66 variables = setVariable(expression.name, stringWord[:match.end()], variables, pos)
69 stringWord = stringWord[match.end():]
Dtest.py21 from match.file import MatchTestCase, MatchFailedException, \
23 from match.line import MatchLines
/art/runtime/interpreter/mterp/
Dgen_mterp.py33 match = opcode_re.match(line)
34 if not match:
36 opcodes.append("op_" + match.group(2).lower())
73 indent = indent_re.match(line).group(1)
/art/tools/checker/file_format/checker/
Dparser.py41 match = re.match(regexPrefix, line)
42 if match is not None:
43 return line[match.end():].strip()
141 def __isMatchAtStart(match): argument
143 return (match is not None) and (match.start() == 0)
Dstruct.py175 assert re.match(TestExpression.Regex.rName, name)
180 assert re.match(TestExpression.Regex.rName, name)
/art/test/163-app-image-methods/
Dexpected.txt3 match: true
/art/test/159-app-image-fields/
Dexpected.txt3 match: true
/art/tools/checker/
DREADME8 followed by a pattern that the engine attempts to match in the compiler output.
13 name must exactly match one of the groups recognized in the output (they can
19 - CHECK: Must match an output line which appears in the output group
21 lines must therefore match the check lines in the same order.
23 - CHECK-DAG: Must match an output line which appears in the output group
27 - CHECK-NOT: Must not match any output line which appears in the output group
32 - CHECK-NEXT: Must match the output line which comes right after the line which
43 the invalid regex 'foo{2', but '{{(fo{2})}}' will match 'foo'.
57 The engine will attempt to match the check lines against the output of the
82 'CHECK-START' keyword. Any listed architecture will match in that case,
[all …]
Drun_unit_tests.py24 from match.test import MatchLines_Test, \
Dchecker.py24 from match.file import MatchFiles
/art/compiler/utils/
Dassembler_test_base.h241 for (auto match = str.find(from); match != str.npos; match = str.find(from, pos)) { in Replace() local
242 output += str.substr(pos, match - pos); in Replace()
244 pos = match + from.size(); in Replace()
/art/test/419-long-parameter/
Dinfo.txt3 register index does not necessarily match the stack index anymore.
/art/tools/checker/file_format/c1visualizer/
Dparser.py40 if re.match("name\s+\"[^\"]+\"", line):
57 if re.match("method\s+\"[^\"]*\"", line):
/art/test/064-field-access/
Dinfo.txt5 IllegalAccessException, while passing in a data type that doesn't match
/art/test/testrunner/
Dtestrunner.py782 tests += [f for f in RUN_TEST_SET if any(re.match(pat, f) is not None for pat in patterns)]
955 match = test_name_matcher.match(test_name)
956 if match:
957 return list(match.group(i) for i in range(1,15))
1003 match = re.match(cpu_info_regex, cpu_info)
1004 if match:
1005 return int(match.group(1))
/art/runtime/
Ddexopt_test.cc152 bool match = gc::space::ImageSpace::VerifyBootClassPathChecksums( in GenerateOatForTest() local
161 ASSERT_EQ(!with_alternate_image, match) << error_msg; in GenerateOatForTest()
/art/test/954-invoke-polymorphic-verifier/
Dexpected.txt2 … MethodHandleToString.<init>(): invoke type (METHOD_POLYMORPHIC) does not match method type of jav…
7 …eSignaturePolymorphic.<init>(): invoke type (METHOD_POLYMORPHIC) does not match method type of jav…
/art/runtime/mirror/
Dclass-inl.h864 inline bool Class::DescriptorEquals(const char* match) { in DescriptorEquals() argument
867 if (match[0] != '[') { in DescriptorEquals()
870 ++match; in DescriptorEquals()
877 return strcmp(Primitive::Descriptor(klass->GetPrimitiveType()), match) == 0; in DescriptorEquals()
879 return klass->ProxyDescriptorEquals(match); in DescriptorEquals()
883 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0; in DescriptorEquals()
Dvar_handle.cc1427 MatchKind match = MatchKind::kExact; in GetMethodTypeMatchForAccessMode() local
1442 match = MatchKind::kWithConversions; in GetMethodTypeMatchForAccessMode()
1466 match = MatchKind::kWithConversions; in GetMethodTypeMatchForAccessMode()
1468 return match; in GetMethodTypeMatchForAccessMode()
/art/tools/
Dgenerate_operator_out.py169 m_exp = re.match('= [^,]+$', rest)
/art/test/VerifierDeps/
DMain.smali419 # TODO: Maybe we should not record dependency if the invoke type does not match the lookup type.
428 # TODO: Maybe we should not record dependency if the invoke type does not match the lookup type.
/art/tools/dmtracedump/
Dtracedump.cc2358 int32_t match = findMatch(methods2, d2->numMethods, methods1[i]); in createDiff() local
2359 if (match >= 0) { in createDiff()
2361 ptr->method2 = methods2[match]; in createDiff()
2382 methods2[match] = nullptr; in createDiff()
/art/compiler/optimizing/
Dinduction_var_analysis.cc700 InductionInfo* match = SolvePhi(phi, /*input_index*/ 0, /*adjust_input_size*/ 0); in SolvePhiAllInputs() local
701 if (match != nullptr) { in SolvePhiAllInputs()
702 return match; in SolvePhiAllInputs()

12