/frameworks/base/core/jni/ |
H A D | android_os_ParcelFileDescriptor.cpp | 86 struct stat st; local 87 if (fstat(fd, &st) != 0) { 91 if (S_ISREG(st.st_mode) || S_ISLNK(st.st_mode)) { 92 return st.st_size;
|
H A D | android_util_XmlBlock.cpp | 82 ResXMLParser* st = new ResXMLParser(*osb); local 83 if (st == NULL) { 88 st->restart(); 90 return (jint)st; 96 ResXMLParser* st = (ResXMLParser*)token; local 97 if (st == NULL) { 102 jint code = (jint)st->next(); 128 ResXMLParser* st = (ResXMLParser*)token; local 129 if (st == NULL) { 133 return (jint)st 139 ResXMLParser* st = (ResXMLParser*)token; local 150 ResXMLParser* st = (ResXMLParser*)token; local 161 ResXMLParser* st = (ResXMLParser*)token; local 173 ResXMLParser* st = (ResXMLParser*)token; local 185 ResXMLParser* st = (ResXMLParser*)token; local 197 ResXMLParser* st = (ResXMLParser*)token; local 209 ResXMLParser* st = (ResXMLParser*)token; local 221 ResXMLParser* st = (ResXMLParser*)token; local 233 ResXMLParser* st = (ResXMLParser*)token; local 245 ResXMLParser* st = (ResXMLParser*)token; local 258 ResXMLParser* st = (ResXMLParser*)token; local 287 ResXMLParser* st = (ResXMLParser*)token; local 300 ResXMLParser* st = (ResXMLParser*)token; local 313 ResXMLParser* st = (ResXMLParser*)token; local 337 ResXMLParser* st = (ResXMLParser*)token; local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | TestPlayerStub.h | 79 const android::sp<android::ISurfaceTexture>& st) { 80 return mPlayer->setVideoSurfaceTexture(st); 78 setVideoSurfaceTexture( const android::sp<android::ISurfaceTexture>& st) argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | gc_pred.cpp | 201 st = pointer to a structure of type gc_predState 261 gc_predState *st, // i/o: State struct 318 ener = L_mac (ener, st->past_qua_en_MR122[i], pred_MR122[i]); 420 L_tmp = L_mac(L_tmp, pred[i], st->past_qua_en[i]); 467 gc_predState *st, /* i/o: State struct */ 553 L_temp1 = (((Word32) st->past_qua_en_MR122[i]) * 695 L_temp2 = ((((Word32) pred[i]) * st->past_qua_en[i]) << 1); 754 st = pointer to a structure of type gc_predState 761 structure pointed to by st contains the calculated quantized energy 792 gc_predState *st, // 466 gc_pred( gc_predState *st, enum Mode mode, Word16 *code, Word16 *exp_gcode0, Word16 *frac_gcode0, Word16 *exp_en, Word16 *frac_en, Flag *pOverflow ) argument 836 gc_pred_update( gc_predState *st, Word16 qua_ener_MR122, Word16 qua_ener ) argument 986 gc_pred_average_limited( gc_predState *st, Word16 *ener_avg_MR122, Word16 *ener_avg, Flag *pOverflow ) argument [all...] |
H A D | q_plsf_3.cpp | 203 Word16 * lsf_r1, // i: 1st LSF residual vector, Q15 205 Word16 * wf1, // i: 1st LSF weighting factors, Q13 277 Word16 * lsf_r1, /* i: 1st LSF residual vector, Q15 */ 279 Word16 * wf1, /* i: 1st LSF weighting factors, Q13 */ 509 Word16 * lsf_r1, // i: 1st LSF residual vector, Q15 511 Word16 * wf1, // i: 1st LSF weighting factors, Q13 603 Word16 * lsf_r1, /* i: 1st LSF residual vector, Q15 */ 605 Word16 * wf1, /* i: 1st LSF weighting factors, Q13 */ 807 st = pointer to structures of type Q_plsfState (Q_plsfState) 820 past_rq field of structure pointed to by st contain 1006 Q_plsf_3( Q_plsfState *st, enum Mode mode, Word16 *lsp1, Word16 *lsp1_q, Word16 *indice, Word16 *pred_init_i, Flag *pOverflow ) argument [all...] |
H A D | q_plsf_5.cpp | 144 lsf_r1 -- array of type Word16 -- 1st LSF residual vector, Q15 147 wf1 -- array of type Word16 -- 1st LSF weighting factors, Q13 206 Word16 *lsf_r1, /* i : 1st LSF residual vector, Q15 */ 209 Word16 *wf1, /* i : 1st LSF weighting factors Q13 */ 307 lsf_r1 -- array of type Word16 -- 1st LSF residual vector, Q15 310 wf1 -- array of type Word16 -- 1st LSF weighting factors, Q13 372 Word16 *lsf_r1, /* i : 1st LSF residual vector Q15 */ 375 Word16 *wf1, /* i : 1st LSF weighting factors Q13 */ 507 st -- pointer to Q_plsfState -- state information 508 lsp1 -- array of type Word16 -- 1st LS 594 Q_plsf_5( Q_plsfState *st, Word16 *lsp1, Word16 *lsp2, Word16 *lsp1_q, Word16 *lsp2_q, Word16 *indice, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | dtx_enc.cpp | 159 st = pointer to an array of pointers to structures of type 163 pointer pointed to by st is set to the address of the allocated 193 int dtx_enc_init (dtx_encState **st) 197 if (st == (dtx_encState **) NULL){ 202 *st = NULL; 211 *st = s; 239 Word16 dtx_enc_init(dtx_encState **st) argument 243 if (st == (dtx_encState **) NULL) 248 *st = NULL; 257 *st 360 dtx_enc_reset(dtx_encState *st) argument 467 dtx_enc_exit(dtx_encState **st) argument 666 dtx_enc(dtx_encState *st, Word16 computeSidFlag, Q_plsfState *qSt, gc_predState* predState, Word16 **anap, Flag *pOverflow ) argument 939 dtx_buffer(dtx_encState *st, Word16 lsp_new[], Word16 speech[], Flag *pOverflow ) argument 1119 tx_dtx_handler(dtx_encState *st, Word16 vad_flag, enum Mode *usedMode, Flag *pOverflow ) argument [all...] |
H A D | gain_q.cpp | 117 st -- double pointer to gainQuantState 120 st -- double ponter to gainQuantState 218 st -- double pointer to gainQuantState 221 st -- double ponter to gainQuantState 306 st -- double pointer to gainQuantState 384 st -- pointer to gainQuantState 402 st -- pointer to gainQuantState 468 gainQuantState *st, /* i/o : State struct */ 510 st->gain_idx_ptr = (*anap)++; 512 // gc_pred_copy(&(st 467 gainQuant( gainQuantState *st, enum Mode mode, Word16 res[], Word16 exc[], Word16 code[], Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 even_subframe, Word16 gp_limit, Word16 *sf0_gain_pit, Word16 *sf0_gain_cod, Word16 *gain_pit, Word16 *gain_cod, Word16 **anap, Flag *pOverflow ) argument [all...] |
H A D | levinson.cpp | 399 st = pointer to structures of type LevinsonState 468 LevinsonState *st, 549 A[j] = st->old_A[j]; 603 st->old_A[i] = A[i] = pv_round (L_shl (t0, 1)); 633 LevinsonState *st, 757 memcpy(A, &(st->old_A[0]), sizeof(Word16)*(M + 1)); 820 st->old_A[i] = *(p_A++) = (Word16)((t0 + 0x00002000) >> 14); 632 Levinson( LevinsonState *st, Word16 Rh[], Word16 Rl[], Word16 A[], Word16 rc[], Flag *pOverflow ) argument
|
H A D | cod_amr.cpp | 366 int cod_amr_reset (cod_amrState *st) 370 if (st == (cod_amrState *) NULL){ 379 st->new_speech = st->old_speech + L_TOTAL - L_FRAME; // New speech 381 st->speech = st->new_speech - L_NEXT; // Present frame 383 st->p_window = st->old_speech + L_TOTAL - L_WINDOW; // For LPC window 384 st->p_window_12k2 = st 463 cod_amr_reset(cod_amrState *st) argument 738 cod_amr_first(cod_amrState *st, Word16 new_speech[]) argument 1215 cod_amr( cod_amrState *st, enum Mode mode, Word16 new_speech[], Word16 ana[], enum Mode *usedMode, Word16 synth[] ) argument [all...] |
H A D | p_ol_wgh.cpp | 225 st = pointer to structure type pitchOLWghtState 258 int p_ol_wgh_reset (pitchOLWghtState *st) 260 if (st == (pitchOLWghtState *) NULL){ 266 st->old_T0_med = 40; 267 st->ada_w = 0; 268 st->wght_flg = 0; 296 Word16 p_ol_wgh_reset(pitchOLWghtState *st) argument 298 if (st == (pitchOLWghtState *) NULL) 305 st->old_T0_med = 40; 306 st 860 Pitch_ol_wgh( pitchOLWghtState *st, vadState *vadSt, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | synthesis_amr_wb.cpp | 55 Decoder_State * st, (i/o) : State structure 145 Decoder_State * st, /* (i/o) : State structure */ 179 (void *)st->mem_syn_hi, 183 (void *)st->mem_syn_lo, 188 pv_memcpy((void *)st->mem_syn_hi, 190 M*sizeof(*st->mem_syn_hi)); 192 pv_memcpy((void *)st->mem_syn_lo, 194 M*sizeof(*st->mem_syn_lo)); 201 &(st->mem_deemph)); 205 st 136 synthesis_amr_wb( int16 Aq[], int16 exc[], int16 Q_new, int16 synth16k[], int16 prms, int16 HfIsf[], int16 nb_bits, int16 newDTXState, Decoder_State * st, int16 bfi, int16 *ScratchMem ) argument [all...] |
H A D | dtx_decoder_amr_wb.cpp | 117 int16 dtx_dec_amr_wb_reset(dtx_decState * st, const int16 isf_init[]) argument 122 if (st == (dtx_decState *) NULL) 127 st->since_last_sid = 0; 128 st->true_sid_period_inv = (1 << 13); /* 0.25 in Q15 */ 130 st->log_en = 3500; 131 st->old_log_en = 3500; 134 st->cng_seed = RANDOM_INITSEED; 136 st->hist_ptr = 0; 139 pv_memcpy((void *)st->isf, (void *)isf_init, M*sizeof(*isf_init)); 141 pv_memcpy((void *)st 196 dtx_dec_amr_wb( dtx_decState * st, int16 * exc2, int16 new_state, int16 isf[], int16 ** prms ) argument 461 dtx_dec_amr_wb_activity_update( dtx_decState * st, int16 isf[], int16 exc[]) argument 534 rx_amr_wb_dtx_handler( dtx_decState * st, int16 frame_type ) argument 873 dithering_control(dtx_encState * st) argument [all...] |
H A D | pvamrwbdecoder.cpp | 155 Decoder_State *st = &(((PV_AmrWbDec *)pt_st)->state); local 161 dtx_dec_amr_wb_reset(&(st->dtx_decSt), isf_init); 163 pvDecoder_AmrWb_Reset((void *) st, 1); 165 *spd_state = (void *) st; 174 void pvDecoder_AmrWb_Reset(void *st, int16 reset_all) argument 180 dec_state = (Decoder_State *) st; 293 Decoder_State *st; local 337 st = (Decoder_State *) spd_state; 346 newDTXState = rx_amr_wb_dtx_handler(&(st->dtx_decSt), frame_type); 351 dtx_dec_amr_wb(&(st [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | p_med_ol.c | 34 Coder_State *st, /* i/o: codec global structure */ 46 Word16 L_0 = st->old_T0_med; /* old open-loop pitch */ 47 Word16 *gain = &(st->ol_gain); /* normalize correlation of hp_wsp for the lag */ 48 Word16 *hp_wsp_mem = st->hp_wsp_mem; /* memory of the hypass filter for hp_wsp[] (lg = 9)*/ 49 Word16 *old_hp_wsp = st->old_hp_wsp; /* hypass wsp[] */ 50 Word16 wght_flg = st->ol_wght_flg; /* is weighting function used */ 31 Pitch_med_ol( Word16 wsp[], Coder_State *st, Word16 L_frame ) argument
|
H A D | dtx.c | 46 dtx_encState * st 50 dtx_encState * st 72 Word16 dtx_enc_init(dtx_encState ** st, Word16 isf_init[], VO_MEM_OPERATOR *pMemOP) argument 76 if (st == (dtx_encState **) NULL) 81 *st = NULL; 90 *st = s; 99 Word16 dtx_enc_reset(dtx_encState * st, Word16 isf_init[]) argument 103 if (st == (dtx_encState *) NULL) 108 st->hist_ptr = 0; 109 st 142 dtx_enc_exit(dtx_encState ** st, VO_MEM_OPERATOR *pMemOP) argument 158 dtx_enc( dtx_encState * st, Word16 isf[M], Word16 * exc2, Word16 ** prms ) argument 293 dtx_buffer( dtx_encState * st, Word16 isf_new[], Word32 enr, Word16 codec_mode ) argument 341 tx_dtx_handler(dtx_encState * st, Word16 vad_flag, Word16 * usedMode ) argument [all...] |
H A D | wb_vad.c | 179 VadVars * st, /* i/o : State struct */ 196 filter5(&tmp_buf[2 * i], &tmp_buf[2 * i + 1], st->a_data5[0]); 200 filter5(&tmp_buf[4 * i], &tmp_buf[4 * i + 2], st->a_data5[1]); 201 filter5(&tmp_buf[4 * i + 1], &tmp_buf[4 * i + 3], st->a_data5[2]); 205 filter5(&tmp_buf[8 * i], &tmp_buf[8 * i + 4], st->a_data5[3]); 206 filter5(&tmp_buf[8 * i + 2], &tmp_buf[8 * i + 6], st->a_data5[4]); 207 filter3(&tmp_buf[8 * i + 3], &tmp_buf[8 * i + 7], &st->a_data3[0]); 211 filter3(&tmp_buf[16 * i + 0], &tmp_buf[16 * i + 8], &st->a_data3[1]); 212 filter3(&tmp_buf[16 * i + 4], &tmp_buf[16 * i + 12], &st->a_data3[2]); 213 filter3(&tmp_buf[16 * i + 6], &tmp_buf[16 * i + 14], &st 178 filter_bank( VadVars * st, Word16 in[], Word16 level[] ) argument 257 update_cntrl( VadVars * st, Word16 level[] ) argument 347 hangover_addition( VadVars * st, Word16 low_power, Word16 hang_len, Word16 burst_len ) argument 389 noise_estimate_update( VadVars * st, Word16 level[] ) argument 459 vad_decision( VadVars * st, Word16 level[COMPLEN], Word32 pow_sum ) argument 568 Estimate_Speech( VadVars * st, Word16 in_level ) argument 737 wb_vad_tone_detection( VadVars * st, Word16 p_gain ) argument 759 wb_vad( VadVars * st, Word16 in_buf[] ) argument [all...] |
/frameworks/base/cmds/screenshot/ |
H A D | screenshot.c | 133 struct stat st; local 136 while (stat(outfile, &st) == 0) {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 165 int st, int en) { } 164 onSpanChanged(Spannable b, Object o, int s, int e, int st, int en) argument
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Directory.cpp | 41 FileStatus st, 44 m_FileStatus(st), 82 FileStatus st, 93 m_FileStatus = st; 40 Directory(const Path& pPath, FileStatus st, FileStatus symlink_st) argument 81 assign(const Path& pPath, FileStatus st, FileStatus symlink_st) argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.cpp | 494 st = pointer to a structure of type Decoder_amrState 502 structure pointed to by st contains the newly calculated decoder 536 Decoder_amrState *st, // i/o : State variables 591 newDTXState = rx_dtx_handler(st->dtxDecoderState, frame_type); 596 Decoder_amr_reset (st, MRDTX); 598 dtx_dec(st->dtxDecoderState, 599 st->mem_syn, 600 st->lsfState, 601 st->pred_state, 602 st 1333 Decoder_amr( Decoder_amrState *st, enum Mode mode, Word16 parm[], enum RXFrameType frame_type, Word16 synth[], Word16 A_t[] ) argument [all...] |
H A D | dtx_dec.cpp | 136 st = pointer to a structure of type dtx_decState 139 Structure pointed to by st is initialized to a set of initial values. 169 int dtx_dec_reset (dtx_decState *st) 173 if (st == (dtx_decState *) NULL){ 178 st->since_last_sid = 0; 179 st->true_sid_period_inv = (1 << 13); 181 st->log_en = 3500; 182 st->old_log_en = 3500; 185 st->L_pn_seed_rx = PN_INITIAL_SEED; 188 Copy(lsp_init_data, &st 247 dtx_dec_reset(dtx_decState *st) argument 840 dtx_dec( dtx_decState *st, Word16 mem_syn[], D_plsfState* lsfState, gc_predState* predState, Cb_gain_averageState* averState, enum DTXStateType new_state, enum Mode mode, Word16 parm[], Word16 synth[], Word16 A_t[], Flag *pOverflow ) argument 1493 dtx_dec_activity_update(dtx_decState *st, Word16 lsf[], Word16 frame[], Flag *pOverflow) argument 1804 rx_dtx_handler( dtx_decState *st, enum RXFrameType frame_type, Flag *pOverflow) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 41 int st = sp.getSpanStart(spans[i]); 45 if (st < start) 46 st = start; 50 setSpan(spans[i], st - start, en - start, fl); 295 int st = data[i * COLUMNS + START]; 298 if (st > start && st < limit && kind.isInstance(spans[i])) 299 limit = st; 325 private void sendSpanChanged(Object what, int s, int e, int st, int en) { argument 326 SpanWatcher[] recip = getSpans(Math.min(s, st), Mat [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | TextKeyListener.java | 180 int st, int en) { 179 onSpanChanged(Spannable s, Object what, int start, int end, int st, int en) argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 39 StreamTokenizer st = new StreamTokenizer(r); 42 st.resetSyntax(); 50 st.wordChars('0', '9'); 51 st.wordChars('A', 'Z'); 52 st.wordChars('a', 'z'); 53 st.wordChars('_', '_'); 54 st.wordChars('$', '$'); 55 st.wordChars('.', '.'); 56 st.wordChars('-', '-'); 57 st 233 parseValue(StreamTokenizer st, final int type) argument [all...] |