Lines Matching refs:line
442 def handle_test_line(self, line, allow): argument
450 orig_line = line
452 if line.startswith('xfail-'):
454 line = line[len('xfail-'):]
456 match = re.match(r'xfail\[(.*?)\]-(.*)', line)
459 line = match.group(2)
468 if line.startswith('optional-'):
470 line = line[len('optional-'):]
474 while line:
475 match = re.match(r'\{(.*?)\}(.*)', line)
478 line = match.group(2)
480 match = re.match(r'([^ ]*)(.*)', line)
482 line = match.group(2)
483 line = line.strip()
533 for line in tests:
534 line = line.strip()
535 if line == '' or line.startswith('#'):
537 self.handle_test_line(line, allow)
628 for line in content:
629 line = line.strip()
630 if not line:
632 if re.match(r'# [1-9]', line):
634 if line.startswith('#pragma GCC '):
642 match = re.match(r'#define (.*)', line)
646 match = re.match(r'#undef (.*)', line)
655 line = re.sub(r'(?:\bL)?(?:"[^"]*"|\'[^\']*\')', '', line)
656 line = line.strip()
657 for token in re.split(r'[^A-Za-z0-9_]+', line):