Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dfileobject.c771 PyObject *offobj, *off_index; in file_seek() local
779 off_index = PyNumber_Index(offobj); in file_seek()
780 if (!off_index) { in file_seek()
789 off_index = offobj; in file_seek()
793 offset = PyInt_AsLong(off_index); in file_seek()
795 offset = PyLong_Check(off_index) ? in file_seek()
796 PyLong_AsLongLong(off_index) : PyInt_AsLong(off_index); in file_seek()
798 Py_DECREF(off_index); in file_seek()