Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 34) 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 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 …]
Dline.py73 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():]
Dtest.py19 from match.file import match_test_case, MatchFailedException, BadStructureException
20 from match.line import match_lines
/art/runtime/interpreter/mterp/
Dgen_mterp.py33 match = opcode_re.match(line)
34 if not match:
36 opcodes.append("op_" + match.group(2).lower())
72 indent = indent_re.match(line).group(1)
/art/tools/checker/file_format/c1visualizer/
Dparser.py42 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/
Dparser.py42 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)
Dstruct.py176 assert re.match(TestExpression.Regex.R_NAME, name)
181 assert re.match(TestExpression.Regex.R_NAME, name)
/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 match_files
/art/test/159-app-image-fields/
Dexpected-stdout.txt3 match: true
/art/test/163-app-image-methods/
Dexpected-stdout.txt3 match: true
/art/tools/
Drun-libcore-tests.py214 match = re.match(r'\d*-(\d*)', proc.stdout.read())
215 assert(match)
216 return int(match.group(1)) + 1 # Add one to convert from "last-index" to "count"
Dgenerate_operator_out.py169 m_exp = re.match('= [^,]+$', rest)
/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/test/testrunner/
Dtestrunner.py845 tests += [f for f in RUN_TEST_SET if any(re.match(pat, f) is not None for pat in patterns)]
1018 match = test_name_matcher.match(test_name)
1019 if match:
1020 return list(match.group(i) for i in range(1,15))
1065 match = re.match(cpu_info_regex, cpu_info)
1066 if match:
1067 return int(match.group(1)) + 1 # Add one to convert from "last-index" to "count"
/art/test/064-field-access/
Dinfo.txt5 IllegalAccessException, while passing in a data type that doesn't match
/art/runtime/
Ddexopt_test.cc173 bool match = gc::space::ImageSpace::VerifyBootClassPathChecksums( in GenerateOatForTest() local
181 ASSERT_EQ(!with_alternate_image, match) << error_msg; in GenerateOatForTest()
/art/test/954-invoke-polymorphic-verifier/
Dexpected-stdout.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/test/utils/
Dregen-test-files497 return re.match("^[0-9]+-checker-", run_test)
520 if re.match("^[0-9]{3,}-", run_test)])
832 if re.match("^mts-art-(tests-list-user-)?shard-[0-9]+.xml$", test_plan_shard)])
/art/build/boot/
DAndroid.bp28 // Must match the ART_APEX_JARS set in build/make/core/envsetup.mk
/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()
/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.

12