/external/fio/oslib/ |
linux-dev-lookup.c | 14 struct stat st; local 29 if (lstat(full_path, &st) == -1) { 34 if (S_ISDIR(st.st_mode)) { 43 if (!S_ISBLK(st.st_mode)) 57 if (maj == major(st.st_rdev) && min == minor(st.st_rdev)) {
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
dri_context.c | 108 st_share = ((struct dri_context *)sharedContextPrivate)->st; 123 ctx->st = stapi->create_context(stapi, &screen->base, &attribs, &ctx_err, 125 if (ctx->st == NULL) { 151 ctx->st->st_manager_private = (void *) ctx; 154 if (ctx->st->cso_context) { 155 ctx->pp = pp_init(ctx->st->pipe, screen->pp_enabled, ctx->st->cso_context); 156 ctx->hud = hud_create(ctx->st->pipe, ctx->st->cso_context); 163 if (ctx && ctx->st) 260 struct st_context_iface *st; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_condrender.c | 56 struct st_context *st = st_context(ctx); local 61 st_flush_bitmap_cache(st); 97 cso_set_render_condition(st->cso_context, stq->pq, inverted, m); 107 struct st_context *st = st_context(ctx); local 110 st_flush_bitmap_cache(st); 112 cso_set_render_condition(st->cso_context, NULL, FALSE, 0);
|
st_manager.c | 151 st_context_validate(struct st_context *st, 155 if (stdraw && stdraw->stamp != st->draw_stamp) { 156 st->dirty |= ST_NEW_FRAMEBUFFER; 157 _mesa_resize_framebuffer(st->ctx, &stdraw->Base, 160 st->draw_stamp = stdraw->stamp; 163 if (stread && stread->stamp != st->read_stamp) { 165 st->dirty |= ST_NEW_FRAMEBUFFER; 166 _mesa_resize_framebuffer(st->ctx, &stread->Base, 170 st->read_stamp = stread->stamp; 184 struct st_context *st) 499 struct st_context *st = (struct st_context *) stctxi; local 517 struct st_context *st = (struct st_context *) stctxi; local 602 struct st_context *st = (struct st_context *) stctxi; local 612 struct st_context *st = (struct st_context *) stctxi; local 621 struct st_context *st = (struct st_context *) stctxi; local 632 struct st_context *st; local 731 struct st_context *st = (ctx) ? ctx->st : NULL; local 762 struct st_context *st = (struct st_context *) stctxi; local [all...] |
st_atom_framebuffer.c | 72 framebuffer_quantize_num_samples(struct st_context *st, unsigned num_samples) 74 struct pipe_screen *screen = st->pipe->screen; 82 msaa_mode = util_next_power_of_two(st->ctx->Const.MaxFramebufferSamples); 108 update_framebuffer_state( struct st_context *st ) 110 struct pipe_framebuffer_state *framebuffer = &st->state.framebuffer; 111 struct gl_framebuffer *fb = st->ctx->DrawBuffer; 115 st_flush_bitmap_cache(st); 116 st_invalidate_readpix_cache(st); 118 st->state.fb_orientation = st_fb_orientation(fb); 129 framebuffer_quantize_num_samples(st, fb->DefaultGeometry.NumSamples) [all...] |
st_cb_compute.c | 45 struct st_context *st = st_context(ctx); local 46 struct pipe_context *pipe = st->pipe; 49 st_flush_bitmap_cache(st); 50 st_invalidate_readpix_cache(st); 55 if ((st->dirty | ctx->NewDriverState) & ST_PIPELINE_COMPUTE_STATE_MASK || 56 st->compute_shader_may_be_dirty) 57 st_validate_state(st, ST_PIPELINE_COMPUTE);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
dtx.h | 79 Word16 dtx_enc_init(dtx_encState ** st, Word16 isf_init[], VO_MEM_OPERATOR *pMemOP); 80 Word16 dtx_enc_reset(dtx_encState * st, Word16 isf_init[]); 81 void dtx_enc_exit(dtx_encState ** st, VO_MEM_OPERATOR *pMemOP); 84 dtx_encState * st, /* i/o : State struct */ 91 dtx_encState * st, /* i/o : State struct */ 97 void tx_dtx_handler(dtx_encState * st, /* i/o : State struct */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voAMRWBEnc.c | 77 Coder_State * st /* (i/o) : State structure */ 81 void Reset_encoder(void *st, Word16 reset_all) 85 cod_state = (Coder_State *) st; 161 Coder_State *st; local 215 st = (Coder_State *) spe_state; 244 Copy(st->old_speech, old_speech, L_TOTAL - L_FRAME); 245 Copy(st->old_wsp, old_wsp, PIT_MAX / OPL_DECIM); 246 Copy(st->old_exc, old_exc, PIT_MAX + L_INTERPOL); 256 Decim_12k8(speech16k, L_FRAME16k, new_speech, st->mem_decim); 259 Copy(st->mem_decim, code, 2 * L_FILT16k) 1605 Coder_State *st; local [all...] |
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise02.c | 58 static struct stat st; variable in typeref:struct:stat 93 if (mlock(file1, st.st_size) < 0) 135 SAFE_FSTAT(fd, &st); 137 file1 = SAFE_MMAP(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); 138 file2 = SAFE_MMAP(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); 139 SAFE_MUNMAP(file2 + st.st_size - pagesize, pagesize); 143 ptr_addr = SAFE_MALLOC(st.st_size); 161 TEST(madvise(*(tc->addr), st.st_size, tc->advice)); 178 SAFE_MUNMAP(file1, st.st_size); 179 SAFE_MUNMAP(file2, st.st_size - pagesize) [all...] |
/external/syslinux/com32/lib/sys/ |
vesacon_write.c | 132 static void vesacon_erase(const struct term_state *st, 135 __vesacon_erase(x0, y0, x1, y1, st->cindex); 140 const struct term_state *st) 142 __vesacon_write_char(x, y, ch, st->cindex); 151 static void vesacon_showcursor(const struct term_state *st) 153 vesacon_setcursor(st->xy.x, st->xy.y, st->cursor); 160 static void vesacon_scroll_up(const struct term_state *st) 162 __vesacon_scroll_up(1, st->cindex) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
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) 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->dtx_decSt), exc2, newDTXState, isf, &prms) [all...] |
/external/boringssl/src/crypto/fipsmodule/bn/ |
ctx.c | 201 static void BN_STACK_init(BN_STACK *st) { 202 st->indexes = NULL; 203 st->depth = st->size = 0; 206 static void BN_STACK_finish(BN_STACK *st) { 207 OPENSSL_free(st->indexes); 210 static int BN_STACK_push(BN_STACK *st, unsigned int idx) { 211 if (st->depth == st->size) { 214 (st->size ? (st->size * 3 / 2) : BN_CTX_START_FRAMES) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
c_g_aver.cpp | 221 st = pointer to structure of type Cb_gain_averageState 265 Cb_gain_averageState *st, // i/o : State variables for CB gain avergeing 297 st->cbGainHistory[i] = st->cbGainHistory[i+1]; 299 st->cbGainHistory[L_CBGAINHIST-1] = gain_code; 328 st->hangVar = add(st->hangVar, 1); 332 st->hangVar = 0; 335 if (sub(st->hangVar, 10) > 0) 337 st->hangCount = 0; // Speech period, reset hangover variabl [all...] |
/external/libopus/celt/ |
celt_decoder.c | 123 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels)); local 124 ret = opus_custom_decoder_init(st, mode, channels); 127 opus_custom_decoder_destroy(st); 128 st = NULL; 132 return st; 136 int celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels) 139 ret = opus_custom_decoder_init(st, opus_custom_mode_create(48000, 960, NULL), channels); 142 st->downsample = resampling_factor(sampling_rate); 143 if (st->downsample==0) 149 OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_init(CELTDecoder *st, const CELTMode *mode, int channels [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
makebuf.c | 107 struct stat st;
local 116 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) {
123 *couldbetty = S_ISCHR(st.st_mode);
124 if (st.st_blksize == 0) {
134 *bufsize = st.st_blksize;
135 fp->_blksize = st.st_blksize;
136 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
|
/external/cn-cbor/test/ |
test.c | 19 struct stat st; local 20 if (stat(filepath, &st)==-1) { 29 unsigned char* text=malloc(st.st_size+1); // this is not going to be freed 30 if (st.st_size!=read(fd, text, st.st_size)) { 36 text[st.st_size]='\0'; 37 *end = text + st.st_size;
|
/external/e2fsprogs/lib/ext2fs/ |
read_bb_file.c | 86 struct compat_struct *st; local 88 st = (struct compat_struct *) priv_data; 89 if (st->invalid) 90 (st->invalid)(fs, blk); 101 struct compat_struct st; local 103 st.invalid = invalid; 105 return ext2fs_read_bb_FILE2(fs, f, bb_list, &st,
|
/external/libcxx/test/std/numerics/numarray/template.gslice.array/gslice.array.assign/ |
gslice_array.pass.cpp | 32 std::size_t st[] = {19, 4, 1}; local 36 strides(st, sizeof(st)/sizeof(st[0])))] 38 strides(st, sizeof(st)/sizeof(st[0])))];
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLSocketFactoryTest.java | 72 Socket st = new Socket("localhost", sport); local 73 Socket s = sf.createSocket(st, "localhost", sport, false); 76 st = new Socket("localhost", sport); 77 s = sf.createSocket(st, "localhost", sport, true); 79 assertTrue(st.isClosed()); 96 st = new Socket("1.2.3.4hello", sport); 97 s = sf.createSocket(st, "1.2.3.4hello", sport, false);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numarray/template.gslice.array/gslice.array.assign/ |
gslice_array.pass.cpp | 32 std::size_t st[] = {19, 4, 1}; local 36 strides(st, sizeof(st)/sizeof(st[0])))] 38 strides(st, sizeof(st)/sizeof(st[0])))];
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/d10v/ |
address-001.s | 17 st r0,@r2 25 st r0,@r2+ 33 st r0,@r2- 44 st r0,@sp 52 st r0,@sp+ 64 st r0,@-sp 75 st r0,@(0x8000,r2)
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.status/ |
status.pass.cpp | 46 file_status st = status(p, ec); local 48 TEST_CHECK(st.type() == file_type::not_found); 49 TEST_CHECK(st.permissions() == perms::unknown); 52 TEST_CHECK_NO_THROW(st = status(p)); 53 TEST_CHECK(st.type() == file_type::not_found); 54 TEST_CHECK(st.permissions() == perms::unknown); 85 file_status st = status(TC.p, ec); local 87 TEST_CHECK(st.type() == file_type::none); 88 TEST_CHECK(st.permissions() == perms::unknown); 125 file_status st = status(TC.p, ec) local 156 file_status st = status(p, ec); local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
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, // i/o: State struc [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
ctx.h | 159 #define ISL_ARG_CTX_DECL(prefix,st,args) \ 160 st *isl_ctx_peek_ ## prefix(isl_ctx *ctx); 162 #define ISL_ARG_CTX_DEF(prefix,st,args) \ 163 st *isl_ctx_peek_ ## prefix(isl_ctx *ctx) \ 165 return (st *)isl_ctx_peek_options(ctx, &(args)); \ 168 #define ISL_CTX_GET_INT_DEF(prefix,st,args,field) \ 171 st *options; \ 180 #define ISL_CTX_SET_INT_DEF(prefix,st,args,field) \ 183 st *options; \ 193 #define ISL_CTX_GET_STR_DEF(prefix,st,args,field) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.status/ |
status.pass.cpp | 46 file_status st = status(p, ec); local 48 TEST_CHECK(st.type() == file_type::not_found); 49 TEST_CHECK(st.permissions() == perms::unknown); 52 TEST_CHECK_NO_THROW(st = status(p)); 53 TEST_CHECK(st.type() == file_type::not_found); 54 TEST_CHECK(st.permissions() == perms::unknown); 85 file_status st = status(TC.p, ec); local 87 TEST_CHECK(st.type() == file_type::none); 88 TEST_CHECK(st.permissions() == perms::unknown); 125 file_status st = status(TC.p, ec) local 156 file_status st = status(p, ec); local [all...] |