Lines Matching defs:this
5 * Permission to use, copy, modify, and distribute this software for any
7 * copyright notice and this permission notice appear in all copies.
75 * has not been done to this fd, or that if it has then the caller
158 evConn *this = id.opaque;
162 if ((this->flags & EV_CONN_SELECTED) != 0)
163 (void) evDeselectFD(opaqueCtx, this->file);
164 if ((this->flags & EV_CONN_BLOCK) != 0) {
165 mode = fcntl(this->fd, F_GETFL, NULL);
172 OK(ioctl(this->fd, FIONBIO, (char *)&off));
174 OK(fcntl(this->fd, F_SETFL, mode & ~PORT_NONBLOCK));
180 if (this->prev != NULL)
181 this->prev->next = this->next;
183 ctx->conns = this->next;
184 if (this->next != NULL)
185 this->next->prev = this->prev;
188 * Remove `this' from the ctx->accepts list (zero or more times).
195 if (acc->conn == this) {
203 FREE(this);
208 evConn *this = id.opaque;
210 if ((this->flags & EV_CONN_LISTEN) == 0) {
214 if ((this->flags & EV_CONN_SELECTED) == 0)
216 this->flags &= ~EV_CONN_SELECTED;
217 return (evDeselectFD(opaqueCtx, this->file));
221 evConn *this = id.opaque;
224 if ((this->flags & EV_CONN_LISTEN) == 0) {
228 if ((this->flags & EV_CONN_SELECTED) != 0)
230 ret = evSelectFD(opaqueCtx, this->fd, EV_READ, listener, this,
231 &this->file);
233 this->flags |= EV_CONN_SELECTED;