/art/tools/checker/file_format/checker/ |
D | parser.py | 76 def _process_line(line, line_no, prefix, filename, target_arch): argument 99 return (plain_line, TestStatement.Variant.IN_ORDER, line_no), None, None 104 return (next_line, TestStatement.Variant.NEXT_LINE, line_no), None, None 109 return (dag_line, TestStatement.Variant.DAG, line_no), None, None 114 return (not_line, TestStatement.Variant.NOT, line_no), None, None 119 return (eval_line, TestStatement.Variant.EVAL, line_no), None, None 125 return (if_line, TestStatement.Variant.IF, line_no), None, None 130 return (elif_line, TestStatement.Variant.ELIF, line_no), None, None 135 return (else_line, TestStatement.Variant.ELSE, line_no), None, None 140 return (fi_line, TestStatement.Variant.FI, line_no), None, None [all …]
|
D | struct.py | 74 def __init__(self, parent, variant, original_text, line_no): argument 80 self.line_no = line_no 108 Logger.fail("CHECK-NOT lines cannot define variables", self.filename, self.line_no)
|
/art/tools/checker/file_format/ |
D | common.py | 28 line_no = 0 33 line_no += 1 41 processed_line, new_chunk_name, test_arch = fn_process_line(line, line_no) 45 current_chunk = (new_chunk_name, [], line_no, test_arch) 51 fn_line_outside_chunk(line, line_no)
|
/art/tools/checker/file_format/c1visualizer/ |
D | parser.py | 30 def _parse_c1_line(c1_file, line, line_no, state, filename): argument 48 Logger.fail("Expected output group name", filename, line_no) 62 Logger.fail("Empty method name in output", filename, line_no) 98 Logger.fail("Expected method header", filename, line_no) 105 Logger.fail("C1visualizer line not inside a group", filename, line_no) 112 def fn_process_line(line, line_no): argument 113 return _parse_c1_line(c1_file, line, line_no, state, c1_file.base_file_name) 115 def fn_line_outside_chunk(line, line_no): argument 116 Logger.fail("C1visualizer line not inside a group", c1_file.base_file_name, line_no)
|
/art/tools/checker/match/ |
D | file.py | 27 def __init__(self, statement, line_no, variables): argument 29 self.line_no = line_no 34 def __init__(self, msg, line_no): argument 36 self.line_no = line_no 119 statement.line_no) 121 raise BadStructureException("CHECK-ELIF cannot be after CHECK-ELSE", statement.line_no) 135 statement.line_no) 137 raise BadStructureException("Consecutive CHECK-ELSE statements", statement.line_no) 149 raise BadStructureException("CHECK-FI does not have a matching CHECK-IF", statement.line_no) 269 statement.line_no) [all …]
|
D | line.py | 68 ' compiling fails with error: {}'.format(pattern, pos.filename, pos.line_no, e))
|
/art/tools/checker/common/ |
D | logger.py | 100 Logger.fail(msg, statement.filename, statement.line_no, statement.original_text, variables)
|