| /netbsd-src/external/bsd/tmux/dist/ |
| H A D | format-draw.c | 109 format_draw_put(struct screen_write_ctx *octx, u_int ocx, u_int ocy, in format_draw_put() argument 117 screen_write_cursormove(octx, ocx + offset, ocy, 0); in format_draw_put() 118 screen_write_fast_copy(octx, s, start, 0, width, 1); in format_draw_put() 124 format_draw_put_list(struct screen_write_ctx *octx, in format_draw_put_list() argument 133 format_draw_put(octx, ocx, ocy, list, frs, offset, 0, width); in format_draw_put_list() 148 screen_write_cursormove(octx, ocx + offset, ocy, 0); in format_draw_put_list() 149 screen_write_fast_copy(octx, list_left, 0, 0, list_left->cx, 1); in format_draw_put_list() 155 screen_write_cursormove(octx, ocx + offset + width - in format_draw_put_list() 157 screen_write_fast_copy(octx, list_right, 0, 0, list_right->cx, in format_draw_put_list() 163 format_draw_put(octx, ocx, ocy, list, frs, offset, start, width); in format_draw_put_list() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| H A D | e_aes.c | 344 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,ctx); in aesni_ocb_init_key() local 355 &octx->ksenc.ks); in aesni_ocb_init_key() 357 &octx->ksdec.ks); in aesni_ocb_init_key() 358 if (!CRYPTO_ocb128_init(&octx->ocb, in aesni_ocb_init_key() 359 &octx->ksenc.ks, &octx->ksdec.ks, in aesni_ocb_init_key() 371 if (iv == NULL && octx->iv_set) in aesni_ocb_init_key() 372 iv = octx->iv; in aesni_ocb_init_key() 374 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen) in aesni_ocb_init_key() 377 octx->iv_set = 1; in aesni_ocb_init_key() 379 octx->key_set = 1; in aesni_ocb_init_key() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| H A D | e_aes.c | 481 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,ctx); in aesni_ocb_init_key() local 492 &octx->ksenc.ks); in aesni_ocb_init_key() 494 &octx->ksdec.ks); in aesni_ocb_init_key() 495 if (!CRYPTO_ocb128_init(&octx->ocb, in aesni_ocb_init_key() 496 &octx->ksenc.ks, &octx->ksdec.ks, in aesni_ocb_init_key() 508 if (iv == NULL && octx->iv_set) in aesni_ocb_init_key() 509 iv = octx->iv; in aesni_ocb_init_key() 511 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen) in aesni_ocb_init_key() 514 octx->iv_set = 1; in aesni_ocb_init_key() 516 octx->key_set = 1; in aesni_ocb_init_key() [all …]
|
| /netbsd-src/sys/arch/sparc/sparc/ |
| H A D | cache.c | 592 int i, ls, octx; in srmmu_vcache_flush_context() local 599 octx = getcontext4m(); in srmmu_vcache_flush_context() 604 setcontext4m(octx); in srmmu_vcache_flush_context() 618 int i, ls, octx; in srmmu_vcache_flush_region() local 625 octx = getcontext4m(); in srmmu_vcache_flush_region() 630 setcontext4m(octx); in srmmu_vcache_flush_region() 646 int i, ls, octx; in srmmu_vcache_flush_segment() local 653 octx = getcontext4m(); in srmmu_vcache_flush_segment() 658 setcontext4m(octx); in srmmu_vcache_flush_segment() 670 int i, ls, octx; in srmmu_vcache_flush_page() local [all …]
|
| H A D | pmap.c | 648 int opsr, octx; in sp_tlb_flush() local 668 octx = getcontext4m(); /* save context */ in sp_tlb_flush() 674 setcontext4m(octx); /* restore context */ in sp_tlb_flush() 2321 int octx = getcontext4(); in ctx_free() local 2324 setcontext4(octx); in ctx_free()
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_auth/hmacsha256/ |
| H A D | auth_hmacsha256.c | 58 crypto_hash_sha256_init(&state->octx); in crypto_auth_hmacsha256_init() 63 crypto_hash_sha256_update(&state->octx, pad, 64); in crypto_auth_hmacsha256_init() 87 crypto_hash_sha256_update(&state->octx, ihash, 32); in crypto_auth_hmacsha256_final() 88 crypto_hash_sha256_final(&state->octx, out); in crypto_auth_hmacsha256_final()
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_auth/hmacsha512/ |
| H A D | auth_hmacsha512.c | 58 crypto_hash_sha512_init(&state->octx); in crypto_auth_hmacsha512_init() 63 crypto_hash_sha512_update(&state->octx, pad, 128); in crypto_auth_hmacsha512_init() 87 crypto_hash_sha512_update(&state->octx, ihash, 64); in crypto_auth_hmacsha512_final() 88 crypto_hash_sha512_final(&state->octx, out); in crypto_auth_hmacsha512_final()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | hmac.c | 31 struct ssh_digest_ctx *octx; member 52 (ret->octx = ssh_digest_start(alg)) == NULL || in ssh_hmac_start() 83 if (ssh_digest_update(ctx->octx, ctx->buf, ctx->buf_len) < 0) in ssh_hmac_init() 115 if (ssh_digest_copy_state(ctx->octx, ctx->digest) < 0 || in ssh_hmac_final() 127 ssh_digest_free(ctx->octx); in ssh_hmac_free()
|
| H A D | umac.c | 1241 struct umac_ctx *ctx, *octx; in umac_new() local 1245 octx = ctx = xcalloc(1, sizeof(*ctx) + ALLOC_BOUNDARY); in umac_new() 1252 ctx->free_ptr = octx; in umac_new()
|
| /netbsd-src/tests/lib/libpthread/ |
| H A D | t_swapcontext.c | 47 ucontext_t octx; variable 72 nctx.uc_link = &octx; in threadfunc() 78 ATF_REQUIRE_MSG(swapcontext(&octx, &nctx) != -1, "swapcontext failed: %s", in threadfunc()
|
| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_swapcontext.c | 42 ucontext_t octx; variable 64 ATF_REQUIRE(swapcontext(&nctx, &octx)); in swapfunc() 93 ATF_REQUIRE(swapcontext(&octx, &nctx) == 0); in mainfunc()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gimplify.cc | 7422 struct gimplify_omp_ctx *octx; in omp_notice_threadprivate_variable() local 7424 for (octx = ctx; octx; octx = octx->outer_context) in omp_notice_threadprivate_variable() 7425 if ((octx->region_type & ORT_TARGET) != 0 in omp_notice_threadprivate_variable() 7426 || octx->order_concurrent) in omp_notice_threadprivate_variable() 7428 n = splay_tree_lookup (octx->variables, (splay_tree_key)decl); in omp_notice_threadprivate_variable() 7431 if (octx->order_concurrent) in omp_notice_threadprivate_variable() 7435 inform (octx->location, "enclosing region"); in omp_notice_threadprivate_variable() 7441 inform (octx->location, "enclosing target region"); in omp_notice_threadprivate_variable() 7443 splay_tree_insert (octx->variables, (splay_tree_key)decl, 0); in omp_notice_threadprivate_variable() 7446 splay_tree_insert (octx->variables, (splay_tree_key)decl2, 0); in omp_notice_threadprivate_variable() [all …]
|
| H A D | omp-low.cc | 3165 for (omp_context *octx = ctx; octx != NULL; octx = octx->outer) in check_omp_nesting_restrictions() local 3166 if (is_gimple_omp (octx->stmt) in check_omp_nesting_restrictions() 3167 && is_gimple_omp_oacc (octx->stmt)) in check_omp_nesting_restrictions() 3445 for (omp_context *octx = ctx->outer; in check_omp_nesting_restrictions() local 3446 octx; octx = octx->outer) in check_omp_nesting_restrictions() 3448 switch (gimple_code (octx->stmt)) in check_omp_nesting_restrictions() 3453 if (gimple_omp_target_kind (octx->stmt) in check_omp_nesting_restrictions() 3465 if (gimple_omp_task_taskloop_p (octx->stmt) in check_omp_nesting_restrictions() 3466 && octx->outer in check_omp_nesting_restrictions() 3467 && is_taskloop_ctx (octx->outer)) in check_omp_nesting_restrictions() [all …]
|
| H A D | ChangeLog-2015 | 17093 asserting that decl is not specified in octx->variables,
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | gimplify.c | 7098 struct gimplify_omp_ctx *octx; in omp_notice_threadprivate_variable() local 7100 for (octx = ctx; octx; octx = octx->outer_context) in omp_notice_threadprivate_variable() 7101 if ((octx->region_type & ORT_TARGET) != 0 in omp_notice_threadprivate_variable() 7102 || octx->order_concurrent) in omp_notice_threadprivate_variable() 7104 n = splay_tree_lookup (octx->variables, (splay_tree_key)decl); in omp_notice_threadprivate_variable() 7107 if (octx->order_concurrent) in omp_notice_threadprivate_variable() 7111 error_at (octx->location, "enclosing region"); in omp_notice_threadprivate_variable() 7117 error_at (octx->location, "enclosing target region"); in omp_notice_threadprivate_variable() 7119 splay_tree_insert (octx->variables, (splay_tree_key)decl, 0); in omp_notice_threadprivate_variable() 7122 splay_tree_insert (octx->variables, (splay_tree_key)decl2, 0); in omp_notice_threadprivate_variable() [all …]
|
| H A D | omp-low.c | 2840 for (omp_context *octx = ctx; octx != NULL; octx = octx->outer) in check_omp_nesting_restrictions() local 2841 if (is_gimple_omp (octx->stmt) in check_omp_nesting_restrictions() 2842 && is_gimple_omp_oacc (octx->stmt)) in check_omp_nesting_restrictions() 3100 for (omp_context *octx = ctx->outer; in check_omp_nesting_restrictions() local 3101 octx; octx = octx->outer) in check_omp_nesting_restrictions() 3103 switch (gimple_code (octx->stmt)) in check_omp_nesting_restrictions() 3108 if (gimple_omp_target_kind (octx->stmt) in check_omp_nesting_restrictions() 3120 if (gimple_omp_task_taskloop_p (octx->stmt) in check_omp_nesting_restrictions() 3121 && octx->outer in check_omp_nesting_restrictions() 3122 && is_taskloop_ctx (octx->outer)) in check_omp_nesting_restrictions() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/modes/ |
| H A D | ocb128.c | 134 OCB128_CONTEXT *octx; in CRYPTO_ocb128_new() local 137 if ((octx = OPENSSL_malloc(sizeof(*octx))) != NULL) { in CRYPTO_ocb128_new() 138 ret = CRYPTO_ocb128_init(octx, keyenc, keydec, encrypt, decrypt, in CRYPTO_ocb128_new() 141 return octx; in CRYPTO_ocb128_new() 142 OPENSSL_free(octx); in CRYPTO_ocb128_new()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/modes/ |
| H A D | ocb128.c | 134 OCB128_CONTEXT *octx; in CRYPTO_ocb128_new() local 137 if ((octx = OPENSSL_malloc(sizeof(*octx))) != NULL) { in CRYPTO_ocb128_new() 138 ret = CRYPTO_ocb128_init(octx, keyenc, keydec, encrypt, decrypt, in CRYPTO_ocb128_new() 141 return octx; in CRYPTO_ocb128_new() 142 OPENSSL_free(octx); in CRYPTO_ocb128_new()
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/ |
| H A D | crypto_auth_hmacsha512.h | 40 crypto_hash_sha512_state octx; member
|
| H A D | crypto_auth_hmacsha256.h | 40 crypto_hash_sha256_state octx; member
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | cp-gimplify.cc | 862 struct cp_genericize_omp_taskreg *octx; in omp_cxx_notice_variable() local 864 for (octx = omp_ctx->outer; octx; octx = octx->outer) in omp_cxx_notice_variable() 866 n = splay_tree_lookup (octx->variables, (splay_tree_key) decl); in omp_cxx_notice_variable() 872 if (octx->is_parallel) in omp_cxx_notice_variable() 875 if (octx == NULL in omp_cxx_notice_variable()
|
| H A D | call.cc | 9520 tree octx = DECL_CONTEXT (ov); in build_over_call() local 9522 while (obinfo && !SAME_BINFO_TYPE_P (BINFO_TYPE (obinfo), octx)) in build_over_call()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | cp-gimplify.c | 1124 struct cp_genericize_omp_taskreg *octx; in omp_cxx_notice_variable() local 1126 for (octx = omp_ctx->outer; octx; octx = octx->outer) in omp_cxx_notice_variable() 1128 n = splay_tree_lookup (octx->variables, (splay_tree_key) decl); in omp_cxx_notice_variable() 1134 if (octx->is_parallel) in omp_cxx_notice_variable() 1137 if (octx == NULL in omp_cxx_notice_variable()
|
| H A D | call.c | 8806 tree octx = DECL_CONTEXT (ov); in build_over_call() local 8808 while (obinfo && !SAME_BINFO_TYPE_P (BINFO_TYPE (obinfo), octx)) in build_over_call()
|