Home
last modified time | relevance | path

Searched refs:wctx (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavformat/
Dwtvenc.c138 WtvContext *wctx = s->priv_data; in write_chunk_header() local
141 wctx->last_chunk_pos = avio_tell(pb) - wctx->timeline_start_pos; in write_chunk_header()
145 avio_wl64(pb, wctx->serial); in write_chunk_header()
148 WtvChunkEntry *t = wctx->index + wctx->nb_index; in write_chunk_header()
149 av_assert0(wctx->nb_index < MAX_NB_INDEX); in write_chunk_header()
150 t->pos = wctx->last_chunk_pos; in write_chunk_header()
151 t->serial = wctx->serial; in write_chunk_header()
154 wctx->nb_index++; in write_chunk_header()
160 WtvContext *wctx = s->priv_data; in write_chunk_header2() local
163 int64_t last_chunk_pos = wctx->last_chunk_pos; in write_chunk_header2()
[all …]
/third_party/ffmpeg/fftools/
Dffprobe.c440 int (*init) (WriterContext *wctx);
441 void (*uninit)(WriterContext *wctx);
443 void (*print_section_header)(WriterContext *wctx);
444 void (*print_section_footer)(WriterContext *wctx);
445 void (*print_integer) (WriterContext *wctx, const char *, long long int);
446 void (*print_rational) (WriterContext *wctx, AVRational *q, char *sep);
447 void (*print_string) (WriterContext *wctx, const char *, const char *);
483 WriterContext *wctx = p; in writer_get_name() local
484 return wctx->writer->name; in writer_get_name()
518 static void writer_close(WriterContext **wctx) in writer_close() argument
[all …]
/third_party/openssl/providers/implementations/ciphers/
Dcipher_aes_wrp.c53 PROV_AES_WRAP_CTX *wctx; in aes_wrap_newctx() local
59 wctx = OPENSSL_zalloc(sizeof(*wctx)); in aes_wrap_newctx()
60 ctx = (PROV_CIPHER_CTX *)wctx; in aes_wrap_newctx()
66 return wctx; in aes_wrap_newctx()
71 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_freectx() local
74 OPENSSL_clear_free(wctx, sizeof(*wctx)); in aes_wrap_freectx()
82 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_init() local
89 wctx->wrapfn = enc ? CRYPTO_128_wrap_pad : CRYPTO_128_unwrap_pad; in aes_wrap_init()
91 wctx->wrapfn = enc ? CRYPTO_128_wrap : CRYPTO_128_unwrap; in aes_wrap_init()
118 AES_set_encrypt_key(key, keylen * 8, &wctx->ks.ks); in aes_wrap_init()
[all …]
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c491 static LLVMValueRef enter_waterfall(struct ac_nir_context *ctx, struct waterfall_context *wctx, in enter_waterfall() argument
499 wctx->use_waterfall = divergent; in enter_waterfall()
515 wctx->phi_bb[0] = LLVMGetInsertBlock(ctx->ac.builder); in enter_waterfall()
521 static LLVMValueRef exit_waterfall(struct ac_nir_context *ctx, struct waterfall_context *wctx, in exit_waterfall() argument
531 if (!wctx->use_waterfall) in exit_waterfall()
534 wctx->phi_bb[1] = LLVMGetInsertBlock(ctx->ac.builder); in exit_waterfall()
542 ret = ac_build_phi(&ctx->ac, LLVMTypeOf(value), 2, phi_src, wctx->phi_bb); in exit_waterfall()
550 LLVMValueRef cc = ac_build_phi(&ctx->ac, ctx->ac.i32, 2, cc_phi_src, wctx->phi_bb); in exit_waterfall()
1822 static LLVMValueRef enter_waterfall_ssbo(struct ac_nir_context *ctx, struct waterfall_context *wctx, in enter_waterfall_ssbo() argument
1825 return enter_waterfall(ctx, wctx, get_src(ctx, src), in enter_waterfall_ssbo()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Deapol_test.c583 struct wpa_sm_ctx *wctx; in test_eapol() local
618 wctx = os_zalloc(sizeof(*wctx)); in test_eapol()
619 if (wctx == NULL) { in test_eapol()
623 wctx->ctx = e; in test_eapol()
624 wctx->msg_ctx = wpa_s; in test_eapol()
625 wctx->get_state = eapol_test_get_state; in test_eapol()
626 wpa_s->wpa = wpa_sm_init(wctx); in test_eapol()
629 os_free(wctx); in test_eapol()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Deapol_test.c583 struct wpa_sm_ctx *wctx; in test_eapol() local
618 wctx = os_zalloc(sizeof(*wctx)); in test_eapol()
619 if (wctx == NULL) { in test_eapol()
623 wctx->ctx = e; in test_eapol()
624 wctx->msg_ctx = wpa_s; in test_eapol()
625 wctx->get_state = eapol_test_get_state; in test_eapol()
626 wpa_s->wpa = wpa_sm_init(wctx); in test_eapol()
629 os_free(wctx); in test_eapol()
/third_party/skia/modules/androidkit/src/
DSurface.cpp24 WindowSurface::WindowSurface(ANativeWindow* win, std::unique_ptr<sk_app::WindowContext> wctx) in WindowSurface() argument
26 , fWindowContext(std::move(wctx)) in WindowSurface()
DSurface.h48 WindowSurface(ANativeWindow* win, std::unique_ptr<sk_app::WindowContext> wctx);
/third_party/openssl/crypto/async/
Dasync.c177 int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *wctx, int *ret, in ASYNC_start_job() argument
270 ctx->currjob->waitctx = wctx; in ASYNC_start_job()
/third_party/openssl/crypto/evp/
De_aes.c3571 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_init_key() local
3578 &wctx->ks.ks); in aes_wrap_init_key()
3581 &wctx->ks.ks); in aes_wrap_init_key()
3583 wctx->iv = NULL; in aes_wrap_init_key()
3589 wctx->iv = ctx->iv; in aes_wrap_init_key()
3597 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_cipher() local
3635 rv = CRYPTO_128_wrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
3639 rv = CRYPTO_128_unwrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
3644 rv = CRYPTO_128_wrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
3647 rv = CRYPTO_128_unwrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
/third_party/openssl/apps/
Dcms.c991 EVP_CIPHER_CTX *wctx; in cms_main() local
992 wctx = CMS_RecipientInfo_kari_get0_ctx(ri); in cms_main()
993 EVP_EncryptInit_ex(wctx, wrap_cipher, NULL, NULL, NULL); in cms_main()