/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeSampleVariablesTests.cpp | 45 void verifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) in verifyShader() argument 49 tcu::TestLog& log = ctx.getLog(); in verifyShader() 53 glu::Shader shader (ctx.getRenderContext(), shaderType); in verifyShader() 75 ctx.fail(message); in verifyShader() 79 std::string getVersionAndExtension (NegativeTestContext& ctx) in getVersionAndExtension() argument 81 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in getVersionAndExtension() 93 void checkSupported (NegativeTestContext& ctx) in checkSupported() argument 95 const bool isES32orGL45 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)) || in checkSupported() 96 contextSupports(ctx.getRenderContext().getType(), glu::ApiType::core(4, 5)); in checkSupported() 98 if (!isES32orGL45 && !ctx in checkSupported() 102 write_to_read_only_types(NegativeTestContext& ctx) write_to_read_only_types() argument 137 access_built_in_types_inside_other_shaders(NegativeTestContext& ctx) access_built_in_types_inside_other_shaders() argument 228 index_outside_sample_mask_range(NegativeTestContext& ctx) index_outside_sample_mask_range() argument 278 access_built_in_types_without_extension(NegativeTestContext& ctx) access_built_in_types_without_extension() argument 314 redeclare_built_in_types(NegativeTestContext& ctx) redeclare_built_in_types() argument [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | item.rs | 43 fn canonical_name(&self, ctx: &BindgenContext) -> String; in canonical_name() 64 ctx: &BindgenContext, in namespace_aware_canonical_path() 68 fn canonical_path(&self, ctx: &BindgenContext) -> Vec<String>; in canonical_path() 78 /// May only be called when `ctx` is in the codegen phase. 79 fn is_opaque(&self, ctx: &BindgenContext, extra: &Self::Extra) -> bool; in is_opaque() 85 fn has_type_param_in_array(&self, ctx: &BindgenContext) -> bool; in has_type_param_in_array() 91 fn has_float(&self, ctx: &BindgenContext) -> bool; in has_float() 98 fn ancestors<'a>(&self, ctx: &'a BindgenContext) -> ItemAncestorsIter<'a>; in ancestors() 123 ctx: &'a BindgenContext, 128 fn new<Id: Into<ItemId>>(ctx [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state_viewport.c | 154 struct si_context *ctx = (struct si_context *)pctx; in si_set_scissor_states() local 158 ctx->scissors[start_slot + i] = state[i]; in si_set_scissor_states() 160 if (!ctx->queued.named.rasterizer->scissor_enable) in si_set_scissor_states() 163 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_set_scissor_states() 169 static void si_get_scissor_from_viewport(struct si_context *ctx, in si_get_scissor_from_viewport() argument 200 static void si_clamp_scissor(struct si_context *ctx, struct pipe_scissor_state *out, in si_clamp_scissor() argument 226 static void si_emit_one_scissor(struct si_context *ctx, struct radeon_cmdbuf *cs, in si_emit_one_scissor() argument 232 if (ctx->vs_disables_clipping_viewport) { in si_emit_one_scissor() 236 si_clamp_scissor(ctx, in si_emit_one_scissor() 262 si_emit_guardband(struct si_context *ctx) si_emit_guardband() argument 399 si_emit_scissors(struct si_context *ctx) si_emit_scissors() argument 433 struct si_context *ctx = (struct si_context *)pctx; si_set_viewport_states() local 495 si_emit_one_viewport(struct si_context *ctx, struct pipe_viewport_state *state) si_emit_one_viewport() argument 509 si_emit_viewports(struct si_context *ctx) si_emit_viewports() argument 546 si_emit_depth_ranges(struct si_context *ctx) si_emit_depth_ranges() argument 579 si_emit_viewport_states(struct si_context *ctx) si_emit_viewport_states() argument 595 si_update_vs_viewport_state(struct si_context *ctx) si_update_vs_viewport_state() argument 682 si_set_window_rectangles(struct pipe_context *ctx, bool include, unsigned num_rectangles, const struct pipe_scissor_state *rects) si_set_window_rectangles() argument 697 si_init_viewport_functions(struct si_context *ctx) si_init_viewport_functions() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | formatquery.c | 44 _is_renderable(struct gl_context *ctx, GLenum internalformat) in _is_renderable() argument 55 _mesa_base_fbo_format(ctx, internalformat) == 0) in _is_renderable() 65 _legal_parameters(struct gl_context *ctx, GLenum target, GLenum internalformat, in _legal_parameters() argument 69 bool query2 = _mesa_has_ARB_internalformat_query2(ctx); in _legal_parameters() 93 _mesa_error(ctx, GL_INVALID_ENUM, in _legal_parameters() 110 !(_mesa_has_ARB_texture_multisample(ctx) || _mesa_is_gles31(ctx))) { in _legal_parameters() 111 _mesa_error(ctx, GL_INVALID_ENUM, in _legal_parameters() 120 _mesa_error(ctx, GL_INVALID_ENUM, in _legal_parameters() 138 if (!_mesa_has_ARB_texture_filter_minmax(ctx)) { in _legal_parameters() 416 _is_target_supported(struct gl_context *ctx, GLenum target) _is_target_supported() argument 483 _is_resource_supported(struct gl_context *ctx, GLenum target, GLenum internalformat, GLenum pname) _is_resource_supported() argument 570 _is_internalformat_supported(struct gl_context *ctx, GLenum target, GLenum internalformat) _is_internalformat_supported() argument 621 _legal_target_for_framebuffer_texture_layer(struct gl_context *ctx, GLenum target) _legal_target_for_framebuffer_texture_layer() argument 652 _mesa_query_internal_format_default(struct gl_context *ctx, GLenum target, GLenum internalFormat, GLenum pname, GLint *params) _mesa_query_internal_format_default() argument [all...] |
H A D | lines.c | 43 line_width(struct gl_context *ctx, GLfloat width, bool no_error) in line_width() argument 46 if (ctx->Line.Width == width) in line_width() 50 _mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" ); in line_width() 64 if (!no_error && ctx->API == API_OPENGL_CORE in line_width() 65 && ((ctx->Const.ContextFlags & GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT) in line_width() 68 _mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" ); in line_width() 72 FLUSH_VERTICES(ctx, 0, GL_LINE_BIT); in line_width() 73 ctx->NewDriverState |= ST_NEW_RASTERIZER; in line_width() 74 ctx->Line.Width = width; in line_width() 81 GET_CURRENT_CONTEXT(ctx); in _mesa_LineWidth_no_error() [all...] |
H A D | shared.c | 51 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared); 63 _mesa_alloc_shared_state(struct gl_context *ctx) in _mesa_alloc_shared_state() argument 80 ctx->Driver.NewProgram(ctx, MESA_SHADER_VERTEX, 0, true); in _mesa_alloc_shared_state() 82 ctx->Driver.NewProgram(ctx, MESA_SHADER_FRAGMENT, 0, true); in _mesa_alloc_shared_state() 85 shared->DefaultFragmentShader = _mesa_new_ati_fragment_shader(ctx, 0); in _mesa_alloc_shared_state() 121 shared->DefaultTex[i] = _mesa_new_texture_object(ctx, 0, targets[i]); in _mesa_alloc_shared_state() 156 struct gl_context *ctx = (struct gl_context *) userData; in delete_displaylist_cb() local 157 _mesa_delete_list(ctx, lis in delete_displaylist_cb() 168 struct gl_context *ctx = (struct gl_context *) userData; delete_bitmap_atlas_cb() local 180 struct gl_context *ctx = (struct gl_context *) userData; delete_texture_cb() local 192 struct gl_context *ctx = (struct gl_context *) userData; delete_program_cb() local 209 struct gl_context *ctx = (struct gl_context *) userData; delete_fragshader_cb() local 221 struct gl_context *ctx = (struct gl_context *) userData; delete_bufferobj_cb() local 235 struct gl_context *ctx = (struct gl_context *) userData; free_shader_program_data_cb() local 251 struct gl_context *ctx = (struct gl_context *) userData; delete_shader_cb() local 291 struct gl_context *ctx = (struct gl_context *) userData; delete_renderbuffer_cb() local 305 struct gl_context *ctx = (struct gl_context *) userData; delete_sampler_object_cb() local 317 struct gl_context *ctx = (struct gl_context *) userData; delete_memory_object_cb() local 328 struct gl_context *ctx = (struct gl_context *) userData; delete_semaphore_object_cb() local 345 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared) free_shared_state() argument 475 _mesa_reference_shared_state(struct gl_context *ctx, struct gl_shared_state **ptr, struct gl_shared_state *state) _mesa_reference_shared_state() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
H A D | scheduler.c | 397 static void ASSERTED verify_ready_list(sched_ctx *ctx) in verify_ready_list() argument 399 list_for_each_entry(gpir_node, node, &ctx->ready_list, list) { in verify_ready_list() 421 static void schedule_insert_ready_list(sched_ctx *ctx, in schedule_insert_ready_list() argument 450 struct list_head *insert_pos = &ctx->ready_list; in schedule_insert_ready_list() 451 list_for_each_entry(gpir_node, node, &ctx->ready_list, list) { in schedule_insert_ready_list() 462 ctx->ready_list_slots += gpir_get_slots_required(insert_node); in schedule_insert_ready_list() 524 static bool _try_place_node(sched_ctx *ctx, gpir_instr *instr, gpir_node *node) in _try_place_node() argument 570 if (ctx->instr->non_cplx_slot_difference || in _try_place_node() 571 ctx->instr->slot_difference) { in _try_place_node() 578 if (ctx in _try_place_node() 604 schedule_try_place_node(sched_ctx *ctx, gpir_node *node, bool speculative) schedule_try_place_node() argument 655 create_replacement(sched_ctx *ctx, gpir_node *node, gpir_op op) create_replacement() argument 685 create_move(sched_ctx *ctx, gpir_node *node) create_move() argument 692 create_postlog2(sched_ctx *ctx, gpir_node *node) create_postlog2() argument 722 _schedule_try_node(sched_ctx *ctx, gpir_node *node, bool speculative) _schedule_try_node() argument 779 schedule_undo_node(sched_ctx *ctx, gpir_node *node) schedule_undo_node() argument 796 schedule_try_node(sched_ctx *ctx, gpir_node *node, bool speculative) schedule_try_node() argument 824 get_available_regs(sched_ctx *ctx, gpir_node *node, int *min_index) get_available_regs() argument 884 get_killed_regs(sched_ctx *ctx, int min_index) get_killed_regs() argument 913 spill_node(sched_ctx *ctx, gpir_node *node, gpir_store_node *store) spill_node() argument 995 try_spill_node(sched_ctx *ctx, gpir_node *node) try_spill_node() argument 1074 try_spill_nodes(sched_ctx *ctx, gpir_node *orig_node) try_spill_nodes() argument 1126 gpir_get_curr_ready_list_slots(sched_ctx *ctx) gpir_get_curr_ready_list_slots() argument 1226 sched_find_max_nodes(sched_ctx *ctx) sched_find_max_nodes() argument 1251 verify_max_nodes(sched_ctx *ctx) verify_max_nodes() argument 1288 try_node(sched_ctx *ctx) try_node() argument 1343 place_move(sched_ctx *ctx, gpir_node *node) place_move() argument 1376 can_place_move(sched_ctx *ctx, gpir_node *node) can_place_move() argument 1390 sched_move(sched_ctx *ctx) sched_move() argument 1502 gpir_sched_instr_pass(sched_ctx *ctx) gpir_sched_instr_pass() argument 1513 schedule_print_pre_one_instr(sched_ctx *ctx) schedule_print_pre_one_instr() argument 1552 schedule_one_instr(sched_ctx *ctx) schedule_one_instr() argument 1583 sched_ctx ctx; schedule_block() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | rscc.c | 74 RsccContext *ctx = avctx->priv_data; in rscc_init() local 85 ctx->reference = av_frame_alloc(); in rscc_init() 86 if (!ctx->reference) in rscc_init() 94 ctx->component_size = 4; in rscc_init() 97 ctx->component_size = 3; in rscc_init() 101 ctx->component_size = 4; in rscc_init() 104 ctx->component_size = avctx->bits_per_coded_sample / 8; in rscc_init() 125 ctx->component_size = 4; in rscc_init() 130 ctx->inflated_size = avctx->width * avctx->height * ctx in rscc_init() 142 RsccContext *ctx = avctx->priv_data; rscc_close() local 154 RsccContext *ctx = avctx->priv_data; rscc_decode_frame() local [all...] |
H A D | webp_parser.c | 41 WebPParseContext *ctx = s->priv_data; in webp_parse() local 42 uint64_t state = ctx->pc.state64; in webp_parse() 50 if (ctx->pc.frame_start_found <= 8) { in webp_parse() 53 if (ctx->pc.frame_start_found == 0) { in webp_parse() 55 ctx->fsize = av_bswap32(state); in webp_parse() 56 if (ctx->fsize > 15 && ctx->fsize <= UINT32_MAX - 10) { in webp_parse() 57 ctx->pc.frame_start_found = 1; in webp_parse() 58 ctx->fsize += 8; in webp_parse() 61 } else if (ctx in webp_parse() [all...] |
/third_party/node/deps/openssl/openssl/engines/ |
H A D | e_loader_attic.c | 307 STACK_OF(OSSL_STORE_INFO) *ctx = *pctx; in try_decode_PKCS12() 309 if (ctx == NULL) { in try_decode_PKCS12() 349 if ((ctx = sk_OSSL_STORE_INFO_new_null()) != NULL) { in try_decode_PKCS12() 354 && sk_OSSL_STORE_INFO_push(ctx, osi_pkey) != 0) in try_decode_PKCS12() 363 && sk_OSSL_STORE_INFO_push(ctx, osi_cert) != 0) in try_decode_PKCS12() 373 && sk_OSSL_STORE_INFO_push(ctx, osi_ca) != 0) in try_decode_PKCS12() 386 sk_OSSL_STORE_INFO_pop_free(ctx, store_info_free); in try_decode_PKCS12() 387 ctx = NULL; in try_decode_PKCS12() 389 *pctx = ctx; in try_decode_PKCS12() 394 if (ctx in try_decode_PKCS12() 885 OPENSSL_DIR_CTX *ctx; global() member 912 OSSL_STORE_LOADER_CTX_free(OSSL_STORE_LOADER_CTX *ctx) OSSL_STORE_LOADER_CTX_free() argument 929 file_find_type(OSSL_STORE_LOADER_CTX *ctx) file_find_type() argument 951 OSSL_STORE_LOADER_CTX *ctx = NULL; file_open_ex() local 1083 OSSL_STORE_LOADER_CTX *ctx = NULL; file_attach() local 1105 file_ctrl(OSSL_STORE_LOADER_CTX *ctx, int cmd, va_list args) file_ctrl() argument 1135 file_expect(OSSL_STORE_LOADER_CTX *ctx, int expected) file_expect() argument 1141 file_find(OSSL_STORE_LOADER_CTX *ctx, const OSSL_STORE_SEARCH *search) file_find() argument 1172 file_load_try_decode(OSSL_STORE_LOADER_CTX *ctx, const char *pem_name, const char *pem_header, unsigned char *data, size_t len, const UI_METHOD *ui_method, void *ui_data, int *matchcount) file_load_try_decode() argument 1277 file_load_try_repeat(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) file_load_try_repeat() argument 1426 file_name_to_uri(OSSL_STORE_LOADER_CTX *ctx, const char *name, char **data) file_name_to_uri() argument 1449 file_name_check(OSSL_STORE_LOADER_CTX *ctx, const char *name) file_name_check() argument 1513 file_load(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) file_load() argument 1650 file_error(OSSL_STORE_LOADER_CTX *ctx) file_error() argument 1655 file_eof(OSSL_STORE_LOADER_CTX *ctx) file_eof() argument 1666 file_close(OSSL_STORE_LOADER_CTX *ctx) file_close() argument [all...] |
/third_party/openssl/engines/ |
H A D | e_loader_attic.c | 307 STACK_OF(OSSL_STORE_INFO) *ctx = *pctx; in try_decode_PKCS12() 309 if (ctx == NULL) { in try_decode_PKCS12() 349 if ((ctx = sk_OSSL_STORE_INFO_new_null()) != NULL) { in try_decode_PKCS12() 354 && sk_OSSL_STORE_INFO_push(ctx, osi_pkey) != 0) in try_decode_PKCS12() 363 && sk_OSSL_STORE_INFO_push(ctx, osi_cert) != 0) in try_decode_PKCS12() 373 && sk_OSSL_STORE_INFO_push(ctx, osi_ca) != 0) in try_decode_PKCS12() 386 sk_OSSL_STORE_INFO_pop_free(ctx, store_info_free); in try_decode_PKCS12() 387 ctx = NULL; in try_decode_PKCS12() 389 *pctx = ctx; in try_decode_PKCS12() 394 if (ctx in try_decode_PKCS12() 885 OPENSSL_DIR_CTX *ctx; global() member 912 OSSL_STORE_LOADER_CTX_free(OSSL_STORE_LOADER_CTX *ctx) OSSL_STORE_LOADER_CTX_free() argument 929 file_find_type(OSSL_STORE_LOADER_CTX *ctx) file_find_type() argument 951 OSSL_STORE_LOADER_CTX *ctx = NULL; file_open_ex() local 1083 OSSL_STORE_LOADER_CTX *ctx = NULL; file_attach() local 1105 file_ctrl(OSSL_STORE_LOADER_CTX *ctx, int cmd, va_list args) file_ctrl() argument 1135 file_expect(OSSL_STORE_LOADER_CTX *ctx, int expected) file_expect() argument 1141 file_find(OSSL_STORE_LOADER_CTX *ctx, const OSSL_STORE_SEARCH *search) file_find() argument 1172 file_load_try_decode(OSSL_STORE_LOADER_CTX *ctx, const char *pem_name, const char *pem_header, unsigned char *data, size_t len, const UI_METHOD *ui_method, void *ui_data, int *matchcount) file_load_try_decode() argument 1277 file_load_try_repeat(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) file_load_try_repeat() argument 1426 file_name_to_uri(OSSL_STORE_LOADER_CTX *ctx, const char *name, char **data) file_name_to_uri() argument 1449 file_name_check(OSSL_STORE_LOADER_CTX *ctx, const char *name) file_name_check() argument 1513 file_load(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) file_load() argument 1650 file_error(OSSL_STORE_LOADER_CTX *ctx) file_error() argument 1655 file_eof(OSSL_STORE_LOADER_CTX *ctx) file_eof() argument 1666 file_close(OSSL_STORE_LOADER_CTX *ctx) file_close() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ec2_smpl.c | 103 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_set_curve() 142 BIGNUM *a, BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_get_curve() 181 BN_CTX *ctx) in ossl_ec_GF2m_simple_group_check_discriminant() 188 if (ctx == NULL) { in ossl_ec_GF2m_simple_group_check_discriminant() 189 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_group_check_discriminant() 190 if (ctx == NULL) { in ossl_ec_GF2m_simple_group_check_discriminant() 196 BN_CTX_start(ctx); in ossl_ec_GF2m_simple_group_check_discriminant() 197 b = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_group_check_discriminant() 214 BN_CTX_end(ctx); in ossl_ec_GF2m_simple_group_check_discriminant() 292 BN_CTX *ctx) in ossl_ec_GF2m_simple_point_set_affine_coordinates() 101 ossl_ec_GF2m_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_group_set_curve() argument 141 ossl_ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_group_get_curve() argument 180 ossl_ec_GF2m_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) ossl_ec_GF2m_simple_group_check_discriminant() argument 288 ossl_ec_GF2m_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) ossl_ec_GF2m_simple_point_set_affine_coordinates() argument 320 ossl_ec_GF2m_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GF2m_simple_point_get_affine_coordinates() argument 356 ossl_ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GF2m_simple_add() argument 477 ossl_ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) ossl_ec_GF2m_simple_dbl() argument 483 ossl_ec_GF2m_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_invert() argument 508 ossl_ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_is_on_curve() argument 581 ossl_ec_GF2m_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GF2m_simple_cmp() argument 632 ossl_ec_GF2m_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_make_affine() argument 681 ossl_ec_GF2m_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) ossl_ec_GF2m_simple_points_make_affine() argument 695 ossl_ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_field_mul() argument 702 ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GF2m_simple_field_sqr() argument 709 ossl_ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_field_div() argument 722 ec_GF2m_simple_ladder_pre(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_pre() argument 775 ec_GF2m_simple_ladder_step(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_step() argument 805 ec_GF2m_simple_ladder_post(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_post() argument 868 ec_GF2m_simple_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ec_GF2m_simple_points_mul() argument 929 ec_GF2m_simple_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ec_GF2m_simple_field_inv() argument [all...] |
/third_party/openssl/crypto/ec/ |
H A D | ec2_smpl.c | 103 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_set_curve() 142 BIGNUM *a, BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_get_curve() 181 BN_CTX *ctx) in ossl_ec_GF2m_simple_group_check_discriminant() 188 if (ctx == NULL) { in ossl_ec_GF2m_simple_group_check_discriminant() 189 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_group_check_discriminant() 190 if (ctx == NULL) { in ossl_ec_GF2m_simple_group_check_discriminant() 196 BN_CTX_start(ctx); in ossl_ec_GF2m_simple_group_check_discriminant() 197 b = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_group_check_discriminant() 214 BN_CTX_end(ctx); in ossl_ec_GF2m_simple_group_check_discriminant() 292 BN_CTX *ctx) in ossl_ec_GF2m_simple_point_set_affine_coordinates() 101 ossl_ec_GF2m_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_group_set_curve() argument 141 ossl_ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_group_get_curve() argument 180 ossl_ec_GF2m_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) ossl_ec_GF2m_simple_group_check_discriminant() argument 288 ossl_ec_GF2m_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) ossl_ec_GF2m_simple_point_set_affine_coordinates() argument 320 ossl_ec_GF2m_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GF2m_simple_point_get_affine_coordinates() argument 356 ossl_ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GF2m_simple_add() argument 477 ossl_ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) ossl_ec_GF2m_simple_dbl() argument 483 ossl_ec_GF2m_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_invert() argument 508 ossl_ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_is_on_curve() argument 581 ossl_ec_GF2m_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GF2m_simple_cmp() argument 632 ossl_ec_GF2m_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GF2m_simple_make_affine() argument 681 ossl_ec_GF2m_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) ossl_ec_GF2m_simple_points_make_affine() argument 695 ossl_ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_field_mul() argument 702 ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GF2m_simple_field_sqr() argument 709 ossl_ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GF2m_simple_field_div() argument 722 ec_GF2m_simple_ladder_pre(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_pre() argument 775 ec_GF2m_simple_ladder_step(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_step() argument 805 ec_GF2m_simple_ladder_post(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ec_GF2m_simple_ladder_post() argument 868 ec_GF2m_simple_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ec_GF2m_simple_points_mul() argument 929 ec_GF2m_simple_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ec_GF2m_simple_field_inv() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_context.c | 64 struct panfrost_context *ctx = pan_context(pipe); in panfrost_clear() local 65 struct panfrost_batch *batch = panfrost_get_batch_for_fbo(ctx); in panfrost_clear() 67 if (!panfrost_render_condition_check(ctx)) in panfrost_clear() 77 panfrost_blitter_save(ctx, false /* render condition */); in panfrost_clear() 79 util_blitter_clear(ctx->blitter, in panfrost_clear() 80 ctx->pipe_framebuffer.width, in panfrost_clear() 81 ctx->pipe_framebuffer.height, in panfrost_clear() 82 util_framebuffer_get_num_layers(&ctx->pipe_framebuffer), in panfrost_clear() 84 util_framebuffer_get_num_samples(&ctx->pipe_framebuffer) > 1); in panfrost_clear() 88 panfrost_writes_point_size(struct panfrost_context *ctx) in panfrost_writes_point_size() argument 104 struct panfrost_context *ctx = pan_context(pipe); panfrost_flush() local 124 struct panfrost_context *ctx = pan_context(pipe); panfrost_texture_barrier() local 131 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_frontend_noop() local 146 struct panfrost_context *ctx = pan_context(pipe); panfrost_bind_blend_state() local 155 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_blend_color() local 167 struct panfrost_context *ctx = batch->ctx; panfrost_get_blend() local 232 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_rasterizer_state() local 249 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_shader_images() local 296 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_vertex_elements_state() local 327 struct panfrost_context *ctx = pan_context(pctx); panfrost_create_shader_state() local 377 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_sampler_states() local 386 panfrost_build_key(struct panfrost_context *ctx, struct panfrost_shader_key *key, nir_shader *nir) panfrost_build_key() argument 472 panfrost_new_variant_locked( struct panfrost_context *ctx, struct panfrost_shader_variants *variants, struct panfrost_shader_key *key) panfrost_new_variant_locked() argument 524 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_shader_state() local 535 panfrost_update_shader_variant(struct panfrost_context *ctx, enum pipe_shader_type type) panfrost_update_shader_variant() argument 586 struct panfrost_context *ctx = pan_context(pctx); panfrost_bind_vs_state() local 605 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_vertex_buffers() local 620 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_constant_buffer() local 641 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_stencil_ref() local 655 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_sampler_views() local 709 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_shader_buffers() local 721 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_framebuffer_state() local 739 struct panfrost_context *ctx = pan_context(pipe); panfrost_bind_depth_stencil_state() local 748 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_sample_mask() local 757 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_min_samples() local 775 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_viewport_states() local 790 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_scissor_states() local 810 struct panfrost_context *ctx = pan_context(pipe); panfrost_set_active_query_state() local 821 struct panfrost_context *ctx = pan_context(pipe); panfrost_render_condition() local 874 struct panfrost_context *ctx = pan_context(pipe); panfrost_begin_query() local 922 struct panfrost_context *ctx = pan_context(pipe); panfrost_end_query() local 950 struct panfrost_context *ctx = pan_context(pipe); panfrost_get_query_result() local 994 panfrost_render_condition_check(struct panfrost_context *ctx) panfrost_render_condition_check() argument 1051 struct panfrost_context *ctx = pan_context(pctx); panfrost_set_stream_output_targets() local 1073 struct panfrost_context *ctx = rzalloc(NULL, struct panfrost_context); panfrost_create_context() local [all...] |
H A D | pan_blit.c | 35 panfrost_blitter_save(struct panfrost_context *ctx, bool render_cond) in panfrost_blitter_save() argument 37 struct blitter_context *blitter = ctx->blitter; in panfrost_blitter_save() 39 util_blitter_save_vertex_buffer_slot(blitter, ctx->vertex_buffers); in panfrost_blitter_save() 40 util_blitter_save_vertex_elements(blitter, ctx->vertex); in panfrost_blitter_save() 41 util_blitter_save_vertex_shader(blitter, ctx->shader[PIPE_SHADER_VERTEX]); in panfrost_blitter_save() 42 util_blitter_save_rasterizer(blitter, ctx->rasterizer); in panfrost_blitter_save() 43 util_blitter_save_viewport(blitter, &ctx->pipe_viewport); in panfrost_blitter_save() 44 util_blitter_save_scissor(blitter, &ctx->scissor); in panfrost_blitter_save() 45 util_blitter_save_fragment_shader(blitter, ctx->shader[PIPE_SHADER_FRAGMENT]); in panfrost_blitter_save() 46 util_blitter_save_blend(blitter, ctx in panfrost_blitter_save() 74 struct panfrost_context *ctx = pan_context(pipe); panfrost_blit() local [all...] |
/third_party/libcoap/tests/ |
H A D | test_sendqueue.c | 17 static coap_context_t *ctx; /* Holds the coap context for most tests */ variable 44 int result = coap_insert_node(&ctx->sendqueue, node[1]); in t_sendqueue1() 47 CU_ASSERT_PTR_NOT_NULL(ctx->sendqueue); in t_sendqueue1() 48 CU_ASSERT_PTR_EQUAL(ctx->sendqueue, node[1]); in t_sendqueue1() 56 result = coap_insert_node(&ctx->sendqueue, node[2]); in t_sendqueue2() 59 CU_ASSERT_PTR_EQUAL(ctx->sendqueue, node[1]); in t_sendqueue2() 60 CU_ASSERT_PTR_EQUAL(ctx->sendqueue->next, node[2]); in t_sendqueue2() 62 CU_ASSERT(ctx->sendqueue->t == timestamp[1]); in t_sendqueue2() 70 result = coap_insert_node(&ctx->sendqueue, node[3]); in t_sendqueue3() 74 CU_ASSERT_PTR_EQUAL(ctx in t_sendqueue3() [all...] |
/third_party/node/deps/openssl/openssl/crypto/modes/ |
H A D | siv128.c | 89 __owur static ossl_inline int siv128_do_s2v_p(SIV128_CONTEXT *ctx, SIV_BLOCK *out, in siv128_do_s2v_p() argument 97 mac_ctx = EVP_MAC_CTX_dup(ctx->mac_ctx_init); in siv128_do_s2v_p() 105 siv128_xorblock(&t, &ctx->d); in siv128_do_s2v_p() 112 siv128_dbl(&ctx->d); in siv128_do_s2v_p() 113 siv128_xorblock(&t, &ctx->d); in siv128_do_s2v_p() 129 __owur static ossl_inline int siv128_do_encrypt(EVP_CIPHER_CTX *ctx, unsigned char *out, in siv128_do_encrypt() argument 135 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1)) in siv128_do_encrypt() 137 return EVP_EncryptUpdate(ctx, out, &out_len, in, out_len); in siv128_do_encrypt() 147 SIV128_CONTEXT *ctx; in ossl_siv128_new() local 150 if ((ctx in ossl_siv128_new() 163 ossl_siv128_init(SIV128_CONTEXT *ctx, const unsigned char *key, int klen, const EVP_CIPHER *cbc, const EVP_CIPHER *ctr, OSSL_LIB_CTX *libctx, const char *propq) ossl_siv128_init() argument 246 ossl_siv128_aad(SIV128_CONTEXT *ctx, const unsigned char *aad, size_t len) ossl_siv128_aad() argument 273 ossl_siv128_encrypt(SIV128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len) ossl_siv128_encrypt() argument 300 ossl_siv128_decrypt(SIV128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len) ossl_siv128_decrypt() argument 336 ossl_siv128_finish(SIV128_CONTEXT *ctx) ossl_siv128_finish() argument 344 ossl_siv128_set_tag(SIV128_CONTEXT *ctx, const unsigned char *tag, size_t len) ossl_siv128_set_tag() argument 357 ossl_siv128_get_tag(SIV128_CONTEXT *ctx, unsigned char *tag, size_t len) ossl_siv128_get_tag() argument 370 ossl_siv128_cleanup(SIV128_CONTEXT *ctx) ossl_siv128_cleanup() argument 387 ossl_siv128_speed(SIV128_CONTEXT *ctx, int arg) ossl_siv128_speed() argument [all...] |
/third_party/openssl/crypto/modes/ |
H A D | siv128.c | 89 __owur static ossl_inline int siv128_do_s2v_p(SIV128_CONTEXT *ctx, SIV_BLOCK *out, in siv128_do_s2v_p() argument 97 mac_ctx = EVP_MAC_CTX_dup(ctx->mac_ctx_init); in siv128_do_s2v_p() 105 siv128_xorblock(&t, &ctx->d); in siv128_do_s2v_p() 112 siv128_dbl(&ctx->d); in siv128_do_s2v_p() 113 siv128_xorblock(&t, &ctx->d); in siv128_do_s2v_p() 129 __owur static ossl_inline int siv128_do_encrypt(EVP_CIPHER_CTX *ctx, unsigned char *out, in siv128_do_encrypt() argument 135 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1)) in siv128_do_encrypt() 137 return EVP_EncryptUpdate(ctx, out, &out_len, in, out_len); in siv128_do_encrypt() 147 SIV128_CONTEXT *ctx; in ossl_siv128_new() local 150 if ((ctx in ossl_siv128_new() 163 ossl_siv128_init(SIV128_CONTEXT *ctx, const unsigned char *key, int klen, const EVP_CIPHER *cbc, const EVP_CIPHER *ctr, OSSL_LIB_CTX *libctx, const char *propq) ossl_siv128_init() argument 246 ossl_siv128_aad(SIV128_CONTEXT *ctx, const unsigned char *aad, size_t len) ossl_siv128_aad() argument 273 ossl_siv128_encrypt(SIV128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len) ossl_siv128_encrypt() argument 300 ossl_siv128_decrypt(SIV128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len) ossl_siv128_decrypt() argument 336 ossl_siv128_finish(SIV128_CONTEXT *ctx) ossl_siv128_finish() argument 344 ossl_siv128_set_tag(SIV128_CONTEXT *ctx, const unsigned char *tag, size_t len) ossl_siv128_set_tag() argument 357 ossl_siv128_get_tag(SIV128_CONTEXT *ctx, unsigned char *tag, size_t len) ossl_siv128_get_tag() argument 370 ossl_siv128_cleanup(SIV128_CONTEXT *ctx) ossl_siv128_cleanup() argument 387 ossl_siv128_speed(SIV128_CONTEXT *ctx, int arg) ossl_siv128_speed() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_nettle.c | 31 struct des_ctx ctx; in des_encrypt() local 44 nettle_des_set_key(&ctx, pkey); in des_encrypt() 45 nettle_des_encrypt(&ctx, DES_BLOCK_SIZE, cypher, clear); in des_encrypt() 46 os_memset(&ctx, 0, sizeof(ctx)); in des_encrypt() 54 void *ctx; in nettle_digest_vector() local 60 ctx = os_malloc(alg->context_size); in nettle_digest_vector() 61 if (!ctx) in nettle_digest_vector() 63 alg->init(ctx); in nettle_digest_vector() 65 alg->update(ctx, le in nettle_digest_vector() 111 struct hmac_md5_ctx ctx; hmac_md5_vector() local 136 struct hmac_sha1_ctx ctx; hmac_sha1_vector() local 163 struct hmac_sha256_ctx ctx; hmac_sha256_vector() local 192 struct hmac_sha384_ctx ctx; hmac_sha384_vector() local 221 struct hmac_sha512_ctx ctx; hmac_sha512_vector() local 247 struct aes_ctx *ctx; aes_encrypt_init() local 261 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) aes_encrypt() argument 269 aes_encrypt_deinit(void *ctx) aes_encrypt_deinit() argument 278 struct aes_ctx *ctx; aes_decrypt_init() local 292 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) aes_decrypt() argument 300 aes_decrypt_deinit(void *ctx) aes_decrypt_deinit() argument 415 struct crypto_cipher *ctx; crypto_cipher_init() local 436 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) crypto_cipher_encrypt() argument 451 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) crypto_cipher_decrypt() argument 466 crypto_cipher_deinit(struct crypto_cipher *ctx) crypto_cipher_deinit() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_nettle.c | 31 struct des_ctx ctx; in des_encrypt() local 44 nettle_des_set_key(&ctx, pkey); in des_encrypt() 45 nettle_des_encrypt(&ctx, DES_BLOCK_SIZE, cypher, clear); in des_encrypt() 46 os_memset(&ctx, 0, sizeof(ctx)); in des_encrypt() 54 void *ctx; in nettle_digest_vector() local 60 ctx = os_malloc(alg->context_size); in nettle_digest_vector() 61 if (!ctx) in nettle_digest_vector() 63 alg->init(ctx); in nettle_digest_vector() 65 alg->update(ctx, le in nettle_digest_vector() 111 struct hmac_md5_ctx ctx; hmac_md5_vector() local 136 struct hmac_sha1_ctx ctx; hmac_sha1_vector() local 163 struct hmac_sha256_ctx ctx; hmac_sha256_vector() local 192 struct hmac_sha384_ctx ctx; hmac_sha384_vector() local 221 struct hmac_sha512_ctx ctx; hmac_sha512_vector() local 247 struct aes_ctx *ctx; aes_encrypt_init() local 261 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) aes_encrypt() argument 269 aes_encrypt_deinit(void *ctx) aes_encrypt_deinit() argument 278 struct aes_ctx *ctx; aes_decrypt_init() local 292 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) aes_decrypt() argument 300 aes_decrypt_deinit(void *ctx) aes_decrypt_deinit() argument 415 struct crypto_cipher *ctx; crypto_cipher_init() local 436 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) crypto_cipher_encrypt() argument 451 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) crypto_cipher_decrypt() argument 466 crypto_cipher_deinit(struct crypto_cipher *ctx) crypto_cipher_deinit() argument [all...] |
/third_party/libwebsockets/lib/roles/http/compression/deflate/ |
H A D | deflate.c | 28 lcs_init_compression_deflate(lws_comp_ctx_t *ctx, int decomp) in lcs_init_compression_deflate() argument 32 ctx->is_decompression = !!decomp; in lcs_init_compression_deflate() 33 ctx->u.deflate = lws_malloc(sizeof(*ctx->u.deflate), __func__); in lcs_init_compression_deflate() 35 if (!ctx->u.deflate) in lcs_init_compression_deflate() 38 memset(ctx->u.deflate, 0, sizeof(*ctx->u.deflate)); in lcs_init_compression_deflate() 41 (n = deflateInit2(ctx->u.deflate, 1, Z_DEFLATED, -15, 8, in lcs_init_compression_deflate() 44 lws_free_set_NULL(ctx->u.deflate); in lcs_init_compression_deflate() 50 inflateInit2(ctx in lcs_init_compression_deflate() 59 lcs_process_deflate(lws_comp_ctx_t *ctx, const void *in, size_t *ilen_iused, void *out, size_t *olen_oused) lcs_process_deflate() argument 95 lcs_destroy_deflate(lws_comp_ctx_t *ctx) lcs_destroy_deflate() argument [all...] |
/third_party/libwebsockets/lib/cose/ |
H A D | cose_key.c | 305 cb_cose_key(struct lecp_ctx *ctx, char reason) in cb_cose_key() argument 308 (struct lws_cose_key_parse_state *)ctx->user; in cb_cose_key() 316 ctx->path, ctx->st[ctx->sp - 1].ordinal, in cb_cose_key() 317 ctx->pst[ctx->pst_sp].ppos); in cb_cose_key() 326 if (cps->pkey_set && ctx->pst[ctx->pst_sp].ppos == 2) { in cb_cose_key() 341 if (cps->pkey_set && ctx in cb_cose_key() 830 struct lws_genrsa_ctx ctx; lws_cose_key_generate() local 866 struct lws_genec_ctx ctx; lws_cose_key_generate() local 912 struct lecp_ctx ctx; lws_cose_key_import() local 978 lws_cose_key_export(lws_cose_key_t *ck, lws_lec_pctx_t *ctx, int flags) lws_cose_key_export() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri_context.c | 54 struct dri_context *ctx = NULL; in dri_create_context() local 147 ctx = CALLOC_STRUCT(dri_context); in dri_create_context() 148 if (ctx == NULL) { in dri_create_context() 153 cPriv->driverPrivate = ctx; in dri_create_context() 154 ctx->cPriv = cPriv; in dri_create_context() 155 ctx->sPriv = sPriv; in dri_create_context() 169 ctx->st = stapi->create_context(stapi, &screen->base, &attribs, &ctx_err, in dri_create_context() 171 if (ctx->st == NULL) { in dri_create_context() 197 ctx->st->st_manager_private = (void *) ctx; in dri_create_context() 239 struct dri_context *ctx = dri_context(cPriv); dri_destroy_context() local 264 struct dri_context *ctx = dri_context(cPriv); dri_unbind_context() local 290 struct dri_context *ctx = dri_context(cPriv); dri_make_current() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | cipher.h | 382 * \param ctx The context to be initialized. This must not be \c NULL. 384 void mbedtls_cipher_init( mbedtls_cipher_context_t *ctx ); 388 * context of \p ctx. Freeing \p ctx itself remains the 391 * \param ctx The context to be freed. If this is \c NULL, the 395 void mbedtls_cipher_free( mbedtls_cipher_context_t *ctx ); 403 * \param ctx The context to initialize. This must be initialized. 416 int mbedtls_cipher_setup( mbedtls_cipher_context_t *ctx, 422 * \param ctx The context of the cipher. This must be initialized. 425 * \return \c 0 if \p ctx ha [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | act.c | 67 ACTContext* ctx = s->priv_data; in read_header() local 107 ctx->bytes_left_in_chunk=CHUNK_SIZE; in read_header() 118 ACTContext *ctx = s->priv_data; in read_packet() local 132 if(s->streams[0]->codecpar->sample_rate==4400 && !ctx->second_packet) in read_packet() 134 ret = ffio_read_size(pb, ctx->audio_buffer, frame_size); in read_packet() 139 pkt->data[0]=ctx->audio_buffer[11]; in read_packet() 140 pkt->data[1]=ctx->audio_buffer[0]; in read_packet() 141 pkt->data[2]=ctx->audio_buffer[12]; in read_packet() 142 pkt->data[3]=ctx->audio_buffer[1]; in read_packet() 143 pkt->data[4]=ctx in read_packet() [all...] |