Home
last modified time | relevance | path

Searched refs:ctx (Results 5551 - 5575 of 7033) sorted by relevance

1...<<221222223224225226227228229230>>...282

/third_party/libwebsockets/lib/plat/windows/
H A Dwindows-sockets.c569 lws_plat_mbedtls_net_send(void *ctx, const uint8_t *buf, size_t len) in lws_plat_mbedtls_net_send() argument
571 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_send()
594 lws_plat_mbedtls_net_recv(void *ctx, unsigned char *buf, size_t len) in lws_plat_mbedtls_net_recv() argument
596 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_recv()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-sockets.c596 lws_plat_mbedtls_net_send(void *ctx, const uint8_t *buf, size_t len) in lws_plat_mbedtls_net_send() argument
598 int fd = ((mbedtls_net_context *) ctx)->MBEDTLS_PRIVATE_V30_ONLY(fd); in lws_plat_mbedtls_net_send()
621 lws_plat_mbedtls_net_recv(void *ctx, unsigned char *buf, size_t len) in lws_plat_mbedtls_net_recv() argument
623 int fd = ((mbedtls_net_context *) ctx)->MBEDTLS_PRIVATE_V30_ONLY(fd); in lws_plat_mbedtls_net_recv()
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
H A Drbug_screen.c382 struct pipe_context *ctx = _ctx ? rbug_context(_ctx)->pipe : NULL; in rbug_screen_flush_frontbuffer() local
385 ctx, in rbug_screen_flush_frontbuffer()
412 struct pipe_context *ctx = _ctx ? rbug_context(_ctx)->pipe : NULL; in rbug_screen_fence_finish() local
414 return screen->fence_finish(screen, ctx, fence, timeout); in rbug_screen_fence_finish()
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_asn1.c152 kari->ctx = EVP_CIPHER_CTX_new();
153 if (kari->ctx == NULL)
155 EVP_CIPHER_CTX_set_flags(kari->ctx, EVP_CIPHER_CTX_FLAG_WRAP_ALLOW);
159 EVP_CIPHER_CTX_free(kari->ctx);
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dkeymgmt_meth.c206 EVP_KEYMGMT *evp_keymgmt_fetch_by_number(OSSL_LIB_CTX *ctx, int name_id, in evp_keymgmt_fetch_by_number() argument
209 return evp_generic_fetch_by_number(ctx, in evp_keymgmt_fetch_by_number()
227 EVP_KEYMGMT *EVP_KEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, in EVP_KEYMGMT_fetch() argument
230 return evp_generic_fetch(ctx, OSSL_OP_KEYMGMT, algorithm, properties, in EVP_KEYMGMT_fetch()
/third_party/openssl/crypto/evp/
H A Dkeymgmt_meth.c206 EVP_KEYMGMT *evp_keymgmt_fetch_by_number(OSSL_LIB_CTX *ctx, int name_id, in evp_keymgmt_fetch_by_number() argument
209 return evp_generic_fetch_by_number(ctx, in evp_keymgmt_fetch_by_number()
227 EVP_KEYMGMT *EVP_KEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, in EVP_KEYMGMT_fetch() argument
230 return evp_generic_fetch(ctx, OSSL_OP_KEYMGMT, algorithm, properties, in EVP_KEYMGMT_fetch()
/third_party/skia/third_party/externals/swiftshader/include/EGL/
H A Degl.h127 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
137 EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
138 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
291 EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
/third_party/skia/src/core/
H A DSkFont.cpp258 void (*proc)(const SkPath*, const SkMatrix&, void*), void* ctx) const { in getPaths()
268 proc(glyph->path(), mx, ctx); in getPaths()
278 this->getPaths(&glyphID, 1, [](const SkPath* orig, const SkMatrix& mx, void* ctx) { in getPath()
279 Pair* pair = static_cast<Pair*>(ctx); in getPath()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp50 AMDGPUMCInstLower(MCContext &ctx, const TargetSubtargetInfo &ST,
62 R600MCInstLower(MCContext &ctx, const R600Subtarget &ST,
74 AMDGPUMCInstLower::AMDGPUMCInstLower(MCContext &ctx, in AMDGPUMCInstLower() argument
77 Ctx(ctx), ST(st), AP(ap) { } in AMDGPUMCInstLower()
/third_party/toybox/toys/lsb/
H A Dmd5sum.c250 SHA512_CTX ctx; in do_lib_hash() local
274 hash->init(&ctx); in do_lib_hash()
278 hash->update(&ctx, toybuf, i); in do_lib_hash()
280 hash->final(toybuf+128, &ctx); in do_lib_hash()
/third_party/skia/third_party/externals/egl-registry/api/EGL/
H A Degl.h127 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
137 EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
138 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
291 EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fNegativeFragmentApiTests.cpp42 static bool checkDrawBuffersIndexedSupport(Context& ctx) in checkDrawBuffersIndexedSupport() argument
44 return contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)) || in checkDrawBuffersIndexedSupport()
45 contextSupports(ctx.getRenderContext().getType(), glu::ApiType::core(4, 5)) || in checkDrawBuffersIndexedSupport()
46 ctx.getContextInfo().isExtensionSupported("GL_EXT_draw_buffers_indexed"); in checkDrawBuffersIndexedSupport()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dsha1-internal.c33 SHA1_CTX ctx; in sha1_vector() local
39 SHA1Init(&ctx); in sha1_vector()
41 SHA1Update(&ctx, addr[i], len[i]); in sha1_vector()
42 SHA1Final(mac, &ctx); in sha1_vector()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dsha1-internal.c33 SHA1_CTX ctx; in sha1_vector() local
39 SHA1Init(&ctx); in sha1_vector()
41 SHA1Update(&ctx, addr[i], len[i]); in sha1_vector()
42 SHA1Final(mac, &ctx); in sha1_vector()
/third_party/mesa3d/src/imgui/
H A Dimstb_truetype.h1904 static void stbtt__csctx_close_shape(stbtt__csctx *ctx) in stbtt__csctx_close_shape() argument
1906 if (ctx->first_x != ctx->x || ctx->first_y != ctx->y) in stbtt__csctx_close_shape()
1907 stbtt__csctx_v(ctx, STBTT_vline, (int)ctx->first_x, (int)ctx->first_y, 0, 0, 0, 0); in stbtt__csctx_close_shape()
1910 static void stbtt__csctx_rmove_to(stbtt__csctx *ctx, float dx, float dy) in stbtt__csctx_rmove_to() argument
1912 stbtt__csctx_close_shape(ctx); in stbtt__csctx_rmove_to()
1918 stbtt__csctx_rline_to(stbtt__csctx *ctx, float dx, float dy) stbtt__csctx_rline_to() argument
1925 stbtt__csctx_rccurve_to(stbtt__csctx *ctx, float dx1, float dy1, float dx2, float dy2, float dx3, float dy3) stbtt__csctx_rccurve_to() argument
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimstb_truetype.h1904 static void stbtt__csctx_close_shape(stbtt__csctx *ctx) in stbtt__csctx_close_shape() argument
1906 if (ctx->first_x != ctx->x || ctx->first_y != ctx->y) in stbtt__csctx_close_shape()
1907 stbtt__csctx_v(ctx, STBTT_vline, (int)ctx->first_x, (int)ctx->first_y, 0, 0, 0, 0); in stbtt__csctx_close_shape()
1910 static void stbtt__csctx_rmove_to(stbtt__csctx *ctx, float dx, float dy) in stbtt__csctx_rmove_to() argument
1912 stbtt__csctx_close_shape(ctx); in stbtt__csctx_rmove_to()
1918 stbtt__csctx_rline_to(stbtt__csctx *ctx, float dx, float dy) stbtt__csctx_rline_to() argument
1925 stbtt__csctx_rccurve_to(stbtt__csctx *ctx, float dx1, float dy1, float dx2, float dy2, float dx3, float dy3) stbtt__csctx_rccurve_to() argument
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsVertexArrayTests.cpp686 ContextShaderProgram (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
692 static std::string genVertexSource (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
693 static std::string genFragmentSource (const glu::RenderContext& ctx);
697 static sglr::pdec::ShaderProgramDeclaration createProgramDeclaration (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
703 ContextShaderProgram::ContextShaderProgram (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays) in ContextShaderProgram() argument
704 : sglr::ShaderProgram (createProgramDeclaration(ctx, arrays)) in ContextShaderProgram()
813 std::string ContextShaderProgram::genVertexSource (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays) in genVertexSource() argument
818 if (glu::isGLSLVersionSupported(ctx.getType(), glu::GLSL_VERSION_300_ES)) in genVertexSource()
827 else if (glu::isGLSLVersionSupported(ctx.getType(), glu::GLSL_VERSION_100_ES)) in genVertexSource()
836 else if (glu::isGLSLVersionSupported(ctx in genVertexSource()
957 genFragmentSource(const glu::RenderContext& ctx) genFragmentSource() argument
1060 createProgramDeclaration(const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays) createProgramDeclaration() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_ndis.c749 eloop_cancel_timeout(wpa_driver_ndis_scan_timeout, drv, drv->ctx); in wpa_driver_ndis_scan_native80211()
751 drv->ctx); in wpa_driver_ndis_scan_native80211()
775 eloop_cancel_timeout(wpa_driver_ndis_scan_timeout, drv, drv->ctx); in wpa_driver_ndis_scan()
777 drv->ctx); in wpa_driver_ndis_scan()
1443 wpa_supplicant_event(drv->ctx, EVENT_ASSOCINFO, &data); in wpa_driver_ndis_get_associnfo()
1464 wpa_supplicant_event(drv->ctx, EVENT_DISASSOC, NULL); in wpa_driver_ndis_poll_timeout()
1471 wpa_supplicant_event(drv->ctx, EVENT_ASSOC, NULL); in wpa_driver_ndis_poll_timeout()
1510 wpa_supplicant_event(drv->ctx, EVENT_ASSOC, NULL); in wpa_driver_ndis_event_connect()
1521 wpa_supplicant_event(drv->ctx, EVENT_DISASSOC, NULL); in wpa_driver_ndis_event_disconnect()
1553 wpa_supplicant_event(drv->ctx, EVENT_MICHAEL_MIC_FAILUR in wpa_driver_ndis_event_auth()
2796 wpa_driver_ndis_init(void *ctx, const char *ifname) wpa_driver_ndis_init() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
H A Dradius_server.c155 * This is used as the ctx argument in get_eap_user() calls.
322 * @ctx: Context data from conf_ctx
334 int (*get_eap_user)(void *ctx, const u8 *identity, size_t identity_len,
2701 static int radius_server_get_eap_user(void *ctx, const u8 *identity, in radius_server_get_eap_user() argument
2705 struct radius_session *sess = ctx; in radius_server_get_eap_user()
2727 static const char * radius_server_get_eap_req_id_text(void *ctx, size_t *len) in radius_server_get_eap_req_id_text() argument
2729 struct radius_session *sess = ctx; in radius_server_get_eap_req_id_text()
2736 static void radius_server_log_msg(void *ctx, const char *msg) in radius_server_log_msg() argument
2738 struct radius_session *sess = ctx; in radius_server_log_msg()
2745 static const char * radius_server_get_erp_domain(void *ctx) in radius_server_get_erp_domain() argument
2755 radius_server_erp_get_key(void *ctx, const char *keyname) radius_server_erp_get_key() argument
2764 radius_server_erp_add_key(void *ctx, struct eap_server_erp_key *erp) radius_server_erp_add_key() argument
2798 radius_server_eap_pending_cb(struct radius_server_data *data, void *ctx) radius_server_eap_pending_cb() argument
2848 get_db_session_fields(void *ctx, int argc, char *argv[], char *col[]) get_db_session_fields() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_ndis.c749 eloop_cancel_timeout(wpa_driver_ndis_scan_timeout, drv, drv->ctx); in wpa_driver_ndis_scan_native80211()
751 drv->ctx); in wpa_driver_ndis_scan_native80211()
775 eloop_cancel_timeout(wpa_driver_ndis_scan_timeout, drv, drv->ctx); in wpa_driver_ndis_scan()
777 drv->ctx); in wpa_driver_ndis_scan()
1455 wpa_supplicant_event(drv->ctx, EVENT_ASSOCINFO, &data); in wpa_driver_ndis_get_associnfo()
1476 wpa_supplicant_event(drv->ctx, EVENT_DISASSOC, NULL); in wpa_driver_ndis_poll_timeout()
1483 wpa_supplicant_event(drv->ctx, EVENT_ASSOC, NULL); in wpa_driver_ndis_poll_timeout()
1522 wpa_supplicant_event(drv->ctx, EVENT_ASSOC, NULL); in wpa_driver_ndis_event_connect()
1533 wpa_supplicant_event(drv->ctx, EVENT_DISASSOC, NULL); in wpa_driver_ndis_event_disconnect()
1565 wpa_supplicant_event(drv->ctx, EVENT_MICHAEL_MIC_FAILUR in wpa_driver_ndis_event_auth()
2808 wpa_driver_ndis_init(void *ctx, const char *ifname) wpa_driver_ndis_init() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
H A Dradius_server.c150 * This is used as the ctx argument in get_eap_user() calls.
182 * @ctx: Context data from conf_ctx
194 int (*get_eap_user)(void *ctx, const u8 *identity, size_t identity_len,
2504 static int radius_server_get_eap_user(void *ctx, const u8 *identity, in radius_server_get_eap_user() argument
2508 struct radius_session *sess = ctx; in radius_server_get_eap_user()
2530 static const char * radius_server_get_eap_req_id_text(void *ctx, size_t *len) in radius_server_get_eap_req_id_text() argument
2532 struct radius_session *sess = ctx; in radius_server_get_eap_req_id_text()
2539 static void radius_server_log_msg(void *ctx, const char *msg) in radius_server_log_msg() argument
2541 struct radius_session *sess = ctx; in radius_server_log_msg()
2548 static const char * radius_server_get_erp_domain(void *ctx) in radius_server_get_erp_domain() argument
2558 radius_server_erp_get_key(void *ctx, const char *keyname) radius_server_erp_get_key() argument
2567 radius_server_erp_add_key(void *ctx, struct eap_server_erp_key *erp) radius_server_erp_add_key() argument
2601 radius_server_eap_pending_cb(struct radius_server_data *data, void *ctx) radius_server_eap_pending_cb() argument
2651 get_db_session_fields(void *ctx, int argc, char *argv[], char *col[]) get_db_session_fields() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
H A DvktTransformFeedbackSimpleTests.cpp3017 const auto& ctx = m_context.getContextCommonData(); in iterate() local
3036 ctx.vkd, in iterate()
3037 ctx.device, in iterate()
3038 ctx.allocator, in iterate()
3050 BufferWithMemory vertexBuffer (ctx.vkd, ctx.device, ctx.allocator, vbInfo, MemoryRequirement::HostVisible); in iterate()
3056 flushAlloc(ctx.vkd, ctx.device, vbAlloc); in iterate()
3062 BufferWithMemory xfbBuffer (ctx in iterate()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state_shaders.cpp206 struct mesa_sha1 ctx; in si_get_ir_cache_key() local
207 _mesa_sha1_init(&ctx); in si_get_ir_cache_key()
208 _mesa_sha1_update(&ctx, &shader_variant_flags, 4); in si_get_ir_cache_key()
209 _mesa_sha1_update(&ctx, ir_binary, ir_size); in si_get_ir_cache_key()
210 _mesa_sha1_final(&ctx, ir_sha1_cache_key); in si_get_ir_cache_key()
2465 static inline void si_shader_selector_key(struct pipe_context *ctx, struct si_shader_selector *sel,
2468 struct si_context *sctx = (struct si_context *)ctx;
2890 int si_shader_select(struct pipe_context *ctx, struct si_shader_ctx_state *state)
2892 struct si_context *sctx = (struct si_context *)ctx;
2894 si_shader_selector_key(ctx, stat
[all...]
/third_party/mbedtls/library/
H A Dx509_crt.c3264 void mbedtls_x509_crt_restart_init(mbedtls_x509_crt_restart_ctx *ctx) in mbedtls_x509_crt_restart_init() argument
3266 mbedtls_pk_restart_init(&ctx->pk); in mbedtls_x509_crt_restart_init()
3268 ctx->parent = NULL; in mbedtls_x509_crt_restart_init()
3269 ctx->fallback_parent = NULL; in mbedtls_x509_crt_restart_init()
3270 ctx->fallback_signature_is_good = 0; in mbedtls_x509_crt_restart_init()
3272 ctx->parent_is_trusted = -1; in mbedtls_x509_crt_restart_init()
3274 ctx->in_progress = x509_crt_rs_none; in mbedtls_x509_crt_restart_init()
3275 ctx->self_cnt = 0; in mbedtls_x509_crt_restart_init()
3276 x509_crt_verify_chain_reset(&ctx->ver_chain); in mbedtls_x509_crt_restart_init()
3282 void mbedtls_x509_crt_restart_free(mbedtls_x509_crt_restart_ctx *ctx) in mbedtls_x509_crt_restart_free() argument
[all...]
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dscan_async_call_test.cpp56 auto exec = [context](ScanAsyncCall::Context *ctx) { in HWTEST_F()

Completed in 49 milliseconds

1...<<221222223224225226227228229230>>...282