Lines Matching defs:entry
81 wxSocketEventDispatcherEntry* entry =
83 return entry;
91 wxSocketEventDispatcherEntry* entry = FindEntry(fd);
92 if (!entry)
94 entry = new wxSocketEventDispatcherEntry();
95 Put(fd, entry);
99 entry->m_fdInput = fd;
101 entry->m_fdOutput = fd;
103 entry->m_socket = socket;
110 wxSocketEventDispatcherEntry* entry = FindEntry(fd);
111 if (entry)
114 entry->m_fdInput = -1;
116 entry->m_fdOutput = -1;
118 if (entry->m_fdInput == -1 && entry->m_fdOutput == -1)
120 entry->m_socket = NULL;
122 delete entry;
138 wxSocketEventDispatcherEntry* entry =
141 if (entry->m_fdInput != -1)
143 wxFD_SET(entry->m_fdInput, readset);
144 if (entry->m_fdInput > max_fd)
145 max_fd = entry->m_fdInput;
148 if (entry->m_fdOutput != -1)
150 wxFD_SET(entry->m_fdOutput, writeset);
151 if (entry->m_fdOutput > max_fd)
152 max_fd = entry->m_fdOutput;
172 wxSocketEventDispatcherEntry* entry =
175 wxCHECK_RET(entry->m_socket, wxT("Critical: Processing a NULL socket in wxSocketEventDispatcher"));
177 if (entry->m_fdInput != -1 && wxFD_ISSET(entry->m_fdInput, readset))
178 entry->m_socket->Detected_Read();
180 if (entry->m_fdOutput != -1 && wxFD_ISSET(entry->m_fdOutput, writeset))
181 entry->m_socket->Detected_Write();;