Lines Matching defs:offset
4950 "pread($module, fd, length, offset, /)\n"
4953 "Read a number of bytes from a file descriptor starting at a particular offset.\n"
4955 "Read length bytes from file descriptor fd, starting at offset bytes from\n"
4956 "the beginning of the file. The file offset remains unchanged.");
4962 os_pread_impl(PyObject *module, int fd, Py_ssize_t length, Py_off_t offset);
4970 Py_off_t offset;
4991 if (!Py_off_t_converter(args[2], &offset)) {
4994 return_value = os_pread_impl(module, fd, length, offset);
5005 "preadv($module, fd, buffers, offset, flags=0, /)\n"
5013 "specifies the file offset at which the input operation is to be performed. It\n"
5028 os_preadv_impl(PyObject *module, int fd, PyObject *buffers, Py_off_t offset,
5037 Py_off_t offset;
5049 if (!Py_off_t_converter(args[2], &offset)) {
5060 _return_value = os_preadv_impl(module, fd, buffers, offset, flags);
5124 "sendfile($module, /, out_fd, in_fd, offset, count, headers=(),\n"
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};
5148 Py_off_t offset;
5166 if (!Py_off_t_converter(args[2], &offset)) {
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"
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};
5227 Py_off_t offset;
5245 if (!Py_off_t_converter(args[2], &offset)) {
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"
5307 static const char * const _keywords[] = {"out_fd", "in_fd", "offset", "count", NULL};
5578 "pwrite($module, fd, buffer, offset, /)\n"
5581 "Write bytes to a file descriptor starting at a particular offset.\n"
5583 "Write buffer to fd, starting at offset bytes from the beginning of\n"
5585 "current file offset.");
5591 os_pwrite_impl(PyObject *module, int fd, Py_buffer *buffer, Py_off_t offset);
5599 Py_off_t offset;
5616 if (!Py_off_t_converter(args[2], &offset)) {
5619 _return_value = os_pwrite_impl(module, fd, &buffer, offset);
5639 "pwritev($module, fd, buffers, offset, flags=0, /)\n"
5642 "Writes the contents of bytes-like objects to a file descriptor at a given offset.\n"
5663 os_pwritev_impl(PyObject *module, int fd, PyObject *buffers, Py_off_t offset,
5672 Py_off_t offset;
5684 if (!Py_off_t_converter(args[2], &offset)) {
5695 _return_value = os_pwritev_impl(module, fd, buffers, offset, flags);
5723 " Starting offset in src.\n"
5725 " Starting offset in dst.\n"
5810 " Starting offset in src.\n"
5812 " Starting offset in dst.\n"
5817 "respectively for offset_dst. The offset associated to the file\n"
6256 "posix_fallocate($module, fd, offset, length, /)\n"
6262 "starting at offset bytes from the beginning and continuing for length bytes.");
6268 os_posix_fallocate_impl(PyObject *module, int fd, Py_off_t offset,
6276 Py_off_t offset;
6286 if (!Py_off_t_converter(args[1], &offset)) {
6292 return_value = os_posix_fallocate_impl(module, fd, offset, length);
6303 "posix_fadvise($module, fd, offset, length, advice, /)\n"
6311 "offset and continuing for length bytes.\n"
6320 os_posix_fadvise_impl(PyObject *module, int fd, Py_off_t offset,
6328 Py_off_t offset;
6339 if (!Py_off_t_converter(args[1], &offset)) {
6349 return_value = os_posix_fadvise_impl(module, fd, offset, length, advice);