Lines Matching refs:read_from
69 } read_from; member
594 if(self->read_from.result) { in Overlapped_clear()
596 Py_CLEAR(self->read_from.result); in Overlapped_clear()
598 if(self->read_from.allocated_buffer) { in Overlapped_clear()
599 Py_CLEAR(self->read_from.allocated_buffer); in Overlapped_clear()
795 (self->read_from.result != NULL || in Overlapped_getresult()
796 self->read_from.allocated_buffer != NULL)) in Overlapped_getresult()
815 assert(PyBytes_CheckExact(self->read_from.allocated_buffer)); in Overlapped_getresult()
818 self->read_from.allocated_buffer) && in Overlapped_getresult()
819 _PyBytes_Resize(&self->read_from.allocated_buffer, transferred)) in Overlapped_getresult()
825 addr = unparse_address((SOCKADDR*)&self->read_from.address, in Overlapped_getresult()
826 self->read_from.address_length); in Overlapped_getresult()
833 self->read_from.result = PyTuple_New(2); in Overlapped_getresult()
834 if (self->read_from.result == NULL) { in Overlapped_getresult()
840 Py_INCREF(self->read_from.allocated_buffer); in Overlapped_getresult()
841 PyTuple_SET_ITEM(self->read_from.result, 0, in Overlapped_getresult()
842 self->read_from.allocated_buffer); in Overlapped_getresult()
844 PyTuple_SET_ITEM(self->read_from.result, 1, addr); in Overlapped_getresult()
846 Py_INCREF(self->read_from.result); in Overlapped_getresult()
847 return self->read_from.result; in Overlapped_getresult()
1506 if(self->read_from.result) { in Overlapped_traverse()
1507 Py_VISIT(self->read_from.result); in Overlapped_traverse()
1509 if(self->read_from.allocated_buffer) { in Overlapped_traverse()
1510 Py_VISIT(self->read_from.allocated_buffer); in Overlapped_traverse()
1679 self->read_from.allocated_buffer = buf; in Overlapped_WSARecvFrom()
1680 memset(&self->read_from.address, 0, sizeof(self->read_from.address)); in Overlapped_WSARecvFrom()
1681 self->read_from.address_length = sizeof(self->read_from.address); in Overlapped_WSARecvFrom()
1685 (SOCKADDR*)&self->read_from.address, in Overlapped_WSARecvFrom()
1686 &self->read_from.address_length, in Overlapped_WSARecvFrom()