Home
last modified time | relevance | path

Searched refs:keepends (Results 1 – 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_codecs.py76 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/
Dcodecs.py503 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)
DUserString.py122 def splitlines(self, keepends=0): return self.data.splitlines(keepends) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcodecs.py506 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/
Dsplit.h341 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/
Dsplit.h341 int keepends) in stringlib_splitlines() argument
373 if (keepends) in stringlib_splitlines()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dunicodeobject.h1174 int keepends /* If true, line end markers are included */
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dunicodeobject.h1174 int keepends /* If true, line end markers are included */
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dbytearrayobject.c2657 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()
Dstringobject.c3542 int keepends = 0; in string_splitlines() local
3544 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends)) in string_splitlines()
3549 keepends in string_splitlines()
Dunicodeobject.c5725 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/
Dbytearrayobject.c2665 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()
Dstringobject.c3563 int keepends = 0; in string_splitlines() local
3565 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends)) in string_splitlines()
3570 keepends in string_splitlines()
Dunicodeobject.c5820 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()