/art/tools/runtime_memusage/ |
D | prune_sanitizer_output.py | 30 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/ |
D | file.py | 20 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 …]
|
D | line.py | 60 match = re.match(pattern, stringWord) 61 if not match: 66 variables = setVariable(expression.name, stringWord[:match.end()], variables, pos) 69 stringWord = stringWord[match.end():]
|
D | test.py | 21 from match.file import MatchTestCase, MatchFailedException, \ 23 from match.line import MatchLines
|
/art/runtime/interpreter/mterp/ |
D | gen_mterp.py | 33 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/ |
D | parser.py | 41 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)
|
D | struct.py | 175 assert re.match(TestExpression.Regex.rName, name) 180 assert re.match(TestExpression.Regex.rName, name)
|
/art/test/163-app-image-methods/ |
D | expected.txt | 3 match: true
|
/art/test/159-app-image-fields/ |
D | expected.txt | 3 match: true
|
/art/tools/checker/ |
D | README | 8 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 …]
|
D | run_unit_tests.py | 24 from match.test import MatchLines_Test, \
|
D | checker.py | 24 from match.file import MatchFiles
|
/art/compiler/utils/ |
D | assembler_test_base.h | 241 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/ |
D | info.txt | 3 register index does not necessarily match the stack index anymore.
|
/art/tools/checker/file_format/c1visualizer/ |
D | parser.py | 40 if re.match("name\s+\"[^\"]+\"", line): 57 if re.match("method\s+\"[^\"]*\"", line):
|
/art/test/064-field-access/ |
D | info.txt | 5 IllegalAccessException, while passing in a data type that doesn't match
|
/art/test/testrunner/ |
D | testrunner.py | 782 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/ |
D | dexopt_test.cc | 152 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/ |
D | expected.txt | 2 … 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/ |
D | class-inl.h | 864 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()
|
D | var_handle.cc | 1427 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/ |
D | generate_operator_out.py | 169 m_exp = re.match('= [^,]+$', rest)
|
/art/test/VerifierDeps/ |
D | Main.smali | 419 # 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/ |
D | tracedump.cc | 2358 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/ |
D | induction_var_analysis.cc | 700 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()
|