Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/upstream-netbsd/libc/isc/
Dev_timers.c160 evContext_p *ctx = opaqueCtx.opaque; in evLastEventTime() local
162 return (ctx->lastEventTime); in evLastEventTime()
193 evContext_p *ctx = opaqueCtx.opaque; in evSetTimer() local
196 evPrintf(ctx, 1, in evSetTimer()
198 ctx, func, uap, in evSetTimer()
230 if (heap_insert(ctx->timers, id) < 0) in evSetTimer()
237 if (ctx->debug > 7) { in evSetTimer()
238 evPrintf(ctx, 7, "timers after evSetTimer:\n"); in evSetTimer()
239 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); in evSetTimer()
247 evContext_p *ctx = opaqueCtx.opaque; in evClearTimer() local
[all …]
Dev_streams.c70 evContext_p *ctx = opaqueCtx.opaque; in evWrite() local
85 if (ctx->streams != NULL) in evWrite()
86 ctx->streams->prev = new; in evWrite()
88 new->next = ctx->streams; in evWrite()
89 ctx->streams = new; in evWrite()
104 evContext_p *ctx = opaqueCtx.opaque; in evRead() local
119 if (ctx->streams != NULL) in evRead()
120 ctx->streams->prev = new; in evRead()
122 new->next = ctx->streams; in evRead()
123 ctx->streams = new; in evRead()
[all …]
Deventlib_p.h183 void *ctx; /* pointer to the evContext_p */ member
188 #define emulMaskInit(ctx, field, ev, lastnext) \ argument
189 ctx->field.ctx = ctx; \
190 ctx->field.type = ev; \
191 ctx->field.result = lastnext;
263 void evPrintf(const evContext_p *ctx, int level, const char *fmt, ...)
267 extern int evPollfdRealloc(evContext_p *ctx, int pollfd_chunk_size, int fd);
278 evWait *evFreeWait(evContext_p *ctx, evWait *old);
/bionic/libc/private/
Darpa_nameser.h231 void *ctx; member