OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cur_line
(Results
1 - 6
of
6
) sorted by null
/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
...]
/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/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
...]
Completed in 665 milliseconds