Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
De_aes.c267 #define AES_GCM_ASM(gctx) \ argument
268 (gctx->ctr == aesni_ctr32_encrypt_blocks && gctx->gcm.ghash == gcm_ghash_avx)
471 EVP_AES_GCM_CTX *gctx = ctx->cipher_data; in aes_gcm_init_key() local
476 gctx->ctr = in aes_gcm_init_key()
477 aes_ctr_set_key(&gctx->ks.ks, &gctx->gcm, NULL, key, ctx->key_len); in aes_gcm_init_key()
479 if (iv == NULL && gctx->iv_set) { in aes_gcm_init_key()
480 iv = gctx->iv; in aes_gcm_init_key()
483 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
484 gctx->iv_set = 1; in aes_gcm_init_key()
486 gctx->key_set = 1; in aes_gcm_init_key()
[all …]
/external/jemalloc/src/
Dprof.c555 prof_gctx_t *gctx = (prof_gctx_t *)iallocztm(tsd, size, in prof_gctx_create() local
557 if (gctx == NULL) in prof_gctx_create()
559 gctx->lock = prof_gctx_mutex_choose(); in prof_gctx_create()
564 gctx->nlimbo = 1; in prof_gctx_create()
565 tctx_tree_new(&gctx->tctxs); in prof_gctx_create()
567 memcpy(gctx->vec, bt->vec, bt->len * sizeof(void *)); in prof_gctx_create()
568 gctx->bt.vec = gctx->vec; in prof_gctx_create()
569 gctx->bt.len = bt->len; in prof_gctx_create()
570 return (gctx); in prof_gctx_create()
574 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.h103 prof_gctx_t *gctx; member