Searched defs:sizehint (Results 1 - 6 of 6) sorted by relevance

/external/python/cpython2/Modules/cjkcodecs/
H A Dmultibytecodec.c1238 const char *method, Py_ssize_t sizehint)
1244 if (sizehint == 0)
1253 if (sizehint < 0)
1258 (char *)method, "i", sizehint);
1302 if (endoffile || sizehint < 0) {
1320 if (sizehint < 0 || finalsize != 0 || rsize == 0)
1323 sizehint = 1; /* read 1 more byte and retry */
1387 Py_ssize_t sizehint; local
1393 sizehint = -1;
1395 sizehint
1237 mbstreamreader_iread(MultibyteStreamReaderObject *self, const char *method, Py_ssize_t sizehint) argument
[all...]
/external/skia/third_party/lua/src/
H A Dlauxlib.c811 int sizehint) {
818 if (luaL_findtable(L, 0, modname, sizehint) != NULL)
810 luaL_pushmodule(lua_State *L, const char *modname, int sizehint) argument
/external/syslinux/com32/lua/src/
H A Dlauxlib.c813 int sizehint) {
820 if (luaL_findtable(L, 0, modname, sizehint) != NULL)
812 luaL_pushmodule(lua_State *L, const char *modname, int sizehint) argument
/external/python/cpython2/Modules/
H A Dbz2module.c601 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...]
H A Dselectmodule.c759 newPyEpoll_Object(PyTypeObject *type, int sizehint, SOCKET fd) argument
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...]
/external/python/cpython2/Objects/
H A Dfileobject.c1662 long sizehint = 0; local
1685 if (!PyArg_ParseTuple(args, "|l:readlines", &sizehint))
1701 sizehint = 0;
1762 if (sizehint > 0)
1763 if (totalread >= (size_t)sizehint)
1771 if (sizehint > 0) {

Completed in 201 milliseconds