Home | History | Annotate | Download | only in tpm2

Lines Matching refs:line

18 def strip_line_num(line):
19 line = head_spaces.sub('', line)
20 return line
23 # get rid of heading line numbers and spaces.
38 for line in source_lines:
39 text.append(line)
40 if line == '' and text[-2].startswith(' ') and text[-5] == '':
49 for line in text:
50 f = re.match('^\s*[0-9]+\.[0-9]+\s+(\S+)$', line)
54 num = re.match('^\s*([0-9]+)[$ ]', line + ' ')
58 # this is the first line of a file
63 output_buffer = [line,]
71 output_buffer.append(line)
74 line_buffer.append('//' + line)