Searched refs:ctx (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 160 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 …]
|
D | ev_streams.c | 70 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 …]
|
D | eventlib_p.h | 183 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/bionic/ |
D | getentropy_linux.c | 72 #define HR(x, l) (SHA512_Update(&ctx, (char *)(x), (l))) 73 #define HD(x) (SHA512_Update(&ctx, (char *)&(x), sizeof (x))) 74 #define HF(x) (SHA512_Update(&ctx, (char *)&(x), sizeof (void*))) 347 SHA512_CTX *ctx = data; in getentropy_phdr() local 349 SHA512_Update(ctx, &info->dlpi_addr, sizeof (info->dlpi_addr)); in getentropy_phdr() 364 SHA512_CTX ctx; in getentropy_fallback() local 381 SHA512_Init(&ctx); in getentropy_fallback() 389 dl_iterate_phdr(getentropy_phdr, &ctx); in getentropy_fallback() 552 SHA512_Final(results, &ctx); in getentropy_fallback()
|
/bionic/tests/ |
D | stack_unwinding_test.cpp | 37 static _Unwind_Reason_Code FrameCounter(_Unwind_Context* ctx __unused, void* arg) { in FrameCounter() 41 void* ip = reinterpret_cast<void*>(_Unwind_GetIP(ctx)); in FrameCounter()
|
/bionic/libc/include/arpa/ |
D | nameser.h | 270 void *ctx; member
|