• Home
  • Raw
  • Download

Lines Matching refs:user_buffer

57         Py_buffer user_buffer;  member
558 memset(&self->user_buffer, 0, sizeof(Py_buffer)); in Overlapped_new()
577 if (self->user_buffer.obj) { in Overlapped_clear()
578 PyBuffer_Release(&self->user_buffer); in Overlapped_clear()
797 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_ReadFileInto()
801 if (self->user_buffer.len > (Py_ssize_t)ULONG_MAX) { in Overlapped_ReadFileInto()
802 PyBuffer_Release(&self->user_buffer); in Overlapped_ReadFileInto()
811 return do_ReadFile(self, handle, self->user_buffer.buf, in Overlapped_ReadFileInto()
812 (DWORD)self->user_buffer.len); in Overlapped_ReadFileInto()
904 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_WSARecvInto()
908 if (self->user_buffer.len > (Py_ssize_t)ULONG_MAX) { in Overlapped_WSARecvInto()
909 PyBuffer_Release(&self->user_buffer); in Overlapped_WSARecvInto()
918 return do_WSARecv(self, handle, self->user_buffer.buf, in Overlapped_WSARecvInto()
919 (DWORD)self->user_buffer.len, flags); in Overlapped_WSARecvInto()
944 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_WriteFile()
948 if (self->user_buffer.len > (Py_ssize_t)ULONG_MAX) { in Overlapped_WriteFile()
949 PyBuffer_Release(&self->user_buffer); in Overlapped_WriteFile()
959 ret = WriteFile(handle, self->user_buffer.buf, in Overlapped_WriteFile()
960 (DWORD)self->user_buffer.len, in Overlapped_WriteFile()
1000 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_WSASend()
1004 if (self->user_buffer.len > (Py_ssize_t)ULONG_MAX) { in Overlapped_WSASend()
1005 PyBuffer_Release(&self->user_buffer); in Overlapped_WSASend()
1013 wsabuf.len = (DWORD)self->user_buffer.len; in Overlapped_WSASend()
1014 wsabuf.buf = self->user_buffer.buf; in Overlapped_WSASend()
1364 if (self->user_buffer.obj) { in Overlapped_traverse()
1365 Py_VISIT(&self->user_buffer.obj); in Overlapped_traverse()