Lines Matching defs:in_fd

5124 "sendfile($module, /, out_fd, in_fd, offset, count, headers=(),\n"
5128 "Copy count bytes from file descriptor in_fd to file descriptor out_fd.");
5134 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, Py_off_t offset,
5142 static const char * const _keywords[] = {"out_fd", "in_fd", "offset", "count", "headers", "trailers", "flags", NULL};
5147 int in_fd;
5162 in_fd = _PyLong_AsInt(args[1]);
5163 if (in_fd == -1 && PyErr_Occurred()) {
5192 return_value = os_sendfile_impl(module, out_fd, in_fd, offset, sbytes, headers, trailers, flags);
5203 "sendfile($module, /, out_fd, in_fd, offset, count, headers=(),\n"
5207 "Copy count bytes from file descriptor in_fd to file descriptor out_fd.");
5213 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, Py_off_t offset,
5221 static const char * const _keywords[] = {"out_fd", "in_fd", "offset", "count", "headers", "trailers", "flags", NULL};
5226 int in_fd;
5241 in_fd = _PyLong_AsInt(args[1]);
5242 if (in_fd == -1 && PyErr_Occurred()) {
5280 return_value = os_sendfile_impl(module, out_fd, in_fd, offset, count, headers, trailers, flags);
5291 "sendfile($module, /, out_fd, in_fd, offset, count)\n"
5294 "Copy count bytes from file descriptor in_fd to file descriptor out_fd.");
5300 os_sendfile_impl(PyObject *module, int out_fd, int in_fd, PyObject *offobj,
5307 static const char * const _keywords[] = {"out_fd", "in_fd", "offset", "count", NULL};
5311 int in_fd;
5323 in_fd = _PyLong_AsInt(args[1]);
5324 if (in_fd == -1 && PyErr_Occurred()) {
5340 return_value = os_sendfile_impl(module, out_fd, in_fd, offobj, count);
5351 "_fcopyfile($module, in_fd, out_fd, flags, /)\n"
5360 os__fcopyfile_impl(PyObject *module, int in_fd, int out_fd, int flags);
5366 int in_fd;
5373 in_fd = _PyLong_AsInt(args[0]);
5374 if (in_fd == -1 && PyErr_Occurred()) {
5385 return_value = os__fcopyfile_impl(module, in_fd, out_fd, flags);