/external/clang/test/CodeGen/ |
altivec.c | 20 vector int vi; local 22 vi = (vector int)(1); // CHECK: <i32 1, i32 1, i32 1, i32 1> 24 vi = (vector int)(1, 2, 3, 4); // CHECK: <i32 1, i32 2, i32 3, i32 4> 25 vi = (vector int)(1, 2, 3, 4, 5); // CHECK: <i32 1, i32 2, i32 3, i32 4> 27 vi = (vector int){1}; // CHECK: <i32 1, i32 0, i32 0, i32 0> 28 vi = (vector int){1, 2}; // CHECK: <i32 1, i32 2, i32 0, i32 0> 29 vi = (vector int){1, 2, 3, 4}; // CHECK: <i32 1, i32 2, i32 3, i32 4> 35 vector int vi; local 36 vi++; // CHECK: add <4 x i32> {{.*}} <i32 1, i32 1, i32 1, i32 1>
|
builtins-ppc-altivec.c | 12 vector int vi = { -1, 2, -3, 4 }; variable 54 vi = vec_abs(vi); // CHECK: sub <4 x i32> zeroinitializer 66 vi = vec_abss(vi); // CHECK: @llvm.ppc.altivec.vsubsws 82 res_vi = vec_add(vi, vi); // CHECK: add <4 x i32> 83 res_vi = vec_add(vbi, vi); // CHECK: add <4 x i32> 84 res_vi = vec_add(vi, vbi); // CHECK: add <4 x i32> 101 res_vi = vec_vadduwm(vi, vi); // CHECK: add <4 x i32 [all...] |
/external/clang/test/Sema/ |
altivec-init.c | 13 vector int vi; local 14 vi = (vector int)(1); 15 vi = (vector int)(1, 2); // expected-error {{number of elements must be either one or match the size of the vector}} 16 vi = (vector int)(1, 2, 3, 4); 17 vi = (vector int)(1, 2, 3, 4, 5); // expected-warning {{excess elements in vector initializer}} 18 vi = (vector int){1}; 19 vi = (vector int){1, 2}; 20 vi = (vector int){1, 2, 3, 4, 5}; // expected-warning {{excess elements in vector initializer}}
|
/external/clang/test/SemaCXX/ |
altivec.cpp | 14 vector int vi; local 29 int res10[vec_step(vi) == 4 ? 1 : -1]; 57 vector int vi; local 58 ++vi; 59 vi++; 60 --vi; 61 vi--; 65 ++vi=vi; // expected-warning {{unsequenced}} 66 (++vi)[1]=1 [all...] |
cxx0x-class.cpp | 15 static const int vi = 0; member in class:C
|
/external/aac/libFDK/src/ |
fft.cpp | 337 #define SUMDIFF_EIGTH(x, y, ix, iy, vr, vi, ur, ui) \ 339 vi = (x[ 8 + ix]>>1) + (x[24 + ix]>>1); /* Re C + Re D */ \ 342 y[ 0 + iy] = vr + vi; /* Re A' = ReA + ReB +ReC + ReD */ \ 343 y[ 4 + iy] = vr - vi; /* Re C' = -(ReC+ReD) + (ReA+ReB) */ \ 347 vi = vi - x[24 + ix]; /* Re C - Re D */ \ 352 y[ 3 + iy] = ur - vi; /* Im B'= -Re C + Re D + Im A - Im B */ \ 353 y[ 7 + iy] = vi + ur; /* Im D'= Re C - Re D + Im A - Im B */ 360 FIXP_DBL vr, vi, ur, ui; local 363 SUMDIFF_EIGTH(x, y, 0, 0, vr, vi, ur, ui) 550 FIXP_DBL vr,vi,ur,ui; local [all...] |
fft_rad2.cpp | 174 FIXP_DBL vr,vi,ur,ui; local 176 //cplxMultDiv2(&vi, &vr, x[t2+1], x[t2], (FIXP_SGL)1.0, (FIXP_SGL)0.0); 177 vi = x[t2+1]>>1; 184 x[t1+1] = ui+vi; 187 x[t2+1] = ui-vi; 192 //cplxMultDiv2(&vr, &vi, x[t2+1], x[t2], (FIXP_SGL)1.0, (FIXP_SGL)0.0); 194 vi = x[t2]>>1; 200 x[t1+1] = ui-vi; 203 x[t2+1] = ui+vi; 216 FIXP_DBL vr,vi,ur,ui local 280 FIXP_DBL vr,vi,ur,ui; local 376 FIXP_DBL vr,vi,ur,ui; local 418 FIXP_DBL vr,vi,ur,ui; local 481 FIXP_DBL vr,vi,ur,ui; local [all...] |
/system/extras/tests/framebuffer/ |
fb_test.c | 45 static struct fb_var_screeninfo vi; variable in typeref:struct:fb_var_screeninfo 50 struct fb_var_screeninfo *vi); 67 if(ioctl(fd, FBIOGET_VSCREENINFO, &vi) < 0) { 72 if (bpp && vi.bits_per_pixel != bpp) { 74 vi.bits_per_pixel = bpp; 75 if(ioctl(fd, FBIOPUT_VSCREENINFO, &vi) < 0) { 86 dumpinfo(&fi, &vi); 94 bytes_per_pixel = vi.bits_per_pixel >> 3; 96 fb->width = vi.xres; 97 fb->height = vi.yres [all...] |
/external/libvorbis/include/vorbis/ |
vorbisenc.h | 46 * \param vi Pointer to an initialized \ref vorbis_info struct. 60 extern int vorbis_encode_init(vorbis_info *vi, 83 * \param vi Pointer to an initialized vorbis_info struct. 97 extern int vorbis_encode_setup_managed(vorbis_info *vi, 117 * \param vi Pointer to an initialized vorbis_info struct. 129 extern int vorbis_encode_setup_vbr(vorbis_info *vi, 145 * \param vi Pointer to an initialized vorbis_info struct. 158 extern int vorbis_encode_init_vbr(vorbis_info *vi, 180 * \param vi Pointer to an initialized \ref vorbis_info struct. 192 extern int vorbis_encode_setup_init(vorbis_info *vi); [all...] |
/external/tremolo/Tremolo/ |
treminfo.c | 124 int vorbis_info_blocksize(vorbis_info *vi,int zo){ 125 codec_setup_info *ci = (codec_setup_info *)vi->codec_setup; 129 /* used by synthesis, which has a full, alloced vi */ 130 void vorbis_info_init(vorbis_info *vi){ 131 memset(vi,0,sizeof(*vi)); 132 vi->codec_setup=(codec_setup_info *)_ogg_calloc(1,sizeof(codec_setup_info)); 135 void vorbis_info_clear(vorbis_info *vi){ 136 codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; 174 memset(vi,0,sizeof(*vi)) [all...] |
dsp.c | 49 vorbis_info *vi=v->vi; local 52 if(!vi)return -1; 53 ci=vi->codec_setup; 66 int vorbis_dsp_init(vorbis_dsp_state *v,vorbis_info *vi){ 69 codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; 71 v->vi=vi; 73 v->work=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->work)); 74 v->mdctright=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->mdctright)) 98 vorbis_info *vi=v->vi; local 145 vorbis_info *vi=v->vi; local 209 vorbis_info *vi=vd->vi; local [all...] |
mapping0.c | 70 int mapping_info_unpack(vorbis_info_mapping *info,vorbis_info *vi, 73 codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; 87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); 88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); 93 testM>=vi->channels || 94 testA>=vi->channels) goto err_out; 102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels); 103 for(i=0;i<vi->channels;i++){ 126 vorbis_info *vi=vd->vi; local [all...] |
ivorbiscodec.h | 90 extern void vorbis_info_init(vorbis_info *vi); 91 extern void vorbis_info_clear(vorbis_info *vi); 92 extern int vorbis_info_blocksize(vorbis_info *vi,int zo);
|
codec_internal.h | 59 vorbis_info *vi; member in struct:vorbis_dsp_state 149 vorbis_info *vi,oggpack_buffer *opb); 218 extern int vorbis_dsp_init(vorbis_dsp_state *v, vorbis_info *vi); 220 extern vorbis_dsp_state *vorbis_dsp_create(vorbis_info *vi); 222 extern int vorbis_dsp_headerin(vorbis_info *vi,vorbis_comment *vc, 231 extern long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op);
|
/bootable/recovery/minui/ |
graphics.c | 69 static struct fb_var_screeninfo vi; variable in typeref:struct:fb_var_screeninfo 83 if (ioctl(fd, FBIOGET_VSCREENINFO, &vi) < 0) { 89 vi.bits_per_pixel = PIXEL_SIZE * 8; 91 vi.red.offset = 8; 92 vi.red.length = 8; 93 vi.green.offset = 16; 94 vi.green.length = 8; 95 vi.blue.offset = 24; 96 vi.blue.length = 8; 97 vi.transp.offset = 0 [all...] |
/external/aac/libFDK/src/arm/ |
fft_rad2_arm.cpp | 172 FIXP_DBL vr,vi,ur,ui; local 174 //cplxMultDiv2(&vi, &vr, x[t2+1], x[t2], (FIXP_SGL)1.0, (FIXP_SGL)0.0); 175 vi = xt2[1]>>1; 182 xt1[1] = ui+vi; 185 xt2[1] = ui-vi; 190 //cplxMultDiv2(&vr, &vi, x[t2+1], x[t2], (FIXP_SGL)1.0, (FIXP_SGL)0.0); 192 vi = xt2[0]>>1; 198 xt1[1] = ui-vi; 201 xt2[1] = ui+vi; 218 FIXP_DBL vr,vi,ur,ui local 284 FIXP_DBL vr,vi,ur,ui; local [all...] |
/external/libvorbis/lib/ |
synthesis.c | 29 vorbis_info *vi= vd ? vd->vi : 0; local 30 codec_setup_info *ci= vi ? vi->codec_setup : 0; 34 if (!vd || !b || !vi || !ci || !opb) { 81 vb->pcm=_vorbis_block_alloc(vb,sizeof(*vb->pcm)*vi->channels); 82 for(i=0;i<vi->channels;i++) 97 vorbis_info *vi=vd->vi; local 98 codec_setup_info *ci=vi->codec_setup [all...] |
vorbisenc.c | 190 static void vorbis_encode_floor_setup(vorbis_info *vi,int s, 196 codec_setup_info *ci=vi->codec_setup; 228 static void vorbis_encode_global_psych_setup(vorbis_info *vi,double s, 233 codec_setup_info *ci=vi->codec_setup; 255 static void vorbis_encode_global_stereo(vorbis_info *vi, 261 codec_setup_info *ci=vi->codec_setup; 272 g->coupling_pointlimit[0][i]=kHz*1000./vi->rate*ci->blocksizes[0]; 273 g->coupling_pointlimit[1][i]=kHz*1000./vi->rate*ci->blocksizes[1]; 277 g->sliding_lowpass[0][i]=kHz*1000./vi->rate*ci->blocksizes[0]; 278 g->sliding_lowpass[1][i]=kHz*1000./vi->rate*ci->blocksizes[1] [all...] |
block.c | 181 static int _vds_shared_init(vorbis_dsp_state *v,vorbis_info *vi,int encp){ 183 codec_setup_info *ci=vi->codec_setup; 193 v->vi=vi; 229 vi->rate); 251 v->pcm=_ogg_malloc(vi->channels*sizeof(*v->pcm)); 252 v->pcmret=_ogg_malloc(vi->channels*sizeof(*v->pcmret)); 255 for(i=0;i<vi->channels;i++) 294 int vorbis_analysis_init(vorbis_dsp_state *v,vorbis_info *vi){ 297 if(_vds_shared_init(v,vi,1))return 1 317 vorbis_info *vi=v->vi; local 390 vorbis_info *vi=v->vi; local 460 vorbis_info *vi=v->vi; local 525 vorbis_info *vi=v->vi; local 685 vorbis_info *vi=v->vi; local 721 vorbis_info *vi=v->vi; local 908 vorbis_info *vi=v->vi; local 934 vorbis_info *vi=v->vi; local 1009 vorbis_info *vi=v->vi; local [all...] |
/external/aac/libFDK/include/ |
fft.h | 199 FIXP_DBL vr, vi, ur, ui; local 204 vi = y[9]; 206 x[1] = ui + (vi>>1); 208 x[9] = ui - (vi>>1); 212 vi = y[12]; 215 x[5] = ui - (vi>>1); 217 x[13] = ui + (vi>>1); 222 vi = fMultDiv2(ui-ur,W_PiFOURTH); 226 x[3] = (ui>>1) + vi; 228 x[11] = (ui>>1) - vi; [all...] |
/external/libvorbis/examples/ |
chaining_example.c | 58 vorbis_info *vi=ov_info(&ov,i); local 61 vi->rate,vi->channels,ov_bitrate(&ov,i)/1000,
|
decoder_example.c | 50 vorbis_info vi; /* struct that stores all the static vorbis bitstream local 115 vorbis_info_init(&vi); 129 if(vorbis_synthesis_headerin(&vi,&vc,&op)<0){ 166 result=vorbis_synthesis_headerin(&vi,&vc,&op); 193 fprintf(stderr,"\nBitstream is %d channel, %ldHz\n",vi.channels,vi.rate); 197 convsize=4096/vi.channels; 201 if(vorbis_synthesis_init(&vd,&vi)==0){ /* central decode state */ 246 for(i=0;i<vi.channels;i++){ 265 ptr+=vi.channels [all...] |
/external/clang/test/Modules/ |
submodules.cpp | 7 vector<int> vi; variable
|
/external/skia/src/gpu/gl/unix/ |
SkNativeGLContext_unix.cpp | 103 XVisualInfo *vi = glXGetVisualFromFBConfig(fDisplay, fbc[i]); local 104 if (vi) { 111 // i, (unsigned int)vi->visualid, samp_buf, samples); 116 XFree(vi); 125 XVisualInfo *vi = glXGetVisualFromFBConfig(fDisplay, bestFbc); local 126 //SkDebugf("Chosen visual ID = 0x%x\n", (unsigned int)vi->visualid); 153 XVisualInfo *vi = &temp; local 158 fPixmap = XCreatePixmap(fDisplay, RootWindow(fDisplay, vi->screen), 10, 10, vi->depth); 166 fGlxPixmap = glXCreateGLXPixmap(fDisplay, vi, fPixmap) [all...] |
/system/core/init/ |
logo.c | 47 struct fb_var_screeninfo vi; member in struct:FB 50 #define fb_width(fb) ((fb)->vi.xres) 51 #define fb_height(fb) ((fb)->vi.yres) 52 #define fb_size(fb) ((fb)->vi.xres * (fb)->vi.yres * 2) 62 if (ioctl(fb->fd, FBIOGET_VSCREENINFO, &fb->vi) < 0) 86 fb->vi.yoffset = 1; 87 ioctl(fb->fd, FBIOPUT_VSCREENINFO, &fb->vi); 88 fb->vi.yoffset = 0; 89 ioctl(fb->fd, FBIOPUT_VSCREENINFO, &fb->vi); [all...] |