Home
last modified time | relevance | path

Searched refs:st (Results 1 - 25 of 1753) sorted by relevance

12345678910>>...71

/third_party/pulseaudio/speex/libspeexdsp/
H A Dresample.c333 static int resampler_basic_direct_single(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) in resampler_basic_direct_single() argument
335 const int N = st->filt_len; in resampler_basic_direct_single()
337 int last_sample = st->last_sample[channel_index]; in resampler_basic_direct_single()
338 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_direct_single()
339 const spx_word16_t *sinc_table = st->sinc_table; in resampler_basic_direct_single()
340 const int out_stride = st->out_stride; in resampler_basic_direct_single()
341 const int int_advance = st->int_advance; in resampler_basic_direct_single()
342 const int frac_advance = st->frac_advance; in resampler_basic_direct_single()
343 const spx_uint32_t den_rate = st->den_rate; in resampler_basic_direct_single()
383 st in resampler_basic_direct_single()
391 resampler_basic_direct_double(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) resampler_basic_direct_double() argument
440 resampler_basic_interpolate_single(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) resampler_basic_interpolate_single() argument
503 resampler_basic_interpolate_double(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) resampler_basic_interpolate_double() argument
567 resampler_basic_zero(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) resampler_basic_zero() argument
607 update_filter(SpeexResamplerState *st) update_filter() argument
803 SpeexResamplerState *st; speex_resampler_init_frac() local
870 speex_resampler_destroy(SpeexResamplerState *st) speex_resampler_destroy() argument
880 speex_resampler_process_native(SpeexResamplerState *st, spx_uint32_t channel_index, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) speex_resampler_process_native() argument
906 speex_resampler_magic(SpeexResamplerState *st, spx_uint32_t channel_index, spx_word16_t **out, spx_uint32_t out_len) speex_resampler_magic() argument
927 speex_resampler_process_int(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_int16_t *in, spx_uint32_t *in_len, spx_int16_t *out, spx_uint32_t *out_len) speex_resampler_process_int() argument
968 speex_resampler_process_float(SpeexResamplerState *st, spx_uint32_t channel_index, const float *in, spx_uint32_t *in_len, float *out, spx_uint32_t *out_len) speex_resampler_process_float() argument
1040 speex_resampler_process_interleaved_float(SpeexResamplerState *st, const float *in, spx_uint32_t *in_len, float *out, spx_uint32_t *out_len) speex_resampler_process_interleaved_float() argument
1063 speex_resampler_process_interleaved_int(SpeexResamplerState *st, const spx_int16_t *in, spx_uint32_t *in_len, spx_int16_t *out, spx_uint32_t *out_len) speex_resampler_process_interleaved_int() argument
1086 speex_resampler_set_rate(SpeexResamplerState *st, spx_uint32_t in_rate, spx_uint32_t out_rate) speex_resampler_set_rate() argument
1091 speex_resampler_get_rate(SpeexResamplerState *st, spx_uint32_t *in_rate, spx_uint32_t *out_rate) speex_resampler_get_rate() argument
1109 speex_resampler_set_rate_frac(SpeexResamplerState *st, spx_uint32_t ratio_num, spx_uint32_t ratio_den, spx_uint32_t in_rate, spx_uint32_t out_rate) speex_resampler_set_rate_frac() argument
1149 speex_resampler_get_ratio(SpeexResamplerState *st, spx_uint32_t *ratio_num, spx_uint32_t *ratio_den) speex_resampler_get_ratio() argument
1155 speex_resampler_set_quality(SpeexResamplerState *st, int quality) speex_resampler_set_quality() argument
1167 speex_resampler_get_quality(SpeexResamplerState *st, int *quality) speex_resampler_get_quality() argument
1172 speex_resampler_set_input_stride(SpeexResamplerState *st, spx_uint32_t stride) speex_resampler_set_input_stride() argument
1177 speex_resampler_get_input_stride(SpeexResamplerState *st, spx_uint32_t *stride) speex_resampler_get_input_stride() argument
1182 speex_resampler_set_output_stride(SpeexResamplerState *st, spx_uint32_t stride) speex_resampler_set_output_stride() argument
1187 speex_resampler_get_output_stride(SpeexResamplerState *st, spx_uint32_t *stride) speex_resampler_get_output_stride() argument
1192 speex_resampler_get_input_latency(SpeexResamplerState *st) speex_resampler_get_input_latency() argument
1197 speex_resampler_get_output_latency(SpeexResamplerState *st) speex_resampler_get_output_latency() argument
1202 speex_resampler_skip_zeros(SpeexResamplerState *st) speex_resampler_skip_zeros() argument
1210 speex_resampler_reset_mem(SpeexResamplerState *st) speex_resampler_reset_mem() argument
[all...]
H A Dbuffer.c53 SpeexBuffer *st = speex_alloc(sizeof(SpeexBuffer)); in speex_buffer_init() local
54 st->data = speex_alloc(size); in speex_buffer_init()
55 st->size = size; in speex_buffer_init()
56 st->read_ptr = 0; in speex_buffer_init()
57 st->write_ptr = 0; in speex_buffer_init()
58 st->available = 0; in speex_buffer_init()
59 return st; in speex_buffer_init()
62 EXPORT void speex_buffer_destroy(SpeexBuffer *st) in speex_buffer_destroy() argument
64 speex_free(st->data); in speex_buffer_destroy()
65 speex_free(st); in speex_buffer_destroy()
68 speex_buffer_write(SpeexBuffer *st, void *_data, int len) speex_buffer_write() argument
100 speex_buffer_writezeros(SpeexBuffer *st, int len) speex_buffer_writezeros() argument
132 speex_buffer_read(SpeexBuffer *st, void *_data, int len) speex_buffer_read() argument
159 speex_buffer_get_available(SpeexBuffer *st) speex_buffer_get_available() argument
164 speex_buffer_resize(SpeexBuffer *st, int len) speex_buffer_resize() argument
[all...]
H A Dmdf.c122 void speex_echo_get_residual(SpeexEchoState *st, spx_word32_t *Yout, int len);
155 spx_word32_t Davg1; /* 1st recursive average of the residual power difference */
157 spx_float_t Dvar1; /* Estimated variance of 1st estimator */
404 SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState)); in speex_echo_state_init_mc() local
406 st->K = nb_speakers; in speex_echo_state_init_mc()
407 st->C = nb_mic; in speex_echo_state_init_mc()
408 C=st->C; in speex_echo_state_init_mc()
409 K=st->K; in speex_echo_state_init_mc()
418 st->frame_size = frame_size; in speex_echo_state_init_mc()
419 st in speex_echo_state_init_mc()
524 speex_echo_state_reset(SpeexEchoState *st) speex_echo_state_reset() argument
583 speex_echo_state_destroy(SpeexEchoState *st) speex_echo_state_destroy() argument
630 speex_echo_capture(SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out) speex_echo_capture() argument
653 speex_echo_playback(SpeexEchoState *st, const spx_int16_t *play) speex_echo_playback() argument
680 speex_echo_cancel(SpeexEchoState *st, const spx_int16_t *in, const spx_int16_t *far_end, spx_int16_t *out, spx_int32_t *Yout) speex_echo_cancel() argument
686 speex_echo_cancellation(SpeexEchoState *st, const spx_int16_t *in, const spx_int16_t *far_end, spx_int16_t *out) speex_echo_cancellation() argument
1190 speex_echo_get_residual(SpeexEchoState *st, spx_word32_t *residual_echo, int len) speex_echo_get_residual() argument
1223 speex_echo_ctl(SpeexEchoState *st, int request, void *ptr) speex_echo_ctl() argument
[all...]
H A Dpreprocess.c396 SpeexPreprocessState *st = (SpeexPreprocessState *)speex_alloc(sizeof(SpeexPreprocessState)); in speex_preprocess_state_init() local
397 st->frame_size = frame_size; in speex_preprocess_state_init()
402 st->ps_size = st->frame_size; in speex_preprocess_state_init()
405 if (st->ps_size & ~i) in speex_preprocess_state_init()
407 st->ps_size &= ~i; in speex_preprocess_state_init()
415 if (st->ps_size < 3*st->frame_size/4) in speex_preprocess_state_init()
416 st->ps_size = st in speex_preprocess_state_init()
529 speex_preprocess_state_destroy(SpeexPreprocessState *st) speex_preprocess_state_destroy() argument
565 speex_compute_agc(SpeexPreprocessState *st, spx_word16_t Pframe, spx_word16_t *ft) speex_compute_agc() argument
614 preprocess_analysis(SpeexPreprocessState *st, spx_int16_t *x) preprocess_analysis() argument
660 update_noise_prob(SpeexPreprocessState *st) update_noise_prob() argument
717 speex_preprocess(SpeexPreprocessState *st, spx_int16_t *x, spx_int32_t *echo) speex_preprocess() argument
722 speex_preprocess_run(SpeexPreprocessState *st, spx_int16_t *x) speex_preprocess_run() argument
1009 speex_preprocess_estimate_update(SpeexPreprocessState *st, spx_int16_t *x) speex_preprocess_estimate_update() argument
1047 SpeexPreprocessState *st; speex_preprocess_ctl() local
[all...]
H A Dscal.c88 SpeexDecorrState *st = speex_alloc(sizeof(SpeexDecorrState)); in speex_decorrelate_new() local
89 st->rate = rate; in speex_decorrelate_new()
90 st->channels = channels; in speex_decorrelate_new()
91 st->frame_size = frame_size; in speex_decorrelate_new()
93 st->psy = vorbis_psy_init(rate, 2*frame_size); in speex_decorrelate_new()
94 spx_drft_init(&st->lookup, 2*frame_size); in speex_decorrelate_new()
95 st->wola_mem = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
96 st->curve = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
98 st->y = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
100 st in speex_decorrelate_new()
141 speex_decorrelate(SpeexDecorrState *st, const spx_int16_t *in, spx_int16_t *out, int strength) speex_decorrelate() argument
278 speex_decorrelate_destroy(SpeexDecorrState *st) speex_decorrelate_destroy() argument
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_context.c104 st_invalidate_buffers(struct st_context *st) in st_invalidate_buffers() argument
106 st->dirty |= ST_NEW_BLEND | in st_invalidate_buffers()
132 struct st_context *st = st_context(ctx); in st_invalidate_state() local
135 st_invalidate_buffers(st); in st_invalidate_state()
141 st->dirty |= ST_NEW_RASTERIZER; in st_invalidate_state()
144 st->dirty |= ST_NEW_FS_STATE; in st_invalidate_state()
149 st->dirty |= ST_NEW_RASTERIZER; in st_invalidate_state()
152 (st->lower_flatshade || st->lower_two_sided_color)) in st_invalidate_state()
153 st in st_invalidate_state()
222 st_save_zombie_sampler_view(struct st_context *st, struct pipe_sampler_view *view) st_save_zombie_sampler_view() argument
252 st_save_zombie_shader(struct st_context *st, enum pipe_shader_type type, struct pipe_shader_state *shader) st_save_zombie_shader() argument
281 free_zombie_sampler_views(struct st_context *st) free_zombie_sampler_views() argument
311 free_zombie_shaders(struct st_context *st) free_zombie_shaders() argument
367 st_context_free_zombie_objects(struct st_context *st) st_context_free_zombie_objects() argument
375 st_destroy_context_priv(struct st_context *st, bool destroy_pipe) st_destroy_context_priv() argument
401 st_init_driver_flags(struct st_context *st) st_init_driver_flags() argument
456 st_have_perfmon(struct st_context *st) st_have_perfmon() argument
484 struct st_context *st = CALLOC_STRUCT( st_context); st_create_context_priv() local
800 struct st_context *st = ctx->st; st_set_background_context() local
839 struct st_context *st; st_create_context() local
896 struct st_context *st = (struct st_context *) userData; destroy_tex_sampler_cb() local
905 struct st_context *st = (struct st_context *) userData; destroy_framebuffer_attachment_sampler_cb() local
916 st_destroy_context(struct st_context *st) st_destroy_context() argument
1012 st_get_nir_compiler_options(struct st_context *st, gl_shader_stage stage) st_get_nir_compiler_options() argument
[all...]
H A Dst_atom_shader.c76 update_gl_clamp(struct st_context *st, struct gl_program *prog, uint32_t *gl_clamp) in update_gl_clamp() argument
78 if (!st->emulate_gl_clamp) in update_gl_clamp()
88 (st->ctx->Texture.Unit[tex_unit]._Current->Target != GL_TEXTURE_BUFFER || in update_gl_clamp()
89 st->texture_buffer_sampler)) { in update_gl_clamp()
91 struct gl_context *ctx = st->ctx; in update_gl_clamp()
113 st_update_fp( struct st_context *st ) in st_update_fp()
117 assert(st->ctx->FragmentProgram._Current); in st_update_fp()
118 fp = st->ctx->FragmentProgram._Current; in st_update_fp()
123 if (st->shader_has_one_variant[MESA_SHADER_FRAGMENT] && in st_update_fp()
133 key.st in st_update_fp()
253 st_update_common_program(struct st_context *st, struct gl_program *prog, unsigned pipe_shader, struct gl_program **dst) st_update_common_program() argument
303 st_update_gp(struct st_context *st) st_update_gp() argument
313 st_update_tcp(struct st_context *st) st_update_tcp() argument
323 st_update_tep(struct st_context *st) st_update_tep() argument
333 st_update_cp(struct st_context *st) st_update_cp() argument
[all...]
H A Dst_atom.c44 typedef void (*update_func_t)(struct st_context *st);
60 void st_init_atoms( struct st_context *st ) in st_init_atoms()
69 void st_destroy_atoms( struct st_context *st ) in st_destroy_atoms()
77 static void check_program_state( struct st_context *st ) in check_program_state()
79 struct gl_context *ctx = st->ctx; in check_program_state()
80 struct gl_program *old_vp = st->vp; in check_program_state()
81 struct gl_program *old_tcp = st->tcp; in check_program_state()
82 struct gl_program *old_tep = st->tep; in check_program_state()
83 struct gl_program *old_gp = st->gp; in check_program_state()
84 struct gl_program *old_fp = st in check_program_state()
166 st_update_edgeflags(struct st_context *st, bool per_vertex_edgeflags) st_update_edgeflags() argument
188 check_attrib_edgeflag(struct st_context *st) check_attrib_edgeflag() argument
197 st_validate_state( struct st_context *st, enum st_pipeline pipeline ) st_validate_state() argument
[all...]
H A Dst_cb_clear.c69 st_init_clear(struct st_context *st) in st_init_clear() argument
71 memset(&st->clear, 0, sizeof(st->clear)); in st_init_clear()
73 st->clear.raster.half_pixel_center = 1; in st_init_clear()
74 st->clear.raster.bottom_edge_rule = 1; in st_init_clear()
75 st->clear.raster.depth_clip_near = 1; in st_init_clear()
76 st->clear.raster.depth_clip_far = 1; in st_init_clear()
84 st_destroy_clear(struct st_context *st) in st_destroy_clear() argument
86 if (st->clear.fs) { in st_destroy_clear()
87 st in st_destroy_clear()
109 set_clearcolor_fs(struct st_context *st, union pipe_color_union *color) set_clearcolor_fs() argument
134 make_nir_clear_vertex_shader(struct st_context *st, bool layered) make_nir_clear_vertex_shader() argument
156 set_vertex_shader(struct st_context *st) set_vertex_shader() argument
188 set_vertex_shader_layered(struct st_context *st) set_vertex_shader_layered() argument
228 struct st_context *st = st_context(ctx); clear_with_quad() local
418 struct st_context *st = st_context(ctx); st_Clear() local
[all...]
H A Dst_atom_msaa.c45 update_sample_locations(struct st_context *st) in update_sample_locations() argument
47 struct gl_framebuffer *fb = st->ctx->DrawBuffer; in update_sample_locations()
49 if (!st->ctx->Extensions.ARB_sample_locations) in update_sample_locations()
54 unsigned samples = st->state.fb_num_samples; in update_sample_locations()
60 st->screen->get_sample_pixel_grid(st->screen, samples, in update_sample_locations()
66 * st->ctx->Driver.GetSamplePixelGrid() returns 1 for both dimensions. in update_sample_locations()
83 if (st->state.fb_orientation == Y_0_BOTTOM) in update_sample_locations()
93 st->screen, st in update_sample_locations()
114 st_update_sample_state(struct st_context *st) st_update_sample_state() argument
145 st_update_sample_shading(struct st_context *st) st_update_sample_shading() argument
[all...]
H A Dst_atom_constbuf.c55 st_unbind_unused_cb0(struct st_context *st, enum pipe_shader_type shader_type) in st_unbind_unused_cb0() argument
57 if (st->state.constbuf0_enabled_shader_mask & (1 << shader_type)) { in st_unbind_unused_cb0()
58 struct pipe_context *pipe = st->pipe; in st_unbind_unused_cb0()
61 st->state.constbuf0_enabled_shader_mask &= ~(1 << shader_type); in st_unbind_unused_cb0()
70 st_upload_constants(struct st_context *st, struct gl_program *prog, gl_shader_stage stage) in st_upload_constants() argument
74 st_unbind_unused_cb0(st, shader_type); in st_upload_constants()
88 if (shader_type == PIPE_SHADER_FRAGMENT && st->fp->ati_fs) { in st_upload_constants()
89 struct ati_fragment_shader *ati_fs = st->fp->ati_fs; in st_upload_constants()
99 st->ctx->ATIFragmentShader.GlobalConstants[c], in st_upload_constants()
107 st_make_bound_samplers_resident(st, pro in st_upload_constants()
214 st_update_vs_constants(struct st_context *st) st_update_vs_constants() argument
223 st_update_fs_constants(struct st_context *st) st_update_fs_constants() argument
232 st_update_gs_constants(struct st_context *st) st_update_gs_constants() argument
240 st_update_tcs_constants(struct st_context *st) st_update_tcs_constants() argument
248 st_update_tes_constants(struct st_context *st) st_update_tes_constants() argument
256 st_update_cs_constants(struct st_context *st) st_update_cs_constants() argument
262 st_bind_ubos(struct st_context *st, struct gl_program *prog, enum pipe_shader_type shader_type) st_bind_ubos() argument
301 st_bind_vs_ubos(struct st_context *st) st_bind_vs_ubos() argument
310 st_bind_fs_ubos(struct st_context *st) st_bind_fs_ubos() argument
319 st_bind_gs_ubos(struct st_context *st) st_bind_gs_ubos() argument
328 st_bind_tcs_ubos(struct st_context *st) st_bind_tcs_ubos() argument
337 st_bind_tes_ubos(struct st_context *st) st_bind_tes_ubos() argument
346 st_bind_cs_ubos(struct st_context *st) st_bind_cs_ubos() argument
[all...]
H A Dst_atom_atomicbuf.c69 st_bind_atomics(struct st_context *st, struct gl_program *prog, in st_bind_atomics() argument
75 if (!prog || !st->pipe->set_shader_buffers || st->has_hw_atomics) in st_bind_atomics()
88 st_binding_to_sb(&st->ctx->AtomicBufferBindings[atomic->Binding], &sb, in st_bind_atomics()
89 st->ctx->Const.ShaderStorageBufferOffsetAlignment); in st_bind_atomics()
91 st->pipe->set_shader_buffers(st->pipe, shader_type, in st_bind_atomics()
95 st->last_used_atomic_bindings[shader_type] = used_bindings; in st_bind_atomics()
99 st_bind_vs_atomics(struct st_context *st) in st_bind_vs_atomics() argument
102 st in st_bind_vs_atomics()
108 st_bind_fs_atomics(struct st_context *st) st_bind_fs_atomics() argument
117 st_bind_gs_atomics(struct st_context *st) st_bind_gs_atomics() argument
126 st_bind_tcs_atomics(struct st_context *st) st_bind_tcs_atomics() argument
135 st_bind_tes_atomics(struct st_context *st) st_bind_tes_atomics() argument
144 st_bind_cs_atomics(struct st_context *st) st_bind_cs_atomics() argument
157 st_bind_hw_atomic_buffers(struct st_context *st) st_bind_hw_atomic_buffers() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Debur128.c106 static void ebur128_init_filter(FFEBUR128State * st) in ebur128_init_filter() argument
114 double K = tan(M_PI * f0 / (double) st->samplerate); in ebur128_init_filter()
132 K = tan(M_PI * f0 / (double) st->samplerate); in ebur128_init_filter()
137 st->d->b[0] = pb[0] * rb[0]; in ebur128_init_filter()
138 st->d->b[1] = pb[0] * rb[1] + pb[1] * rb[0]; in ebur128_init_filter()
139 st->d->b[2] = pb[0] * rb[2] + pb[1] * rb[1] + pb[2] * rb[0]; in ebur128_init_filter()
140 st->d->b[3] = pb[1] * rb[2] + pb[2] * rb[1]; in ebur128_init_filter()
141 st->d->b[4] = pb[2] * rb[2]; in ebur128_init_filter()
143 st->d->a[0] = pa[0] * ra[0]; in ebur128_init_filter()
144 st in ebur128_init_filter()
156 ebur128_init_channel_map(FFEBUR128State * st) ebur128_init_channel_map() argument
224 FFEBUR128State *st; ff_ebur128_init() local
304 ff_ebur128_destroy(FFEBUR128State ** st) ff_ebur128_destroy() argument
391 ebur128_calc_gating_block(FFEBUR128State * st, size_t frames_per_block, double *optional_output) ebur128_calc_gating_block() argument
445 ff_ebur128_set_channel(FFEBUR128State * st, unsigned int channel_number, int value) ff_ebur128_set_channel() argument
580 ff_ebur128_relative_threshold(FFEBUR128State * st, double *out) ff_ebur128_relative_threshold() argument
596 ff_ebur128_loudness_global(FFEBUR128State * st, double *out) ff_ebur128_loudness_global() argument
601 ebur128_energy_in_interval(FFEBUR128State * st, size_t interval_frames, double *out) ebur128_energy_in_interval() argument
611 ebur128_energy_shortterm(FFEBUR128State * st, double *out) ebur128_energy_shortterm() argument
617 ff_ebur128_loudness_shortterm(FFEBUR128State * st, double *out) ff_ebur128_loudness_shortterm() argument
709 ff_ebur128_loudness_range(FFEBUR128State * st, double *out) ff_ebur128_loudness_range() argument
714 ff_ebur128_sample_peak(FFEBUR128State * st, unsigned int channel_number, double *out) ff_ebur128_sample_peak() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/stack/
H A Dstack.c173 static int sk_reserve(OPENSSL_STACK *st, int n, int exact) in sk_reserve() argument
179 if (n > max_nodes - st->num) { in sk_reserve()
185 num_alloc = st->num + n; in sk_reserve()
189 /* If |st->data| allocation was postponed */ in sk_reserve()
190 if (st->data == NULL) { in sk_reserve()
192 * At this point, |st->num_alloc| and |st->num| are 0; in sk_reserve()
195 if ((st->data = OPENSSL_zalloc(sizeof(void *) * num_alloc)) == NULL) { in sk_reserve()
199 st->num_alloc = num_alloc; in sk_reserve()
204 if (num_alloc <= st in sk_reserve()
228 OPENSSL_STACK *st = OPENSSL_zalloc(sizeof(OPENSSL_STACK)); OPENSSL_sk_new_reserve() local
248 OPENSSL_sk_reserve(OPENSSL_STACK *st, int n) OPENSSL_sk_reserve() argument
260 OPENSSL_sk_insert(OPENSSL_STACK *st, const void *data, int loc) OPENSSL_sk_insert() argument
286 internal_delete(OPENSSL_STACK *st, int loc) internal_delete() argument
298 OPENSSL_sk_delete_ptr(OPENSSL_STACK *st, const void *p) OPENSSL_sk_delete_ptr() argument
311 OPENSSL_sk_delete(OPENSSL_STACK *st, int loc) OPENSSL_sk_delete() argument
319 internal_find(OPENSSL_STACK *st, const void *data, int ret_val_options, int *pnum) internal_find() argument
369 OPENSSL_sk_find(OPENSSL_STACK *st, const void *data) OPENSSL_sk_find() argument
374 OPENSSL_sk_find_ex(OPENSSL_STACK *st, const void *data) OPENSSL_sk_find_ex() argument
379 OPENSSL_sk_find_all(OPENSSL_STACK *st, const void *data, int *pnum) OPENSSL_sk_find_all() argument
384 OPENSSL_sk_push(OPENSSL_STACK *st, const void *data) OPENSSL_sk_push() argument
391 OPENSSL_sk_unshift(OPENSSL_STACK *st, const void *data) OPENSSL_sk_unshift() argument
396 OPENSSL_sk_shift(OPENSSL_STACK *st) OPENSSL_sk_shift() argument
403 OPENSSL_sk_pop(OPENSSL_STACK *st) OPENSSL_sk_pop() argument
410 OPENSSL_sk_zero(OPENSSL_STACK *st) OPENSSL_sk_zero() argument
418 OPENSSL_sk_pop_free(OPENSSL_STACK *st, OPENSSL_sk_freefunc func) OPENSSL_sk_pop_free() argument
430 OPENSSL_sk_free(OPENSSL_STACK *st) OPENSSL_sk_free() argument
438 OPENSSL_sk_num(const OPENSSL_STACK *st) OPENSSL_sk_num() argument
443 OPENSSL_sk_value(const OPENSSL_STACK *st, int i) OPENSSL_sk_value() argument
450 OPENSSL_sk_set(OPENSSL_STACK *st, int i, const void *data) OPENSSL_sk_set() argument
466 OPENSSL_sk_sort(OPENSSL_STACK *st) OPENSSL_sk_sort() argument
475 OPENSSL_sk_is_sorted(const OPENSSL_STACK *st) OPENSSL_sk_is_sorted() argument
[all...]
/third_party/openssl/crypto/stack/
H A Dstack.c173 static int sk_reserve(OPENSSL_STACK *st, int n, int exact) in sk_reserve() argument
179 if (n > max_nodes - st->num) { in sk_reserve()
185 num_alloc = st->num + n; in sk_reserve()
189 /* If |st->data| allocation was postponed */ in sk_reserve()
190 if (st->data == NULL) { in sk_reserve()
192 * At this point, |st->num_alloc| and |st->num| are 0; in sk_reserve()
195 if ((st->data = OPENSSL_zalloc(sizeof(void *) * num_alloc)) == NULL) { in sk_reserve()
199 st->num_alloc = num_alloc; in sk_reserve()
204 if (num_alloc <= st in sk_reserve()
228 OPENSSL_STACK *st = OPENSSL_zalloc(sizeof(OPENSSL_STACK)); OPENSSL_sk_new_reserve() local
248 OPENSSL_sk_reserve(OPENSSL_STACK *st, int n) OPENSSL_sk_reserve() argument
260 OPENSSL_sk_insert(OPENSSL_STACK *st, const void *data, int loc) OPENSSL_sk_insert() argument
286 internal_delete(OPENSSL_STACK *st, int loc) internal_delete() argument
298 OPENSSL_sk_delete_ptr(OPENSSL_STACK *st, const void *p) OPENSSL_sk_delete_ptr() argument
311 OPENSSL_sk_delete(OPENSSL_STACK *st, int loc) OPENSSL_sk_delete() argument
319 internal_find(OPENSSL_STACK *st, const void *data, int ret_val_options, int *pnum) internal_find() argument
369 OPENSSL_sk_find(OPENSSL_STACK *st, const void *data) OPENSSL_sk_find() argument
374 OPENSSL_sk_find_ex(OPENSSL_STACK *st, const void *data) OPENSSL_sk_find_ex() argument
379 OPENSSL_sk_find_all(OPENSSL_STACK *st, const void *data, int *pnum) OPENSSL_sk_find_all() argument
384 OPENSSL_sk_push(OPENSSL_STACK *st, const void *data) OPENSSL_sk_push() argument
391 OPENSSL_sk_unshift(OPENSSL_STACK *st, const void *data) OPENSSL_sk_unshift() argument
396 OPENSSL_sk_shift(OPENSSL_STACK *st) OPENSSL_sk_shift() argument
403 OPENSSL_sk_pop(OPENSSL_STACK *st) OPENSSL_sk_pop() argument
410 OPENSSL_sk_zero(OPENSSL_STACK *st) OPENSSL_sk_zero() argument
418 OPENSSL_sk_pop_free(OPENSSL_STACK *st, OPENSSL_sk_freefunc func) OPENSSL_sk_pop_free() argument
430 OPENSSL_sk_free(OPENSSL_STACK *st) OPENSSL_sk_free() argument
438 OPENSSL_sk_num(const OPENSSL_STACK *st) OPENSSL_sk_num() argument
443 OPENSSL_sk_value(const OPENSSL_STACK *st, int i) OPENSSL_sk_value() argument
450 OPENSSL_sk_set(OPENSSL_STACK *st, int i, const void *data) OPENSSL_sk_set() argument
466 OPENSSL_sk_sort(OPENSSL_STACK *st) OPENSSL_sk_sort() argument
475 OPENSSL_sk_is_sorted(const OPENSSL_STACK *st) OPENSSL_sk_is_sorted() argument
[all...]
/third_party/musl/src/locale/
H A Dpleval.c26 struct st { struct
38 static const char *evalexpr(struct st *st, const char *s, int d);
40 static const char *evalprim(struct st *st, const char *s, int d) in evalprim() argument
46 st->r = strtoul(s, &e, 10); in evalprim()
47 if (e == s || st->r == -1) return ""; in evalprim()
51 st->r = st->n; in evalprim()
55 s = evalexpr(st, in evalprim()
67 binop(struct st *st, int op, unsigned long left) binop() argument
88 parseop(struct st *st, const char *s) parseop() argument
110 evalbinop(struct st *st, const char *s, int minprec, int d) evalbinop() argument
134 evalexpr(struct st *st, const char *s, int d) evalexpr() argument
154 struct st st; __pleval() local
[all...]
/third_party/python/Python/
H A Dsymtable.c59 ste_new(struct symtable *st, identifier name, _Py_block_ty block, in ste_new() argument
74 ste->ste_table = st; in ste_new()
98 if (st->st_cur != NULL && in ste_new()
99 (st->st_cur->ste_nested || in ste_new()
100 st->st_cur->ste_type == FunctionBlock)) in ste_new()
119 if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0) in ste_new()
204 static int symtable_analyze(struct symtable *st);
205 static int symtable_enter_block(struct symtable *st, identifier name,
209 static int symtable_exit_block(struct symtable *st);
210 static int symtable_visit_stmt(struct symtable *st, stmt_t
239 struct symtable *st; symtable_new() local
277 struct symtable *st = symtable_new(); _PySymtable_Build() local
364 _PySymtable_Free(struct symtable *st) _PySymtable_Free() argument
373 PySymtable_Lookup(struct symtable *st, void *key) PySymtable_Lookup() argument
927 symtable_analyze(struct symtable *st) symtable_analyze() argument
952 symtable_exit_block(struct symtable *st) symtable_exit_block() argument
968 symtable_enter_block(struct symtable *st, identifier name, _Py_block_ty block, void *ast, int lineno, int col_offset, int end_lineno, int end_col_offset) symtable_enter_block() argument
1012 symtable_lookup(struct symtable *st, PyObject *name) symtable_lookup() argument
1023 symtable_add_def_helper(struct symtable *st, PyObject *name, int flag, struct _symtable_entry *ste, int lineno, int col_offset, int end_lineno, int end_col_offset) symtable_add_def_helper() argument
1109 symtable_add_def(struct symtable *st, PyObject *name, int flag, int lineno, int col_offset, int end_lineno, int end_col_offset) symtable_add_def() argument
1166 symtable_record_directive(struct symtable *st, identifier name, int lineno, int col_offset, int end_lineno, int end_col_offset) symtable_record_directive() argument
1189 symtable_visit_stmt(struct symtable *st, stmt_ty s) symtable_visit_stmt() argument
1476 symtable_extend_namedexpr_scope(struct symtable *st, expr_ty e) symtable_extend_namedexpr_scope() argument
1552 symtable_handle_namedexpr(struct symtable *st, expr_ty e) symtable_handle_namedexpr() argument
1575 symtable_visit_expr(struct symtable *st, expr_ty e) symtable_visit_expr() argument
1735 symtable_visit_pattern(struct symtable *st, pattern_ty p) symtable_visit_pattern() argument
1785 symtable_implicit_arg(struct symtable *st, int pos) symtable_implicit_arg() argument
1799 symtable_visit_params(struct symtable *st, asdl_arg_seq *args) symtable_visit_params() argument
1816 symtable_visit_annotation(struct symtable *st, expr_ty annotation) symtable_visit_annotation() argument
1834 symtable_visit_argannotations(struct symtable *st, asdl_arg_seq *args) symtable_visit_argannotations() argument
1851 symtable_visit_annotations(struct symtable *st, stmt_ty o, arguments_ty a, expr_ty returns) symtable_visit_annotations() argument
1880 symtable_visit_arguments(struct symtable *st, arguments_ty a) symtable_visit_arguments() argument
1906 symtable_visit_excepthandler(struct symtable *st, excepthandler_ty eh) symtable_visit_excepthandler() argument
1918 symtable_visit_withitem(struct symtable *st, withitem_ty item) symtable_visit_withitem() argument
1928 symtable_visit_match_case(struct symtable *st, match_case_ty m) symtable_visit_match_case() argument
1939 symtable_visit_alias(struct symtable *st, alias_ty a) symtable_visit_alias() argument
1983 symtable_visit_comprehension(struct symtable *st, comprehension_ty lc) symtable_visit_comprehension() argument
2000 symtable_visit_keyword(struct symtable *st, keyword_ty k) symtable_visit_keyword() argument
2008 symtable_handle_comprehension(struct symtable *st, expr_ty e, identifier scope_name, asdl_comprehension_seq *generators, expr_ty elt, expr_ty value) symtable_handle_comprehension() argument
2071 symtable_visit_genexp(struct symtable *st, expr_ty e) symtable_visit_genexp() argument
2079 symtable_visit_listcomp(struct symtable *st, expr_ty e) symtable_visit_listcomp() argument
2087 symtable_visit_setcomp(struct symtable *st, expr_ty e) symtable_visit_setcomp() argument
2095 symtable_visit_dictcomp(struct symtable *st, expr_ty e) symtable_visit_dictcomp() argument
2104 symtable_raise_if_annotation_block(struct symtable *st, const char *name, expr_ty e) symtable_raise_if_annotation_block() argument
2120 symtable_raise_if_comprehension_block(struct symtable *st, expr_ty e) symtable_raise_if_comprehension_block() argument
2137 struct symtable *st; _Py_SymtableStringObjectFlags() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dmusx.c48 AVStream *st; in musx_read_header() local
62 st = avformat_new_stream(s, NULL); in musx_read_header()
63 if (!st) in musx_read_header()
69 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in musx_read_header()
70 st->codecpar->codec_id = AV_CODEC_ID_ADPCM_PSX; in musx_read_header()
71 st->codecpar->ch_layout.nb_channels = 2; in musx_read_header()
72 st->codecpar->sample_rate = 32000; in musx_read_header()
73 st->codecpar->block_align = 0x80 * st->codecpar->ch_layout.nb_channels; in musx_read_header()
76 st in musx_read_header()
[all...]
H A Dgenh.c48 AVStream *st; in genh_read_header() local
52 st = avformat_new_stream(s, NULL); in genh_read_header()
53 if (!st) in genh_read_header()
56 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in genh_read_header()
57 st->codecpar->ch_layout.nb_channels = avio_rl32(s->pb); in genh_read_header()
58 if (st->codecpar->ch_layout.nb_channels <= 0) in genh_read_header()
60 if (st->codecpar->ch_layout.nb_channels == 1) in genh_read_header()
61 st->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; in genh_read_header()
62 else if (st->codecpar->ch_layout.nb_channels == 2) in genh_read_header()
63 st in genh_read_header()
[all...]
H A Dxwma.c52 AVStream *st; in xwma_read_header() local
74 st = avformat_new_stream(s, NULL); in xwma_read_header()
75 if (!st) in xwma_read_header()
78 ret = ff_get_wav_header(s, pb, st->codecpar, size, 0); in xwma_read_header()
81 ffstream(st)->need_parsing = AVSTREAM_PARSE_NONE; in xwma_read_header()
87 if (st->codecpar->codec_id == AV_CODEC_ID_WMAV2) { in xwma_read_header()
88 int ch = st->codecpar->ch_layout.nb_channels; in xwma_read_header()
89 int sr = st->codecpar->sample_rate; in xwma_read_header()
90 int br = st->codecpar->bit_rate; in xwma_read_header()
107 st in xwma_read_header()
294 AVStream *st; xwma_read_packet() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dself_test_core.c83 static void self_test_setparams(OSSL_SELF_TEST *st) in self_test_setparams() argument
87 if (st->cb != NULL) { in self_test_setparams()
88 st->params[n++] = in self_test_setparams()
90 (char *)st->phase, 0); in self_test_setparams()
91 st->params[n++] = in self_test_setparams()
93 (char *)st->type, 0); in self_test_setparams()
94 st->params[n++] = in self_test_setparams()
96 (char *)st->desc, 0); in self_test_setparams()
98 st->params[n++] = OSSL_PARAM_construct_end(); in self_test_setparams()
117 void OSSL_SELF_TEST_free(OSSL_SELF_TEST *st) in OSSL_SELF_TEST_free() argument
123 OSSL_SELF_TEST_onbegin(OSSL_SELF_TEST *st, const char *type, const char *desc) OSSL_SELF_TEST_onbegin() argument
139 OSSL_SELF_TEST_onend(OSSL_SELF_TEST *st, int ret) OSSL_SELF_TEST_onend() argument
161 OSSL_SELF_TEST_oncorrupt_byte(OSSL_SELF_TEST *st, unsigned char *bytes) OSSL_SELF_TEST_oncorrupt_byte() argument
[all...]
/third_party/openssl/crypto/
H A Dself_test_core.c83 static void self_test_setparams(OSSL_SELF_TEST *st) in self_test_setparams() argument
87 if (st->cb != NULL) { in self_test_setparams()
88 st->params[n++] = in self_test_setparams()
90 (char *)st->phase, 0); in self_test_setparams()
91 st->params[n++] = in self_test_setparams()
93 (char *)st->type, 0); in self_test_setparams()
94 st->params[n++] = in self_test_setparams()
96 (char *)st->desc, 0); in self_test_setparams()
98 st->params[n++] = OSSL_PARAM_construct_end(); in self_test_setparams()
117 void OSSL_SELF_TEST_free(OSSL_SELF_TEST *st) in OSSL_SELF_TEST_free() argument
123 OSSL_SELF_TEST_onbegin(OSSL_SELF_TEST *st, const char *type, const char *desc) OSSL_SELF_TEST_onbegin() argument
139 OSSL_SELF_TEST_onend(OSSL_SELF_TEST *st, int ret) OSSL_SELF_TEST_onend() argument
161 OSSL_SELF_TEST_oncorrupt_byte(OSSL_SELF_TEST *st, unsigned char *bytes) OSSL_SELF_TEST_oncorrupt_byte() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c52 struct svga_transfer *st, in svga_transfer_dma_band()
59 struct svga_texture *texture = svga_texture(st->base.resource); in svga_transfer_dma_band()
62 assert(!st->use_direct_map); in svga_transfer_dma_band()
78 st->slice, in svga_transfer_dma_band()
89 SVGA_RETRY(svga, SVGA3D_SurfaceDMA(svga->swc, st, transfer, &box, 1, flags)); in svga_transfer_dma_band()
95 struct svga_transfer *st, in svga_transfer_dma()
99 struct svga_texture *texture = svga_texture(st->base.resource); in svga_transfer_dma()
104 assert(!st->use_direct_map); in svga_transfer_dma()
115 if (!st->swbuf) { in svga_transfer_dma()
117 svga_transfer_dma_band(svga, st, transfe in svga_transfer_dma()
51 svga_transfer_dma_band(struct svga_context *svga, struct svga_transfer *st, SVGA3dTransferType transfer, unsigned x, unsigned y, unsigned z, unsigned w, unsigned h, unsigned d, unsigned srcx, unsigned srcy, unsigned srcz, SVGA3dSurfaceDMAFlags flags) svga_transfer_dma_band() argument
94 svga_transfer_dma(struct svga_context *svga, struct svga_transfer *st, SVGA3dTransferType transfer, SVGA3dSurfaceDMAFlags flags) svga_transfer_dma() argument
227 need_tex_readback(struct svga_transfer *st) need_tex_readback() argument
259 svga_texture_transfer_map_dma(struct svga_context *svga, struct svga_transfer *st) svga_texture_transfer_map_dma() argument
328 svga_texture_transfer_map_direct(struct svga_context *svga, struct svga_transfer *st) svga_texture_transfer_map_direct() argument
479 struct svga_transfer *st; svga_texture_transfer_map() local
679 svga_texture_transfer_unmap_dma(struct svga_context *svga, struct svga_transfer *st) svga_texture_transfer_unmap_dma() argument
715 svga_texture_transfer_unmap_direct(struct svga_context *svga, struct svga_transfer *st) svga_texture_transfer_unmap_direct() argument
781 struct svga_transfer *st = svga_transfer(transfer); svga_texture_transfer_unmap() local
1350 svga_texture_transfer_map_upload(struct svga_context *svga, struct svga_transfer *st) svga_texture_transfer_map_upload() argument
1441 svga_texture_transfer_unmap_upload(struct svga_context *svga, struct svga_transfer *st) svga_texture_transfer_unmap_upload() argument
[all...]
/third_party/node/deps/npm/node_modules/is-core-module/test/
H A Dindex.js14 t.test('isCore()', function (st) {
15 st.ok(isCore('fs'));
16 st.ok(isCore('net'));
17 st.ok(isCore('http'));
19 st.ok(!isCore('seq'));
20 st.ok(!isCore('../'));
22 st.ok(!isCore('toString'));
24 st.end();
27 t.test('core list', function (st) {
29 st
[all...]
/third_party/ffmpeg/tools/
H A Duncoded_frame.c17 static int create_sink(Stream *st, AVFilterGraph *graph, in create_sink() argument
31 ret = avfilter_graph_create_filter(&st->sink, in create_sink()
36 ret = avfilter_link(f, idx, st->sink, 0); in create_sink()
47 Stream *streams = NULL, *st; in main() local
112 st = streams; in main()
117 if ((ret = create_sink(st++, in_graph, f, j)) < 0) in main()
122 av_assert0(st - streams == nb_streams); in main()
131 st = &streams[i]; in main()
136 ret = avformat_alloc_output_context2(&st->mux, NULL, fmt, dev); in main()
142 if (!(st in main()
[all...]

Completed in 15 milliseconds

12345678910>>...71