Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfileobject.c763 PyObject *offobj, *off_index; in file_seek() local
771 off_index = PyNumber_Index(offobj); in file_seek()
772 if (!off_index) { in file_seek()
781 off_index = offobj; in file_seek()
785 offset = PyInt_AsLong(off_index); in file_seek()
787 offset = PyLong_Check(off_index) ? in file_seek()
788 PyLong_AsLongLong(off_index) : PyInt_AsLong(off_index); in file_seek()
790 Py_DECREF(off_index); in file_seek()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dfileobject.c749 PyObject *offobj, *off_index; in file_seek() local
757 off_index = PyNumber_Index(offobj); in file_seek()
758 if (!off_index) { in file_seek()
767 off_index = offobj; in file_seek()
771 offset = PyInt_AsLong(off_index); in file_seek()
773 offset = PyLong_Check(off_index) ? in file_seek()
774 PyLong_AsLongLong(off_index) : PyInt_AsLong(off_index); in file_seek()
776 Py_DECREF(off_index); in file_seek()