Home
last modified time | relevance | path

Searched refs:gctx (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/crypto/cipher/
De_aes.c264 #define AES_GCM_ASM(gctx) \ argument
265 (gctx->ctr == aesni_ctr32_encrypt_blocks && gctx->gcm.ghash == gcm_ghash_avx)
466 EVP_AES_GCM_CTX *gctx = ctx->cipher_data; in aes_gcm_init_key() local
471 gctx->ctr = in aes_gcm_init_key()
472 aes_ctr_set_key(&gctx->ks.ks, &gctx->gcm, NULL, key, ctx->key_len); in aes_gcm_init_key()
474 if (iv == NULL && gctx->iv_set) { in aes_gcm_init_key()
475 iv = gctx->iv; in aes_gcm_init_key()
478 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aes_gcm_init_key()
479 gctx->iv_set = 1; in aes_gcm_init_key()
481 gctx->key_set = 1; in aes_gcm_init_key()
[all …]
/external/jemalloc/src/
Dprof.c547 prof_gctx_t *gctx = (prof_gctx_t *)iallocztm(tsd, offsetof(prof_gctx_t, in prof_gctx_create() local
550 if (gctx == NULL) in prof_gctx_create()
552 gctx->lock = prof_gctx_mutex_choose(); in prof_gctx_create()
557 gctx->nlimbo = 1; in prof_gctx_create()
558 tctx_tree_new(&gctx->tctxs); in prof_gctx_create()
560 memcpy(gctx->vec, bt->vec, bt->len * sizeof(void *)); in prof_gctx_create()
561 gctx->bt.vec = gctx->vec; in prof_gctx_create()
562 gctx->bt.len = bt->len; in prof_gctx_create()
563 return (gctx); in prof_gctx_create()
567 prof_gctx_try_destroy(tsd_t *tsd, prof_tdata_t *tdata_self, prof_gctx_t *gctx, in prof_gctx_try_destroy() argument
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_api.c151 struct egl_g3d_context *gctx; in egl_g3d_create_context() local
155 gctx = CALLOC_STRUCT(egl_g3d_context); in egl_g3d_create_context()
156 if (!gctx) { in egl_g3d_create_context()
161 if (!_eglInitContext(&gctx->base, dpy, conf, attribs)) { in egl_g3d_create_context()
162 FREE(gctx); in egl_g3d_create_context()
170 gctx->stapi = egl_g3d_choose_st(drv, &gctx->base, &stattribs.profile); in egl_g3d_create_context()
171 if (!gctx->stapi) { in egl_g3d_create_context()
172 FREE(gctx); in egl_g3d_create_context()
176 gctx->stctxi = gctx->stapi->create_context(gctx->stapi, gdpy->smapi, in egl_g3d_create_context()
178 if (!gctx->stctxi) { in egl_g3d_create_context()
[all …]
Degl_g3d_sync.c79 struct egl_g3d_context *gctx = egl_g3d_context(ctx); in egl_g3d_insert_fence_sync() local
82 assert(gctx); in egl_g3d_insert_fence_sync()
85 gctx->stctxi->flush(gctx->stctxi, 0x0, &gsync->fence); in egl_g3d_insert_fence_sync()
232 struct egl_g3d_context *gctx = egl_g3d_context(ctx); in egl_g3d_client_wait_sync() local
234 if (gctx) in egl_g3d_client_wait_sync()
235 gctx->stctxi->flush(gctx->stctxi, ST_FLUSH_FRONT, NULL); in egl_g3d_client_wait_sync()
/external/jemalloc/include/jemalloc/internal/
Dprof.h102 prof_gctx_t *gctx; member