Searched refs:match (Results 1 - 17 of 17) sorted by relevance

/art/tools/checker/
H A Drun_unit_tests.py24 from match.test import MatchLines_Test, \
H A Dchecker.py24 from match.file import MatchFiles
/art/tools/checker/match/
H A Dfile.py20 from match.line import MatchLines, EvaluateLine
53 values after the match.
68 lines in `scope` are scanned and each line can only match one assertion.
71 line numbers) and the variable values after the match of the last assertion.
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
[all...]
H A Dline.py47 """ Attempts to match a list of TestExpressions against a string.
58 # Note: re.match will succeed only if matched from the beginning.
59 match = re.match(pattern, stringWord)
60 if not match:
65 variables = setVariable(expression.name, stringWord[:match.end()], variables, pos)
68 stringWord = stringWord[match.end():]
77 """ Attempts to match a CHECK line against a string. Returns variable state
78 after the match if successful and None otherwise.
86 # Get the next run of TestExpressions which must match on
[all...]
H A Dtest.py21 from match.file import MatchTestCase, MatchFailedException
22 from match.line import MatchLines
/art/tools/
H A Dcpplint.py306 # match those on a word boundary.
420 return _regexp_compile_cache[pattern].match(s)
955 line = line.replace(r'\\', 'XX') # after this, \\" does not match to \"
1054 if not _RE_PATTERN_INCLUDE.match(elided):
1228 '#ifndef and #define don\'t match, suggested CPP variable is: %s' %
1385 if _RE_PATTERN_INVALID_INCREMENT.match(line):
1642 _MATCH_ASM.match(line)):
1733 if _MATCH_ASM.match(line):
1909 match = Search(pattern, line)
1910 if match
[all...]
/art/tools/checker/file_format/checker/
H A Dparser.py39 # The 'match' function succeeds only if the pattern is matched at the
41 match = re.match(regexPrefix, line)
42 if match is not None:
43 return line[match.end():].strip()
71 # 'CHECK-NEXT' lines are in-order but must match the very next line.
93 def __isMatchAtStart(match):
95 return (match is not None) and (match.start() == 0)
152 # text match al
[all...]
H A Dstruct.py167 assert re.match(TestExpression.Regex.rName, name)
172 assert re.match(TestExpression.Regex.rName, name)
/art/tools/checker/file_format/c1visualizer/
H A Dparser.py40 if re.match("name\s+\"[^\"]+\"", line):
57 if re.match("method\s+\"[^\"]*\"", line):
/art/runtime/interpreter/mterp/
H A Dgen_mterp.py259 match = opcode_re.match(line)
260 if not match:
262 opcodes.append("op_" + match.group(2).lower())
/art/runtime/mirror/
H A Dclass-inl.h815 inline bool Class::DescriptorEquals(const char* match) { argument
817 return match[0] == '[' && GetComponentType()->DescriptorEquals(match + 1);
819 return strcmp(Primitive::Descriptor(GetPrimitiveType()), match) == 0;
821 return ProxyDescriptorEquals(match);
825 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0;
H A Dclass.cc305 // Class loaders must match.
1015 bool Class::ProxyDescriptorEquals(const char* match) { argument
1017 return Runtime::Current()->GetClassLinker()->GetDescriptorForProxy(this) == match;
H A Dclass.h1169 bool DescriptorEquals(const char* match) SHARED_REQUIRES(Locks::mutator_lock_);
1316 bool ProxyDescriptorEquals(const char* match) SHARED_REQUIRES(Locks::mutator_lock_);
1363 // superclass. This doesn't match the expectations in JNI
/art/compiler/optimizing/
H A Dinduction_var_analysis.cc488 InductionInfo* match = SolvePhi(phi, /* input_index */ 0); local
489 if (match != nullptr) {
490 return match;
/art/tools/dmtracedump/
H A Dtracedump.cc978 if (id == methodId) /* match */
2135 fprintf(stderr, "Exit from method %s.%s %s does not match stack:\n",
2138 fprintf(stderr, "Exit from method %s does not match stack:\n",
2354 int32_t match = findMatch(methods2, d2->numMethods, methods1[i]); local
2355 if (match >= 0) {
2357 ptr->method2 = methods2[match];
2378 methods2[match] = nullptr;
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S555 cbnz r2, .Lslow_lock @ lock word and self thread id's match -> recursive lock
606 cbnz r3, .Lslow_unlock @ do lock word and self thread id's match?
1058 // asserted to match.
1612 * r1: char to match (known <= 0xFFFF)
/art/runtime/arch/mips64/
H A Dquick_entrypoints_mips64.S1587 # asserted to match.

Completed in 333 milliseconds