/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_multibytecodec_support.py | 152 for sizehint in [None] + range(1, 33) + \
158 if sizehint is not None:
159 data = istream.read(sizehint)
172 for sizehint in [None, -1] + range(1, 33) + \
178 data = istream.read(sizehint)
210 for sizehint in [None, -1] + range(1, 33) + \
216 data = func(sizehint)
230 for sizehint in [None] + range(1, 33) + \
236 if sizehint is not None:
237 data = func(sizehint)
[all...] |
/external/python/cpython2/Lib/test/ |
test_multibytecodec_support.py | 161 for sizehint in [None] + range(1, 33) + \ 167 if sizehint is not None: 168 data = istream.read(sizehint) 181 for sizehint in [None, -1] + range(1, 33) + \ 187 data = istream.read(sizehint) 219 for sizehint in [None, -1] + range(1, 33) + \ 225 data = func(sizehint) 239 for sizehint in [None] + range(1, 33) + \ 245 if sizehint is not None: 246 data = func(sizehint) [all...] |
/external/python/cpython3/Lib/test/ |
multibytecodec_support.py | 175 for sizehint in [None] + list(range(1, 33)) + \ 181 if sizehint is not None: 182 data = istream.read(sizehint) 195 for sizehint in [None, -1] + list(range(1, 33)) + \ 201 data = istream.read(sizehint) 233 for sizehint in [None, -1] + list(range(1, 33)) + \ 239 data = func(sizehint) 253 for sizehint in [None] + list(range(1, 33)) + \ 259 if sizehint is not None: 260 data = func(sizehint) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_multibytecodec_support.py | 163 for sizehint in [None] + range(1, 33) + \ 169 if sizehint is not None: 170 data = istream.read(sizehint) 183 for sizehint in [None, -1] + range(1, 33) + \ 189 data = istream.read(sizehint) 221 for sizehint in [None, -1] + range(1, 33) + \ 227 data = func(sizehint) 241 for sizehint in [None] + range(1, 33) + \ 247 if sizehint is not None: 248 data = func(sizehint) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_multibytecodec_support.py | 163 for sizehint in [None] + range(1, 33) + \ 169 if sizehint is not None: 170 data = istream.read(sizehint) 183 for sizehint in [None, -1] + range(1, 33) + \ 189 data = istream.read(sizehint) 221 for sizehint in [None, -1] + range(1, 33) + \ 227 data = func(sizehint) 241 for sizehint in [None] + range(1, 33) + \ 247 if sizehint is not None: 248 data = func(sizehint) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec_support.py | 163 for sizehint in [None] + range(1, 33) + \ 169 if sizehint is not None: 170 data = istream.read(sizehint) 183 for sizehint in [None, -1] + range(1, 33) + \ 189 data = istream.read(sizehint) 221 for sizehint in [None, -1] + range(1, 33) + \ 227 data = func(sizehint) 241 for sizehint in [None] + range(1, 33) + \ 247 if sizehint is not None: 248 data = func(sizehint) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec_support.py | 163 for sizehint in [None] + range(1, 33) + \ 169 if sizehint is not None: 170 data = istream.read(sizehint) 183 for sizehint in [None, -1] + range(1, 33) + \ 189 data = istream.read(sizehint) 221 for sizehint in [None, -1] + range(1, 33) + \ 227 data = func(sizehint) 241 for sizehint in [None] + range(1, 33) + \ 247 if sizehint is not None: 248 data = func(sizehint) [all...] |
/external/python/cpython3/Modules/cjkcodecs/ |
multibytecodec.c | 1433 Py_ssize_t sizehint; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
StringIO.py | 168 def readlines(self, sizehint = 0):
172 If the optional sizehint argument is present, instead of reading up
173 to EOF, whole lines totalling approximately sizehint bytes (or more
182 if 0 < sizehint <= total:
|
codecs.py | 579 def readlines(self, sizehint=None, keepends=True):
587 sizehint, if given, is ignored since there is no efficient
680 def readlines(self, sizehint=None):
682 return self.reader.readlines(sizehint)
797 def readlines(self, sizehint=None):
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
StringIO.py | 168 def readlines(self, sizehint = 0):
172 If the optional sizehint argument is present, instead of reading up
173 to EOF, whole lines totalling approximately sizehint bytes (or more
182 if 0 < sizehint <= total:
|
codecs.py | 576 def readlines(self, sizehint=None, keepends=True):
584 sizehint, if given, is ignored since there is no efficient
677 def readlines(self, sizehint=None):
679 return self.reader.readlines(sizehint)
794 def readlines(self, sizehint=None):
[all...] |
/external/python/cpython2/Lib/ |
StringIO.py | 168 def readlines(self, sizehint = 0): 172 If the optional sizehint argument is present, instead of reading up 173 to EOF, whole lines totalling approximately sizehint bytes (or more 182 if 0 < sizehint <= total:
|
codecs.py | 591 def readlines(self, sizehint=None, keepends=True): 599 sizehint, if given, is ignored since there is no efficient 692 def readlines(self, sizehint=None): 694 return self.reader.readlines(sizehint) 809 def readlines(self, sizehint=None): [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
StringIO.py | 168 def readlines(self, sizehint = 0): 172 If the optional sizehint argument is present, instead of reading up 173 to EOF, whole lines totalling approximately sizehint bytes (or more 182 if 0 < sizehint <= total:
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
StringIO.py | 168 def readlines(self, sizehint = 0): 172 If the optional sizehint argument is present, instead of reading up 173 to EOF, whole lines totalling approximately sizehint bytes (or more 182 if 0 < sizehint <= total:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
StringIO.py | 168 def readlines(self, sizehint = 0): 172 If the optional sizehint argument is present, instead of reading up 173 to EOF, whole lines totalling approximately sizehint bytes (or more 182 if 0 < sizehint <= total:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
StringIO.py | 168 def readlines(self, sizehint = 0): 172 If the optional sizehint argument is present, instead of reading up 173 to EOF, whole lines totalling approximately sizehint bytes (or more 182 if 0 < sizehint <= total:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
selectmodule.c | 736 newPyEpoll_Object(PyTypeObject *type, int sizehint, SOCKET fd)
740 if (sizehint == -1) {
741 sizehint = FD_SETSIZE-1;
743 else if (sizehint < 1) {
745 "sizehint must be greater zero, got %d",
746 sizehint);
757 self->epfd = epoll_create(sizehint);
775 int sizehint = -1;
local 776 static char *kwlist[] = {"sizehint", NULL};
779 &sizehint))
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
selectmodule.c | 770 newPyEpoll_Object(PyTypeObject *type, int sizehint, SOCKET fd)
774 if (sizehint == -1) {
775 sizehint = FD_SETSIZE-1;
777 else if (sizehint < 1) {
779 "sizehint must be greater zero, got %d",
780 sizehint);
791 self->epfd = epoll_create(sizehint);
809 int sizehint = -1;
local 810 static char *kwlist[] = {"sizehint", NULL};
813 &sizehint))
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
selectmodule.c | 736 newPyEpoll_Object(PyTypeObject *type, int sizehint, SOCKET fd)
740 if (sizehint == -1) {
741 sizehint = FD_SETSIZE-1;
743 else if (sizehint < 1) {
745 "sizehint must be greater zero, got %d",
746 sizehint);
757 self->epfd = epoll_create(sizehint);
775 int sizehint = -1;
local 776 static char *kwlist[] = {"sizehint", NULL};
779 &sizehint))
[all...] |
bz2module.c | 613 int sizehint = -1;
local 615 if (!PyArg_ParseTuple(args, "|i:readline", &sizehint))
639 if (sizehint == 0)
642 ret = Util_GetLine(self, (sizehint < 0) ? 0 : sizehint);
661 long sizehint = 0;
local 676 if (!PyArg_ParseTuple(args, "|l:readlines", &sizehint))
714 sizehint = 0;
770 if (sizehint > 0)
771 if (totalread >= (size_t)sizehint)
[all...] |
/external/python/cpython2/Modules/ |
selectmodule.c | 759 newPyEpoll_Object(PyTypeObject *type, int sizehint, SOCKET fd) 763 if (sizehint == -1) { 764 sizehint = FD_SETSIZE-1; 766 else if (sizehint < 1) { 768 "sizehint must be greater zero, got %d", 769 sizehint); 780 self->epfd = epoll_create(sizehint); 798 int sizehint = -1; local 799 static char *kwlist[] = {"sizehint", NULL}; 802 &sizehint)) [all...] |
bz2module.c | 601 int sizehint = -1; local 603 if (!PyArg_ParseTuple(args, "|i:readline", &sizehint)) 627 if (sizehint == 0) 630 ret = Util_GetLine(self, (sizehint < 0) ? 0 : sizehint); 649 long sizehint = 0; local 664 if (!PyArg_ParseTuple(args, "|l:readlines", &sizehint)) 702 sizehint = 0; 759 if (sizehint > 0) 760 if (totalread >= (size_t)sizehint) [all...] |
/external/python/cpython3/Lib/ |
codecs.py | 603 def readlines(self, sizehint=None, keepends=True): 611 sizehint, if given, is ignored since there is no efficient 704 def readlines(self, sizehint=None): 706 return self.reader.readlines(sizehint) 815 def readlines(self, sizehint=None): [all...] |