Lines Matching refs:pattern
148 for pattern in warn_patterns:
149 value = pattern['severity'].value
150 for project in pattern['projects']:
151 warnings[project][value] += pattern['projects'][project]
339 for pattern in warn_patterns:
340 if pattern['severity'] == sev and pattern['members']:
341 num_members = len(pattern['members'])
343 warning = kind + ': ' + (pattern['description'] or '?')
346 projects = sorted(pattern['projects'].keys())
348 csvwriter.writerow([pattern['projects'][project], project, warning])
368 pattern = warn_patterns[record[0]]
369 severity = pattern['severity'].header
370 category = pattern['category']
371 description = pattern['description']
396 for pattern in warn_patterns:
398 writer('{},'.format(pattern[name].value))
400 writer('{},'.format(pattern[name]))
407 for pattern in warn_patterns:
408 if pattern['members']:
409 writer('"{}",'.format(escape_string(pattern['description'])))