/third_party/ffmpeg/libavfilter/ |
H A D | avf_concat.c | 74 static int query_formats(AVFilterContext *ctx) in query_formats() argument 76 ConcatContext *cat = ctx->priv; in query_formats() 89 if ((ret = ff_formats_ref(formats, &ctx->outputs[idx]->incfg.formats)) < 0) in query_formats() 94 if ((ret = ff_formats_ref(rates, &ctx->outputs[idx]->incfg.samplerates)) < 0) in query_formats() 97 if ((ret = ff_channel_layouts_ref(layouts, &ctx->outputs[idx]->incfg.channel_layouts)) < 0) in query_formats() 103 if ((ret = ff_formats_ref(formats, &ctx->inputs[idx]->outcfg.formats)) < 0) in query_formats() 106 if ((ret = ff_formats_ref(rates, &ctx->inputs[idx]->outcfg.samplerates)) < 0 || in query_formats() 107 (ret = ff_channel_layouts_ref(layouts, &ctx->inputs[idx]->outcfg.channel_layouts)) < 0) in query_formats() 110 idx += ctx->nb_outputs; in query_formats() 121 AVFilterContext *ctx in config_output() local 173 push_frame(AVFilterContext *ctx, unsigned in_no, AVFrame *buf) push_frame() argument 200 AVFilterContext *ctx = inlink->dst; get_video_buffer() local 209 AVFilterContext *ctx = inlink->dst; get_audio_buffer() local 216 close_input(AVFilterContext *ctx, unsigned in_no) close_input() argument 226 find_next_delta_ts(AVFilterContext *ctx, int64_t *seg_delta) find_next_delta_ts() argument 240 send_silence(AVFilterContext *ctx, unsigned in_no, unsigned out_no, int64_t seg_delta) send_silence() argument 277 flush_segment(AVFilterContext *ctx) flush_segment() argument 304 init(AVFilterContext *ctx) init() argument 347 uninit(AVFilterContext *ctx) uninit() argument 354 activate(AVFilterContext *ctx) activate() argument 434 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument [all...] |
H A D | vaapi_vpp.c | 46 VAAPIVPPContext *ctx = avctx->priv; in ff_vaapi_vpp_pipeline_uninit() local 48 for (i = 0; i < ctx->nb_filter_buffers; i++) { in ff_vaapi_vpp_pipeline_uninit() 49 if (ctx->filter_buffers[i] != VA_INVALID_ID) { in ff_vaapi_vpp_pipeline_uninit() 50 vaDestroyBuffer(ctx->hwctx->display, ctx->filter_buffers[i]); in ff_vaapi_vpp_pipeline_uninit() 51 ctx->filter_buffers[i] = VA_INVALID_ID; in ff_vaapi_vpp_pipeline_uninit() 54 ctx->nb_filter_buffers = 0; in ff_vaapi_vpp_pipeline_uninit() 56 if (ctx->va_context != VA_INVALID_ID) { in ff_vaapi_vpp_pipeline_uninit() 57 vaDestroyContext(ctx->hwctx->display, ctx in ff_vaapi_vpp_pipeline_uninit() 73 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_config_input() local 98 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_config_output() local 425 VAAPIVPPContext *ctx = avctx->priv; vaapi_vpp_colour_properties() local 520 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_init_params() local 571 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_make_param_buffers() local 596 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_render_picture() local 669 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_ctx_init() local 682 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_ctx_uninit() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_des3.c | 54 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 57 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 62 # define data(ctx) EVP_C_DATA(DES_EDE_KEY,ctx) 69 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_ede_ecb_cipher() argument 75 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ecb_cipher() 76 &data(ctx)->ks3, EVP_CIPHER_CTX_is_encrypting(ctx)); in des_ede_ecb_cipher() 80 static int des_ede_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigne argument 107 des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede_cbc_cipher() argument 135 des_ede_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede_cfb64_cipher() argument 164 des_ede3_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_cfb1_cipher() argument 185 des_ede3_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_cfb8_cipher() argument 224 des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) des_ede_init_key() argument 251 des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) des_ede3_init_key() argument 278 des3_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) des3_ctrl() argument 317 des_ede3_unwrap(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_unwrap() argument 361 des_ede3_wrap(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_wrap() argument 386 des_ede3_wrap_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_wrap_cipher() argument [all...] |
/third_party/openssl/crypto/evp/ |
H A D | e_des3.c | 54 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 57 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 62 # define data(ctx) EVP_C_DATA(DES_EDE_KEY,ctx) 69 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_ede_ecb_cipher() argument 75 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ecb_cipher() 76 &data(ctx)->ks3, EVP_CIPHER_CTX_is_encrypting(ctx)); in des_ede_ecb_cipher() 80 static int des_ede_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigne argument 107 des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede_cbc_cipher() argument 135 des_ede_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede_cfb64_cipher() argument 164 des_ede3_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_cfb1_cipher() argument 185 des_ede3_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_cfb8_cipher() argument 224 des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) des_ede_init_key() argument 251 des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) des_ede3_init_key() argument 278 des3_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) des3_ctrl() argument 317 des_ede3_unwrap(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_unwrap() argument 361 des_ede3_wrap(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_wrap() argument 386 des_ede3_wrap_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_wrap_cipher() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkRasterPipeline.cpp | 27 void SkRasterPipeline::append(StockStage stage, void* ctx) { in append() argument 38 this->unchecked_append(stage, ctx); in append() 40 void SkRasterPipeline::unchecked_append(StockStage stage, void* ctx) { in unchecked_append() argument 41 fStages = fAlloc->make<StageList>( StageList{fStages, stage, ctx} ); in unchecked_append() 43 fSlotsNeeded += ctx ? 2 : 1; in unchecked_append() 45 void SkRasterPipeline::append(StockStage stage, uintptr_t ctx) { in append() argument 47 memcpy(&ptrCtx, &ctx, sizeof(ctx)); in append() 117 auto ctx = alloc->make<SkRasterPipeline_UniformColorCtx>(); in append_constant_color() local 119 color.store(&ctx in append_constant_color() 170 append_load(SkColorType ct, const SkRasterPipeline_MemoryCtx* ctx) append_load() argument 221 append_load_dst(SkColorType ct, const SkRasterPipeline_MemoryCtx* ctx) append_load_dst() argument 275 append_store(SkColorType ct, const SkRasterPipeline_MemoryCtx* ctx) append_store() argument 327 void* ctx = const_cast<void*>(static_cast<const void*>(&tf)); append_transfer_function() local [all...] |
/kernel/linux/linux-5.10/arch/riscv/net/ |
H A D | bpf_jit_core.c | 16 static int build_body(struct rv_jit_context *ctx, bool extra_pass, int *offset) in build_body() argument 18 const struct bpf_prog *prog = ctx->prog; in build_body() 25 ret = bpf_jit_emit_insn(insn, ctx, extra_pass); in build_body() 30 offset[i] = ctx->ninsns; in build_body() 48 struct rv_jit_context *ctx; in bpf_int_jit_compile() local 72 ctx = &jit_data->ctx; in bpf_int_jit_compile() 74 if (ctx->offset) { in bpf_int_jit_compile() 76 image_size = sizeof(*ctx->insns) * ctx in bpf_int_jit_compile() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | bind4_prog.c | 24 static __inline int bind_to_device(struct bpf_sock_addr *ctx) in bind_to_device() argument 32 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_device() 35 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device() 38 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_device() 41 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device() 45 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_device() 48 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, in bind_to_device() 51 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_device() 58 static __inline int bind_reuseport(struct bpf_sock_addr *ctx) in bind_reuseport() argument 62 if (bpf_setsockopt(ctx, SOL_SOCKE in bind_reuseport() 79 misc_opts(struct bpf_sock_addr *ctx, int opt) misc_opts() argument 99 bind_v4_prog(struct bpf_sock_addr *ctx) bind_v4_prog() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
H A D | hw_ops.c | 24 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read() argument 26 struct spu *spu = ctx->spu; in spu_hw_mbox_read() 41 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read() argument 43 return in_be32(&ctx->spu->problem->mb_stat_R); in spu_hw_mbox_stat_read() 46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) in spu_hw_mbox_stat_poll() argument 48 struct spu *spu = ctx->spu; in spu_hw_mbox_stat_poll() 82 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read() argument 84 struct spu *spu = ctx->spu; in spu_hw_ibox_read() 103 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write() argument 105 struct spu *spu = ctx in spu_hw_wbox_write() 124 spu_hw_signal1_write(struct spu_context *ctx, u32 data) spu_hw_signal1_write() argument 129 spu_hw_signal2_write(struct spu_context *ctx, u32 data) spu_hw_signal2_write() argument 134 spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) spu_hw_signal1_type_set() argument 150 spu_hw_signal1_type_get(struct spu_context *ctx) spu_hw_signal1_type_get() argument 155 spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) spu_hw_signal2_type_set() argument 171 spu_hw_signal2_type_get(struct spu_context *ctx) spu_hw_signal2_type_get() argument 176 spu_hw_npc_read(struct spu_context *ctx) spu_hw_npc_read() argument 181 spu_hw_npc_write(struct spu_context *ctx, u32 val) spu_hw_npc_write() argument 186 spu_hw_status_read(struct spu_context *ctx) spu_hw_status_read() argument 191 spu_hw_get_ls(struct spu_context *ctx) spu_hw_get_ls() argument 196 spu_hw_privcntl_write(struct spu_context *ctx, u64 val) spu_hw_privcntl_write() argument 201 spu_hw_runcntl_read(struct spu_context *ctx) spu_hw_runcntl_read() argument 206 spu_hw_runcntl_write(struct spu_context *ctx, u32 val) spu_hw_runcntl_write() argument 216 spu_hw_runcntl_stop(struct spu_context *ctx) spu_hw_runcntl_stop() argument 225 spu_hw_master_start(struct spu_context *ctx) spu_hw_master_start() argument 236 spu_hw_master_stop(struct spu_context *ctx) spu_hw_master_stop() argument 247 spu_hw_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode) spu_hw_set_mfc_query() argument 264 spu_hw_read_mfc_tagstatus(struct spu_context * ctx) spu_hw_read_mfc_tagstatus() argument 269 spu_hw_get_mfc_free_elements(struct spu_context *ctx) spu_hw_get_mfc_free_elements() argument 274 spu_hw_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command *cmd) spu_hw_send_mfc_command() argument 300 spu_hw_restart_dma(struct spu_context *ctx) spu_hw_restart_dma() argument [all...] |
H A D | spufs.h | 37 /* ctx->sched_flags */ 118 /* updates protected by ctx->state_mutex */ 128 unsigned long long slb_flt_base; /* # at last ctx switch */ 130 unsigned long long class2_intr_base; /* # at last ctx switch */ 173 int (*mbox_read) (struct spu_context * ctx, u32 * data); 174 u32(*mbox_stat_read) (struct spu_context * ctx); 175 __poll_t (*mbox_stat_poll)(struct spu_context *ctx, __poll_t events); 176 int (*ibox_read) (struct spu_context * ctx, u32 * data); 177 int (*wbox_write) (struct spu_context * ctx, u32 data); 178 u32(*signal1_read) (struct spu_context * ctx); 259 spu_acquire(struct spu_context *ctx) spu_acquire() argument 264 spu_release(struct spu_context *ctx) spu_release() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | hw_ops.c | 24 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read() argument 26 struct spu *spu = ctx->spu; in spu_hw_mbox_read() 41 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read() argument 43 return in_be32(&ctx->spu->problem->mb_stat_R); in spu_hw_mbox_stat_read() 46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) in spu_hw_mbox_stat_poll() argument 48 struct spu *spu = ctx->spu; in spu_hw_mbox_stat_poll() 82 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read() argument 84 struct spu *spu = ctx->spu; in spu_hw_ibox_read() 103 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write() argument 105 struct spu *spu = ctx in spu_hw_wbox_write() 124 spu_hw_signal1_write(struct spu_context *ctx, u32 data) spu_hw_signal1_write() argument 129 spu_hw_signal2_write(struct spu_context *ctx, u32 data) spu_hw_signal2_write() argument 134 spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) spu_hw_signal1_type_set() argument 150 spu_hw_signal1_type_get(struct spu_context *ctx) spu_hw_signal1_type_get() argument 155 spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) spu_hw_signal2_type_set() argument 171 spu_hw_signal2_type_get(struct spu_context *ctx) spu_hw_signal2_type_get() argument 176 spu_hw_npc_read(struct spu_context *ctx) spu_hw_npc_read() argument 181 spu_hw_npc_write(struct spu_context *ctx, u32 val) spu_hw_npc_write() argument 186 spu_hw_status_read(struct spu_context *ctx) spu_hw_status_read() argument 191 spu_hw_get_ls(struct spu_context *ctx) spu_hw_get_ls() argument 196 spu_hw_privcntl_write(struct spu_context *ctx, u64 val) spu_hw_privcntl_write() argument 201 spu_hw_runcntl_read(struct spu_context *ctx) spu_hw_runcntl_read() argument 206 spu_hw_runcntl_write(struct spu_context *ctx, u32 val) spu_hw_runcntl_write() argument 216 spu_hw_runcntl_stop(struct spu_context *ctx) spu_hw_runcntl_stop() argument 225 spu_hw_master_start(struct spu_context *ctx) spu_hw_master_start() argument 236 spu_hw_master_stop(struct spu_context *ctx) spu_hw_master_stop() argument 247 spu_hw_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode) spu_hw_set_mfc_query() argument 264 spu_hw_read_mfc_tagstatus(struct spu_context * ctx) spu_hw_read_mfc_tagstatus() argument 269 spu_hw_get_mfc_free_elements(struct spu_context *ctx) spu_hw_get_mfc_free_elements() argument 274 spu_hw_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command *cmd) spu_hw_send_mfc_command() argument 300 spu_hw_restart_dma(struct spu_context *ctx) spu_hw_restart_dma() argument [all...] |
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_save_draw.c | 45 copy_vao(struct gl_context *ctx, const struct gl_vertex_array_object *vao, in copy_vao() argument 49 struct vbo_context *vbo = vbo_context(ctx); in copy_vao() 79 ctx->NewState |= _NEW_FF_VERT_PROGRAM; in copy_vao() 81 ctx->NewState |= state; in copy_vao() 82 ctx->PopAttribState |= pop_state; in copy_vao() 98 playback_copy_to_current(struct gl_context *ctx, in playback_copy_to_current() argument 108 copy_vao(ctx, node->cold->VAO[VP_MODE_SHADER], ~VERT_BIT_POS & VERT_BIT_ALL, in playback_copy_to_current() 111 copy_vao(ctx, node->cold->VAO[VP_MODE_FF], VERT_BIT_MAT_ALL, in playback_copy_to_current() 115 if (color0_changed && ctx->Light.ColorMaterialEnabled) { in playback_copy_to_current() 116 _mesa_update_color_material(ctx, ct in playback_copy_to_current() 136 bind_vertex_list(struct gl_context *ctx, const struct vbo_save_vertex_list *node) bind_vertex_list() argument 145 loopback_vertex_list(struct gl_context *ctx, const struct vbo_save_vertex_list *list) loopback_vertex_list() argument 161 vbo_save_playback_vertex_list_loopback(struct gl_context *ctx, void *data) vbo_save_playback_vertex_list_loopback() argument 188 vbo_save_playback_vertex_list_gallium(struct gl_context *ctx, const struct vbo_save_vertex_list *node, bool copy_to_current) vbo_save_playback_vertex_list_gallium() argument 299 vbo_save_playback_vertex_list(struct gl_context *ctx, void *data, bool copy_to_current) vbo_save_playback_vertex_list() argument [all...] |
H A D | vbo_context.c | 56 init_array(struct gl_context *ctx, struct gl_array_attributes *attrib, in init_array() argument 72 init_legacy_currval(struct gl_context *ctx) in init_legacy_currval() argument 74 struct vbo_context *vbo = vbo_context(ctx); in init_legacy_currval() 85 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]), in init_legacy_currval() 86 ctx->Current.Attrib[attr]); in init_legacy_currval() 92 init_generic_currval(struct gl_context *ctx) in init_generic_currval() argument 94 struct vbo_context *vbo = vbo_context(ctx); in init_generic_currval() 101 init_array(ctx, attrib, 1, ctx in init_generic_currval() 107 init_mat_currval(struct gl_context *ctx) init_mat_currval() argument 143 vbo_exec_update_eval_maps(struct gl_context *ctx) vbo_exec_update_eval_maps() argument 152 _vbo_CreateContext(struct gl_context *ctx) _vbo_CreateContext() argument 185 _vbo_DestroyContext(struct gl_context *ctx) _vbo_DestroyContext() argument 199 _vbo_current_attrib(const struct gl_context *ctx, gl_vert_attrib attr) _vbo_current_attrib() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | samplerobj.c | 57 _mesa_lookup_samplerobj(struct gl_context *ctx, GLuint name) in _mesa_lookup_samplerobj() argument 63 _mesa_HashLookup(ctx->Shared->SamplerObjects, name); in _mesa_lookup_samplerobj() 67 lookup_samplerobj_locked(struct gl_context *ctx, GLuint name) in lookup_samplerobj_locked() argument 70 _mesa_HashLookupLocked(ctx->Shared->SamplerObjects, name); in lookup_samplerobj_locked() 74 delete_sampler_object(struct gl_context *ctx, in delete_sampler_object() argument 77 _mesa_delete_sampler_handles(ctx, sampObj); in delete_sampler_object() 86 _mesa_reference_sampler_object_(struct gl_context *ctx, in _mesa_reference_sampler_object_() argument 99 delete_sampler_object(ctx, oldSamp); in _mesa_reference_sampler_object_() 161 _mesa_new_sampler_object(struct gl_context *ctx, GLuint name) in _mesa_new_sampler_object() argument 171 create_samplers(struct gl_context *ctx, GLsize argument 202 create_samplers_err(struct gl_context *ctx, GLsizei count, GLuint *samplers, const char *caller) create_samplers_err() argument 247 delete_samplers(struct gl_context *ctx, GLsizei count, const GLuint *samplers) delete_samplers() argument 313 _mesa_bind_sampler(struct gl_context *ctx, GLuint unit, struct gl_sampler_object *sampObj) _mesa_bind_sampler() argument 325 bind_sampler(struct gl_context *ctx, GLuint unit, GLuint sampler, bool no_error) bind_sampler() argument 369 bind_samplers(struct gl_context *ctx, GLuint first, GLsizei count, const GLuint *samplers, bool no_error) bind_samplers() argument 491 validate_texture_wrap_mode(struct gl_context *ctx, GLenum wrap) validate_texture_wrap_mode() argument 526 flush(struct gl_context *ctx) flush() argument 536 set_sampler_wrap_s(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) set_sampler_wrap_s() argument 554 set_sampler_wrap_t(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) set_sampler_wrap_t() argument 572 set_sampler_wrap_r(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) set_sampler_wrap_r() argument 589 set_sampler_min_filter(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) set_sampler_min_filter() argument 615 set_sampler_mag_filter(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) set_sampler_mag_filter() argument 636 set_sampler_lod_bias(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) set_sampler_lod_bias() argument 650 set_sampler_border_colorf(struct gl_context *ctx, struct gl_sampler_object *samp, const GLfloat params[4]) set_sampler_border_colorf() argument 662 set_sampler_border_colori(struct gl_context *ctx, struct gl_sampler_object *samp, const GLint params[4]) set_sampler_border_colori() argument 674 set_sampler_border_colorui(struct gl_context *ctx, struct gl_sampler_object *samp, const GLuint params[4]) set_sampler_border_colorui() argument 686 set_sampler_min_lod(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) set_sampler_min_lod() argument 701 set_sampler_max_lod(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) set_sampler_max_lod() argument 715 set_sampler_compare_mode(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) set_sampler_compare_mode() argument 740 set_sampler_compare_func(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) set_sampler_compare_func() argument 773 set_sampler_max_anisotropy(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) set_sampler_max_anisotropy() argument 796 set_sampler_cube_map_seamless(struct gl_context *ctx, struct gl_sampler_object *samp, GLboolean param) set_sampler_cube_map_seamless() argument 816 set_sampler_srgb_decode(struct gl_context *ctx, struct gl_sampler_object *samp, GLenum param) set_sampler_srgb_decode() argument 845 set_sampler_reduction_mode(struct gl_context *ctx, struct gl_sampler_object *samp, GLenum param) set_sampler_reduction_mode() argument 865 sampler_parameter_error_check(struct gl_context *ctx, GLuint sampler, bool get, const char *name) sampler_parameter_error_check() argument [all...] |
H A D | dlist.c | 61 _mesa_glthread_should_execute_list(struct gl_context *ctx, 67 * \param ctx GL context. 72 #define SAVE_FLUSH_VERTICES(ctx) \ 74 if (ctx->Driver.SaveNeedFlush) \ 75 vbo_save_SaveFlushVertices(ctx); \ 83 * \param ctx GL context. 86 #define ASSERT_OUTSIDE_SAVE_BEGIN_END_WITH_RETVAL(ctx, retval) \ 88 if (ctx->Driver.CurrentSavePrimitive <= PRIM_MAX) { \ 89 _mesa_compile_error( ctx, GL_INVALID_OPERATION, "glBegin/End" ); \ 98 * \param ctx G 740 vbo_destroy_vertex_list(struct gl_context *ctx, struct vbo_save_vertex_list *node) vbo_destroy_vertex_list() argument 766 vbo_print_vertex_list(struct gl_context *ctx, struct vbo_save_vertex_list *node, OpCode op, FILE *f) vbo_print_vertex_list() argument 797 get_list_head(struct gl_context *ctx, struct gl_display_list *dlist) get_list_head() argument 809 is_bitmap_list(struct gl_context *ctx, struct gl_display_list *dlist) is_bitmap_list() argument 825 is_empty_list(struct gl_context *ctx, struct gl_display_list *dlist) is_empty_list() argument 836 _mesa_delete_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas) _mesa_delete_bitmap_atlas() argument 850 lookup_bitmap_atlas(struct gl_context *ctx, GLuint listBase) lookup_bitmap_atlas() argument 864 alloc_bitmap_atlas(struct gl_context *ctx, GLuint listBase, bool isGenName) alloc_bitmap_atlas() argument 889 build_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas, GLuint listBase) build_bitmap_atlas() argument 1089 _mesa_lookup_list(struct gl_context *ctx, GLuint list, bool locked) _mesa_lookup_list() argument 1101 _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist) _mesa_delete_list() argument 1387 destroy_list(struct gl_context *ctx, GLuint list) destroy_list() argument 1422 unpack_image(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *unpack) unpack_image() argument 1500 dlist_alloc(struct gl_context *ctx, OpCode opcode, GLuint bytes, bool align8) dlist_alloc() argument 1547 _mesa_dlist_alloc_vertex_list(struct gl_context *ctx, bool copy_to_current) _mesa_dlist_alloc_vertex_list() argument 1573 alloc_instruction(struct gl_context *ctx, OpCode opcode, GLuint nparams) alloc_instruction() argument 1940 invalidate_saved_current_state(struct gl_context *ctx) invalidate_saved_current_state() argument 6115 save_Attr32bit(struct gl_context *ctx, unsigned attr, unsigned size, GLenum type, uint32_t x, uint32_t y, uint32_t z, uint32_t w) save_Attr32bit() argument 6186 save_Attr64bit(struct gl_context *ctx, unsigned attr, unsigned size, GLenum type, uint64_t x, uint64_t y, uint64_t z, uint64_t w) save_Attr64bit() argument 6237 is_vertex_position(const struct gl_context *ctx, GLuint index) is_vertex_position() argument 11071 save_error(struct gl_context *ctx, GLenum error, const char *s) save_error() argument 11090 _mesa_compile_error(struct gl_context *ctx, GLenum error, const char *s) _mesa_compile_error() argument 11103 _mesa_get_list(struct gl_context *ctx, GLuint list, struct gl_display_list **dlist, bool locked) _mesa_get_list() argument 11131 execute_list(struct gl_context *ctx, GLuint list) execute_list() argument 13527 replace_op_vertex_list_recursively(struct gl_context *ctx, struct gl_display_list *dlist) replace_op_vertex_list_recursively() argument 13783 render_bitmap_atlas(struct gl_context *ctx, GLsizei n, GLenum type, const void *lists) render_bitmap_atlas() argument 13984 _mesa_initialize_save_table(const struct gl_context *ctx) _mesa_initialize_save_table() argument 14013 print_list(struct gl_context *ctx, GLuint list, const char *fname) print_list() argument 14313 _mesa_glthread_execute_list(struct gl_context *ctx, GLuint list) _mesa_glthread_execute_list() argument 14394 _mesa_glthread_should_execute_list(struct gl_context *ctx, struct gl_display_list *dlist) _mesa_glthread_should_execute_list() argument 14456 _mesa_init_display_list(struct gl_context *ctx) _mesa_init_display_list() argument 14472 _mesa_install_save_vtxfmt(struct gl_context *ctx) _mesa_install_save_vtxfmt() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ecp_smpl.c | 143 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GFp_simple_group_set_curve() 155 if (ctx == NULL) { in ossl_ec_GFp_simple_group_set_curve() 156 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_set_curve() 157 if (ctx == NULL) in ossl_ec_GFp_simple_group_set_curve() 161 BN_CTX_start(ctx); in ossl_ec_GFp_simple_group_set_curve() 162 tmp_a = BN_CTX_get(ctx); in ossl_ec_GFp_simple_group_set_curve() 172 if (!BN_nnmod(tmp_a, a, p, ctx)) in ossl_ec_GFp_simple_group_set_curve() 175 if (!group->meth->field_encode(group, group->a, tmp_a, ctx)) in ossl_ec_GFp_simple_group_set_curve() 181 if (!BN_nnmod(group->b, b, p, ctx)) in ossl_ec_GFp_simple_group_set_curve() 184 if (!group->meth->field_encode(group, group->b, group->b, ctx)) in ossl_ec_GFp_simple_group_set_curve() 141 ossl_ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_group_set_curve() argument 200 ossl_ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_group_get_curve() argument 250 ossl_ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) ossl_ec_GFp_simple_group_check_discriminant() argument 375 ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() argument 435 ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp() argument 484 ossl_ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_simple_point_set_affine_coordinates() argument 501 ossl_ec_GFp_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_simple_point_get_affine_coordinates() argument 613 ossl_ec_GFp_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GFp_simple_add() argument 798 ossl_ec_GFp_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) ossl_ec_GFp_simple_dbl() argument 940 ossl_ec_GFp_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_invert() argument 956 ossl_ec_GFp_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_is_on_curve() argument 1059 ossl_ec_GFp_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GFp_simple_cmp() argument 1167 ossl_ec_GFp_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_make_affine() argument 1206 ossl_ec_GFp_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) ossl_ec_GFp_simple_points_make_affine() argument 1365 ossl_ec_GFp_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_field_mul() argument 1371 ossl_ec_GFp_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GFp_simple_field_sqr() argument 1383 ossl_ec_GFp_simple_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GFp_simple_field_inv() argument 1430 ossl_ec_GFp_simple_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_blind_coordinates() argument 1493 ossl_ec_GFp_simple_ladder_pre(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_pre() argument 1563 ossl_ec_GFp_simple_ladder_step(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_step() argument 1651 ossl_ec_GFp_simple_ladder_post(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_post() argument [all...] |
/third_party/openssl/crypto/ec/ |
H A D | ecp_smpl.c | 143 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GFp_simple_group_set_curve() 155 if (ctx == NULL) { in ossl_ec_GFp_simple_group_set_curve() 156 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_set_curve() 157 if (ctx == NULL) in ossl_ec_GFp_simple_group_set_curve() 161 BN_CTX_start(ctx); in ossl_ec_GFp_simple_group_set_curve() 162 tmp_a = BN_CTX_get(ctx); in ossl_ec_GFp_simple_group_set_curve() 172 if (!BN_nnmod(tmp_a, a, p, ctx)) in ossl_ec_GFp_simple_group_set_curve() 175 if (!group->meth->field_encode(group, group->a, tmp_a, ctx)) in ossl_ec_GFp_simple_group_set_curve() 181 if (!BN_nnmod(group->b, b, p, ctx)) in ossl_ec_GFp_simple_group_set_curve() 184 if (!group->meth->field_encode(group, group->b, group->b, ctx)) in ossl_ec_GFp_simple_group_set_curve() 141 ossl_ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_group_set_curve() argument 200 ossl_ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_group_get_curve() argument 250 ossl_ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) ossl_ec_GFp_simple_group_check_discriminant() argument 375 ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() argument 435 ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp() argument 484 ossl_ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_simple_point_set_affine_coordinates() argument 501 ossl_ec_GFp_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_simple_point_get_affine_coordinates() argument 613 ossl_ec_GFp_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GFp_simple_add() argument 798 ossl_ec_GFp_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) ossl_ec_GFp_simple_dbl() argument 940 ossl_ec_GFp_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_invert() argument 956 ossl_ec_GFp_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_is_on_curve() argument 1059 ossl_ec_GFp_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GFp_simple_cmp() argument 1167 ossl_ec_GFp_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_make_affine() argument 1206 ossl_ec_GFp_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) ossl_ec_GFp_simple_points_make_affine() argument 1365 ossl_ec_GFp_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_field_mul() argument 1371 ossl_ec_GFp_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GFp_simple_field_sqr() argument 1383 ossl_ec_GFp_simple_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GFp_simple_field_inv() argument 1430 ossl_ec_GFp_simple_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_blind_coordinates() argument 1493 ossl_ec_GFp_simple_ladder_pre(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_pre() argument 1563 ossl_ec_GFp_simple_ladder_step(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_step() argument 1651 ossl_ec_GFp_simple_ladder_post(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_post() argument [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_spill.c | 145 add_base_reg(struct ra_spill_ctx *ctx, struct ir3 *ir) in add_base_reg() argument 164 ctx->base_reg = mov->dsts[0]; in add_base_reg() 170 ctx->limit_pressure.full -= reg_size(ctx->base_reg); in add_base_reg() 211 compute_block_next_distance(struct ra_spill_ctx *ctx, struct ir3_block *block, in compute_block_next_distance() argument 214 struct ra_spill_block_state *state = &ctx->blocks[block->index]; in compute_block_next_distance() 216 ctx->live->definitions_count * sizeof(*tmp_next_use)); in compute_block_next_distance() 252 ctx->live->definitions_count * sizeof(*tmp_next_use)); in compute_block_next_distance() 257 struct ra_spill_block_state *pred_state = &ctx->blocks[pred->index]; in compute_block_next_distance() 267 for (unsigned j = 0; j < ctx in compute_block_next_distance() 297 compute_next_distance(struct ra_spill_ctx *ctx, struct ir3 *ir) compute_next_distance() argument 406 ir3_reg_ctx_to_ctx(struct ir3_reg_ctx *ctx) ir3_reg_ctx_to_ctx() argument 448 struct ra_spill_ctx *ctx = ir3_reg_ctx_to_ctx(_ctx); interval_add() local 475 struct ra_spill_ctx *ctx = ir3_reg_ctx_to_ctx(_ctx); interval_delete() local 504 spill_ctx_init(struct ra_spill_ctx *ctx, struct ir3_shader_variant *v, struct ir3_liveness *live) spill_ctx_init() argument 527 ra_spill_ctx_insert(struct ra_spill_ctx *ctx, struct ra_spill_interval *interval) ra_spill_ctx_insert() argument 534 ra_spill_ctx_remove(struct ra_spill_ctx *ctx, struct ra_spill_interval *interval) ra_spill_ctx_remove() argument 541 init_dst(struct ra_spill_ctx *ctx, struct ir3_register *dst) init_dst() argument 558 insert_dst(struct ra_spill_ctx *ctx, struct ir3_register *dst) insert_dst() argument 587 insert_src(struct ra_spill_ctx *ctx, struct ir3_register *src) insert_src() argument 602 remove_src_early(struct ra_spill_ctx *ctx, struct ir3_instruction *instr, struct ir3_register *src) remove_src_early() argument 615 remove_src(struct ra_spill_ctx *ctx, struct ir3_instruction *instr, struct ir3_register *src) remove_src() argument 627 finish_dst(struct ra_spill_ctx *ctx, struct ir3_register *dst) finish_dst() argument 634 remove_dst(struct ra_spill_ctx *ctx, struct ir3_register *dst) remove_dst() argument 645 update_src_next_use(struct ra_spill_ctx *ctx, struct ir3_register *src) update_src_next_use() argument 671 get_spill_slot(struct ra_spill_ctx *ctx, struct ir3_register *reg) get_spill_slot() argument 725 spill(struct ra_spill_ctx *ctx, const struct reg_or_immed *val, unsigned spill_slot, struct ir3_instruction *instr, struct ir3_block *block) spill() argument 769 spill_interval(struct ra_spill_ctx *ctx, struct ra_spill_interval *interval, struct ir3_instruction *instr, struct ir3_block *block) spill_interval() argument 781 limit(struct ra_spill_ctx *ctx, struct ir3_instruction *instr) limit() argument 899 reload(struct ra_spill_ctx *ctx, struct ir3_register *reg, struct ir3_instruction *after, struct ir3_block *block) reload() argument 947 rewrite_src_interval(struct ra_spill_ctx *ctx, struct ra_spill_interval *interval, struct ir3_register *def, struct ir3_instruction *instr, struct ir3_block *block) rewrite_src_interval() argument 969 reload_def(struct ra_spill_ctx *ctx, struct ir3_register *def, struct ir3_instruction *instr, struct ir3_block *block) reload_def() argument 999 reload_src(struct ra_spill_ctx *ctx, struct ir3_instruction *instr, struct ir3_register *src) reload_src() argument 1012 rewrite_src(struct ra_spill_ctx *ctx, struct ir3_instruction *instr, struct ir3_register *src) rewrite_src() argument 1021 update_max_pressure(struct ra_spill_ctx *ctx) update_max_pressure() argument 1037 handle_instr(struct ra_spill_ctx *ctx, struct ir3_instruction *instr) handle_instr() argument 1114 create_temp_interval(struct ra_spill_ctx *ctx, struct ir3_register *def) create_temp_interval() argument 1194 handle_pcopy(struct ra_spill_ctx *ctx, struct ir3_instruction *pcopy) handle_pcopy() argument 1293 handle_input_phi(struct ra_spill_ctx *ctx, struct ir3_instruction *instr) handle_input_phi() argument 1301 remove_input_phi(struct ra_spill_ctx *ctx, struct ir3_instruction *instr) remove_input_phi() argument 1312 handle_live_in(struct ra_spill_ctx *ctx, struct ir3_block *block, struct ir3_register *def) handle_live_in() argument 1332 is_live_in_pred(struct ra_spill_ctx *ctx, struct ir3_register *def, struct ir3_block *block, unsigned pred_idx) is_live_in_pred() argument 1357 read_live_in(struct ra_spill_ctx *ctx, struct ir3_register *def, struct ir3_block *block, unsigned pred_idx) read_live_in() argument 1377 is_live_in_all_preds(struct ra_spill_ctx *ctx, struct ir3_register *def, struct ir3_block *block) is_live_in_all_preds() argument 1389 spill_live_in(struct ra_spill_ctx *ctx, struct ir3_register *def, struct ir3_block *block) spill_live_in() argument 1407 spill_live_ins(struct ra_spill_ctx *ctx, struct ir3_block *block) spill_live_ins() argument 1458 live_in_rewrite(struct ra_spill_ctx *ctx, struct ra_spill_interval *interval, struct reg_or_immed *new_val, struct ir3_block *block, unsigned pred_idx) live_in_rewrite() argument 1489 reload_live_in(struct ra_spill_ctx *ctx, struct ir3_register *def, struct ir3_block *block) reload_live_in() argument 1517 reload_live_ins(struct ra_spill_ctx *ctx, struct ir3_block *block) reload_live_ins() argument 1526 add_live_in_phi(struct ra_spill_ctx *ctx, struct ir3_register *def, struct ir3_block *block) add_live_in_phi() argument 1606 spill_single_pred_live_in(struct ra_spill_ctx *ctx, struct ir3_block *block) spill_single_pred_live_in() argument 1623 rewrite_phi(struct ra_spill_ctx *ctx, struct ir3_instruction *phi, struct ir3_block *block) rewrite_phi() argument 1651 spill_live_out(struct ra_spill_ctx *ctx, struct ra_spill_interval *interval, struct ir3_block *block) spill_live_out() argument 1663 spill_live_outs(struct ra_spill_ctx *ctx, struct ir3_block *block) spill_live_outs() argument 1675 reload_live_out(struct ra_spill_ctx *ctx, struct ir3_register *def, struct ir3_block *block) reload_live_out() argument 1685 reload_live_outs(struct ra_spill_ctx *ctx, struct ir3_block *block) reload_live_outs() argument 1698 update_live_out_phis(struct ra_spill_ctx *ctx, struct ir3_block *block) update_live_out_phis() argument 1720 record_pred_live_out(struct ra_spill_ctx *ctx, struct ra_spill_interval *interval, struct ir3_block *block, unsigned pred_idx) record_pred_live_out() argument 1740 record_pred_live_outs(struct ra_spill_ctx *ctx, struct ir3_block *block) record_pred_live_outs() argument 1760 record_live_out(struct ra_spill_ctx *ctx, struct ra_spill_block_state *state, struct ra_spill_interval *interval) record_live_out() argument 1777 record_live_outs(struct ra_spill_ctx *ctx, struct ir3_block *block) record_live_outs() argument 1789 handle_block(struct ra_spill_ctx *ctx, struct ir3_block *block) handle_block() argument 2065 struct ra_spill_ctx *ctx = rzalloc(NULL, struct ra_spill_ctx); ir3_calc_pressure() local 2086 struct ra_spill_ctx *ctx = rzalloc(mem_ctx, struct ra_spill_ctx); ir3_spill() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | connect_force_port6.c | 28 int connect6(struct bpf_sock_addr *ctx) in connect6() argument 38 if (bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa)) != 0) in connect6() 42 if (ctx->user_port == bpf_htons(60000)) { in connect6() 43 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect6() 48 orig->addr[0] = ctx->user_ip6[0]; in connect6() 49 orig->addr[1] = ctx->user_ip6[1]; in connect6() 50 orig->addr[2] = ctx->user_ip6[2]; in connect6() 51 orig->addr[3] = ctx->user_ip6[3]; in connect6() 52 orig->port = ctx->user_port; in connect6() 54 ctx in connect6() 64 getsockname6(struct bpf_sock_addr *ctx) getsockname6() argument 78 getpeername6(struct bpf_sock_addr *ctx) getpeername6() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | atom.c | 63 struct atom_context *ctx; member 73 static int amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t *params); 74 int amdgpu_atom_execute_table(struct atom_context *ctx, int index, uint32_t *params); 109 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() argument 120 temp = ctx->card->reg_read(ctx->card, CU16(base + 1)); in atom_iio_execute() 124 ctx->card->reg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute() 164 ((ctx-> in atom_iio_execute() 181 static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_ argument 366 atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) atom_skip_src_int() argument 402 atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) atom_get_src() argument 407 atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) atom_get_src_direct() argument 433 atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr, uint32_t *saved, int print) atom_get_dst() argument 442 atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) atom_skip_dst() argument 449 atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr, uint32_t val, uint32_t saved) atom_put_dst() argument 585 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) atom_op_add() argument 599 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) atom_op_and() argument 613 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) atom_op_beep() argument 618 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) atom_op_calltable() argument 634 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) atom_op_clear() argument 646 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) atom_op_compare() argument 660 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) atom_op_delay() argument 672 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) atom_op_div() argument 689 atom_op_div32(atom_exec_context *ctx, int *ptr, int arg) atom_op_div32() argument 710 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) atom_op_eot() argument 715 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) atom_op_jump() argument 769 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) atom_op_mask() argument 786 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) atom_op_move() argument 803 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) atom_op_mul() argument 814 atom_op_mul32(atom_exec_context *ctx, int *ptr, int arg) atom_op_mul32() argument 828 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) atom_op_nop() argument 833 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) atom_op_or() argument 847 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) atom_op_postcard() argument 853 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) atom_op_repeat() argument 858 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) atom_op_restorereg() argument 863 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) atom_op_savereg() argument 868 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) atom_op_setdatablock() argument 882 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) atom_op_setfbbase() argument 889 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) atom_op_setport() argument 916 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) atom_op_setregblock() argument 923 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) atom_op_shift_left() argument 939 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) atom_op_shift_right() argument 955 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) atom_op_shl() argument 974 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) atom_op_shr() argument 993 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) atom_op_sub() argument 1007 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) atom_op_switch() argument 1034 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) atom_op_test() argument 1046 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) atom_op_xor() argument 1060 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) atom_op_debug() argument 1066 atom_op_processds(atom_exec_context *ctx, int *ptr, int arg) atom_op_processds() argument 1207 amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t *params) amdgpu_atom_execute_table_locked() argument 1268 amdgpu_atom_execute_table(struct atom_context *ctx, int index, uint32_t *params) amdgpu_atom_execute_table() argument 1291 atom_index_iio(struct atom_context *ctx, int base) atom_index_iio() argument 1305 atom_get_vbios_name(struct atom_context *ctx) atom_get_vbios_name() argument 1353 atom_get_vbios_date(struct atom_context *ctx) atom_get_vbios_date() argument 1381 atom_find_str_in_rom(struct atom_context *ctx, char *str, int start, int end, int maxlen) atom_find_str_in_rom() argument 1404 atom_get_vbios_pn(struct atom_context *ctx) atom_get_vbios_pn() argument 1445 atom_get_vbios_version(struct atom_context *ctx) atom_get_vbios_version() argument 1463 struct atom_context *ctx = amdgpu_atom_parse() local 1524 amdgpu_atom_asic_init(struct atom_context *ctx) amdgpu_atom_asic_init() argument 1548 amdgpu_atom_destroy(struct atom_context *ctx) amdgpu_atom_destroy() argument 1554 amdgpu_atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, uint8_t *frev, uint8_t *crev, uint16_t *data_start) amdgpu_atom_parse_data_header() argument 1575 amdgpu_atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t *frev, uint8_t *crev) amdgpu_atom_parse_cmd_header() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-sitronix-st7789v.c | 145 static int st7789v_spi_write(struct st7789v *ctx, enum st7789v_prefix prefix, in st7789v_spi_write() argument 154 return spi_sync_transfer(ctx->spi, &xfer, 1); in st7789v_spi_write() 157 static int st7789v_write_command(struct st7789v *ctx, u8 cmd) in st7789v_write_command() argument 159 return st7789v_spi_write(ctx, ST7789V_COMMAND, cmd); in st7789v_write_command() 162 static int st7789v_write_data(struct st7789v *ctx, u8 cmd) in st7789v_write_data() argument 164 return st7789v_spi_write(ctx, ST7789V_DATA, cmd); in st7789v_write_data() 167 static int st7789v_read_data(struct st7789v *ctx, u8 cmd, u8 *buf, in st7789v_read_data() argument 196 ret = spi_sync(ctx->spi, &msg); in st7789v_read_data() 212 struct st7789v *ctx = panel_to_st7789v(panel); in st7789v_check_id() local 217 if (ctx in st7789v_check_id() 335 struct st7789v *ctx = panel_to_st7789v(panel); st7789v_get_modes() local 369 struct st7789v *ctx = panel_to_st7789v(p); st7789v_get_orientation() local 376 struct st7789v *ctx = panel_to_st7789v(panel); st7789v_prepare() local 573 struct st7789v *ctx = panel_to_st7789v(panel); st7789v_enable() local 580 struct st7789v *ctx = panel_to_st7789v(panel); st7789v_disable() local 590 struct st7789v *ctx = panel_to_st7789v(panel); st7789v_unprepare() local 612 struct st7789v *ctx; st7789v_probe() local 655 struct st7789v *ctx = spi_get_drvdata(spi); st7789v_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_validation.h | 122 * @ctx: The validation context 126 vmw_validation_has_bos(struct vmw_validation_context *ctx) in vmw_validation_has_bos() argument 128 return !list_empty(&ctx->bo_list); in vmw_validation_has_bos() 134 * @ctx: The validation context 140 vmw_validation_set_val_mem(struct vmw_validation_context *ctx, in vmw_validation_set_val_mem() argument 143 ctx->vm = vm; in vmw_validation_set_val_mem() 148 * @ctx: The validation context 153 static inline void vmw_validation_set_ht(struct vmw_validation_context *ctx, in vmw_validation_set_ht() argument 156 ctx->ht = ht; in vmw_validation_set_ht() 162 * @ctx 169 vmw_validation_bo_reserve(struct vmw_validation_context *ctx, bool intr) vmw_validation_bo_reserve() argument 185 vmw_validation_bo_fence(struct vmw_validation_context *ctx, struct vmw_fence_obj *fence) vmw_validation_bo_fence() argument 200 vmw_validation_context_init(struct vmw_validation_context *ctx) vmw_validation_context_init() argument [all...] |
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | engine_loader.c | 46 OSSL_STORE_LOADER_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_STORE_LOADER_CTX_new() local 48 if (ctx != NULL) { in OSSL_STORE_LOADER_CTX_new() 49 ctx->e = e; in OSSL_STORE_LOADER_CTX_new() 50 ctx->keyid = keyid; in OSSL_STORE_LOADER_CTX_new() 52 return ctx; in OSSL_STORE_LOADER_CTX_new() 55 static void OSSL_STORE_LOADER_CTX_free(OSSL_STORE_LOADER_CTX *ctx) in OSSL_STORE_LOADER_CTX_free() argument 57 if (ctx != NULL) { in OSSL_STORE_LOADER_CTX_free() 58 ENGINE_free(ctx->e); in OSSL_STORE_LOADER_CTX_free() 59 OPENSSL_free(ctx in OSSL_STORE_LOADER_CTX_free() 72 OSSL_STORE_LOADER_CTX *ctx = NULL; engine_open() local 105 engine_expect(OSSL_STORE_LOADER_CTX *ctx, int expected) engine_expect() argument 116 engine_load(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) engine_load() argument 151 engine_eof(OSSL_STORE_LOADER_CTX *ctx) engine_eof() argument 156 engine_error(OSSL_STORE_LOADER_CTX *ctx) engine_error() argument 161 engine_close(OSSL_STORE_LOADER_CTX *ctx) engine_close() argument [all...] |
/third_party/openssl/apps/lib/ |
H A D | engine_loader.c | 46 OSSL_STORE_LOADER_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_STORE_LOADER_CTX_new() local 48 if (ctx != NULL) { in OSSL_STORE_LOADER_CTX_new() 49 ctx->e = e; in OSSL_STORE_LOADER_CTX_new() 50 ctx->keyid = keyid; in OSSL_STORE_LOADER_CTX_new() 52 return ctx; in OSSL_STORE_LOADER_CTX_new() 55 static void OSSL_STORE_LOADER_CTX_free(OSSL_STORE_LOADER_CTX *ctx) in OSSL_STORE_LOADER_CTX_free() argument 57 if (ctx != NULL) { in OSSL_STORE_LOADER_CTX_free() 58 ENGINE_free(ctx->e); in OSSL_STORE_LOADER_CTX_free() 59 OPENSSL_free(ctx in OSSL_STORE_LOADER_CTX_free() 72 OSSL_STORE_LOADER_CTX *ctx = NULL; engine_open() local 105 engine_expect(OSSL_STORE_LOADER_CTX *ctx, int expected) engine_expect() argument 116 engine_load(OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data) engine_load() argument 151 engine_eof(OSSL_STORE_LOADER_CTX *ctx) engine_eof() argument 156 engine_error(OSSL_STORE_LOADER_CTX *ctx) engine_error() argument 161 engine_close(OSSL_STORE_LOADER_CTX *ctx) engine_close() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_h264_req_multi_if.c | 135 * @ctx: point to mtk_vcodec_dec_ctx 155 struct mtk_vcodec_dec_ctx *ctx; member 183 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_DECODE_PARAMS); in vdec_h264_slice_fill_decode_parameters() 188 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SCALING_MATRIX); in vdec_h264_slice_fill_decode_parameters() 192 sps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SPS); in vdec_h264_slice_fill_decode_parameters() 196 pps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_PPS); in vdec_h264_slice_fill_decode_parameters() 201 mtk_vdec_err(inst->ctx, "No support for H.264 field decoding."); in vdec_h264_slice_fill_decode_parameters() 232 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_DECODE_PARAMS); in get_vdec_sig_decode_parameters() 236 sps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SPS); in get_vdec_sig_decode_parameters() 240 pps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_PP in get_vdec_sig_decode_parameters() 346 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; vdec_h264_slice_get_pic_info() local 395 vdec_h264_slice_init(struct mtk_vcodec_dec_ctx *ctx) vdec_h264_slice_init() argument 459 struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx; vdec_h264_slice_core_decode() local [all...] |
/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_llvm_build.h | 147 void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler *compiler, 153 void ac_llvm_context_dispose(struct ac_llvm_context *ctx); 157 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type); 163 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t); 164 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v); 165 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v); 166 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ctx, LLVMTypeRef t); 167 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v); 169 LLVMValueRef ac_build_intrinsic(struct ac_llvm_context *ctx, const char *name, 175 LLVMValueRef ac_build_phi(struct ac_llvm_context *ctx, LLVMTypeRe 578 ac_get_arg(struct ac_llvm_context *ctx, struct ac_arg arg) ac_get_arg() argument [all...] |