Searched refs:offobj (Results 1 – 2 of 2) sorted by relevance
1015 PyObject *offobj; in BZ2File_seek() local1026 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()
761 PyObject *offobj, *off_index; in file_seek() local767 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence)) in file_seek()769 off_index = PyNumber_Index(offobj); in file_seek()771 if (!PyFloat_Check(offobj)) in file_seek()779 off_index = offobj; in file_seek()780 Py_INCREF(offobj); in file_seek()