/external/speex/libspeex/ |
buffer.c | 53 SpeexBuffer *st = speex_alloc(sizeof(SpeexBuffer)); local 54 st->data = speex_alloc(size); 55 st->size = size; 56 st->read_ptr = 0; 57 st->write_ptr = 0; 58 st->available = 0; 59 return st; 62 EXPORT void speex_buffer_destroy(SpeexBuffer *st) 64 speex_free(st->data); 65 speex_free(st); [all...] |
sb_celp.c | 113 #define SUBMODE(x) st->submodes[st->submodeID]->x 194 SBEncState *st; local 197 st = (SBEncState*)speex_alloc(sizeof(SBEncState)); 198 if (!st) 200 st->mode = m; 204 st->st_low = speex_encoder_init(mode->nb_mode); 206 st->stack = NULL; 208 /*st->stack = (char*)speex_alloc_scratch(SB_ENC_STACK);*/ 209 speex_encoder_ctl(st->st_low, SPEEX_GET_STACK, &st->stack) 277 SBEncState *st=(SBEncState*)state; local 306 SBEncState *st; local 758 SBDecState *st; local 816 SBDecState *st; local 876 SBDecState *st; local 1103 SBEncState *st; local 1362 SBDecState *st; local [all...] |
resample.c | 332 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) 334 const int N = st->filt_len; 336 int last_sample = st->last_sample[channel_index]; 337 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; 338 const spx_word16_t *sinc_table = st->sinc_table; 339 const int out_stride = st->out_stride; 340 const int int_advance = st->int_advance; 341 const int frac_advance = st->frac_advance; 342 const spx_uint32_t den_rate = st->den_rate; 376 st->last_sample[channel_index] = last_sample 736 SpeexResamplerState *st; local [all...] |
mdf.c | 128 void speex_echo_get_residual(SpeexEchoState *st, spx_word32_t *Yout, int len); 161 spx_word32_t Davg1; /* 1st recursive average of the residual power difference */ 163 spx_float_t Dvar1; /* Estimated variance of 1st estimator */ 410 SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState)); local 412 st->K = nb_speakers; 413 st->C = nb_mic; 414 C=st->C; 415 K=st->K; 424 st->frame_size = frame_size; 425 st->window_size = 2*frame_size [all...] |
nb_celp.c | 65 #define SUBMODE(x) st->submodes[st->submodeID]->x 116 EncState *st; local 121 st = (EncState*)speex_alloc(sizeof(EncState)); 122 if (!st) 125 st->stack = NULL; 127 st->stack = (char*)speex_alloc_scratch(NB_ENC_STACK); 130 st->mode=m; 132 st->frameSize = mode->frameSize; 133 st->nbSubframes=mode->frameSize/mode->subframeSize 216 EncState *st=(EncState *)state; local 254 EncState *st; local 926 DecState *st; local 995 DecState *st; local 1085 DecState *st; local 1578 EncState *st; local 1782 DecState *st; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/stack/ |
safestack.h | 140 #define SKM_sk_free(type, st) \ 141 sk_free(CHECKED_STACK_OF(type, st)) 142 #define SKM_sk_num(type, st) \ 143 sk_num(CHECKED_STACK_OF(type, st)) 144 #define SKM_sk_value(type, st,i) \ 145 ((type *)sk_value(CHECKED_STACK_OF(type, st), i)) 146 #define SKM_sk_set(type, st,i,val) \ 147 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 148 #define SKM_sk_zero(type, st) \ 149 sk_zero(CHECKED_STACK_OF(type, st)) [all...] |
stack.c | 142 int sk_insert(_STACK *st, void *data, int loc) 146 if(st == NULL) return 0; 147 if (st->num_alloc <= st->num+1) 149 s=OPENSSL_realloc((char *)st->data, 150 (unsigned int)sizeof(char *)*st->num_alloc*2); 153 st->data=s; 154 st->num_alloc*=2; 156 if ((loc >= (int)st->num) || (loc < 0)) 157 st->data[st->num]=data [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
safestack.h | 140 #define SKM_sk_free(type, st) \ 141 sk_free(CHECKED_STACK_OF(type, st)) 142 #define SKM_sk_num(type, st) \ 143 sk_num(CHECKED_STACK_OF(type, st)) 144 #define SKM_sk_value(type, st,i) \ 145 ((type *)sk_value(CHECKED_STACK_OF(type, st), i)) 146 #define SKM_sk_set(type, st,i,val) \ 147 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 148 #define SKM_sk_zero(type, st) \ 149 sk_zero(CHECKED_STACK_OF(type, st)) [all...] |
/external/openssl/crypto/stack/ |
safestack.h | 140 #define SKM_sk_free(type, st) \ 141 sk_free(CHECKED_STACK_OF(type, st)) 142 #define SKM_sk_num(type, st) \ 143 sk_num(CHECKED_STACK_OF(type, st)) 144 #define SKM_sk_value(type, st,i) \ 145 ((type *)sk_value(CHECKED_STACK_OF(type, st), i)) 146 #define SKM_sk_set(type, st,i,val) \ 147 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 148 #define SKM_sk_zero(type, st) \ 149 sk_zero(CHECKED_STACK_OF(type, st)) [all...] |
stack.c | 142 int sk_insert(_STACK *st, void *data, int loc) 146 if(st == NULL) return 0; 147 if (st->num_alloc <= st->num+1) 149 s=OPENSSL_realloc((char *)st->data, 150 (unsigned int)sizeof(char *)*st->num_alloc*2); 153 st->data=s; 154 st->num_alloc*=2; 156 if ((loc >= (int)st->num) || (loc < 0)) 157 st->data[st->num]=data [all...] |
/external/openssl/include/openssl/ |
safestack.h | 140 #define SKM_sk_free(type, st) \ 141 sk_free(CHECKED_STACK_OF(type, st)) 142 #define SKM_sk_num(type, st) \ 143 sk_num(CHECKED_STACK_OF(type, st)) 144 #define SKM_sk_value(type, st,i) \ 145 ((type *)sk_value(CHECKED_STACK_OF(type, st), i)) 146 #define SKM_sk_set(type, st,i,val) \ 147 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 148 #define SKM_sk_zero(type, st) \ 149 sk_zero(CHECKED_STACK_OF(type, st)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_shader.c | 58 get_passthrough_fs(struct st_context *st) 60 if (!st->passthrough_fs) { 61 st->passthrough_fs = 62 util_make_fragment_passthrough_shader(st->pipe); 65 return st->passthrough_fs; 74 update_fp( struct st_context *st ) 79 assert(st->ctx->FragmentProgram._Current); 80 stfp = st_fragment_program(st->ctx->FragmentProgram._Current); 84 key.st = st; [all...] |
st_extensions.h | 35 extern void st_init_limits(struct st_context *st); 37 extern void st_init_extensions(struct st_context *st);
|
st_cb_flush.c | 52 is_front_buffer_dirty(struct st_context *st) 54 struct gl_framebuffer *fb = st->ctx->DrawBuffer; 65 display_front_buffer(struct st_context *st) 67 struct gl_framebuffer *fb = st->ctx->DrawBuffer; 74 st_manager_flush_frontbuffer(st); 79 void st_flush( struct st_context *st, 82 FLUSH_CURRENT(st->ctx, 0); 84 st_flush_bitmap_cache(st); 86 st->pipe->flush( st->pipe, fence ) 113 struct st_context *st = st_context(ctx); local 133 struct st_context *st = st_context(ctx); local [all...] |
st_context.c | 78 struct st_context *st = st_context(ctx); local 81 if (st->clamp_frag_color_in_shader && (new_state & _NEW_FRAG_CLAMP)) { 83 st->dirty.st |= ST_NEW_FRAGMENT_PROGRAM; 87 if (st->clamp_vert_color_in_shader && (new_state & _NEW_LIGHT)) { 88 st->dirty.st |= ST_NEW_VERTEX_PROGRAM; 91 st->dirty.mesa |= new_state; 92 st->dirty.st |= ST_NEW_MESA 122 struct st_context *st = ST_CALLOC_STRUCT( st_context ); local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_shader.c | 58 get_passthrough_fs(struct st_context *st) 60 if (!st->passthrough_fs) { 61 st->passthrough_fs = 62 util_make_fragment_passthrough_shader(st->pipe); 65 return st->passthrough_fs; 74 update_fp( struct st_context *st ) 79 assert(st->ctx->FragmentProgram._Current); 80 stfp = st_fragment_program(st->ctx->FragmentProgram._Current); 84 key.st = st; [all...] |
st_extensions.h | 35 extern void st_init_limits(struct st_context *st); 37 extern void st_init_extensions(struct st_context *st);
|
st_cb_flush.c | 52 is_front_buffer_dirty(struct st_context *st) 54 struct gl_framebuffer *fb = st->ctx->DrawBuffer; 65 display_front_buffer(struct st_context *st) 67 struct gl_framebuffer *fb = st->ctx->DrawBuffer; 74 st_manager_flush_frontbuffer(st); 79 void st_flush( struct st_context *st, 82 FLUSH_CURRENT(st->ctx, 0); 84 st_flush_bitmap_cache(st); 86 st->pipe->flush( st->pipe, fence ) 113 struct st_context *st = st_context(ctx); local 133 struct st_context *st = st_context(ctx); local [all...] |
st_context.c | 78 struct st_context *st = st_context(ctx); local 81 if (st->clamp_frag_color_in_shader && (new_state & _NEW_FRAG_CLAMP)) { 83 st->dirty.st |= ST_NEW_FRAGMENT_PROGRAM; 87 if (st->clamp_vert_color_in_shader && (new_state & _NEW_LIGHT)) { 88 st->dirty.st |= ST_NEW_VERTEX_PROGRAM; 91 st->dirty.mesa |= new_state; 92 st->dirty.st |= ST_NEW_MESA 122 struct st_context *st = ST_CALLOC_STRUCT( st_context ); local [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
StringTokenizerTest.java | 45 StringTokenizer st = new StringTokenizer("This:is:a:test:String", ":"); local 46 assertTrue("Created incorrect tokenizer", st.countTokens() == 5 47 && (st.nextElement().equals("This"))); 48 st = new StringTokenizer("This:is:a:test:String", null); 65 StringTokenizer st = new StringTokenizer("This:is:a:test:String", ":", local 67 st.nextElement(); 68 assertTrue("Created incorrect tokenizer", st.countTokens() == 8 69 && (st.nextElement().equals(":"))); 70 st = new StringTokenizer("This:is:a:test:String", null, true); 71 st = new StringTokenizer("This:is:a:test:String", null, false) 86 StringTokenizer st = new StringTokenizer("This is a test String"); local 97 StringTokenizer st = new StringTokenizer("This is a test String"); local 114 StringTokenizer st = new StringTokenizer("This is a test String"); local 131 StringTokenizer st = new StringTokenizer("This is a test String"); local 157 StringTokenizer st = new StringTokenizer("This is a test String"); local 183 StringTokenizer st = new StringTokenizer("This is a test String"); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StreamTokenizerTest.java | 34 StreamTokenizer st; field in class:StreamTokenizerTest 43 st = new StreamTokenizer(new StringBufferInputStream( 47 StreamTokenizer.TT_WORD, st.nextToken()); 49 "d", st.sval); 52 StreamTokenizer.TT_NUMBER, st.nextToken()); 54 8.0, st.nval); 57 39, st.nextToken()); 59 "h", st.sval); 68 StreamTokenizer.TT_WORD, st.nextToken()); 70 "d", st.sval) 304 StreamTokenizer st = new StreamTokenizer(reader); local 317 StreamTokenizer st = new StreamTokenizer(reader); local 330 StreamTokenizer st = new StreamTokenizer(reader); local 356 StreamTokenizer st = new StreamTokenizer(reader); local 370 StreamTokenizer st = new StreamTokenizer(reader); local [all...] |
/ndk/sources/android/support/src/musl-multibyte/ |
mbsinit.c | 14 int mbsinit(const mbstate_t *st) 16 return !st || !*(unsigned *)st;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
g_adapt.cpp | 102 st -- double pointer to GainAdaptState 105 st -- double ponter to GainAdaptState 159 Word16 gain_adapt_init(GainAdaptState **st) 163 if (st == (GainAdaptState **) NULL) 168 *st = NULL; 177 *st = s; 189 st -- double pointer to GainAdaptState 192 st -- double ponter to GainAdaptState 245 Word16 gain_adapt_reset(GainAdaptState *st) 249 if (st == (GainAdaptState *) NULL [all...] |
sid_sync.cpp | 127 the pointer to state struct in *st. This pointer has to be passed to sid_sync 258 Word16 sid_sync_reset(void *st) 260 sid_syncState *state = (sid_syncState *) st; 337 sid_syncState **st = (sid_syncState **) state; local 339 if (st == NULL || *st == NULL) 345 free(*st); 346 *st = NULL; 361 st = pointer to the state structure used for SID synchronization 366 st->sid_handover_debt is set to debtFrame 500 sid_syncState *st = (sid_syncState *) state; local [all...] |
/external/clang/test/Analysis/engine/ |
replay-without-inlining.c | 21 void getB(IB *st, Hdr2 *usedtobeundef); 27 static void getID(IB *st, char str[4]) { 28 str[0] = gb(st); 29 str[1] = gb(st); 30 str[2] = gb(st); 31 str[3] = gb(st); 33 static void getH(IB *st, Hdr *header) { 34 getID (st, header->I); 35 header->S = gl(st); 37 static void readILBM(IB *st, Info *pic) [all...] |