Home
last modified time | relevance | path

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

/dports/net/py-pysendfile/pysendfile-2.0.1/
H A Dsendfilemodule.c97 PyObject *offobj; in method_sendfile() local
103 keywords, &fd, &sock, &offobj, &nbytes, in method_sendfile()
109 if (!_parse_off_t(offobj, &offset)) in method_sendfile()
246 PyObject *offobj; in method_sendfile() local
248 if (!PyArg_ParseTuple(args, "iiOn", &out_fd, &in_fd, &offobj, &nbytes)) { in method_sendfile()
252 if (offobj == Py_None) { in method_sendfile()
258 if (!_parse_off_t(offobj, &offset)) in method_sendfile()
284 PyObject *offobj; in method_sendfile() local
286 if (!PyArg_ParseTuple(args, "iiOn", &out_fd, &in_fd, &offobj, &nbytes)) { in method_sendfile()
289 if (!_parse_off_t(offobj, &offset)) in method_sendfile()
/dports/lang/python-legacy/Python-2.7.18/Modules/
H A 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()
/dports/lang/python27/Python-2.7.18/Modules/
H A 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()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dbz2module.c1026 PyObject *offobj; in BZ2File_seek() local
1037 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &where)) in BZ2File_seek()
1040 offset = PyInt_AsLong(offobj); in BZ2File_seek()
1042 offset = PyLong_Check(offobj) ? in BZ2File_seek()
1043 PyLong_AsLongLong(offobj) : PyInt_AsLong(offobj); in BZ2File_seek()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dfileobject.c749 PyObject *offobj, *off_index; in file_seek() local
755 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence)) in file_seek()
757 off_index = PyNumber_Index(offobj); in file_seek()
759 if (!PyFloat_Check(offobj)) in file_seek()
767 off_index = offobj; in file_seek()
768 Py_INCREF(offobj); in file_seek()
/dports/lang/python-legacy/Python-2.7.18/Objects/
H A Dfileobject.c771 PyObject *offobj, *off_index; in file_seek() local
777 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence)) in file_seek()
779 off_index = PyNumber_Index(offobj); in file_seek()
781 if (!PyFloat_Check(offobj)) in file_seek()
789 off_index = offobj; in file_seek()
790 Py_INCREF(offobj); in file_seek()
/dports/lang/python27/Python-2.7.18/Objects/
H A Dfileobject.c771 PyObject *offobj, *off_index; in file_seek() local
777 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence)) in file_seek()
779 off_index = PyNumber_Index(offobj); in file_seek()
781 if (!PyFloat_Check(offobj)) in file_seek()
789 off_index = offobj; in file_seek()
790 Py_INCREF(offobj); in file_seek()
/dports/lang/python310/Python-3.10.1/Modules/clinic/
H A Dposixmodule.c.h5224 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, PyObject *offobj,
5236 PyObject *offobj; in os_sendfile() local
5251 offobj = args[2]; in os_sendfile()
5264 return_value = os_sendfile_impl(module, out_fd, in_fd, offobj, count); in os_sendfile()
/dports/lang/python39/Python-3.9.9/Modules/clinic/
H A Dposixmodule.c.h5486 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, PyObject *offobj,
5498 PyObject *offobj; in os_sendfile() local
5523 offobj = args[2]; in os_sendfile()
5541 return_value = os_sendfile_impl(module, out_fd, in_fd, offobj, count); in os_sendfile()
/dports/lang/python311/Python-3.11.0a3/Modules/clinic/
H A Dposixmodule.c.h5256 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, PyObject *offobj,
5268 PyObject *offobj; in os_sendfile() local
5283 offobj = args[2]; in os_sendfile()
5296 return_value = os_sendfile_impl(module, out_fd, in_fd, offobj, count); in os_sendfile()
/dports/lang/python37/Python-3.7.12/Modules/
H A Dposixmodule.c8570 PyObject *offobj; in posix_sendfile() local
8574 keywords, &out, &in, &offobj, &count)) in posix_sendfile()
8577 if (offobj == Py_None) { in posix_sendfile()
8588 if (!Py_off_t_converter(offobj, &offset)) in posix_sendfile()
/dports/databases/py-gdbm/Python-3.8.12/Modules/
H A Dposixmodule.c9337 PyObject *offobj; in posix_sendfile() local
9341 keywords, &out, &in, &offobj, &count)) in posix_sendfile()
9344 if (offobj == Py_None) { in posix_sendfile()
9355 if (!Py_off_t_converter(offobj, &offset)) in posix_sendfile()
/dports/lang/python-tools/Python-3.8.12/Modules/
H A Dposixmodule.c9337 PyObject *offobj; in posix_sendfile() local
9341 keywords, &out, &in, &offobj, &count)) in posix_sendfile()
9344 if (offobj == Py_None) { in posix_sendfile()
9355 if (!Py_off_t_converter(offobj, &offset)) in posix_sendfile()
/dports/lang/python38/Python-3.8.12/Modules/
H A Dposixmodule.c9380 PyObject *offobj; in posix_sendfile() local
9384 keywords, &out, &in, &offobj, &count)) in posix_sendfile()
9387 if (offobj == Py_None) { in posix_sendfile()
9398 if (!Py_off_t_converter(offobj, &offset)) in posix_sendfile()
/dports/databases/py-sqlite3/Python-3.8.12/Modules/
H A Dposixmodule.c9337 PyObject *offobj; in posix_sendfile() local
9341 keywords, &out, &in, &offobj, &count)) in posix_sendfile()
9344 if (offobj == Py_None) { in posix_sendfile()
9355 if (!Py_off_t_converter(offobj, &offset)) in posix_sendfile()
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Modules/
H A Dposixmodule.c9337 PyObject *offobj; in posix_sendfile() local
9341 keywords, &out, &in, &offobj, &count)) in posix_sendfile()
9344 if (offobj == Py_None) { in posix_sendfile()
9355 if (!Py_off_t_converter(offobj, &offset)) in posix_sendfile()
/dports/lang/python310/Python-3.10.1/Modules/
H A Dposixmodule.c9815 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, PyObject *offobj, in os_sendfile_impl()
9932 if (offobj == Py_None) { in os_sendfile_impl()
9944 if (!Py_off_t_converter(offobj, &offset)) in os_sendfile_impl()
/dports/lang/python311/Python-3.11.0a3/Modules/
H A Dposixmodule.c9826 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, PyObject *offobj, in os_sendfile_impl()
9943 if (offobj == Py_None) { in os_sendfile_impl()
9955 if (!Py_off_t_converter(offobj, &offset)) in os_sendfile_impl()
/dports/lang/python39/Python-3.9.9/Modules/
H A Dposixmodule.c9836 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, PyObject *offobj, in os_sendfile_impl()
9953 if (offobj == Py_None) { in os_sendfile_impl()
9965 if (!Py_off_t_converter(offobj, &offset)) in os_sendfile_impl()