Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 1479) sorted by relevance

12345678910>>...60

/external/llvm/test/MC/Disassembler/X86/
Dfp-stack.txt4 # CHECK: fadd %st(0)
7 # CHECK: fadd %st(1)
10 # CHECK: fadd %st(2)
13 # CHECK: fadd %st(3)
16 # CHECK: fadd %st(4)
19 # CHECK: fadd %st(5)
22 # CHECK: fadd %st(6)
25 # CHECK: fadd %st(7)
28 # CHECK: fmul %st(0)
31 # CHECK: fmul %st(1)
[all …]
/external/speex/libspeex/
Dnb_celp.c65 #define SUBMODE(x) st->submodes[st->submodeID]->x
116 EncState *st; in nb_encoder_init() local
121 st = (EncState*)speex_alloc(sizeof(EncState)); in nb_encoder_init()
122 if (!st) in nb_encoder_init()
125 st->stack = NULL; in nb_encoder_init()
127 st->stack = (char*)speex_alloc_scratch(NB_ENC_STACK); in nb_encoder_init()
130 st->mode=m; in nb_encoder_init()
132 st->frameSize = mode->frameSize; in nb_encoder_init()
133 st->nbSubframes=mode->frameSize/mode->subframeSize; in nb_encoder_init()
134 st->subframeSize=mode->subframeSize; in nb_encoder_init()
[all …]
Dsb_celp.c113 #define SUBMODE(x) st->submodes[st->submodeID]->x
194 SBEncState *st; in sb_encoder_init() local
197 st = (SBEncState*)speex_alloc(sizeof(SBEncState)); in sb_encoder_init()
198 if (!st) in sb_encoder_init()
200 st->mode = m; in sb_encoder_init()
204 st->st_low = speex_encoder_init(mode->nb_mode); in sb_encoder_init()
206 st->stack = NULL; in sb_encoder_init()
209 speex_encoder_ctl(st->st_low, SPEEX_GET_STACK, &st->stack); in sb_encoder_init()
212 st->full_frame_size = 2*mode->frameSize; in sb_encoder_init()
213 st->frame_size = mode->frameSize; in sb_encoder_init()
[all …]
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()
[all …]
Dresample.c332 static int resampler_basic_direct_single(SpeexResamplerState *st, spx_uint32_t channel_index, const… in resampler_basic_direct_single() argument
334 const int N = st->filt_len; in resampler_basic_direct_single()
336 int last_sample = st->last_sample[channel_index]; in resampler_basic_direct_single()
337 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_direct_single()
338 const spx_word16_t *sinc_table = st->sinc_table; in resampler_basic_direct_single()
339 const int out_stride = st->out_stride; in resampler_basic_direct_single()
340 const int int_advance = st->int_advance; in resampler_basic_direct_single()
341 const int frac_advance = st->frac_advance; in resampler_basic_direct_single()
342 const spx_uint32_t den_rate = st->den_rate; in resampler_basic_direct_single()
376 st->last_sample[channel_index] = last_sample; in resampler_basic_direct_single()
[all …]
Dpreprocess.c400 SpeexPreprocessState *st = (SpeexPreprocessState *)speex_alloc(sizeof(SpeexPreprocessState)); in speex_preprocess_state_init() local
401 st->frame_size = frame_size; in speex_preprocess_state_init()
406 st->ps_size = st->frame_size; in speex_preprocess_state_init()
409 if (st->ps_size & ~i) in speex_preprocess_state_init()
411 st->ps_size &= ~i; in speex_preprocess_state_init()
419 if (st->ps_size < 3*st->frame_size/4) in speex_preprocess_state_init()
420 st->ps_size = st->ps_size * 3 / 2; in speex_preprocess_state_init()
422 st->ps_size = st->frame_size; in speex_preprocess_state_init()
425 N = st->ps_size; in speex_preprocess_state_init()
426 N3 = 2*N - st->frame_size; in speex_preprocess_state_init()
[all …]
Dmdf.c128 void speex_echo_get_residual(SpeexEchoState *st, spx_word32_t *Yout, int len);
410 SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState)); in speex_echo_state_init_mc() local
412 st->K = nb_speakers; in speex_echo_state_init_mc()
413 st->C = nb_mic; in speex_echo_state_init_mc()
414 C=st->C; in speex_echo_state_init_mc()
415 K=st->K; in speex_echo_state_init_mc()
424 st->frame_size = frame_size; in speex_echo_state_init_mc()
425 st->window_size = 2*frame_size; in speex_echo_state_init_mc()
426 N = st->window_size; in speex_echo_state_init_mc()
427 M = st->M = (filter_length+st->frame_size-1)/frame_size; in speex_echo_state_init_mc()
[all …]
Dscal.c84 SpeexDecorrState *st = speex_alloc(sizeof(SpeexDecorrState)); in speex_decorrelate_new() local
85 st->rate = rate; in speex_decorrelate_new()
86 st->channels = channels; in speex_decorrelate_new()
87 st->frame_size = frame_size; in speex_decorrelate_new()
89 st->psy = vorbis_psy_init(rate, 2*frame_size); in speex_decorrelate_new()
90 spx_drft_init(&st->lookup, 2*frame_size); in speex_decorrelate_new()
91 st->wola_mem = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
92 st->curve = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
94 st->y = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float)); in speex_decorrelate_new()
[all …]
Dkiss_fftr.c35 kiss_fftr_cfg st = NULL; in kiss_fftr_alloc() local
48 st = (kiss_fftr_cfg) KISS_FFT_MALLOC (memneeded); in kiss_fftr_alloc()
51 st = (kiss_fftr_cfg) mem; in kiss_fftr_alloc()
54 if (!st) in kiss_fftr_alloc()
57 st->substate = (kiss_fft_cfg) (st + 1); /*just beyond kiss_fftr_state struct */ in kiss_fftr_alloc()
58 st->tmpbuf = (kiss_fft_cpx *) (((char *) st->substate) + subsize); in kiss_fftr_alloc()
59 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_alloc()
60 kiss_fft_alloc(nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_alloc()
67 kf_cexp2(st->super_twiddles+i, DIV32(SHL32(phase,16),nfft)); in kiss_fftr_alloc()
75 kf_cexp(st->super_twiddles+i, phase ); in kiss_fftr_alloc()
[all …]
/external/libopus/src/
Dopus_encoder.c162 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application) in opus_encoder_init() argument
174 OPUS_CLEAR((char*)st, opus_encoder_get_size(channels)); in opus_encoder_init()
180 st->silk_enc_offset = align(sizeof(OpusEncoder)); in opus_encoder_init()
181 st->celt_enc_offset = st->silk_enc_offset+silkEncSizeBytes; in opus_encoder_init()
182 silk_enc = (char*)st+st->silk_enc_offset; in opus_encoder_init()
183 celt_enc = (CELTEncoder*)((char*)st+st->celt_enc_offset); in opus_encoder_init()
185 st->stream_channels = st->channels = channels; in opus_encoder_init()
187 st->Fs = Fs; in opus_encoder_init()
189 st->arch = opus_select_arch(); in opus_encoder_init()
191 ret = silk_InitEncoder( silk_enc, st->arch, &st->silk_mode ); in opus_encoder_init()
[all …]
Dopus_decoder.c101 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) in opus_decoder_init() argument
111 OPUS_CLEAR((char*)st, opus_decoder_get_size(channels)); in opus_decoder_init()
118 st->silk_dec_offset = align(sizeof(OpusDecoder)); in opus_decoder_init()
119 st->celt_dec_offset = st->silk_dec_offset+silkDecSizeBytes; in opus_decoder_init()
120 silk_dec = (char*)st+st->silk_dec_offset; in opus_decoder_init()
121 celt_dec = (CELTDecoder*)((char*)st+st->celt_dec_offset); in opus_decoder_init()
122 st->stream_channels = st->channels = channels; in opus_decoder_init()
124 st->Fs = Fs; in opus_decoder_init()
125 st->DecControl.API_sampleRate = st->Fs; in opus_decoder_init()
126 st->DecControl.nChannelsAPI = st->channels; in opus_decoder_init()
[all …]
Dopus_multistream_encoder.c85 static opus_val32 *ms_get_preemph_mem(OpusMSEncoder *st) in ms_get_preemph_mem() argument
93 ptr = (char*)st + align(sizeof(OpusMSEncoder)); in ms_get_preemph_mem()
94 for (s=0;s<st->layout.nb_streams;s++) in ms_get_preemph_mem()
96 if (s < st->layout.nb_coupled_streams) in ms_get_preemph_mem()
101 return (opus_val32*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); in ms_get_preemph_mem()
104 static opus_val32 *ms_get_window_mem(OpusMSEncoder *st) in ms_get_window_mem() argument
112 ptr = (char*)st + align(sizeof(OpusMSEncoder)); in ms_get_window_mem()
113 for (s=0;s<st->layout.nb_streams;s++) in ms_get_window_mem()
115 if (s < st->layout.nb_coupled_streams) in ms_get_window_mem()
395 OpusMSEncoder *st, in opus_multistream_encoder_init_impl() argument
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_context.c78 struct st_context *st = st_context(ctx); in st_invalidate_state() local
81 if (st->clamp_frag_color_in_shader && (new_state & _NEW_FRAG_CLAMP)) { in st_invalidate_state()
83 st->dirty.st |= ST_NEW_FRAGMENT_PROGRAM; in st_invalidate_state()
87 if (st->clamp_vert_color_in_shader && (new_state & _NEW_LIGHT)) { in st_invalidate_state()
88 st->dirty.st |= ST_NEW_VERTEX_PROGRAM; in st_invalidate_state()
91 st->dirty.mesa |= new_state; in st_invalidate_state()
92 st->dirty.st |= ST_NEW_MESA; in st_invalidate_state()
122 struct st_context *st = ST_CALLOC_STRUCT( st_context ); in st_create_context_priv() local
124 st->options = *options; in st_create_context_priv()
126 ctx->st = st; in st_create_context_priv()
[all …]
Dst_atom_shader.c58 get_passthrough_fs(struct st_context *st) in get_passthrough_fs() argument
60 if (!st->passthrough_fs) { in get_passthrough_fs()
61 st->passthrough_fs = in get_passthrough_fs()
62 util_make_fragment_passthrough_shader(st->pipe); in get_passthrough_fs()
65 return st->passthrough_fs; in get_passthrough_fs()
74 update_fp( struct st_context *st ) in update_fp() argument
79 assert(st->ctx->FragmentProgram._Current); in update_fp()
80 stfp = st_fragment_program(st->ctx->FragmentProgram._Current); in update_fp()
84 key.st = st; in update_fp()
87 key.clamp_color = st->clamp_frag_color_in_shader && in update_fp()
[all …]
Dst_atom.c74 void st_init_atoms( struct st_context *st ) in st_init_atoms() argument
80 void st_destroy_atoms( struct st_context *st ) in st_destroy_atoms() argument
93 (a->st & b->st)); in check_state()
100 a->st |= b->st; in accumulate_state()
109 result->st = a->st ^ b->st; in xor_states()
115 static void check_program_state( struct st_context *st ) in check_program_state() argument
117 struct gl_context *ctx = st->ctx; in check_program_state()
119 if (ctx->VertexProgram._Current != &st->vp->Base) in check_program_state()
120 st->dirty.st |= ST_NEW_VERTEX_PROGRAM; in check_program_state()
122 if (ctx->FragmentProgram._Current != &st->fp->Base) in check_program_state()
[all …]
Dst_cb_clear.c66 st_init_clear(struct st_context *st) in st_init_clear() argument
68 struct pipe_screen *pscreen = st->pipe->screen; in st_init_clear()
70 memset(&st->clear, 0, sizeof(st->clear)); in st_init_clear()
72 st->clear.raster.gl_rasterization_rules = 1; in st_init_clear()
73 st->clear.raster.depth_clip = 1; in st_init_clear()
74 st->clear.enable_ds_separate = pscreen->get_param(pscreen, PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE); in st_init_clear()
82 st_destroy_clear(struct st_context *st) in st_destroy_clear() argument
84 if (st->clear.fs) { in st_destroy_clear()
85 cso_delete_fragment_shader(st->cso_context, st->clear.fs); in st_destroy_clear()
86 st->clear.fs = NULL; in st_destroy_clear()
[all …]
Dst_cb_flush.c52 is_front_buffer_dirty(struct st_context *st) in is_front_buffer_dirty() argument
54 struct gl_framebuffer *fb = st->ctx->DrawBuffer; in is_front_buffer_dirty()
65 display_front_buffer(struct st_context *st) in display_front_buffer() argument
67 struct gl_framebuffer *fb = st->ctx->DrawBuffer; in display_front_buffer()
74 st_manager_flush_frontbuffer(st); in display_front_buffer()
79 void st_flush( struct st_context *st, in st_flush() argument
82 FLUSH_CURRENT(st->ctx, 0); in st_flush()
84 st_flush_bitmap_cache(st); in st_flush()
86 st->pipe->flush( st->pipe, fence ); in st_flush()
93 void st_finish( struct st_context *st ) in st_finish() argument
[all …]
Dst_cb_bitmap.c121 struct st_context *st = st_context(ctx); in make_bitmap_fragment_program() local
153 if (st->bitmap.tex_format == PIPE_FORMAT_L8_UNORM) in make_bitmap_fragment_program()
177 make_bitmap_fragment_program_glsl(struct st_context *st, in make_bitmap_fragment_program_glsl() argument
181 struct gl_context *ctx = st->ctx; in make_bitmap_fragment_program_glsl()
214 st_make_bitmap_fragment_program(struct st_context *st, in st_make_bitmap_fragment_program() argument
231 newProg = make_bitmap_fragment_program_glsl(st, stfpIn, sampler); in st_make_bitmap_fragment_program()
233 bitmap_prog = make_bitmap_fragment_program(st->ctx, sampler); in st_make_bitmap_fragment_program()
235 newProg = _mesa_combine_programs(st->ctx, in st_make_bitmap_fragment_program()
239 st_reference_fragprog(st, &bitmap_prog, NULL); in st_make_bitmap_fragment_program()
267 unpack_bitmap(struct st_context *st, in unpack_bitmap() argument
[all …]
Dst_cb_program.c58 struct st_context *st = st_context(ctx); in st_bind_program() local
62 st->dirty.st |= ST_NEW_VERTEX_PROGRAM; in st_bind_program()
65 st->dirty.st |= ST_NEW_FRAGMENT_PROGRAM; in st_bind_program()
68 st->dirty.st |= ST_NEW_GEOMETRY_PROGRAM; in st_bind_program()
81 struct st_context *st = st_context(ctx); in st_use_program() local
83 st->dirty.st |= ST_NEW_FRAGMENT_PROGRAM; in st_use_program()
84 st->dirty.st |= ST_NEW_VERTEX_PROGRAM; in st_use_program()
85 st->dirty.st |= ST_NEW_GEOMETRY_PROGRAM; in st_use_program()
126 struct st_context *st = st_context(ctx); in st_delete_program() local
132 st_release_vp_variants( st, stvp ); in st_delete_program()
[all …]
/external/llvm/test/MC/X86/
Dx86-64.s185 fadd %st(0)
186 fadd %st(1)
187 fadd %st(7)
301 faddp %st
315 fcomi %st(2)
317 fucomi %st(2)
318 fucomi %st(2), %st
399 fcmovb %st(1), %st(0) // CHECK: fcmovb %st(1), %st(0)
400 fcmove %st(1), %st(0) // CHECK: fcmove %st(1), %st(0)
401 fcmovbe %st(1), %st(0) // CHECK: fcmovbe %st(1), %st(0)
[all …]
/external/libopus/celt/
Dcelt_encoder.c150 CELTEncoder *st = (CELTEncoder *)opus_alloc(opus_custom_encoder_get_size(mode, channels)); in opus_custom_encoder_create() local
152 ret = opus_custom_encoder_init(st, mode, channels); in opus_custom_encoder_create()
155 opus_custom_encoder_destroy(st); in opus_custom_encoder_create()
156 st = NULL; in opus_custom_encoder_create()
160 return st; in opus_custom_encoder_create()
164 static int opus_custom_encoder_init_arch(CELTEncoder *st, const CELTMode *mode, in opus_custom_encoder_init_arch() argument
170 if (st==NULL || mode==NULL) in opus_custom_encoder_init_arch()
173 OPUS_CLEAR((char*)st, opus_custom_encoder_get_size(mode, channels)); in opus_custom_encoder_init_arch()
175 st->mode = mode; in opus_custom_encoder_init_arch()
176 st->overlap = mode->overlap; in opus_custom_encoder_init_arch()
[all …]
Dcelt_decoder.c118 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels)); in opus_custom_decoder_create() local
119 ret = opus_custom_decoder_init(st, mode, channels); in opus_custom_decoder_create()
122 opus_custom_decoder_destroy(st); in opus_custom_decoder_create()
123 st = NULL; in opus_custom_decoder_create()
127 return st; in opus_custom_decoder_create()
131 int celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels) in celt_decoder_init() argument
134 ret = opus_custom_decoder_init(st, opus_custom_mode_create(48000, 960, NULL), channels); in celt_decoder_init()
137 st->downsample = resampling_factor(sampling_rate); in celt_decoder_init()
138 if (st->downsample==0) in celt_decoder_init()
144 OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_init(CELTDecoder *st, const CELTMode *mode, int channe… in opus_custom_decoder_init() argument
[all …]
/external/elfutils/libebl/
Deblgstrtab.c118 morememory (struct Ebl_GStrtab *st, size_t len) in morememory() argument
128 newmem->next = st->memory; in morememory()
129 st->memory = newmem; in morememory()
130 st->backp = newmem->memory; in morememory()
131 st->left = len - offsetof (struct memoryblock, memory); in morememory()
136 ebl_gstrtabfree (struct Ebl_GStrtab *st) in ebl_gstrtabfree() argument
138 struct memoryblock *mb = st->memory; in ebl_gstrtabfree()
147 if (st->null.string != NULL) in ebl_gstrtabfree()
148 free ((char *) st->null.string); in ebl_gstrtabfree()
150 free (st); in ebl_gstrtabfree()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c54 struct svga_transfer *st, in svga_transfer_dma_band() argument
59 struct svga_texture *texture = svga_texture(st->base.resource); in svga_transfer_dma_band()
63 box.x = st->base.box.x; in svga_transfer_dma_band()
65 box.z = st->base.box.z; in svga_transfer_dma_band()
66 box.w = st->base.box.width; in svga_transfer_dma_band()
73 if (st->base.resource->target == PIPE_TEXTURE_CUBE) { in svga_transfer_dma_band()
74 st->face = st->base.box.z; in svga_transfer_dma_band()
78 st->face = 0; in svga_transfer_dma_band()
83 st->face, in svga_transfer_dma_band()
84 st->base.box.x, in svga_transfer_dma_band()
[all …]
/external/strace/tests/
Dxstatx.c161 print_stat(const STRUCT_STAT *st) in print_stat() argument
164 (unsigned int) major(st->st_dev), in print_stat()
165 (unsigned int) minor(st->st_dev)); in print_stat()
166 printf(", st_ino=%llu", (unsigned long long) st->st_ino); in print_stat()
168 print_ftype(st->st_mode); in print_stat()
170 print_perms(st->st_mode); in print_stat()
171 printf(", st_nlink=%u", (unsigned int) st->st_nlink); in print_stat()
172 printf(", st_uid=%u", (unsigned int) st->st_uid); in print_stat()
173 printf(", st_gid=%u", (unsigned int) st->st_gid); in print_stat()
174 printf(", st_blksize=%u", (unsigned int) st->st_blksize); in print_stat()
[all …]

12345678910>>...60