/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 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/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(",")
|
/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/163-app-image-methods/ |
D | expected-stdout.txt | 3 match: true
|
/art/test/159-app-image-fields/ |
D | expected-stdout.txt | 3 match: true
|
/art/compiler/utils/ |
D | assembler_test_base.h | 250 for (auto match = str.find(from); match != str.npos; match = str.find(from, pos)) { in Replace() local 251 output += str.substr(pos, match - pos); in Replace() 253 pos = match + from.size(); in Replace()
|
/art/tools/ |
D | run-libcore-tests.py | 471 match = re.match(r'\d*-(\d*)', proc.stdout.read()) 472 assert(match) 473 return int(match.group(1)) + 1 # Add one to convert from "last-index" to "count"
|
D | check_cfi.py | 65 m = fda_re.match(section) 87 sym = sym_re.match(section) 159 m = rexpr.match(inst) 165 m = jmp_re.match(inst)
|
/art/test/419-long-parameter/ |
D | info.txt | 3 register index does not necessarily match the stack index anymore.
|
/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 | 864 tests += [f for f in RUN_TEST_SET if any(re.match(pat, f) is not None for pat in patterns)] 1037 match = test_name_matcher.match(test_name) 1038 if match: 1039 return list(match.group(i) for i in range(1,15)) 1087 match = re.match(cpu_info_regex, cpu_info) 1088 if match: 1089 return int(match.group(1)) + 1 # Add one to convert from "last-index" to "count"
|
D | run_build_test_target.py | 41 version = tuple(map(int, re.match(r"(\d*)\.(\d*)", sys.version).groups()))
|
/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/build/boot/ |
D | Android.bp | 28 // Must match the ART_APEX_JARS set in build/make/core/envsetup.mk 94 // when necessary for legacy purposes, new packages should match a
|
/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/test/utils/ |
D | regen-test-files | 313 return re.match("^[0-9]+-checker-", run_test) 332 if re.match("^[0-9]{3,}-", run_test)]) 815 if re.match("^mts-art-(tests-list-user-)?shard-[0-9]+.xml$", test_plan_shard)])
|
/art/runtime/mirror/ |
D | class-inl.h | 821 inline bool Class::DescriptorEquals(const char* match) { in DescriptorEquals() argument 824 if (match[0] != '[') { in DescriptorEquals() 827 ++match; in DescriptorEquals() 834 return strcmp(Primitive::Descriptor(klass->GetPrimitiveType()), match) == 0; in DescriptorEquals() 836 return klass->ProxyDescriptorEquals(match); in DescriptorEquals() 840 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0; in DescriptorEquals()
|