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.
108 evWait *this, *prev;
112 this = id.opaque;
113 INSIST(this != NULL);
114 wl = evGetWaitList(ctx, this->tag, 0);
116 for (prev = NULL, this = wl->first;
117 this != NULL;
118 prev = this, this = this->next)
119 if (this == (evWait *)id.opaque) {
122 prev->next = this->next;
124 wl->first = this->next;
125 if (wl->last == this)
135 for (prev = NULL, this = ctx->waitDone.first;
136 this != NULL;
137 prev = this, this = this->next)
138 if (this == (evWait *)id.opaque) {
141 prev->next = this->next;
143 ctx->waitDone.first = this->next;
144 if (ctx->waitDone.last == this)
155 FREE(this);
188 evWait *this;
194 for (this = wl->first; this != NULL; this = this->next)
195 evPrintf(ctx, 9, " %p", this);
199 for (this = ctx->waitDone.first; this != NULL; this = this->next)
200 evPrintf(ctx, 9, " %p", this);
221 evFreeWaitList(evContext_p *ctx, evWaitList *this) {
223 INSIST(this != NULL);
225 if (this->prev != NULL)
226 this->prev->next = this->next;
228 ctx->waitLists = this->next;
229 if (this->next != NULL)
230 this->next->prev = this->prev;
231 FREE(this);
236 evWaitList *this;
238 for (this = ctx->waitLists; this != NULL; this = this->next) {
239 if (this->first != NULL && this->first->tag == tag)
242 if (this == NULL && should_create)
243 this = evNewWaitList(ctx);
244 return (this);