Home
last modified time | relevance | path

Searched refs:statement (Results 1 – 8 of 8) sorted by relevance

/art/tools/checker/match/
Dfile.py26 def __init__(self, statement, lineNo, variables): argument
27 self.statement = statement
78 def Handle(self, statement, variables): argument
83 variant = statement.variant
85 self.__if(statement, variables)
87 self.__elif(statement, variables)
89 self.__else(statement)
92 self.__fi(statement)
104 def __if(self, statement, variables): argument
108 elif EvaluateLine(statement, variables):
[all …]
/art/tools/checker/file_format/checker/
Dparser.py157 statement = TestStatement(parent, variant, line, lineNo)
159 if statement.isNoContentStatement() and line:
160 Logger.fail("Expected empty statement: '" + line + "'", statement.fileName, statement.lineNo)
165 if statement.isEvalContentStatement():
182 statement.addExpression(TestExpression.createSeparator())
187 statement.addExpression(TestExpression.createPattern(pattern))
192 statement.addExpression(TestExpression.createVariableReference(name))
199 statement.addExpression(TestExpression.createVariableDefinition(name, body))
211 if statement.isEvalContentStatement():
212 statement.addExpression(TestExpression.createPlainText(text))
[all …]
Dtest.py204 statement = TestStatement(testCase, variant, content, 0)
205 if statement.isEvalContentStatement():
206 statement.addExpression(TestExpression.createPlainText(content))
207 elif statement.isPatternMatchContentStatement():
208 statement.addExpression(TestExpression.createPatternFromPlainText(content))
387 statement = testCase.statements[0]
388 self.assertEqual(statement.variant, TestStatement.Variant.Eval)
389 self.assertEqual(statement.originalText, string)
390 return statement.expressions
395 statement = testCase.statements[0]
[all …]
/art/tools/checker/common/
Dlogger.py97 def testFailed(msg, statement, variables): argument
99 Logger.fail(msg, statement.fileName, statement.lineNo, statement.originalText, variables)
/art/test/435-try-finally-without-catch/
Dinfo.txt1 Exercise a method containing a `try' statement with several
18 clue that it contains a `try' statement, which it cannot optimize
20 special block(s) related to `catch'-less `try' statement(s), the
/art/tools/checker/
DREADME31 therefore create a scope within which the statement is verified.
111 variables as part of the statement input is not allowed. Any other surrounding text will be passed
123 Branch blocks can contain any statement, including CHECK-NEXT and CHECK-DAG.
124 Notice the CHECK-NEXT statement within the IF branch. When a CHECK-NEXT is encountered,
125 Checker expects that the previously executed statement was either a CHECK or a CHECK-NEXT.
131 block defined by the CHECK-START statement. The absence of lexical scoping for Checker variables
/art/tools/jfuzz/
DREADME.md25 -l : defines a fuzzing length for statement lists
26 (higher values yield longer statement sequences)
/art/
DNOTICE136 You may add Your own copyright statement to Your modifications and