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

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/
iobench.py 15 TEXT_ENCODING = 'utf8'
26 return open(fn, mode, encoding=encoding or TEXT_ENCODING)
40 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
315 print("Text unit = one character (%s-decoded)" % TEXT_ENCODING)
389 chunk = chunk.encode(TEXT_ENCODING)
398 tail.decode(TEXT_ENCODING)
407 global TEXT_ENCODING, NEWLINES
425 help="encoding for text tests (default: %s)" % TEXT_ENCODING)
452 TEXT_ENCODING = options.encoding
  /external/python/cpython2/Tools/iobench/
iobench.py 15 TEXT_ENCODING = 'utf8'
26 return open(fn, mode, encoding=encoding or TEXT_ENCODING)
40 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
315 print("Text unit = one character (%s-decoded)" % TEXT_ENCODING)
389 chunk = chunk.encode(TEXT_ENCODING)
398 tail.decode(TEXT_ENCODING)
407 global TEXT_ENCODING, NEWLINES
425 help="encoding for text tests (default: %s)" % TEXT_ENCODING)
452 TEXT_ENCODING = options.encoding
  /external/python/cpython3/Tools/iobench/
iobench.py 14 TEXT_ENCODING = 'utf8'
25 return open(fn, mode, encoding=encoding or TEXT_ENCODING)
41 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
326 print("Text unit = one character (%s-decoded)" % TEXT_ENCODING)
400 chunk = chunk.encode(TEXT_ENCODING)
409 tail.decode(TEXT_ENCODING)
418 global TEXT_ENCODING, NEWLINES
436 help="encoding for text tests (default: %s)" % TEXT_ENCODING)
466 TEXT_ENCODING = options.encoding

Completed in 394 milliseconds