Home
last modified time | relevance | path

Searched refs:variables (Results 1 – 4 of 4) sorted by relevance

/art/tools/checker/match/
Dfile.py26 def __init__(self, assertion, lineNo, variables): argument
29 self.variables = variables
46 def findMatchingLine(assertion, c1Pass, scope, variables, excludeLines=[]): argument
59 newVariables = MatchLines(assertion, c1Pass.body[i], variables)
62 raise MatchFailedException(assertion, scope.start, variables)
64 def matchDagGroup(assertions, c1Pass, scope, variables): argument
78 match = findMatchingLine(assertion, c1Pass, scope, variables, matchedLines)
79 variables = match.variables
83 return MatchInfo(MatchScope(min(matchedLines), max(matchedLines)), variables)
85 def testNotGroup(assertions, c1Pass, scope, variables): argument
[all …]
/art/tools/checker/common/
Dlogger.py58 def fail(msg, file=None, line=-1, lineText=None, variables=None): argument
73 if variables:
75 for var in variables:
78 for var in collections.OrderedDict(sorted(variables.items())):
83 Logger.log(variables[var], Logger.Level.Error, out=sys.stderr)
97 def testFailed(msg, assertion, variables): argument
99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
/art/test/701-easy-div-rem/
DgenMain.py41 def subst_vars(variables, text): argument
43 for key, value in variables.iteritems():
/art/tools/checker/
DREADME62 variables. Any other surrounding text will be passed to Python's `eval` as is.