HomeSort by relevance Sort by last modified time
    Searched refs:NEWLINES (Results 1 - 7 of 7) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/
iobench.py 16 NEWLINES = 'lf'
40 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
381 if NEWLINES == "all":
385 {"cr": "\r", "lf": "\n", "crlf": "\r\n"}[NEWLINES])
407 global TEXT_ENCODING, NEWLINES
426 parser.add_option("-N", "--newlines",
427 action="store", dest="newlines", default='lf',
433 NEWLINES = options.newlines.lower()
434 if NEWLINES not in ('lf', 'cr', 'crlf', 'all'):
    [all...]
  /external/python/cpython2/Tools/iobench/
iobench.py 16 NEWLINES = 'lf'
40 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
381 if NEWLINES == "all":
385 {"cr": "\r", "lf": "\n", "crlf": "\r\n"}[NEWLINES])
407 global TEXT_ENCODING, NEWLINES
426 parser.add_option("-N", "--newlines",
427 action="store", dest="newlines", default='lf',
433 NEWLINES = options.newlines.lower()
434 if NEWLINES not in ('lf', 'cr', 'crlf', 'all')
    [all...]
  /external/python/cpython3/Tools/iobench/
iobench.py 15 NEWLINES = 'lf'
41 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
392 if NEWLINES == "all":
396 {"cr": "\r", "lf": "\n", "crlf": "\r\n"}[NEWLINES])
418 global TEXT_ENCODING, NEWLINES
437 parser.add_option("-N", "--newlines",
438 action="store", dest="newlines", default='lf',
447 NEWLINES = options.newlines.lower()
448 if NEWLINES not in ('lf', 'cr', 'crlf', 'all')
    [all...]
  /external/yapf/yapf/yapflib/
reformatter.py 447 """Calculate the number of newlines we need to add.
459 The number of newlines needed before the first token.
466 if first_token.newlines is not None:
468 pytree_utils.Annotation.NEWLINES, None)
518 if first_token.newlines is not None:
520 first_token.node, pytree_utils.Annotation.NEWLINES, None)
525 pytree_utils.Annotation.NEWLINES, None)
528 # Calculate how many newlines were between the original lines. We want to
597 start of the text of that token. Counting the number of newlines in its text
blank_line_calculator.py 22 newlines: The number of newlines required before the node.
161 pytree_utils.SetNodeAnnotation(node, pytree_utils.Annotation.NEWLINES,
format_token.py 148 newlines_before: (int) The number of newlines to place before the token.
172 '\n' * (self.newlines or newlines_before) + indent_before)
177 """Change the number of newlines before this token."""
238 def newlines(self): member in class:FormatToken
239 """The number of newlines needed before this token."""
241 pytree_utils.Annotation.NEWLINES)
pytree_utils.py 48 NEWLINES = 'newlines'

Completed in 677 milliseconds