Lines Matching refs:line
233 line = parent.__next__() # Python 3
235 line = parent.next() # Python 2 # pylint: disable=no-member
236 if line is not None:
240 return line.decode(sys.getdefaultencoding()).rstrip() + '\n'
368 for line in funcs_f:
369 if re.search(end_regex, line):
371 headers += line
414 for line in funcs_f:
415 match = re.search(DEPENDENCY_REGEX, line.strip())
422 if re.search(END_DEP_REGEX, line):
432 def parse_function_dependencies(line): argument
442 match = re.search(BEGIN_CASE_REGEX, line)
452 def parse_function_arguments(line): argument
468 line = line[line.find('(') + 1:]
473 for arg in line[:line.find(')')].split(','):
495 "'char *' or 'data_t'\n%s" % line)
541 for line in funcs_f:
546 up_to_arg_list_start = code + line[:line.find('(') + 1]
552 if not re.match(FUNCTION_ARG_LIST_END_REGEX, line):
554 line += lin
555 if re.search(FUNCTION_ARG_LIST_END_REGEX, line):
558 line)
559 code += line
561 code += line
570 for line in funcs_f:
571 if re.search(END_CASE_REGEX, line):
575 re.search(EXIT_LABEL_REGEX, line.strip()) is not None
576 code += line
604 for line in funcs_f:
605 if re.search(BEGIN_HEADER_REGEX, line):
607 elif re.search(BEGIN_SUITE_HELPERS_REGEX, line):
610 elif re.search(BEGIN_DEP_REGEX, line):
612 elif re.search(BEGIN_CASE_REGEX, line):
614 dependencies = parse_function_dependencies(line)
676 for line in data_f:
677 line = line.strip()
679 if line.startswith('#'):
683 if not line:
693 name = line
697 match = re.search(DEPENDENCY_REGEX, line)
708 parts = escaped_split(line, ':')
978 for line_no, line in enumerate(template_f.readlines(), 1):
981 code = string.Template(line).substitute(**snippets)