/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/test/848-pattern-match/ |
D | Android.bp | 3 // Build rules for ART run-test `848-pattern-match`. 16 name: "art-run-test-848-pattern-match", 21 ":art-run-test-848-pattern-match-expected-stdout", 22 ":art-run-test-848-pattern-match-expected-stderr", 28 name: "art-run-test-848-pattern-match-expected-stdout", 29 out: ["art-run-test-848-pattern-match-expected-stdout.txt"], 36 name: "art-run-test-848-pattern-match-expected-stderr", 37 out: ["art-run-test-848-pattern-match-expected-stderr.txt"],
|
/art/tools/checker/file_format/c1visualizer/ |
D | parser.py | 42 if re.match(r'name\s+"[^"]+"', line): 59 if re.match(r'method\s+"[^"]*"', line): 64 match = re.search(r"isa_features:([\w,-]+)", method_name) 65 if match: 66 raw_features = match.group(1).split(",") 82 match = re.search(r"read_barrier_type:(\w+)", method_name) 83 if match: 84 c1_file.set_read_barrier_type(match.group(1))
|
/art/tools/checker/match/ |
D | file.py | 20 from match.line import match_lines, evaluate_line 194 def move_cursor(self, match): argument 195 assert self.cursor <= match.scope.end 198 self.handle_not_queue(MatchScope(self.cursor, match.scope.start)) 200 self.cursor = match.scope.end + 1 201 self.variables = match.variables 222 match = find_matching_line(statement, self.c1_pass, scope, variables, matched_lines) 223 variables = match.variables 224 assert match.scope.start == match.scope.end 225 assert match.scope.start not in matched_lines [all …]
|
D | line.py | 73 match = re.match(pattern, string_word) 74 if not match: 79 variables = set_variable(expression.name, string_word[:match.end()], variables, pos) 82 string_word = string_word[match.end():]
|
D | test.py | 19 from match.file import match_test_case, MatchFailedException, BadStructureException 20 from match.line import match_lines
|
/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 | 42 match = re.match(regex_prefix, line) 43 if match is not None: 44 return line[match.end():].strip() 145 def _is_match_at_start(match): argument 147 return (match is not None) and (match.start() == 0)
|
D | struct.py | 176 assert re.match(TestExpression.Regex.R_NAME, name) 181 assert re.match(TestExpression.Regex.R_NAME, name)
|
/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 match_files
|
/art/test/159-app-image-fields/ |
D | expected-stdout.txt | 3 match: true
|
/art/test/163-app-image-methods/ |
D | expected-stdout.txt | 3 match: true
|
/art/compiler/utils/ |
D | assembler_test_base.h | 272 for (auto match = str.find(from); match != str.npos; match = str.find(from, pos)) { in Replace() local 273 output += str.substr(pos, match - pos); in Replace() 275 pos = match + from.size(); in Replace()
|
/art/tools/ |
D | run-libcore-tests.py | 481 match = re.match(r'\d*-(\d*)', proc.stdout.read()) 482 assert(match) 483 return int(match.group(1)) + 1 # Add one to convert from "last-index" to "count"
|
/art/test/419-long-parameter/ |
D | info.txt | 3 register index does not necessarily match the stack index anymore.
|
/art/runtime/mirror/ |
D | class.cc | 1698 bool Class::DescriptorEquals(ObjPtr<mirror::Class> match) { in DescriptorEquals() argument 1699 DCHECK(match != nullptr); in DescriptorEquals() 1707 match = match->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in DescriptorEquals() 1708 if (match == nullptr){ in DescriptorEquals() 1712 if (match->IsArrayClass()) { in DescriptorEquals() 1716 if (UNLIKELY(klass->IsPrimitive()) || UNLIKELY(match->IsPrimitive())) { in DescriptorEquals() 1717 return klass->GetPrimitiveType() == match->GetPrimitiveType(); in DescriptorEquals() 1721 return klass->ProxyDescriptorEquals(match); in DescriptorEquals() 1723 if (UNLIKELY(match->IsProxyClass())) { in DescriptorEquals() 1724 return match->ProxyDescriptorEquals(klass); in DescriptorEquals() [all …]
|
/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 | 836 tests += [f for f in RUN_TEST_SET if any(re.match(pat, f) is not None for pat in patterns)] 997 match = test_name_matcher.match(test_name) 998 if match: 999 return list(match.group(i) for i in range(1,15)) 1046 match = re.match(cpu_info_regex, cpu_info) 1047 if match: 1048 return int(match.group(1)) + 1 # Add one to convert from "last-index" to "count"
|
/art/libartservice/service/api/ |
D | system-server-lint-baseline.txt | 3 …ManagerLocal(): @Deprecated annotation (present) and @deprecated doc tag (not present) do not match
|
/art/runtime/ |
D | dexopt_test.cc | 172 bool match = oat_file_assistant.ValidateBootClassPathChecksums(*odex_file); in GenerateOatForTest() local 173 ASSERT_EQ(!with_alternate_image, match) << error_msg; in GenerateOatForTest()
|
/art/test/utils/ |
D | regen-test-files | 365 return re.match("^[0-9]+-checker-", run_test) 384 if re.match("^[0-9]{3,}-", run_test)]) 642 match = re.fullmatch('\.\./([a-zA-Z0-9_-]+)/' + re.escape(basename), link_target) 643 if not match: 950 if re.match("^mts-art-(tests-list-user-)?shard-[0-9]+.xml$", test_plan_shard)])
|
/art/test/954-invoke-polymorphic-verifier/ |
D | expected-stdout.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/build/boot/ |
D | Android.bp | 71 // Must match the ART_APEX_JARS set in build/make/core/envsetup.mk 131 // when necessary for legacy purposes, new packages should match a
|