Lines Matching defs:buffer
4906 "readv will transfer data into each buffer until it is full\n"
4907 "and then move on to the next buffer in the sequence to hold\n"
5011 "transfer data into each buffer until it is full and then move on to the next\n"
5012 "buffer in the sequence to hold the rest of the data. Its fourth argument,\n"
5103 _PyArg_BadArgument("write", "argument 2", "contiguous buffer", args[1]);
5578 "pwrite($module, fd, buffer, offset, /)\n"
5583 "Write buffer to fd, starting at offset bytes from the beginning of\n"
5591 os_pwrite_impl(PyObject *module, int fd, Py_buffer *buffer, Py_off_t offset);
5598 Py_buffer buffer = {NULL, NULL};
5609 if (PyObject_GetBuffer(args[1], &buffer, PyBUF_SIMPLE) != 0) {
5612 if (!PyBuffer_IsContiguous(&buffer, 'C')) {
5613 _PyArg_BadArgument("pwrite", "argument 2", "contiguous buffer", args[1]);
5619 _return_value = os_pwrite_impl(module, fd, &buffer, offset);
5626 /* Cleanup for buffer */
5627 if (buffer.obj) {
5628 PyBuffer_Release(&buffer);
5646 "buffer is written before proceeding to second, and so on. The operating system may\n"
7639 _PyArg_BadArgument("setxattr", "argument 'value'", "contiguous buffer", args[2]);