Home
last modified time | relevance | path

Searched refs:lineNo (Results 1 – 6 of 6) sorted by relevance

/art/tools/checker/file_format/
Dcommon.py27 lineNo = 0
32 lineNo += 1
40 processedLine, newChunkName, testArch = fnProcessLine(line, lineNo)
44 currentChunk = (newChunkName, [], lineNo, testArch)
50 fnLineOutsideChunk(line, lineNo)
/art/tools/checker/file_format/c1visualizer/
Dparser.py28 def __parseC1Line(c1File, line, lineNo, state, fileName): argument
46 Logger.fail("Expected output group name", fileName, lineNo)
60 Logger.fail("Empty method name in output", fileName, lineNo)
90 Logger.fail("Expected method header", fileName, lineNo)
97 Logger.fail("C1visualizer line not inside a group", fileName, lineNo)
102 fnProcessLine = lambda line, lineNo: __parseC1Line(c1File, line, lineNo, state, fileName) argument
103 fnLineOutsideChunk = lambda line, lineNo: \ argument
104 Logger.fail("C1visualizer line not inside a group", fileName, lineNo)
/art/tools/checker/file_format/checker/
Dparser.py73 def __processLine(line, lineNo, prefix, fileName, targetArch): argument
96 return (plainLine, TestStatement.Variant.InOrder, lineNo), None, None
101 return (nextLine, TestStatement.Variant.NextLine, lineNo), None, None
106 return (dagLine, TestStatement.Variant.DAG, lineNo), None, None
111 return (notLine, TestStatement.Variant.Not, lineNo), None, None
116 return (evalLine, TestStatement.Variant.Eval, lineNo), None, None
122 return (ifLine, TestStatement.Variant.If, lineNo), None, None
127 return (elifLine, TestStatement.Variant.Elif, lineNo), None, None
132 return (elseLine, TestStatement.Variant.Else, lineNo), None, None
137 return (fiLine, TestStatement.Variant.Fi, lineNo), None, None
[all …]
Dstruct.py73 def __init__(self, parent, variant, originalText, lineNo): argument
79 self.lineNo = lineNo
107 Logger.fail("CHECK-NOT lines cannot define variables", self.fileName, self.lineNo)
/art/tools/checker/match/
Dfile.py26 def __init__(self, statement, lineNo, variables): argument
28 self.lineNo = lineNo
32 def __init__(self, msg, lineNo): argument
34 self.lineNo = lineNo
116 statement.lineNo)
118 raise BadStructureException("CHECK-ELIF cannot be after CHECK-ELSE", statement.lineNo)
132 statement.lineNo)
134 raise BadStructureException("Consecutive CHECK-ELSE statements", statement.lineNo)
146 raise BadStructureException("CHECK-FI does not have a matching CHECK-IF", statement.lineNo)
263 statement.lineNo)
[all …]
/art/tools/checker/common/
Dlogger.py99 Logger.fail(msg, statement.fileName, statement.lineNo, statement.originalText, variables)