Lines Matching refs:result
59 result = collections.namedtuple('CheckPatchResult', fields)
60 result.ok = False
61 result.errors, result.warning, result.checks = 0, 0, 0
62 result.lines = 0
63 result.problems = []
66 result.stdout = command.Output(chk, '--no-tree', fname,
84 for line in result.stdout.splitlines():
90 result.problems.append(item)
96 result.errors = int(match.group(1))
97 result.warnings = int(match.group(2))
99 result.checks = int(match.group(3))
100 result.lines = int(match.group(4))
102 result.lines = int(match.group(3))
104 result.ok = True
106 result.ok = False
124 return result
149 result = CheckPatch(fname, verbose)
150 if not result.ok:
151 error_count += result.errors
152 warning_count += result.warnings
153 check_count += result.checks
154 print('%d errors, %d warnings, %d checks for %s:' % (result.errors,
155 result.warnings, result.checks, col.Color(col.BLUE, fname)))
156 if (len(result.problems) != result.errors + result.warnings +
157 result.checks):
159 for item in result.problems: