Searched refs:offobj (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/ |
D | bz2module.c | 1015 PyObject *offobj; in BZ2File_seek() local 1026 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &where)) in BZ2File_seek() 1029 offset = PyInt_AsLong(offobj); in BZ2File_seek() 1031 offset = PyLong_Check(offobj) ? in BZ2File_seek() 1032 PyLong_AsLongLong(offobj) : PyInt_AsLong(offobj); in BZ2File_seek()
|
/external/python/cpython2/Objects/ |
D | fileobject.c | 771 PyObject *offobj, *off_index; in file_seek() local 777 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence)) in file_seek() 779 off_index = PyNumber_Index(offobj); in file_seek() 781 if (!PyFloat_Check(offobj)) in file_seek() 789 off_index = offobj; in file_seek() 790 Py_INCREF(offobj); in file_seek()
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 8469 PyObject *offobj; in posix_sendfile() local 8473 keywords, &out, &in, &offobj, &count)) in posix_sendfile() 8476 if (offobj == Py_None) { in posix_sendfile() 8487 if (!Py_off_t_converter(offobj, &offset)) in posix_sendfile()
|