Lines Matching refs:cur_line
700 def IsComment(cur_line): argument
701 return '//' in cur_line
704 def IsInPreprocessorDirevative(prev_lines, cur_line): argument
705 if cur_line.lstrip().startswith('#'):
722 cur_line = ''
724 if len((cur_line + seg).rstrip()) < max_len:
725 cur_line += seg
727 if cur_line.strip() != '':
728 output.append(prefix + cur_line.rstrip())
729 cur_line = seg.lstrip()
730 if cur_line.strip() != '':
731 output.append(prefix + cur_line.strip())
742 cur_line = '' # The current line without leading spaces.
745 while cur_line == '' and len(seg.strip()) > max_len:
753 if len((cur_line + seg).rstrip()) < max_len:
754 cur_line = (cur_line + seg).lstrip()
756 output.append(prefix + cur_line.rstrip() + line_concat)
759 cur_line = seg.lstrip()
760 if cur_line.strip() != '':
761 output.append(prefix + cur_line.strip())