Lines Matching refs:cur_line
707 def IsComment(cur_line): argument
708 return '//' in cur_line
711 def IsInPreprocessorDirevative(prev_lines, cur_line): argument
712 if cur_line.lstrip().startswith('#'):
729 cur_line = ''
731 if len((cur_line + seg).rstrip()) < max_len:
732 cur_line += seg
734 if cur_line.strip() != '':
735 output.append(prefix + cur_line.rstrip())
736 cur_line = seg.lstrip()
737 if cur_line.strip() != '':
738 output.append(prefix + cur_line.strip())
749 cur_line = '' # The current line without leading spaces.
752 while cur_line == '' and len(seg.strip()) > max_len:
760 if len((cur_line + seg).rstrip()) < max_len:
761 cur_line = (cur_line + seg).lstrip()
763 output.append(prefix + cur_line.rstrip() + line_concat)
766 cur_line = seg.lstrip()
767 if cur_line.strip() != '':
768 output.append(prefix + cur_line.strip())