/art/tools/checker/file_format/c1visualizer/ |
D | parser.py | 28 def __parseC1Line(line, lineNo, state, fileName): argument 46 Logger.fail("Expected output group name", fileName, lineNo) 60 Logger.fail("Empty method name in output", fileName, lineNo) 72 Logger.fail("Expected method header", fileName, lineNo) 79 Logger.fail("C1visualizer line not inside a group", fileName, lineNo) 84 fnProcessLine = lambda line, lineNo: __parseC1Line(line, lineNo, state, fileName) argument 85 fnLineOutsideChunk = lambda line, lineNo: \ argument 86 Logger.fail("C1visualizer line not inside a group", fileName, lineNo)
|
/art/tools/checker/file_format/ |
D | common.py | 27 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/checker/ |
D | parser.py | 47 def __processLine(line, lineNo, prefix, fileName): argument 69 return (plainLine, TestAssertion.Variant.InOrder, lineNo), None, None 74 return (nextLine, TestAssertion.Variant.NextLine, lineNo), None, None 79 return (dagLine, TestAssertion.Variant.DAG, lineNo), None, None 84 return (notLine, TestAssertion.Variant.Not, lineNo), None, None 89 return (evalLine, TestAssertion.Variant.Eval, lineNo), None, None 91 Logger.fail("Checker assertion could not be parsed: '" + line + "'", fileName, lineNo) 105 def ParseCheckerAssertion(parent, line, variant, lineNo): argument 109 assertion = TestAssertion(parent, variant, line, lineNo) 169 fnProcessLine = lambda line, lineNo: __processLine(line, lineNo, prefix, fileName) argument [all …]
|
D | struct.py | 65 new_assertion.fileName, new_assertion.lineNo) 80 def __init__(self, parent, variant, originalText, lineNo): argument 86 self.lineNo = lineNo 99 Logger.fail("CHECK-NOT lines cannot define variables", self.fileName, self.lineNo)
|
/art/tools/checker/match/ |
D | file.py | 26 def __init__(self, assertion, lineNo, variables): argument 28 self.lineNo = lineNo 183 lineNo = c1Pass.startLineNo + e.lineNo 188 msg = msg.format(lineNo)
|
/art/tools/checker/common/ |
D | logger.py | 99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
|