/external/openssl/crypto/stack/ |
D | safestack.h | 140 #define SKM_sk_free(type, st) \ argument 141 sk_free(CHECKED_STACK_OF(type, st)) 142 #define SKM_sk_num(type, st) \ argument 143 sk_num(CHECKED_STACK_OF(type, st)) 144 #define SKM_sk_value(type, st,i) \ argument 145 ((type *)sk_value(CHECKED_STACK_OF(type, st), i)) 146 #define SKM_sk_set(type, st,i,val) \ argument 147 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 148 #define SKM_sk_zero(type, st) \ argument 149 sk_zero(CHECKED_STACK_OF(type, st)) [all …]
|
D | stack.c | 142 int sk_insert(_STACK *st, void *data, int loc) in sk_insert() argument 146 if(st == NULL) return 0; in sk_insert() 147 if (st->num_alloc <= st->num+1) in sk_insert() 149 s=OPENSSL_realloc((char *)st->data, in sk_insert() 150 (unsigned int)sizeof(char *)*st->num_alloc*2); in sk_insert() 153 st->data=s; in sk_insert() 154 st->num_alloc*=2; in sk_insert() 156 if ((loc >= (int)st->num) || (loc < 0)) in sk_insert() 157 st->data[st->num]=data; in sk_insert() 163 f=st->data; in sk_insert() [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/stack/ |
D | safestack.h | 140 #define SKM_sk_free(type, st) \ argument 141 sk_free(CHECKED_STACK_OF(type, st)) 142 #define SKM_sk_num(type, st) \ argument 143 sk_num(CHECKED_STACK_OF(type, st)) 144 #define SKM_sk_value(type, st,i) \ argument 145 ((type *)sk_value(CHECKED_STACK_OF(type, st), i)) 146 #define SKM_sk_set(type, st,i,val) \ argument 147 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 148 #define SKM_sk_zero(type, st) \ argument 149 sk_zero(CHECKED_STACK_OF(type, st)) [all …]
|
D | stack.c | 142 int sk_insert(_STACK *st, void *data, int loc) in sk_insert() argument 146 if(st == NULL) return 0; in sk_insert() 147 if (st->num_alloc <= st->num+1) in sk_insert() 149 s=OPENSSL_realloc((char *)st->data, in sk_insert() 150 (unsigned int)sizeof(char *)*st->num_alloc*2); in sk_insert() 153 st->data=s; in sk_insert() 154 st->num_alloc*=2; in sk_insert() 156 if ((loc >= (int)st->num) || (loc < 0)) in sk_insert() 157 st->data[st->num]=data; in sk_insert() 163 f=st->data; in sk_insert() [all …]
|
/external/openssl/include/openssl/ |
D | safestack.h | 140 #define SKM_sk_free(type, st) \ argument 141 sk_free(CHECKED_STACK_OF(type, st)) 142 #define SKM_sk_num(type, st) \ argument 143 sk_num(CHECKED_STACK_OF(type, st)) 144 #define SKM_sk_value(type, st,i) \ argument 145 ((type *)sk_value(CHECKED_STACK_OF(type, st), i)) 146 #define SKM_sk_set(type, st,i,val) \ argument 147 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 148 #define SKM_sk_zero(type, st) \ argument 149 sk_zero(CHECKED_STACK_OF(type, st)) [all …]
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | safestack.h | 140 #define SKM_sk_free(type, st) \ argument 141 sk_free(CHECKED_STACK_OF(type, st)) 142 #define SKM_sk_num(type, st) \ argument 143 sk_num(CHECKED_STACK_OF(type, st)) 144 #define SKM_sk_value(type, st,i) \ argument 145 ((type *)sk_value(CHECKED_STACK_OF(type, st), i)) 146 #define SKM_sk_set(type, st,i,val) \ argument 147 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 148 #define SKM_sk_zero(type, st) \ argument 149 sk_zero(CHECKED_STACK_OF(type, st)) [all …]
|
/external/speex/libspeex/ |
D | nb_celp.c | 65 #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 …]
|
D | sb_celp.c | 113 #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 …]
|
D | buffer.c | 53 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 …]
|
D | resample.c | 332 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 …]
|
D | preprocess.c | 400 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 …]
|
D | mdf.c | 128 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 …]
|
D | scal.c | 84 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 …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
D | StreamTokenizerTest.java | 34 StreamTokenizer st; field in StreamTokenizerTest 43 st = new StreamTokenizer(new StringBufferInputStream( in test_ConstructorLjava_io_InputStream() 47 StreamTokenizer.TT_WORD, st.nextToken()); in test_ConstructorLjava_io_InputStream() 49 "d", st.sval); in test_ConstructorLjava_io_InputStream() 52 StreamTokenizer.TT_NUMBER, st.nextToken()); in test_ConstructorLjava_io_InputStream() 54 8.0, st.nval); in test_ConstructorLjava_io_InputStream() 57 39, st.nextToken()); in test_ConstructorLjava_io_InputStream() 59 "h", st.sval); in test_ConstructorLjava_io_InputStream() 68 StreamTokenizer.TT_WORD, st.nextToken()); in test_ConstructorLjava_io_Reader() 70 "d", st.sval); in test_ConstructorLjava_io_Reader() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_context.c | 78 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 …]
|
D | st_atom_shader.c | 58 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 …]
|
D | st_atom.c | 74 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 …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_context.c | 78 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 …]
|
D | st_atom_shader.c | 58 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 …]
|
D | st_atom.c | 74 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 …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/gas32/ |
D | gas-farithr.asm | 2 fsub %st(0),%st(1) 3 fsub %st(3),%st 4 fsubp %st(0),%st(1) 5 #fsubp %st(3),%st 6 fsubr %st(0),%st(1) 7 fsubr %st(3),%st 8 fsubrp %st(0),%st(1) 9 #fsubrp %st(3),%st 10 fdiv %st(0),%st(1) 11 fdiv %st(3),%st [all …]
|
/external/chromium_org/third_party/opus/src/src/ |
D | opus_encoder.c | 162 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->silk_mode ); in opus_encoder_init() [all …]
|
D | opus_decoder.c | 98 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) in opus_decoder_init() argument 108 OPUS_CLEAR((char*)st, opus_decoder_get_size(channels)); in opus_decoder_init() 115 st->silk_dec_offset = align(sizeof(OpusDecoder)); in opus_decoder_init() 116 st->celt_dec_offset = st->silk_dec_offset+silkDecSizeBytes; in opus_decoder_init() 117 silk_dec = (char*)st+st->silk_dec_offset; in opus_decoder_init() 118 celt_dec = (CELTDecoder*)((char*)st+st->celt_dec_offset); in opus_decoder_init() 119 st->stream_channels = st->channels = channels; in opus_decoder_init() 121 st->Fs = Fs; in opus_decoder_init() 122 st->DecControl.API_sampleRate = st->Fs; in opus_decoder_init() 123 st->DecControl.nChannelsAPI = st->channels; in opus_decoder_init() [all …]
|
/external/llvm/test/MC/X86/ |
D | x86-64.s | 185 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | StringTokenizerTest.java | 40 StringTokenizer st = new StringTokenizer("This:is:a:test:String", ":"); in test_ConstructorLjava_lang_StringLjava_lang_String() local 41 assertTrue("Created incorrect tokenizer", st.countTokens() == 5 in test_ConstructorLjava_lang_StringLjava_lang_String() 42 && (st.nextElement().equals("This"))); in test_ConstructorLjava_lang_StringLjava_lang_String() 52 StringTokenizer st = new StringTokenizer("This:is:a:test:String", ":", in test_ConstructorLjava_lang_StringLjava_lang_StringZ() local 54 st.nextElement(); in test_ConstructorLjava_lang_StringLjava_lang_StringZ() 55 assertTrue("Created incorrect tokenizer", st.countTokens() == 8 in test_ConstructorLjava_lang_StringLjava_lang_StringZ() 56 && (st.nextElement().equals(":"))); in test_ConstructorLjava_lang_StringLjava_lang_StringZ() 64 StringTokenizer st = new StringTokenizer("This is a test String"); in test_countTokens() local 66 assertEquals("Incorrect token count returned", 5, st.countTokens()); in test_countTokens() 75 StringTokenizer st = new StringTokenizer("This is a test String"); in test_hasMoreElements() local [all …]
|