Lines Matching refs:this

104 	evWait *this, *prev;  in evUnwait()  local
108 this = id.opaque; in evUnwait()
109 INSIST(this != NULL); in evUnwait()
110 wl = evGetWaitList(ctx, this->tag, 0); in evUnwait()
112 for (prev = NULL, this = wl->first; in evUnwait()
113 this != NULL; in evUnwait()
114 prev = this, this = this->next) in evUnwait()
115 if (this == (evWait *)id.opaque) { in evUnwait()
118 prev->next = this->next; in evUnwait()
120 wl->first = this->next; in evUnwait()
121 if (wl->last == this) in evUnwait()
131 for (prev = NULL, this = ctx->waitDone.first; in evUnwait()
132 this != NULL; in evUnwait()
133 prev = this, this = this->next) in evUnwait()
134 if (this == (evWait *)id.opaque) { in evUnwait()
137 prev->next = this->next; in evUnwait()
139 ctx->waitDone.first = this->next; in evUnwait()
140 if (ctx->waitDone.last == this) in evUnwait()
151 FREE(this); in evUnwait()
184 evWait *this; in print_waits() local
190 for (this = wl->first; this != NULL; this = this->next) in print_waits()
191 evPrintf(ctx, 9, " %p", this); in print_waits()
195 for (this = ctx->waitDone.first; this != NULL; this = this->next) in print_waits()
196 evPrintf(ctx, 9, " %p", this); in print_waits()
217 evFreeWaitList(evContext_p *ctx, evWaitList *this) { in evFreeWaitList() argument
219 INSIST(this != NULL); in evFreeWaitList()
221 if (this->prev != NULL) in evFreeWaitList()
222 this->prev->next = this->next; in evFreeWaitList()
224 ctx->waitLists = this->next; in evFreeWaitList()
225 if (this->next != NULL) in evFreeWaitList()
226 this->next->prev = this->prev; in evFreeWaitList()
227 FREE(this); in evFreeWaitList()
232 evWaitList *this; in evGetWaitList() local
234 for (this = ctx->waitLists; this != NULL; this = this->next) { in evGetWaitList()
235 if (this->first != NULL && this->first->tag == tag) in evGetWaitList()
238 if (this == NULL && should_create) in evGetWaitList()
239 this = evNewWaitList(ctx); in evGetWaitList()
240 return (this); in evGetWaitList()