/third_party/ffmpeg/libavfilter/ |
H A D | buffersink.h | 74 * @param ctx pointer to a buffersink or abuffersink filter context. 81 int av_buffersink_get_frame_flags(AVFilterContext *ctx, AVFrame *frame, int flags); 140 void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size); 148 enum AVMediaType av_buffersink_get_type (const AVFilterContext *ctx); 149 AVRational av_buffersink_get_time_base (const AVFilterContext *ctx); 150 int av_buffersink_get_format (const AVFilterContext *ctx); 152 AVRational av_buffersink_get_frame_rate (const AVFilterContext *ctx); 153 int av_buffersink_get_w (const AVFilterContext *ctx); 154 int av_buffersink_get_h (const AVFilterContext *ctx); 155 AVRational av_buffersink_get_sample_aspect_ratio (const AVFilterContext *ctx); [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | hash.c | 31 struct AVHashContext *ctx = NULL; in main() local 40 if (av_hash_alloc(&ctx, av_hash_names(i)) < 0) in main() 43 av_hash_init(ctx); in main() 44 av_hash_update(ctx, src, SRC_BUF_SIZE); in main() 46 av_hash_final_hex(ctx, dst, DST_BUF_SIZE); in main() 47 printf("%s hex: %s\n", av_hash_get_name(ctx), dst); in main() 49 av_hash_init(ctx); in main() 50 av_hash_update(ctx, src, SRC_BUF_SIZE); in main() 51 av_hash_final_bin(ctx, dst, DST_BUF_SIZE); in main() 52 printf("%s bin: ", av_hash_get_name(ctx)); in main() [all...] |
/third_party/ltp/testcases/kernel/syscalls/io_setup/ |
H A D | io_setup01.c | 31 static void verify_failure(unsigned int nr, io_context_t *ctx, int init_val, long exp_err) in verify_failure() argument 33 if (ctx) in verify_failure() 34 memset(ctx, init_val, sizeof(*ctx)); in verify_failure() 36 TEST(io_setup(nr, ctx)); in verify_failure() 39 io_destroy(*ctx); in verify_failure() 53 static void verify_success(unsigned int nr, io_context_t *ctx, int init_val) in verify_success() argument 55 memset(ctx, init_val, sizeof(*ctx)); in verify_success() 57 TEST(io_setup(nr, ctx)); in verify_success() 72 io_context_t ctx; verify_io_setup() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | h265_metadata_bsf.c | 70 H265MetadataContext *ctx = bsf->priv_data; in h265_metadata_guess_level() local 132 ctx->level_guess = desc->level_idc; in h265_metadata_guess_level() 139 H265MetadataContext *ctx = bsf->priv_data; in h265_metadata_update_level() local 141 if (ctx->level != LEVEL_UNSET) { in h265_metadata_update_level() 142 if (ctx->level == LEVEL_AUTO) { in h265_metadata_update_level() 143 if (ctx->level_guess) { in h265_metadata_update_level() 144 *level_idc = ctx->level_guess; in h265_metadata_update_level() 146 if (!ctx->level_warned) { in h265_metadata_update_level() 149 ctx->level_warned = 1; in h265_metadata_update_level() 154 *level_idc = ctx in h265_metadata_update_level() 162 H265MetadataContext *ctx = bsf->priv_data; h265_metadata_update_vps() local 192 H265MetadataContext *ctx = bsf->priv_data; h265_metadata_update_sps() local 335 H265MetadataContext *ctx = bsf->priv_data; h265_metadata_update_fragment() local [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | vfwcap.c | 164 struct vfw_ctx *ctx = s->priv_data; in shall_we_drop() local 167 unsigned int buffer_fullness = (ctx->curbufsize*100)/s->max_picture_buffer; in shall_we_drop() 169 if(dropscore[++ctx->frame_num%ndropscores] <= buffer_fullness) { in shall_we_drop() 181 struct vfw_ctx *ctx; in videostream_cb() local 185 ctx = s->priv_data; in videostream_cb() 192 WaitForSingleObject(ctx->mutex, INFINITE); in videostream_cb() 206 for(ppktl = &ctx->pktl ; *ppktl ; ppktl = &(*ppktl)->next); in videostream_cb() 209 ctx->curbufsize += vdhdr->dwBytesUsed; in videostream_cb() 211 SetEvent(ctx->event); in videostream_cb() 212 ReleaseMutex(ctx in videostream_cb() 222 struct vfw_ctx *ctx = s->priv_data; vfw_read_close() local 248 struct vfw_ctx *ctx = s->priv_data; vfw_read_header() local 442 struct vfw_ctx *ctx = s->priv_data; vfw_read_packet() local [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_a4xx.c | 49 byte_offset_to_address(struct ir3_context *ctx, in byte_offset_to_address() argument 53 struct ir3_block *b = ctx->block; in byte_offset_to_address() 55 if (ctx->compiler->gen == 4) { in byte_offset_to_address() 61 if (fd_dev_64b(ctx->compiler->dev_id)) { in byte_offset_to_address() 70 emit_intrinsic_load_ssbo(struct ir3_context *ctx, nir_intrinsic_instr *intr, in emit_intrinsic_load_ssbo() argument 73 struct ir3_block *b = ctx->block; in emit_intrinsic_load_ssbo() 76 struct ir3_instruction *ssbo = ir3_ssbo_to_ibo(ctx, intr->src[0]); in emit_intrinsic_load_ssbo() 78 byte_offset = ir3_get_src(ctx, &intr->src[1])[0]; in emit_intrinsic_load_ssbo() 79 offset = ir3_get_src(ctx, &intr->src[2])[0]; in emit_intrinsic_load_ssbo() 82 src0 = byte_offset_to_address(ctx, in emit_intrinsic_load_ssbo() 98 emit_intrinsic_store_ssbo(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_store_ssbo() argument 152 emit_intrinsic_atomic_ssbo(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_atomic_ssbo() argument 221 get_image_offset(struct ir3_context *ctx, const nir_intrinsic_instr *instr, struct ir3_instruction *const *coords, bool byteoff) get_image_offset() argument 280 emit_intrinsic_load_image(struct ir3_context *ctx, nir_intrinsic_instr *intr, struct ir3_instruction **dst) emit_intrinsic_load_image() argument 328 emit_intrinsic_store_image(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_store_image() argument 365 emit_intrinsic_atomic_image(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_atomic_image() argument 428 emit_intrinsic_atomic_global(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_atomic_global() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/xa/ |
H A D | xa_composite.c | 253 bind_composite_blend_state(struct xa_context *ctx, in bind_composite_blend_state() argument 271 cso_set_blend(ctx->cso, &blend); in bind_composite_blend_state() 336 * \param ctx[in, out]: Pointer to the xa context. 347 xa_handle_src_pict(struct xa_context *ctx, in xa_handle_src_pict() argument 365 if (is_mask && ctx->has_solid_src) in xa_handle_src_pict() 366 xa_src_in_mask(ctx->solid_color, solid_color); in xa_handle_src_pict() 368 memcpy(ctx->solid_color, solid_color, sizeof(solid_color)); in xa_handle_src_pict() 371 ctx->has_solid_mask = TRUE; in xa_handle_src_pict() 373 ctx->has_solid_src = TRUE; in xa_handle_src_pict() 379 bind_shaders(struct xa_context *ctx, cons argument 446 bind_samplers(struct xa_context *ctx, const struct xa_composite *comp) bind_samplers() argument 513 xa_composite_prepare(struct xa_context *ctx, const struct xa_composite *comp) xa_composite_prepare() argument 546 xa_composite_rect(struct xa_context *ctx, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int width, int height) xa_composite_rect() argument 572 xa_composite_done(struct xa_context *ctx) xa_composite_done() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_point_sprite.c | 104 psprite_transform_context(struct tgsi_transform_context *ctx) in psprite_transform_context() argument 106 return (struct psprite_transform_context *) ctx; in psprite_transform_context() 114 psprite_decl(struct tgsi_transform_context *ctx, in psprite_decl() argument 117 struct psprite_transform_context *ts = psprite_transform_context(ctx); in psprite_decl() 154 ctx->emit_declaration(ctx, decl); in psprite_decl() 161 psprite_immediate(struct tgsi_transform_context *ctx, in psprite_immediate() argument 164 struct psprite_transform_context *ts = psprite_transform_context(ctx); in psprite_immediate() 166 ctx->emit_immediate(ctx, im in psprite_immediate() 175 psprite_prolog(struct tgsi_transform_context *ctx) psprite_prolog() argument 290 psprite_emit_vertex_inst(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *vert_inst) psprite_emit_vertex_inst() argument 441 psprite_inst(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *inst) psprite_inst() argument 501 psprite_property(struct tgsi_transform_context *ctx, struct tgsi_full_property *prop) psprite_property() argument [all...] |
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_openvino.c | 53 OVContext ctx; member 120 OVContext *ctx = &ov_model->ctx; in fill_model_input_ov() local 133 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob with name %s\n", task->input_name); in fill_model_input_ov() 141 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob dims/precision\n"); in fill_model_input_ov() 148 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob buffer\n"); in fill_model_input_ov() 161 for (int i = 0; i < ctx->options.batch_size; ++i) { in fill_model_input_ov() 175 ff_proc_from_frame_to_dnn(task->in_frame, &input, ctx); in fill_model_input_ov() 180 ff_frame_to_dnn_detect(task->in_frame, &input, ctx); in fill_model_input_ov() 183 ff_frame_to_dnn_classify(task->in_frame, &input, lltask->bbox_index, ctx); in fill_model_input_ov() 210 OVContext *ctx = &ov_model->ctx; infer_completion_callback() local 307 OVContext *ctx = &ov_model->ctx; init_model_ov() local 449 OVContext *ctx; execute_model_ov() local 506 OVContext *ctx = &ov_model->ctx; get_input_ov() local 661 OVContext *ctx = &ov_model->ctx; get_output_ov() local 730 OVContext *ctx = NULL; ff_dnn_load_model_ov() local 786 OVContext *ctx = &ov_model->ctx; ff_dnn_execute_model_ov() local 875 OVContext *ctx = &ov_model->ctx; ff_dnn_flush_ov() local [all...] |
/third_party/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 730 int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2) in RSA_pkey_ctx_ctrl() argument 733 if (ctx != NULL && ctx->pmeth != NULL in RSA_pkey_ctx_ctrl() 734 && ctx->pmeth->pkey_id != EVP_PKEY_RSA in RSA_pkey_ctx_ctrl() 735 && ctx->pmeth->pkey_id != EVP_PKEY_RSA_PSS) in RSA_pkey_ctx_ctrl() 737 return EVP_PKEY_CTX_ctrl(ctx, -1, optype, cmd, p1, p2); in RSA_pkey_ctx_ctrl() 878 static int int_set_rsa_md_name(EVP_PKEY_CTX *ctx, in int_set_rsa_md_name() argument 887 if (ctx == NULL || mdname == NULL || (ctx->operation & optype) == 0) { in int_set_rsa_md_name() 896 if (!EVP_PKEY_CTX_is_a(ctx, "RS in int_set_rsa_md_name() 918 int_get_rsa_md_name(EVP_PKEY_CTX *ctx, int keytype, int optype, const char *mdkey, char *mdname, size_t mdnamesize) int_get_rsa_md_name() argument 957 EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode) EVP_PKEY_CTX_set_rsa_padding() argument 967 EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode) EVP_PKEY_CTX_get_rsa_padding() argument 977 EVP_PKEY_CTX_set_rsa_pss_keygen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_rsa_pss_keygen_md() argument 983 EVP_PKEY_CTX_set_rsa_pss_keygen_md_name(EVP_PKEY_CTX *ctx, const char *mdname, const char *mdprops) EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() argument 996 EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_rsa_oaep_md() argument 1002 EVP_PKEY_CTX_set_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, const char *mdname, const char *mdprops) EVP_PKEY_CTX_set_rsa_oaep_md_name() argument 1011 EVP_PKEY_CTX_get_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, char *name, size_t namesize) EVP_PKEY_CTX_get_rsa_oaep_md_name() argument 1023 EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **md) EVP_PKEY_CTX_get_rsa_oaep_md() argument 1033 EVP_PKEY_CTX_set_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_rsa_mgf1_md() argument 1039 EVP_PKEY_CTX_set_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, const char *mdname, const char *mdprops) EVP_PKEY_CTX_set_rsa_mgf1_md_name() argument 1048 EVP_PKEY_CTX_get_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, char *name, size_t namesize) EVP_PKEY_CTX_get_rsa_mgf1_md_name() argument 1060 EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md() argument 1066 EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name(EVP_PKEY_CTX *ctx, const char *mdname) EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name() argument 1078 EVP_PKEY_CTX_get_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD **md) EVP_PKEY_CTX_get_rsa_mgf1_md() argument 1084 EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int llen) EVP_PKEY_CTX_set0_rsa_oaep_label() argument 1113 EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label) EVP_PKEY_CTX_get0_rsa_oaep_label() argument 1146 EVP_PKEY_CTX_set_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int saltlen) EVP_PKEY_CTX_set_rsa_pss_saltlen() argument 1166 EVP_PKEY_CTX_get_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int *saltlen) EVP_PKEY_CTX_get_rsa_pss_saltlen() argument 1181 EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(EVP_PKEY_CTX *ctx, int saltlen) EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen() argument 1201 EVP_PKEY_CTX_set_rsa_keygen_bits(EVP_PKEY_CTX *ctx, int bits) EVP_PKEY_CTX_set_rsa_keygen_bits() argument 1223 EVP_PKEY_CTX_set_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp) EVP_PKEY_CTX_set_rsa_keygen_pubexp() argument 1241 EVP_PKEY_CTX_set1_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp) EVP_PKEY_CTX_set1_rsa_keygen_pubexp() argument 1261 EVP_PKEY_CTX_set_rsa_keygen_primes(EVP_PKEY_CTX *ctx, int primes) EVP_PKEY_CTX_set_rsa_keygen_primes() argument [all...] |
/third_party/libwebsockets/test-apps/ |
H A D | test-lecp.c | 55 cb(struct lecp_ctx *ctx, char reason) in cb() argument 60 for (n = 0; n < ctx->sp; n++) in cb() 66 (LEJP_FLAG_CB_IS_VALUE - 1)], ctx->path, in cb() 67 ctx->path_match, ctx->pst[ctx->pst_sp].ppos); in cb() 75 (unsigned long long)ctx->item.u.u64); in cb() 81 " value '%s' ", ctx->buf); in cb() 87 if (ctx->npos) in cb() 88 lwsl_hexdump_notice(ctx in cb() 141 struct lecp_ctx ctx; main() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-vm-global-property-interceptors.js | 31 const ctx = vm.createContext(sandbox); 45 `, ctx); 75 `, ctx); 77 assert.deepStrictEqual(Object.getOwnPropertyDescriptor(ctx, 'h'), { 84 assert.deepStrictEqual(Object.getOwnPropertyDescriptor(ctx, 'i'), { 91 const jDesc = Object.getOwnPropertyDescriptor(ctx, 'j'); 97 const kDesc = Object.getOwnPropertyDescriptor(ctx, 'k'); 103 assert.strictEqual(ctx.k, 0); 104 ctx.k = 1; 105 assert.strictEqual(ctx [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/macs/ |
H A D | poly1305_prov.c | 46 struct poly1305_data_st *ctx; in poly1305_new() local 50 ctx = OPENSSL_zalloc(sizeof(*ctx)); in poly1305_new() 51 if (ctx != NULL) in poly1305_new() 52 ctx->provctx = provctx; in poly1305_new() 53 return ctx; in poly1305_new() 81 static int poly1305_setkey(struct poly1305_data_st *ctx, in poly1305_setkey() argument 88 Poly1305_Init(&ctx->poly1305, key); in poly1305_setkey() 89 ctx->updated = 0; in poly1305_setkey() 96 struct poly1305_data_st *ctx in poly1305_init() local 110 struct poly1305_data_st *ctx = vmacctx; poly1305_update() local 124 struct poly1305_data_st *ctx = vmacctx; poly1305_final() local 157 poly1305_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) poly1305_settable_ctx_params() argument 165 struct poly1305_data_st *ctx = vmacctx; poly1305_set_ctx_params() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/jsonrpc2/ |
H A D | handler.go | 31 Deliver(ctx context.Context, r *Request, delivered bool) bool 39 Cancel(ctx context.Context, conn *Conn, id ID, cancelled bool) bool 51 Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) context.Context 53 Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse) context.Context 58 Done(ctx context.Context, err error) 62 Read(ctx context.Context, bytes int64) context.Context 64 Wrote(ctx context.Context, bytes int64) context.Context 68 Error(ctx context.Context, err error) 95 func (EmptyHandler) Deliver(ctx context.Context, r *Request, delivered bool) bool { 99 func (EmptyHandler) Cancel(ctx contex [all...] |
/third_party/openssl/providers/implementations/macs/ |
H A D | poly1305_prov.c | 46 struct poly1305_data_st *ctx; in poly1305_new() local 50 ctx = OPENSSL_zalloc(sizeof(*ctx)); in poly1305_new() 51 if (ctx != NULL) in poly1305_new() 52 ctx->provctx = provctx; in poly1305_new() 53 return ctx; in poly1305_new() 81 static int poly1305_setkey(struct poly1305_data_st *ctx, in poly1305_setkey() argument 88 Poly1305_Init(&ctx->poly1305, key); in poly1305_setkey() 89 ctx->updated = 0; in poly1305_setkey() 96 struct poly1305_data_st *ctx in poly1305_init() local 110 struct poly1305_data_st *ctx = vmacctx; poly1305_update() local 124 struct poly1305_data_st *ctx = vmacctx; poly1305_final() local 157 poly1305_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) poly1305_settable_ctx_params() argument 165 struct poly1305_data_st *ctx = vmacctx; poly1305_set_ctx_params() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/ |
H A D | handler.go | 31 Deliver(ctx context.Context, r *Request, delivered bool) bool 39 Cancel(ctx context.Context, conn *Conn, id ID, cancelled bool) bool 51 Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) context.Context 53 Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse) context.Context 58 Done(ctx context.Context, err error) 62 Read(ctx context.Context, bytes int64) context.Context 64 Wrote(ctx context.Context, bytes int64) context.Context 68 Error(ctx context.Context, err error) 95 func (EmptyHandler) Deliver(ctx context.Context, r *Request, delivered bool) bool { 99 func (EmptyHandler) Cancel(ctx contex [all...] |
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | pad_array_elements.cc | 35 /// PadArray returns a function that constructs a new array in `ctx.dst` with 38 /// to module-scope type declarations of `ctx.dst`. 39 /// @param ctx the CloneContext 46 CloneContext& ctx, in PadArray() 57 auto name = ctx.dst->Symbols().New("tint_padded_array_element"); in PadArray() 64 PadArray(ctx, create_ast_type_for, padded_arrays, el_array)) { in PadArray() 72 el_ty = create_ast_type_for(ctx, array->ElemType()); in PadArray() 76 // global declarations of `ctx.dst`. As we haven't finished building the in PadArray() 79 ctx.dst->Structure( in PadArray() 81 {ctx in PadArray() 45 PadArray( CloneContext& ctx, CREATE_AST_TYPE_FOR&& create_ast_type_for, std::unordered_map<const sem::Array*, ArrayBuilder>& padded_arrays, const sem::Array* array) PadArray() argument [all...] |
/third_party/spirv-tools/utils/vscode/src/lsp/jsonrpc2/ |
H A D | handler.go | 31 Deliver(ctx context.Context, r *Request, delivered bool) bool 39 Cancel(ctx context.Context, conn *Conn, id ID, cancelled bool) bool 51 Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) context.Context 53 Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse) context.Context 58 Done(ctx context.Context, err error) 62 Read(ctx context.Context, bytes int64) context.Context 64 Wrote(ctx context.Context, bytes int64) context.Context 68 Error(ctx context.Context, err error) 95 func (EmptyHandler) Deliver(ctx context.Context, r *Request, delivered bool) bool { 99 func (EmptyHandler) Cancel(ctx contex [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/ |
H A D | osu_client.h | 60 void write_result(struct hs20_osu_client *ctx, const char *fmt, ...) 62 void write_summary(struct hs20_osu_client *ctx, const char *fmt, ...) 65 void debug_dump_node(struct hs20_osu_client *ctx, const char *title, 67 int osu_get_certificate(struct hs20_osu_client *ctx, xml_node_t *getcert); 68 int hs20_add_pps_mo(struct hs20_osu_client *ctx, const char *uri, 70 void get_user_pw(struct hs20_osu_client *ctx, xml_node_t *pps, 72 int update_pps_file(struct hs20_osu_client *ctx, const char *pps_fname, 74 void cmd_set_pps(struct hs20_osu_client *ctx, const char *pps_fname); 79 void spp_sub_rem(struct hs20_osu_client *ctx, const char *address, 84 void spp_pol_upd(struct hs20_osu_client *ctx, cons [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/ |
H A D | osu_client.h | 58 void write_result(struct hs20_osu_client *ctx, const char *fmt, ...) 60 void write_summary(struct hs20_osu_client *ctx, const char *fmt, ...) 63 void debug_dump_node(struct hs20_osu_client *ctx, const char *title, 65 int osu_get_certificate(struct hs20_osu_client *ctx, xml_node_t *getcert); 66 int hs20_add_pps_mo(struct hs20_osu_client *ctx, const char *uri, 68 void get_user_pw(struct hs20_osu_client *ctx, xml_node_t *pps, 70 int update_pps_file(struct hs20_osu_client *ctx, const char *pps_fname, 72 void cmd_set_pps(struct hs20_osu_client *ctx, const char *pps_fname); 77 void spp_sub_rem(struct hs20_osu_client *ctx, const char *address, 82 void spp_pol_upd(struct hs20_osu_client *ctx, cons [all...] |
/third_party/curl/lib/vquic/ |
H A D | curl_quiche.c | 115 static void cf_quiche_ctx_clear(struct cf_quiche_ctx *ctx) in cf_quiche_ctx_clear() argument 117 if(ctx) { in cf_quiche_ctx_clear() 118 if(ctx->h3c) in cf_quiche_ctx_clear() 119 quiche_h3_conn_free(ctx->h3c); in cf_quiche_ctx_clear() 120 if(ctx->h3config) in cf_quiche_ctx_clear() 121 quiche_h3_config_free(ctx->h3config); in cf_quiche_ctx_clear() 122 if(ctx->qconn) in cf_quiche_ctx_clear() 123 quiche_conn_free(ctx->qconn); in cf_quiche_ctx_clear() 124 if(ctx->cfg) in cf_quiche_ctx_clear() 125 quiche_config_free(ctx in cf_quiche_ctx_clear() 183 struct cf_quiche_ctx *ctx = cf->ctx; h3_data_setup() local 203 struct cf_quiche_ctx *ctx = cf->ctx; h3_data_done() local 341 struct cf_quiche_ctx *ctx = x->cf->ctx; stream_resp_read() local 489 struct cf_quiche_ctx *ctx = cf->ctx; cf_poll_events() local 547 struct cf_quiche_ctx *ctx = r->cf->ctx; recv_pkt() local 590 struct cf_quiche_ctx *ctx = cf->ctx; cf_process_ingress() local 626 struct cf_quiche_ctx *ctx = x->cf->ctx; read_pkt_to_send() local 651 struct cf_quiche_ctx *ctx = cf->ctx; cf_flush_egress() local 759 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_recv() local 840 struct cf_quiche_ctx *ctx = cf->ctx; h3_open_stream() local 958 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_send() local 1067 struct cf_quiche_ctx *ctx = cf->ctx; stream_is_writeable() local 1078 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_adjust_pollset() local 1179 struct cf_quiche_ctx *ctx = cf->ctx; cf_connect_start() local 1301 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_verify_peer() local 1314 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_connect() local 1407 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_close() local 1423 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_destroy() local 1435 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_query() local 1479 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_conn_is_alive() local 1546 struct cf_quiche_ctx *ctx = NULL; Curl_cf_quiche_create() local [all...] |
/foundation/communication/dsoftbus/core/connection/ble/src/ |
H A D | softbus_conn_ble_server.c | 105 static int32_t BleNetDescriptorAddMsgHandler(DescriptorAddMsgContext *ctx); 106 static int32_t BleConnDescriptorAddMsgHandler(DescriptorAddMsgContext *ctx); 214 ServiceAddMsgContext *ctx = (ServiceAddMsgContext *)SoftBusCalloc(sizeof(ServiceAddMsgContext) + uuid->uuidLen); in BleServiceAddCallback() local 215 CONN_CHECK_AND_RETURN_LOGE(ctx != NULL, CONN_BLE, in BleServiceAddCallback() 217 ctx->status = status; in BleServiceAddCallback() 218 ctx->srvcHandle = srvcHandle; in BleServiceAddCallback() 219 ctx->uuid.uuidLen = uuid->uuidLen; in BleServiceAddCallback() 220 char *copyUuid = (char *)(ctx + 1); in BleServiceAddCallback() 223 SoftBusFree(ctx); in BleServiceAddCallback() 226 ctx in BleServiceAddCallback() 233 CheckUuidAndSetServiceHandle(const ServiceAddMsgContext *ctx) CheckUuidAndSetServiceHandle() argument 259 BleServiceAddMsgHandler(const ServiceAddMsgContext *ctx) BleServiceAddMsgHandler() argument 306 CharacteristicAddMsgContext *ctx = BleCharacteristicAddCallback() local 327 IsConnCharacterisicAndSetHandle(const CharacteristicAddMsgContext *ctx, CharacterisicHandleServerState *serverState) IsConnCharacterisicAndSetHandle() argument 372 BleCharacteristicAddMsgHandler(const CharacteristicAddMsgContext *ctx) BleCharacteristicAddMsgHandler() argument 416 DescriptorAddMsgContext *ctx = BleDescriptorAddCallback() local 436 BleDescriptorAddMsgHandler(DescriptorAddMsgContext *ctx) BleDescriptorAddMsgHandler() argument 474 BleNetDescriptorAddMsgHandler(DescriptorAddMsgContext *ctx) BleNetDescriptorAddMsgHandler() argument 514 BleConnDescriptorAddMsgHandler(DescriptorAddMsgContext *ctx) BleConnDescriptorAddMsgHandler() argument 549 CommonStatusMsgContext *ctx = (CommonStatusMsgContext *)SoftBusCalloc(sizeof(CommonStatusMsgContext)); BleServiceStartCallback() local 559 BleServiceStartMsgHandler(const CommonStatusMsgContext *ctx) BleServiceStartMsgHandler() argument 754 CommonStatusMsgContext *ctx = (CommonStatusMsgContext *)SoftBusCalloc(sizeof(CommonStatusMsgContext)); BleServiceStopCallback() local 765 BleServiceStopMsgHandler(CommonStatusMsgContext *ctx) BleServiceStopMsgHandler() argument 816 CommonStatusMsgContext *ctx = (CommonStatusMsgContext *)SoftBusCalloc(sizeof(CommonStatusMsgContext)); BleServiceDeleteCallback() local 827 BleServiceDeleteMsgHandler(const CommonStatusMsgContext *ctx) BleServiceDeleteMsgHandler() argument 1160 SoftBusMessage *ctx = (SoftBusMessage *)args; BleCompareGattServerLooperEventFunc() local [all...] |
/third_party/mbedtls/include/mbedtls/ |
H A D | cipher.h | 587 * \brief This function initializes a \p ctx as NONE. 589 * \param ctx The context to be initialized. This must not be \c NULL. 591 void mbedtls_cipher_init(mbedtls_cipher_context_t *ctx); 595 * context of \p ctx. Freeing \p ctx itself remains the 598 * \param ctx The context to be freed. If this is \c NULL, the 602 void mbedtls_cipher_free(mbedtls_cipher_context_t *ctx); 621 * \param ctx The context to prepare. This must be initialized by 631 int mbedtls_cipher_setup(mbedtls_cipher_context_t *ctx, 647 * \param ctx Th 678 mbedtls_cipher_get_block_size( const mbedtls_cipher_context_t *ctx) mbedtls_cipher_get_block_size() argument 697 mbedtls_cipher_get_cipher_mode( const mbedtls_cipher_context_t *ctx) mbedtls_cipher_get_cipher_mode() argument 717 mbedtls_cipher_get_iv_size( const mbedtls_cipher_context_t *ctx) mbedtls_cipher_get_iv_size() argument 740 mbedtls_cipher_get_type( const mbedtls_cipher_context_t *ctx) mbedtls_cipher_get_type() argument 759 mbedtls_cipher_get_name( const mbedtls_cipher_context_t *ctx) mbedtls_cipher_get_name() argument 778 mbedtls_cipher_get_key_bitlen( const mbedtls_cipher_context_t *ctx) mbedtls_cipher_get_key_bitlen() argument 797 mbedtls_cipher_get_operation( const mbedtls_cipher_context_t *ctx) mbedtls_cipher_get_operation() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_context.c | 42 crocus_set_debug_callback(struct pipe_context *ctx, in crocus_set_debug_callback() argument 45 struct crocus_context *ice = (struct crocus_context *)ctx; in crocus_set_debug_callback() 103 crocus_get_device_reset_status(struct pipe_context *ctx) in crocus_get_device_reset_status() argument 105 struct crocus_context *ice = (struct crocus_context *)ctx; in crocus_get_device_reset_status() 137 crocus_set_device_reset_callback(struct pipe_context *ctx, in crocus_set_device_reset_callback() argument 140 struct crocus_context *ice = (struct crocus_context *)ctx; in crocus_set_device_reset_callback() 149 crocus_get_sample_position(struct pipe_context *ctx, in crocus_get_sample_position() argument 187 crocus_destroy_context(struct pipe_context *ctx) in crocus_destroy_context() argument 189 struct crocus_context *ice = (struct crocus_context *)ctx; in crocus_destroy_context() 190 struct crocus_screen *screen = (struct crocus_screen *)ctx in crocus_destroy_context() 254 struct pipe_context *ctx = &ice->ctx; crocus_create_context() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_ccm_hw.c | 13 int ossl_ccm_generic_setiv(PROV_CCM_CTX *ctx, const unsigned char *nonce, in ossl_ccm_generic_setiv() argument 16 return CRYPTO_ccm128_setiv(&ctx->ccm_ctx, nonce, nlen, mlen) == 0; in ossl_ccm_generic_setiv() 19 int ossl_ccm_generic_setaad(PROV_CCM_CTX *ctx, const unsigned char *aad, in ossl_ccm_generic_setaad() argument 22 CRYPTO_ccm128_aad(&ctx->ccm_ctx, aad, alen); in ossl_ccm_generic_setaad() 26 int ossl_ccm_generic_gettag(PROV_CCM_CTX *ctx, unsigned char *tag, size_t tlen) in ossl_ccm_generic_gettag() argument 28 return CRYPTO_ccm128_tag(&ctx->ccm_ctx, tag, tlen) > 0; in ossl_ccm_generic_gettag() 31 int ossl_ccm_generic_auth_encrypt(PROV_CCM_CTX *ctx, const unsigned char *in, in ossl_ccm_generic_auth_encrypt() argument 37 if (ctx->str != NULL) in ossl_ccm_generic_auth_encrypt() 38 rv = CRYPTO_ccm128_encrypt_ccm64(&ctx->ccm_ctx, in, in ossl_ccm_generic_auth_encrypt() 39 out, len, ctx in ossl_ccm_generic_auth_encrypt() 48 ossl_ccm_generic_auth_decrypt(PROV_CCM_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len, unsigned char *expected_tag, size_t taglen) ossl_ccm_generic_auth_decrypt() argument [all...] |