Searched refs:lenobj (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Modules/ |
D | fcntlmodule.c | 381 fcntl_lockf_impl(PyObject *module, int fd, int code, PyObject *lenobj, in fcntl_lockf_impl() argument 388 if (PySys_Audit("fcntl.lockf", "iiOOi", fd, code, lenobj ? lenobj : Py_None, in fcntl_lockf_impl() 424 if (lenobj != NULL) { in fcntl_lockf_impl() 426 l.l_len = PyLong_AsLong(lenobj); in fcntl_lockf_impl() 428 l.l_len = PyLong_Check(lenobj) ? in fcntl_lockf_impl() 429 PyLong_AsLongLong(lenobj) : in fcntl_lockf_impl() 430 PyLong_AsLong(lenobj); in fcntl_lockf_impl()
|
/external/python/cpython3/Modules/clinic/ |
D | fcntlmodule.c.h | 217 fcntl_lockf_impl(PyObject *module, int fd, int code, PyObject *lenobj, 226 PyObject *lenobj = NULL; in fcntl_lockf() local 248 lenobj = args[2]; in fcntl_lockf() 266 return_value = fcntl_lockf_impl(module, fd, code, lenobj, startobj, whence); in fcntl_lockf()
|
/external/python/cpython2/Modules/ |
D | fcntlmodule.c | 313 PyObject *lenobj = NULL, *startobj = NULL; in fcntl_lockf() local 317 &lenobj, &startobj, &whence)) in fcntl_lockf() 356 if (lenobj != NULL) { in fcntl_lockf() 358 l.l_len = PyInt_AsLong(lenobj); in fcntl_lockf() 360 l.l_len = PyLong_Check(lenobj) ? in fcntl_lockf() 361 PyLong_AsLongLong(lenobj) : in fcntl_lockf() 362 PyInt_AsLong(lenobj); in fcntl_lockf()
|
D | posixmodule.c | 7145 PyObject *lenobj; in posix_ftruncate() local 7147 if (!PyArg_ParseTuple(args, "iO:ftruncate", &fd, &lenobj)) in posix_ftruncate() 7151 length = PyInt_AsLong(lenobj); in posix_ftruncate() 7153 length = PyLong_Check(lenobj) ? in posix_ftruncate() 7154 PyLong_AsLongLong(lenobj) : PyInt_AsLong(lenobj); in posix_ftruncate()
|