Home
last modified time | relevance | path

Searched refs:cur_line (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/
Dtextwrap.py210 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): argument
228 cur_line.append(reversed_chunks[-1][:space_left])
234 elif not cur_line:
235 cur_line.append(reversed_chunks.pop())
268 cur_line = []
290 cur_line.append(chunks.pop())
300 self._handle_long_word(chunks, cur_line, cur_len, width)
303 if self.drop_whitespace and cur_line and cur_line[-1].strip() == '':
304 del cur_line[-1]
308 if cur_line:
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/
Dpump.py707 def IsSingleLineComment(cur_line): argument
708 return '//' in cur_line
711 def IsInPreprocessorDirective(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()
[all …]
/external/v8/testing/gtest/scripts/
Dpump.py707 def IsSingleLineComment(cur_line): argument
708 return '//' in cur_line
711 def IsInPreprocessorDirective(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()
[all …]
/external/googletest/googletest/scripts/
Dpump.py707 def IsSingleLineComment(cur_line): argument
708 return '//' in cur_line
711 def IsInPreprocessorDirective(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()
[all …]
/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py707 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()
[all …]
/external/protobuf/gtest/scripts/
Dpump.py700 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()
[all …]
/external/python/cpython2/Lib/distutils/
Dfancy_getopt.py430 cur_line = [] # list of chunks (to-be-joined)
436 cur_line.append(chunks[0])
441 if cur_line and cur_line[-1][0] == ' ':
442 del cur_line[-1]
451 cur_line.append(chunks[0][0:width])
462 lines.append(string.join(cur_line, ''))
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/lib/
Dlibffi.exp240 while { [gets $fd cur_line]>=0 } {
241 if [string match "*$pattern*" $cur_line] then {
/external/webp/src/dsp/
Ddsp.h569 uint8_t* cur_line, int width);