Searched refs:nctx (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_swapcontext.c | 41 ucontext_t nctx; variable 64 ATF_REQUIRE(swapcontext(&nctx, &octx)); 79 ATF_REQUIRE(getcontext(&nctx) == 0); 81 nctx.uc_stack.ss_sp = stack; 82 nctx.uc_stack.ss_size = sizeof(stack); 87 ATF_REQUIRE(nctx.uc_flags & _UC_TLSBASE); 89 nctx.uc_flags &= ~_UC_TLSBASE; 92 makecontext(&nctx, swapfunc, 0); 97 ATF_REQUIRE(swapcontext(&octx, &nctx) == 0);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_swapcontext.c | 46 ucontext_t nctx; variable 66 ATF_REQUIRE(swapcontext(&nctx, &octx)); 76 nctx.uc_stack.ss_sp = stack; 77 nctx.uc_stack.ss_size = sizeof(stack); 79 makecontext(&nctx, (void *)*swapfunc, 0); 83 ATF_REQUIRE_MSG(swapcontext(&octx, &nctx) != -1, "swapcontext failed: %s", 115 ATF_REQUIRE_MSG(getcontext(&nctx) != -1, "getcontext failed: %s",
|
/freebsd-13-stable/crypto/openssl/crypto/async/ |
H A D | async.c | 35 async_ctx *nctx; local 40 nctx = OPENSSL_malloc(sizeof(*nctx)); 41 if (nctx == NULL) { 46 async_fibre_init_dispatcher(&nctx->dispatcher); 47 nctx->currjob = NULL; 48 nctx->blocked = 0; 49 if (!CRYPTO_THREAD_set_local(&ctxkey, nctx)) 52 return nctx; 54 OPENSSL_free(nctx); [all...] |
Completed in 109 milliseconds