Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 28) 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
78 match = findMatchingLine(assertion, c1Pass, scope, variables, matchedLines)
79 variables = match.variables
80 assert match.scope.start == match.scope.end
81 assert match.scope.start not in matchedLines
82 matchedLines.append(match.scope.start)
125 match = MatchInfo(MatchScope(c1Length, c1Length), None)
135 match = findMatchingLine(assertionGroup[0], c1Pass, scope, variables)
140 match = findMatchingLine(assertionGroup[0], c1Pass, scope, variables)
144 match = matchDagGroup(assertionGroup, c1Pass, scope, variables)
[all …]
Dline.py59 match = re.match(pattern, stringWord)
60 if not match:
65 variables = setVariable(expression.name, stringWord[:match.end()], variables, pos)
68 stringWord = stringWord[match.end():]
Dtest.py21 from match.file import MatchTestCase, MatchFailedException
22 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/
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
18 - CHECK: Must match an output line which appears in the output group
20 lines must therefore match the check lines in the same order.
22 - CHECK-DAG: Must match an output line which appears in the output group
26 - CHECK-NOT: Must not match any output line which appears in the output group
31 - CHECK-NEXT: Must match the output line which comes right after the line which
42 the invalid regex 'foo{2', but '{{(fo{2})}}' will match 'foo'.
56 The engine will attempt to match the check lines against the output of the
81 '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/tools/checker/file_format/checker/
Dparser.py41 match = re.match(regexPrefix, line)
42 if match is not None:
43 return line[match.end():].strip()
120 def __isMatchAtStart(match): argument
122 return (match is not None) and (match.start() == 0)
Dstruct.py167 assert re.match(TestExpression.Regex.rName, name)
172 assert re.match(TestExpression.Regex.rName, name)
/art/test/testrunner/
Dtestrunner.py746 tests += [f for f in RUN_TEST_SET if any(re.match(pat, f) is not None for pat in patterns)]
932 match = re.match(regex, test_name)
933 if match:
934 _user_input_variants['target'].add(match.group(1))
935 _user_input_variants['run'].add(match.group(2))
936 _user_input_variants['prebuild'].add(match.group(3))
937 _user_input_variants['compiler'].add(match.group(4))
938 _user_input_variants['relocate'].add(match.group(5))
939 _user_input_variants['trace'].add(match.group(6))
940 _user_input_variants['gc'].add(match.group(7))
[all …]
/art/test/163-app-image-methods/
Dexpected.txt3 match: true
/art/test/159-app-image-fields/
Dexpected.txt3 match: true
/art/tools/checker/file_format/c1visualizer/
Dparser.py40 if re.match("name\s+\"[^\"]+\"", line):
57 if re.match("method\s+\"[^\"]*\"", line):
/art/test/419-long-parameter/
Dinfo.txt3 register index does not necessarily match the stack index anymore.
/art/test/064-field-access/
Dinfo.txt5 IllegalAccessException, while passing in a data type that doesn't match
/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/tools/
Dgenerate_operator_out.py169 m_exp = re.match('= [^,]+$', rest)
/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/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()
/art/cmdline/
DREADME.md133 no way to position-ally match that).

12