Home
last modified time | relevance | path

Searched refs:offobj (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dbz2module.c1015 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/
Dfileobject.c761 PyObject *offobj, *off_index; in file_seek() local
767 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()