/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
H A D | fileio.c | 73 portable_lseek(int fd, PyObject *posobj, int whence);
75 static PyObject *portable_lseek(int fd, PyObject *posobj, int whence);
692 portable_lseek(int fd, PyObject *posobj, int whence)
argument 711 if (posobj == NULL)
714 if(PyFloat_Check(posobj)) {
719 pos = PyLong_AsLongLong(posobj);
721 pos = PyLong_AsLong(posobj);
750 PyObject *posobj;
local 756 if (!PyArg_ParseTuple(args, "O|i", &posobj, &whence))
759 return portable_lseek(self->fd, posobj, whenc 775 PyObject *posobj = NULL; /* the new size wanted by the user */ local [all...] |
H A D | textio.c | 1956 PyObject *cookieObj, *posobj;
local 2060 posobj = PyLong_FromOff_t(cookie.start_pos);
2061 if (posobj == NULL)
2064 _PyIO_str_seek, posobj, NULL);
2065 Py_DECREF(posobj);
2133 PyObject *posobj = NULL;
local 2161 posobj = PyObject_CallMethod(self->buffer, "tell", NULL);
2162 if (posobj == NULL)
2167 return posobj;
2171 cookie.start_pos = PyLong_AsLongLong(posobj);
[all...] |
H A D | bytesio.c | 494 PyObject *posobj;
local 500 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode))
503 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError);
|
H A D | stringio.c | 409 PyObject *posobj;
local 414 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode))
417 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError);
|
H A D | bufferedio.c | 617 PyObject *res, *posobj, *whenceobj;
local 620 posobj = PyLong_FromOff_t(target);
621 if (posobj == NULL)
625 Py_DECREF(posobj);
629 posobj, whenceobj, NULL);
630 Py_DECREF(posobj);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
H A D | fileio.c | 68 portable_lseek(int fd, PyObject *posobj, int whence);
70 static PyObject *portable_lseek(int fd, PyObject *posobj, int whence);
704 portable_lseek(int fd, PyObject *posobj, int whence)
argument 723 if (posobj == NULL)
726 if(PyFloat_Check(posobj)) {
731 pos = PyLong_AsLongLong(posobj);
733 pos = PyLong_AsLong(posobj);
762 PyObject *posobj;
local 768 if (!PyArg_ParseTuple(args, "O|i", &posobj, &whence))
771 return portable_lseek(self->fd, posobj, whenc 787 PyObject *posobj = NULL; /* the new size wanted by the user */ local [all...] |
H A D | textio.c | 2002 PyObject *cookieObj, *posobj;
local 2106 posobj = PyLong_FromOff_t(cookie.start_pos);
2107 if (posobj == NULL)
2110 _PyIO_str_seek, posobj, NULL);
2111 Py_DECREF(posobj);
2186 PyObject *posobj = NULL;
local 2214 posobj = PyObject_CallMethod(self->buffer, "tell", NULL);
2215 if (posobj == NULL)
2220 return posobj;
2224 cookie.start_pos = PyLong_AsLongLong(posobj);
[all...] |
H A D | bytesio.c | 504 PyObject *posobj;
local 510 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode))
513 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError);
|
H A D | stringio.c | 409 PyObject *posobj;
local 414 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode))
417 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError);
|
H A D | bufferedio.c | 645 PyObject *res, *posobj, *whenceobj;
local 648 posobj = PyLong_FromOff_t(target);
649 if (posobj == NULL)
653 Py_DECREF(posobj);
657 posobj, whenceobj, NULL);
658 Py_DECREF(posobj);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
H A D | edk2module.c | 2893 PyObject *posobj;
local 2894 if (!PyArg_ParseTuple(args, "iOi:lseek", &fd, &posobj, &how))
2906 pos = PyInt_AsLong(posobj);
2908 pos = PyLong_Check(posobj) ?
2909 PyLong_AsLongLong(posobj) : PyInt_AsLong(posobj);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/ |
H A D | edk2module.c | 4887 PyObject *posobj;
local 4888 if (!PyArg_ParseTuple(args, "iOi:lseek", &fd, &posobj, &how))
4900 pos = PyInt_AsLong(posobj);
4902 pos = PyLong_Check(posobj) ?
4903 PyLong_AsLongLong(posobj) : PyInt_AsLong(posobj);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
H A D | posixmodule.c | 6528 PyObject *posobj;
local 6529 if (!PyArg_ParseTuple(args, "iOi:lseek", &fd, &posobj, &how))
6541 pos = PyInt_AsLong(posobj);
6543 pos = PyLong_Check(posobj) ?
6544 PyLong_AsLongLong(posobj) : PyInt_AsLong(posobj);
|