/external/python/cpython3/Lib/ |
textwrap.py | 200 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): 202 cur_line : [string], 218 cur_line.append(reversed_chunks[-1][:space_left]) 224 elif not cur_line: 225 cur_line.append(reversed_chunks.pop()) 264 # cur_len is just the length of all the chunks in cur_line. 265 cur_line = [] 287 cur_line.append(chunks.pop()) 297 self._handle_long_word(chunks, cur_line, cur_len, width) 298 cur_len = sum(map(len, cur_line)) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
textwrap.py | 202 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width):
204 cur_line : [string],
220 cur_line.append(reversed_chunks[-1][:space_left])
226 elif not cur_line:
227 cur_line.append(reversed_chunks.pop())
259 # cur_len is just the length of all the chunks in cur_line.
260 cur_line = []
282 cur_line.append(chunks.pop())
292 self._handle_long_word(chunks, cur_line, cur_len, width)
295 if self.drop_whitespace and cur_line and cur_line[-1].strip() == '': [all...] |
/art/test/997-single-step/src/art/ |
Test997.java | 55 int cur_line = Breakpoint.locationToLine(e, loc); local 58 if (LAST_LINE_NUMBER == NO_LAST_LINE_NUMBER || LAST_LINE_NUMBER != cur_line) { 59 LAST_LINE_NUMBER = cur_line; 60 System.out.println("Single step: " + e + " @ line=" + cur_line);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
textwrap.py | 210 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width):
212 cur_line : [string],
228 cur_line.append(reversed_chunks[-1][:space_left])
234 elif not cur_line:
235 cur_line.append(reversed_chunks.pop())
267 # cur_len is just the length of all the chunks in cur_line.
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() == '': [all...] |
/external/python/cpython2/Lib/ |
textwrap.py | 210 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): 212 cur_line : [string], 228 cur_line.append(reversed_chunks[-1][:space_left]) 234 elif not cur_line: 235 cur_line.append(reversed_chunks.pop()) 267 # cur_len is just the length of all the chunks in cur_line. 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() == '' [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
textwrap.py | 210 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): 212 cur_line : [string], 228 cur_line.append(reversed_chunks[-1][:space_left]) 234 elif not cur_line: 235 cur_line.append(reversed_chunks.pop()) 267 # cur_len is just the length of all the chunks in cur_line. 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() == '' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
textwrap.py | 210 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): 212 cur_line : [string], 228 cur_line.append(reversed_chunks[-1][:space_left]) 234 elif not cur_line: 235 cur_line.append(reversed_chunks.pop()) 267 # cur_len is just the length of all the chunks in cur_line. 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() == '' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
textwrap.py | 210 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): 212 cur_line : [string], 228 cur_line.append(reversed_chunks[-1][:space_left]) 234 elif not cur_line: 235 cur_line.append(reversed_chunks.pop()) 267 # cur_len is just the length of all the chunks in cur_line. 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() == '' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
textwrap.py | 210 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): 212 cur_line : [string], 228 cur_line.append(reversed_chunks[-1][:space_left]) 234 elif not cur_line: 235 cur_line.append(reversed_chunks.pop()) 267 # cur_len is just the length of all the chunks in cur_line. 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() == '' [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
fancy_getopt.py | 430 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/Lib/distutils/ |
fancy_getopt.py | 430 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/cpython3/Lib/distutils/ |
fancy_getopt.py | 393 cur_line = [] # list of chunks (to-be-joined) 399 cur_line.append(chunks[0]) 404 if cur_line and cur_line[-1][0] == ' ': 405 del cur_line[-1] 413 cur_line.append(chunks[0][0:width]) 424 lines.append(''.join(cur_line))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/ |
fancy_getopt.py | 430 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, ''))
|
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/ |
fancy_getopt.py | 430 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, ''))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
fancy_getopt.py | 430 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, ''))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
fancy_getopt.py | 430 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/google-breakpad/src/testing/gtest/scripts/ |
pump.py | 707 def IsComment(cur_line): 708 return '//' in cur_line 711 def IsInPreprocessorDirevative(prev_lines, cur_line): 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/ |
pump.py | 707 def IsSingleLineComment(cur_line): 708 return '//' in cur_line 711 def IsInPreprocessorDirective(prev_lines, cur_line): 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/ |
pump.py | 700 def IsComment(cur_line): 701 return '//' in cur_line 704 def IsInPreprocessorDirevative(prev_lines, cur_line): 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/v8/testing/gtest/scripts/ |
pump.py | 707 def IsSingleLineComment(cur_line): 708 return '//' in cur_line 711 def IsInPreprocessorDirective(prev_lines, cur_line): 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/vulkan-validation-layers/tests/gtest-1.7.0/scripts/ |
pump.py | 707 def IsSingleLineComment(cur_line): 708 return '//' in cur_line 711 def IsInPreprocessorDirective(prev_lines, cur_line): 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...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/scripts/ |
pump.py | 707 def IsSingleLineComment(cur_line): 708 return '//' in cur_line 711 def IsInPreprocessorDirective(prev_lines, cur_line): 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/scapy/scapy/ |
main.py | 354 cur_line = [] 358 if not cur_line or (_len(cur_line) + len(quote[0]) - 1 <= max_len): 359 cur_line.append(quote.pop(0)) 361 lines.append(' | %s' % ' '.join(cur_line)) 362 cur_line = [] 363 if cur_line: 364 lines.append(' | %s' % ' '.join(cur_line)) 365 cur_line = []
|
/external/libffi/testsuite/lib/ |
libffi.exp | 240 while { [gets $fd cur_line]>=0 } { 241 if [string match "*$pattern*" $cur_line] then {
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_align.c | 604 int cur_line = -1; local 633 cur_line = -1; 634 sscanf(line_ptr, "%u: ", &cur_line); 635 if (cur_line == m.line)
|