/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | stw_context.c | 310 struct stw_context *old_ctx = in stw_create_context_handle() local 312 if (old_ctx) { in stw_create_context_handle() 313 stw_destroy_context(old_ctx); in stw_create_context_handle() 445 struct stw_context *old_ctx) in release_old_framebuffers() 451 stw_framebuffer_release_locked(old_fb, old_ctx->st); in release_old_framebuffers() 455 stw_framebuffer_release_locked(old_fbRead, old_ctx->st); in release_old_framebuffers() 464 struct stw_context *old_ctx = NULL; in stw_make_current() local 470 old_ctx = stw_current_context(); in stw_make_current() 471 if (old_ctx != NULL) { in stw_make_current() 472 if (old_ctx in stw_make_current() 444 release_old_framebuffers(struct stw_framebuffer *old_fb, struct stw_framebuffer *old_fbRead, struct stw_context *old_ctx) release_old_framebuffers() argument [all...] |
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | tls_depr.c | 103 ret->old_ctx = HMAC_CTX_new(); in ssl_hmac_old_new() 104 if (ret->old_ctx == NULL) in ssl_hmac_old_new() 112 HMAC_CTX_free(ctx->old_ctx); in ssl_hmac_old_free() 117 return HMAC_Init_ex(ctx->old_ctx, key, len, EVP_get_digestbyname(md), NULL); in ssl_hmac_old_init() 122 return HMAC_Update(ctx->old_ctx, data, len); in ssl_hmac_old_update() 129 if (HMAC_Final(ctx->old_ctx, md, &l) > 0) { in ssl_hmac_old_final() 140 return HMAC_size(ctx->old_ctx); in ssl_hmac_old_size() 145 return ctx->old_ctx; in ssl_hmac_get0_HMAC_CTX()
|
H A D | t1_lib.c | 3463 if (ctx->old_ctx != NULL) in ssl_hmac_init() 3474 if (ctx->old_ctx != NULL) in ssl_hmac_update() 3486 if (ctx->old_ctx != NULL) in ssl_hmac_final() 3497 if (ctx->old_ctx != NULL) in ssl_hmac_size()
|
H A D | ssl_local.h | 806 HMAC_CTX *old_ctx; member
|
/third_party/openssl/ssl/ |
H A D | tls_depr.c | 103 ret->old_ctx = HMAC_CTX_new(); in ssl_hmac_old_new() 104 if (ret->old_ctx == NULL) in ssl_hmac_old_new() 112 HMAC_CTX_free(ctx->old_ctx); in ssl_hmac_old_free() 117 return HMAC_Init_ex(ctx->old_ctx, key, len, EVP_get_digestbyname(md), NULL); in ssl_hmac_old_init() 122 return HMAC_Update(ctx->old_ctx, data, len); in ssl_hmac_old_update() 129 if (HMAC_Final(ctx->old_ctx, md, &l) > 0) { in ssl_hmac_old_final() 140 return HMAC_size(ctx->old_ctx); in ssl_hmac_old_size() 145 return ctx->old_ctx; in ssl_hmac_get0_HMAC_CTX()
|
H A D | t1_lib.c | 3443 if (ctx->old_ctx != NULL) in ssl_hmac_init() 3454 if (ctx->old_ctx != NULL) in ssl_hmac_update() 3466 if (ctx->old_ctx != NULL) in ssl_hmac_final() 3477 if (ctx->old_ctx != NULL) in ssl_hmac_size()
|
H A D | ssl_local.h | 797 HMAC_CTX *old_ctx; member
|
/third_party/mesa3d/src/egl/drivers/wgl/ |
H A D | egl_wgl.c | 516 _EGLContext *old_ctx; in wgl_make_current() local 527 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in wgl_make_current() 530 if (old_ctx) { in wgl_make_current() 531 struct stw_context *old_cctx = wgl_egl_context(old_ctx)->ctx; in wgl_make_current() 532 old_disp = old_ctx->Resource.Display; in wgl_make_current() 555 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &tmp_dsurf, &tmp_rsurf); in wgl_make_current() 566 _eglPutContext(old_ctx); in wgl_make_current() 570 cctx = (old_ctx) ? wgl_egl_context(old_ctx)->ctx : NULL; in wgl_make_current() 586 assert(tmp_ctx == old_ctx in wgl_make_current() [all...] |
/third_party/mesa3d/src/egl/drivers/haiku/ |
H A D | egl_haiku.cpp | 288 _EGLContext *old_ctx; in haiku_make_current() local 291 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in haiku_make_current()
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
H A D | xm_api.c | 1276 XMesaContext old_ctx = XMesaGetCurrentContext(); in XMesaMakeCurrent2() local 1278 if (old_ctx && old_ctx != c) { in XMesaMakeCurrent2() 1279 XMesaFlush(old_ctx); in XMesaMakeCurrent2() 1280 old_ctx->xm_buffer = NULL; in XMesaMakeCurrent2() 1281 old_ctx->xm_read_buffer = NULL; in XMesaMakeCurrent2() 1289 if (c == old_ctx && in XMesaMakeCurrent2()
|
/third_party/mesa3d/src/egl/main/ |
H A D | eglcontext.c | 810 _EGLContext **old_ctx, in _eglBindContext() 856 assert(old_ctx && old_draw && old_read); in _eglBindContext() 857 *old_ctx = prev_ctx; in _eglBindContext() 809 _eglBindContext(_EGLContext *ctx, _EGLSurface *draw, _EGLSurface *read, _EGLContext **old_ctx, _EGLSurface **old_draw, _EGLSurface **old_read) _eglBindContext() argument
|
H A D | eglcontext.h | 80 _EGLContext **old_ctx,
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | egl_dri2.c | 1790 _EGLContext *old_ctx; in dri2_make_current() local 1801 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in dri2_make_current() 1804 if (old_ctx == ctx && old_dsurf == dsurf && old_rsurf == rsurf) { in dri2_make_current() 1807 _eglPutContext(old_ctx); in dri2_make_current() 1811 if (old_ctx) { in dri2_make_current() 1812 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context; in dri2_make_current() 1813 old_disp = old_ctx->Resource.Display; in dri2_make_current() 1825 dri2_surf_update_fence_fd(old_ctx, disp, old_dsurf); in dri2_make_current() 1843 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &tmp_dsurf, &tmp_rsurf); in dri2_make_current() 1854 _eglPutContext(old_ctx); in dri2_make_current() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mpegvideo_dec.c | 129 #define REBASE_PICTURE(pic, new_ctx, old_ctx) \ in ff_mpeg_update_thread_context() 130 ((pic && pic >= old_ctx->picture && \ in ff_mpeg_update_thread_context() 131 pic < old_ctx->picture + MAX_PICTURE_COUNT) ? \ in ff_mpeg_update_thread_context() 132 &new_ctx->picture[pic - old_ctx->picture] : NULL) in ff_mpeg_update_thread_context()
|
H A D | h264_slice.c | 287 #define REBASE_PICTURE(pic, new_ctx, old_ctx) \ 288 (((pic) && (pic) >= (old_ctx)->DPB && \ 289 (pic) < (old_ctx)->DPB + H264_MAX_PICTURE_COUNT) ? \ 290 &(new_ctx)->DPB[(pic) - (old_ctx)->DPB] : NULL)
|
/third_party/mesa3d/src/util/ |
H A D | ralloc.c | 316 ralloc_adopt(const void *new_ctx, void *old_ctx) in ralloc_adopt() argument 320 if (unlikely(old_ctx == NULL)) in ralloc_adopt() 323 old_info = get_header(old_ctx); in ralloc_adopt() 336 /* Connect the two lists together; parent them to new_ctx; make old_ctx empty. */ in ralloc_adopt()
|
H A D | ralloc.h | 302 * This effectively calls ralloc_steal(new_ctx, child) for all children of \p old_ctx. 304 void ralloc_adopt(const void *new_ctx, void *old_ctx);
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_batch.c | 741 uint32_t old_ctx = batch->ctx_id; in replace_kernel_ctx() local 750 iris_destroy_kernel_context(bufmgr, old_ctx); in replace_kernel_ctx()
|