Lines Matching refs:result
142 result = collections.namedtuple('CheckPatchResult', fields)
143 result.stdout = checkpatch_output
144 result.ok = False
145 result.errors, result.warnings, result.checks = 0, 0, 0
146 result.lines = 0
147 result.problems = []
162 for message in result.stdout.split('\n\n'):
171 result.errors = int(match.group(1))
172 result.warnings = int(match.group(2))
174 result.checks = int(match.group(3))
175 result.lines = int(match.group(4))
177 result.lines = int(match.group(3))
179 result.ok = True
181 result.ok = False
185 result.problems.append(problem)
187 return result
255 result = f.result()
256 if not result.ok:
257 error_count += result.errors
258 warning_count += result.warnings
259 check_count += result.checks
260 print('%d errors, %d warnings, %d checks for %s:' % (result.errors,
261 result.warnings, result.checks, col.build(col.BLUE, fname)))
262 if (len(result.problems) != result.errors + result.warnings +
263 result.checks):
267 for item in result.problems: