/external/chromium_org/third_party/ots/test/ |
perf.cc | 38 struct stat st; local 39 ::fstat(fd, &st); 41 uint8_t *data = new uint8_t[st.st_size]; 42 if (::read(fd, data, st.st_size) != st.st_size) { 51 uint8_t *result = new uint8_t[st.st_size + kPadLen]; 54 if (st.st_size < 1024 * 1024) { 57 if (st.st_size < 1024 * 100) { 64 ots::MemoryStream output(result, st.st_size + kPadLen); 65 bool r = ots::Process(&output, data, st.st_size) [all...] |
/external/libxslt/libxslt/ |
imports.h | 28 xsltStylesheetPtr st = style; \ 30 while (st != NULL) { \ 31 if (st->name != NULL) { res = st->name; break; } \ 32 st = xsltNextImport(st); \ 41 xsltStylesheetPtr st = style; \ 43 while (st != NULL) { \ 44 if (st->name != -1) { res = st->name; break; } [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_viewport.c | 42 update_viewport( struct st_context *st ) 44 struct gl_context *ctx = st->ctx; 72 st->state.viewport.scale[0] = half_width; 73 st->state.viewport.scale[1] = half_height * yScale; 74 st->state.viewport.scale[2] = half_depth; 75 st->state.viewport.scale[3] = 1.0; 77 st->state.viewport.translate[0] = half_width + x; 78 st->state.viewport.translate[1] = (half_height + y) * yScale + yBias; 79 st->state.viewport.translate[2] = half_depth + z; 80 st->state.viewport.translate[3] = 0.0 [all...] |
st_atom_clip.c | 44 static void update_clip( struct st_context *st ) 47 const struct gl_context *ctx = st->ctx; 54 if (st->vp) { 62 st->state.clip = clip; 63 cso_set_clip(st->cso_context, &clip); 71 0, /* st */
|
st_atom_stipple.c | 65 update_stipple( struct st_context *st ) 67 const struct gl_context *ctx = st->ctx; 68 const GLuint sz = sizeof(st->state.poly_stipple); 71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) { 75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz); 80 st->pipe->set_polygon_stipple(st->pipe, &newStipple); 91 0, /* st */
|
st_debug.c | 81 struct st_context *st = st_context(ctx); local 87 for (i = 0; i < st->vp->state.num_inputs; i++) { 88 printf(" Slot %d: VERT_ATTRIB_%d\n", i, st->vp->index_to_input[i]); 92 if (st->vp->variants) 93 tgsi_dump( st->vp->variants[0].tgsi.tokens, 0 ); 94 if (st->vp->Base.Base.Parameters) 95 _mesa_print_parameter_list(st->vp->Base.Base.Parameters); 97 tgsi_dump( st->fp->variants[0].tgsi.tokens, 0 ); 98 if (st->fp->Base.Base.Parameters) 99 _mesa_print_parameter_list(st->fp->Base.Base.Parameters) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
preemph.h | 114 Word16 preemphasis_reset(preemphasisState *st); 118 void preemphasis_exit(preemphasisState **st); 120 stores NULL in *st 124 preemphasisState *st, /* (i/o): preemphasis filter state */
|
bgnscd.cpp | 190 st = pointer to state variables of type Bgn_scdState 197 st = function updates the state variables of type Bgn_scdState 198 pointed to by st. 231 Word16 Bgn_scd (Bgn_scdState *st, // i : State variables for bgn SCD 265 if (sub(st->frameEnergyHist[i], frameEnergyMin) < 0) 266 frameEnergyMin = st->frameEnergyHist[i]; 271 maxEnergy = st->frameEnergyHist[0]; 274 if ( sub (maxEnergy, st->frameEnergyHist[i]) < 0) 276 maxEnergy = st->frameEnergyHist[i]; 280 maxEnergyLastPart = st->frameEnergyHist[2*L_ENERGYHIST/3] [all...] |
/ndk/sources/android/support/src/musl-multibyte/ |
mbrlen.c | 14 size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict st) 17 return mbrtowc(0, s, n, st ? st : (mbstate_t *)&internal);
|
/frameworks/base/core/java/com/android/internal/util/ |
TypedProperties.java | 39 StreamTokenizer st = new StreamTokenizer(r); local 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.wordChars('+', '+') 142 final StreamTokenizer st = initTokenizer(r); local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
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->a_data3[3]) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_clip.c | 44 static void update_clip( struct st_context *st ) 47 const struct gl_context *ctx = st->ctx; 54 if (st->vp) { 62 st->state.clip = clip; 63 cso_set_clip(st->cso_context, &clip); 71 0, /* st */
|
st_atom_stipple.c | 65 update_stipple( struct st_context *st ) 67 const struct gl_context *ctx = st->ctx; 68 const GLuint sz = sizeof(st->state.poly_stipple); 71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) { 75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz); 80 st->pipe->set_polygon_stipple(st->pipe, &newStipple); 91 0, /* st */
|
st_debug.c | 81 struct st_context *st = st_context(ctx); local 87 for (i = 0; i < st->vp->state.num_inputs; i++) { 88 printf(" Slot %d: VERT_ATTRIB_%d\n", i, st->vp->index_to_input[i]); 92 if (st->vp->variants) 93 tgsi_dump( st->vp->variants[0].tgsi.tokens, 0 ); 94 if (st->vp->Base.Base.Parameters) 95 _mesa_print_parameter_list(st->vp->Base.Base.Parameters); 97 tgsi_dump( st->fp->variants[0].tgsi.tokens, 0 ); 98 if (st->fp->Base.Base.Parameters) 99 _mesa_print_parameter_list(st->fp->Base.Base.Parameters) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
d_plsf.h | 120 Word16 D_plsf_reset(D_plsfState *st); 127 * Description : Stores NULL in *st 132 void D_plsf_exit(D_plsfState **st); 141 * 5 matrix quantization (split-MQ) with 1st order MA 150 D_plsfState *st, /* i/o: State variables */ 154 Word16 *lsp1_q, /* o : quantized 1st LSP vector (M) Q15 */ 164 * indices.1st order MA prediction and split by 3 matrix 170 D_plsfState *st, /* i/o: State struct */ 175 Word16 * lsp1_q, /* o : quantized 1st LSP vector, Q15 */ 187 void Init_D_plsf_3(D_plsfState *st, /* i/o: State struct * [all...] |
gc_pred.h | 108 Word16 gc_pred_reset(gc_predState *st); 112 void gc_pred_exit(gc_predState **st); 114 stores NULL in *st 129 gc_predState *st, /* i/o: State struct */ 147 gc_predState *st, /* i/o: State struct */ 160 gc_predState *st, /* i: State struct */
|
/frameworks/base/core/jni/ |
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->getElementNamespaceID() 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...] |
/system/core/toolbox/ |
df.c | 31 struct statfs st; local 33 if (statfs(s, &st) < 0) { 37 if (st.f_blocks == 0 && !always) 40 printsize((long long)st.f_blocks * (long long)st.f_bsize); 42 printsize((long long)(st.f_blocks - (long long)st.f_bfree) * st.f_bsize); 44 printsize((long long)st.f_bfree * (long long)st.f_bsize) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/aes/ |
aes_locl.h | 68 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } 71 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
|
/external/llvm/test/MC/X86/ |
x86-64.s | 181 // CHECK: fadd %st(0) 182 // CHECK: fadd %st(1) 183 // CHECK: fadd %st(7) 185 fadd %st(0) 186 fadd %st(1) 187 fadd %st(7) 286 // CHECK: fxch %st(1) 287 // CHECK: fucom %st(1) 288 // CHECK: fucomp %st(1) 289 // CHECK: faddp %st(1 [all...] |
/external/openssl/crypto/aes/ |
aes_locl.h | 68 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } 71 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
|
/external/elfutils/libebl/ |
eblgstrtab.c | 139 morememory (struct Ebl_GStrtab *st, size_t len) 149 newmem->next = st->memory; 150 st->memory = newmem; 151 st->backp = newmem->memory; 152 st->left = len - offsetof (struct memoryblock, memory); 157 ebl_gstrtabfree (struct Ebl_GStrtab *st) 159 struct memoryblock *mb = st->memory; 168 if (st->null.string != NULL) 169 free ((char *) st->null.string); 171 free (st); [all...] |
/external/chromium_org/third_party/opus/src/src/ |
opus_decoder.c | 98 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) 108 OPUS_CLEAR((char*)st, opus_decoder_get_size(channels)); 115 st->silk_dec_offset = align(sizeof(OpusDecoder)); 116 st->celt_dec_offset = st->silk_dec_offset+silkDecSizeBytes; 117 silk_dec = (char*)st+st->silk_dec_offset; 118 celt_dec = (CELTDecoder*)((char*)st+st->celt_dec_offset); 119 st->stream_channels = st->channels = channels 144 OpusDecoder *st; local [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldSQLTest.java | 53 Statement st = null; local 56 st = conn.createStatement(); 57 st.execute("drop table if exists zoo"); 61 if (st != null) { 62 st.close(); 77 Statement st = null; local 79 st = conn.createStatement(); 81 st.execute(queries[i]); 85 if (st != null) { 86 st.close() [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SimpleTimeZoneTest.java | 38 SimpleTimeZone st = new SimpleTimeZone(1000, "TEST"); local 39 assertEquals("Incorrect TZ constructed", "TEST", st.getID()); 40 assertTrue("Incorrect TZ constructed: " + "returned wrong offset", st 42 assertTrue("Incorrect TZ constructed" + "using daylight savings", !st 53 SimpleTimeZone st = new SimpleTimeZone(1000, "TEST", Calendar.NOVEMBER, local 56 assertTrue("Incorrect TZ constructed", st 59 assertTrue("Incorrect TZ constructed", !(st 62 assertEquals("Incorrect TZ constructed", "TEST", st.getID()); 63 assertEquals("Incorrect TZ constructed", 1000, st.getRawOffset()); 64 assertTrue("Incorrect TZ constructed", st.useDaylightTime()) 74 SimpleTimeZone st = new SimpleTimeZone(1000, "TEST", Calendar.NOVEMBER, local 240 SimpleTimeZone st = new SimpleTimeZone(1000, "TEST", Calendar.NOVEMBER, local 297 SimpleTimeZone st = new SimpleTimeZone(1000, "Test_TZ"); local 319 SimpleTimeZone st = new SimpleTimeZone(1000, "Test_TZ"); local 339 SimpleTimeZone st = new SimpleTimeZone(1000, "Test_TZ"); local 379 SimpleTimeZone st = new SimpleTimeZone(1000, "Test_TZ"); local 400 SimpleTimeZone st = new SimpleTimeZone(1000, "Test_TZ"); local 420 SimpleTimeZone st = new SimpleTimeZone(0, "Test"); local 445 SimpleTimeZone st = new SimpleTimeZone(1000, "Test_TZ"); local 475 SimpleTimeZone st = new SimpleTimeZone(1000, "Test_TZ"); local [all...] |