/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_codecs.py | 76 def readalllines(input, keepends=True, size=None): argument 80 line = reader.readline(size=size, keepends=keepends) 111 reader.readline(keepends=True), 117 reader.readline(keepends=False), 197 self.assertEqual(reader.readline(keepends=False), u"foo") 199 self.assertEqual(reader.readline(keepends=False), u"") 200 self.assertEqual(reader.readline(keepends=False), u"bar") 202 self.assertEqual(reader.readline(keepends=False), u"baz") 203 self.assertEqual(reader.readline(keepends=False), u"") 207 self.assertEqual(reader.readline(keepends=True), u"foo\r") [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | codecs.py | 503 def readline(self, size=None, keepends=True): argument 522 if not keepends: 554 if not keepends: 562 if keepends: 569 if line and not keepends: 576 def readlines(self, sizehint=None, keepends=True): argument 589 return data.splitlines(keepends)
|
D | UserString.py | 122 def splitlines(self, keepends=0): return self.data.splitlines(keepends) argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | codecs.py | 506 def readline(self, size=None, keepends=True): argument 525 if not keepends: 557 if not keepends: 565 if keepends: 572 if line and not keepends: 579 def readlines(self, sizehint=None, keepends=True): argument 592 return data.splitlines(keepends)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
D | split.h | 341 int keepends) in stringlib_splitlines() argument 373 if (keepends) in stringlib_splitlines()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
D | split.h | 341 int keepends) in stringlib_splitlines() argument 373 if (keepends) in stringlib_splitlines()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | unicodeobject.h | 1174 int keepends /* If true, line end markers are included */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | unicodeobject.h | 1174 int keepends /* If true, line end markers are included */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | bytearrayobject.c | 2657 int keepends = 0; in bytearray_splitlines() local 2659 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends)) in bytearray_splitlines() 2664 PyByteArray_GET_SIZE(self), keepends in bytearray_splitlines()
|
D | stringobject.c | 3542 int keepends = 0; in string_splitlines() local 3544 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends)) in string_splitlines() 3549 keepends in string_splitlines()
|
D | unicodeobject.c | 5725 PyObject *PyUnicode_Splitlines(PyObject *string, int keepends) in PyUnicode_Splitlines() argument 5735 PyUnicode_GET_SIZE(string), keepends); in PyUnicode_Splitlines() 7525 int keepends = 0; in unicode_splitlines() local 7527 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends)) in unicode_splitlines() 7530 return PyUnicode_Splitlines((PyObject *)self, keepends); in unicode_splitlines()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | bytearrayobject.c | 2665 int keepends = 0; in bytearray_splitlines() local 2667 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends)) in bytearray_splitlines() 2672 PyByteArray_GET_SIZE(self), keepends in bytearray_splitlines()
|
D | stringobject.c | 3563 int keepends = 0; in string_splitlines() local 3565 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends)) in string_splitlines() 3570 keepends in string_splitlines()
|
D | unicodeobject.c | 5820 PyObject *PyUnicode_Splitlines(PyObject *string, int keepends) in PyUnicode_Splitlines() argument 5830 PyUnicode_GET_SIZE(string), keepends); in PyUnicode_Splitlines() 7633 int keepends = 0; in unicode_splitlines() local 7635 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends)) in unicode_splitlines() 7638 return PyUnicode_Splitlines((PyObject *)self, keepends); in unicode_splitlines()
|