Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtextwrap.py202 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): argument
220 cur_line.append(reversed_chunks[-1][:space_left])
226 elif not cur_line:
227 cur_line.append(reversed_chunks.pop())
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() == '':
296 del cur_line[-1]
300 if cur_line:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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, ''))