/external/libnl/lib/route/link/ |
D | vlan.c | 68 struct vlan_info *vi; in vlan_alloc() local 70 if ((vi = calloc(1, sizeof(*vi))) == NULL) in vlan_alloc() 73 link->l_info = vi; in vlan_alloc() 82 struct vlan_info *vi; in vlan_parse() local 93 vi = link->l_info; in vlan_parse() 96 vi->vi_vlan_id = nla_get_u16(tb[IFLA_VLAN_ID]); in vlan_parse() 97 vi->vi_mask |= VLAN_HAS_ID; in vlan_parse() 101 vi->vi_protocol = nla_get_u16(tb[IFLA_VLAN_PROTOCOL]); in vlan_parse() 102 vi->vi_mask |= VLAN_HAS_PROTOCOL; in vlan_parse() 109 vi->vi_flags = flags.flags; in vlan_parse() [all …]
|
/external/aac/libFDK/src/ |
D | fft.cpp | 742 FIXP_DBL vi, ui; in fft_16() local 748 vi = (x[8] SHIFT_A) + (x[24] SHIFT_A); /* Re C + Re D */ in fft_16() 750 x[0] = vr + (vi SHIFT_B); /* Re A' = ReA + ReB +ReC + ReD */ in fft_16() 756 x[4] = vr - (vi SHIFT_B); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_16() 759 vi = (vi SHIFT_B)-x[24]; /* Re C - Re D */ in fft_16() 767 x[3] = ur - vi; /* Im B'= -Re C + Re D + Im A - Im B */ in fft_16() 773 x[7] = vi + ur; /* Im D'= Re C - Re D + Im A - Im B */ in fft_16() 786 vi = (x[10] SHIFT_A) + (x[26] SHIFT_A); /* Re C + Re D */ in fft_16() 798 x[16] = vr3 + (vi SHIFT_B); /* Re A' = ReA + ReB +ReC + ReD */ in fft_16() 800 x[20] = vr3 - (vi SHIFT_B); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_16() [all …]
|
D | fft_rad2.cpp | 185 FIXP_DBL vr, vi, ur, ui; in dit_fft() local 188 vi = x[t2 + 1] >> 1; in dit_fft() 195 x[t1 + 1] = ui + vi; in dit_fft() 198 x[t2 + 1] = ui - vi; in dit_fft() 205 vi = x[t2] >> 1; in dit_fft() 211 x[t1 + 1] = ui - vi; in dit_fft() 214 x[t2 + 1] = ui + vi; in dit_fft() 227 FIXP_DBL vr, vi, ur, ui; in dit_fft() local 229 cplxMultDiv2(&vi, &vr, x[t2 + 1], x[t2], cs); in dit_fft() 235 x[t1 + 1] = ui + vi; in dit_fft() [all …]
|
/external/clang/test/CodeGen/ |
D | builtins-ppc-altivec.c | 23 vector int vi = { -1, 2, -3, 4 }; variable 73 vi = vec_abs(vi); in test1() 104 vi = vec_abss(vi); in test1() 159 res_vi = vec_add(vi, vi); in test1() 163 res_vi = vec_add(vbi, vi); in test1() 167 res_vi = vec_add(vi, vbi); in test1() 235 res_vi = vec_vadduwm(vi, vi); in test1() 239 res_vi = vec_vadduwm(vbi, vi); in test1() 243 res_vi = vec_vadduwm(vi, vbi); in test1() 321 res_vi = vec_adds(vi, vi); in test1() [all …]
|
D | altivec.c | 19 vector int vi; in test2() local 21 vi = (vector int)(1); // CHECK: <i32 1, i32 1, i32 1, i32 1> in test2() 23 vi = (vector int)(1, 2, 3, 4); // CHECK: <i32 1, i32 2, i32 3, i32 4> in test2() 24 vi = (vector int)(1, 2, 3, 4, 5); // CHECK: <i32 1, i32 2, i32 3, i32 4> in test2() 26 vi = (vector int){1}; // CHECK: <i32 1, i32 0, i32 0, i32 0> in test2() 27 vi = (vector int){1, 2}; // CHECK: <i32 1, i32 2, i32 0, i32 0> in test2() 28 vi = (vector int){1, 2, 3, 4}; // CHECK: <i32 1, i32 2, i32 3, i32 4> in test2() 34 vector int vi; in test3() local 35 …vi++; // CHECK: add <4 x i32> {{.*}} <i32 1, i32 1, i32 1, i32 … in test3()
|
/external/aac/libFDK/src/arm/ |
D | fft_rad2_arm.cpp | 173 FIXP_DBL vr, vi, ur, ui; in dit_fft() local 176 vi = xt2[1] >> 1; in dit_fft() 183 xt1[1] = ui + vi; in dit_fft() 186 xt2[1] = ui - vi; in dit_fft() 193 vi = xt2[0] >> 1; in dit_fft() 199 xt1[1] = ui - vi; in dit_fft() 202 xt2[1] = ui + vi; in dit_fft() 217 FIXP_DBL vr, vi, ur, ui; in dit_fft() local 219 cplxMultDiv2(&vi, &vr, xt2[1], xt2[0], cs); in dit_fft() 225 xt1[1] = ui + vi; in dit_fft() [all …]
|
/external/tremolo/Tremolo/ |
D | treminfo.c | 124 int vorbis_info_blocksize(vorbis_info *vi,int zo){ in vorbis_info_blocksize() argument 125 codec_setup_info *ci = (codec_setup_info *)vi->codec_setup; in vorbis_info_blocksize() 130 void vorbis_info_init(vorbis_info *vi){ in vorbis_info_init() argument 131 memset(vi,0,sizeof(*vi)); in vorbis_info_init() 132 vi->codec_setup=(codec_setup_info *)_ogg_calloc(1,sizeof(codec_setup_info)); in vorbis_info_init() 135 void vorbis_info_clear(vorbis_info *vi){ in vorbis_info_clear() argument 136 codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; in vorbis_info_clear() 174 memset(vi,0,sizeof(*vi)); in vorbis_info_clear() 179 int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){ in _vorbis_unpack_info() argument 180 codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; in _vorbis_unpack_info() [all …]
|
D | dsp.c | 49 vorbis_info *vi=v->vi; in vorbis_dsp_restart() local 52 if(!vi)return -1; in vorbis_dsp_restart() 53 ci=vi->codec_setup; in vorbis_dsp_restart() 66 int vorbis_dsp_init(vorbis_dsp_state *v,vorbis_info *vi){ in vorbis_dsp_init() argument 69 codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; in vorbis_dsp_init() 71 v->vi=vi; in vorbis_dsp_init() 73 v->work=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->work)); in vorbis_dsp_init() 74 v->mdctright=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->mdctright)); in vorbis_dsp_init() 75 for(i=0;i<vi->channels;i++){ in vorbis_dsp_init() 89 vorbis_dsp_state *vorbis_dsp_create(vorbis_info *vi){ in vorbis_dsp_create() argument [all …]
|
D | mapping0.c | 70 int mapping_info_unpack(vorbis_info_mapping *info,vorbis_info *vi, in mapping_info_unpack() argument 73 codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; in mapping_info_unpack() 87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); in mapping_info_unpack() 88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); in mapping_info_unpack() 93 testM>=vi->channels || in mapping_info_unpack() 94 testA>=vi->channels) goto err_out; in mapping_info_unpack() 102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels); in mapping_info_unpack() 103 for(i=0;i<vi->channels;i++){ in mapping_info_unpack() 126 vorbis_info *vi=vd->vi; in mapping_inverse() local 127 codec_setup_info *ci=(codec_setup_info *)vi->codec_setup; in mapping_inverse() [all …]
|
/external/clang/test/SemaCXX/ |
D | altivec.cpp | 14 vector int vi; in test_vec_step() local 29 int res10[vec_step(vi) == 4 ? 1 : -1]; in test_vec_step() 57 vector int vi; in test2() local 58 ++vi; in test2() 59 vi++; in test2() 60 --vi; in test2() 61 vi--; in test2() 65 ++vi=vi; // expected-warning {{unsequenced}} in test2() 66 (++vi)[1]=1; in test2() 67 template_f(vi); in test2()
|
/external/llvm/test/CodeGen/ARM/ |
D | unaligned_load_store_vector.ll | 11 %vi = bitcast i8* %pi to <8 x i8>* 14 %v1 = load <8 x i8>, <8 x i8>* %vi, align 1 29 %vi = bitcast i8* %pi to <4 x i16>* 32 %v1 = load <4 x i16>, <4 x i16>* %vi, align 1 47 %vi = bitcast i8* %pi to <2 x i32>* 50 %v1 = load <2 x i32>, <2 x i32>* %vi, align 1 65 %vi = bitcast i8* %pi to <2 x float>* 68 %v1 = load <2 x float>, <2 x float>* %vi, align 1 83 %vi = bitcast i8* %pi to <16 x i8>* 86 %v1 = load <16 x i8>, <16 x i8>* %vi, align 1 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | unaligned_load_store_vector.ll | 11 %vi = bitcast i8* %pi to <8 x i8>* 14 %v1 = load <8 x i8>, <8 x i8>* %vi, align 1 29 %vi = bitcast i8* %pi to <4 x i16>* 32 %v1 = load <4 x i16>, <4 x i16>* %vi, align 1 47 %vi = bitcast i8* %pi to <2 x i32>* 50 %v1 = load <2 x i32>, <2 x i32>* %vi, align 1 65 %vi = bitcast i8* %pi to <2 x float>* 68 %v1 = load <2 x float>, <2 x float>* %vi, align 1 83 %vi = bitcast i8* %pi to <16 x i8>* 86 %v1 = load <16 x i8>, <16 x i8>* %vi, align 1 [all …]
|
/external/clang/test/Sema/ |
D | altivec-init.c | 13 vector int vi; in foo() local 14 vi = (vector int)(1); in foo() 15 …vi = (vector int)(1, 2); // expected-error {{number of elements must be either one or mat… in foo() 16 vi = (vector int)(1, 2, 3, 4); in foo() 17 vi = (vector int)(1, 2, 3, 4, 5); // expected-warning {{excess elements in vector initializer}} in foo() 18 vi = (vector int){1}; in foo() 19 vi = (vector int){1, 2}; in foo() 20 vi = (vector int){1, 2, 3, 4, 5}; // expected-warning {{excess elements in vector initializer}} in foo()
|
D | ext_vector_casts.c | 99 int4 vi = i; in splats() local 109 vi = l + vi; // expected-warning {{implicit conversion loses integer precision}} in splats() 110 vi = 1 + vi; in splats() 111 vi = vi + 2.0; // expected-error {{cannot convert between vector values of different size}} in splats() 112 vi = vi + 0xffffffff; // expected-warning {{implicit conversion changes signedness}} in splats()
|
/external/aac/libFDK/include/ |
D | fft.h | 217 FIXP_DBL vr, vi, ur, ui; in fft_8() local 222 vi = y[9]; in fft_8() 224 x[1] = ui + (vi >> 1); in fft_8() 226 x[9] = ui - (vi >> 1); in fft_8() 230 vi = y[12]; in fft_8() 233 x[5] = ui - (vi >> 1); in fft_8() 235 x[13] = ui + (vi >> 1); in fft_8() 240 cplxMultDiv2(&vi, &vr, ui, ur, w_PiFOURTH); in fft_8() 245 x[3] = (ui >> 1) + vi; in fft_8() 247 x[11] = (ui >> 1) - vi; in fft_8() [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.structin.vert.out | 7 0:8 'vi' ( in structure{ temp 2-element array of 4-component vector of float m, temp 4-compon… 21 0:11 'vi' ( in structure{ temp 2-element array of 4-component vector of float m,… 28 0:11 'vi' ( in structure{ temp 2-element array of 4-component vector of float m,… 36 0:11 'vi' ( in structure{ temp 2-element array of 4-component vector of float m,… 91 0:? 'vi' ( temp structure{ temp 2-element array of 4-component vector of float m, te… 96 0:? 'vi.m[0]' (layout( location=1) in 4-component vector of float) 100 0:? 'vi' ( temp structure{ temp 2-element array of 4-component vector of float m, te… 105 0:? 'vi.m[1]' (layout( location=2) in 4-component vector of float) 108 0:? 'vi' ( temp structure{ temp 2-element array of 4-component vector of float m, temp… 111 0:? 'vi.coord' (layout( location=3) in 4-component vector of float) [all …]
|
/external/swiftshader/src/Reactor/ |
D | Thread.hpp | 321 AtomicInt(int i) : vi(i) {} in AtomicInt() 323 inline operator int() const { return vi; } // Note: this isn't a guaranteed atomic operation in operator int() 324 inline void operator=(const AtomicInt& i) { atomicExchange(&vi, i.vi); } in operator =() 325 inline void operator=(int i) { atomicExchange(&vi, i); } in operator =() 326 inline void operator--() { atomicDecrement(&vi); } in operator --() 327 inline void operator++() { atomicIncrement(&vi); } in operator ++() 328 inline int operator--(int) { return atomicDecrement(&vi); } in operator --() 329 inline int operator++(int) { return atomicIncrement(&vi); } in operator ++() 330 inline void operator-=(int i) { atomicAdd(&vi, -i); } in operator -=() 331 inline void operator+=(int i) { atomicAdd(&vi, i); } in operator +=() [all …]
|
/external/swiftshader/src/Common/ |
D | Thread.hpp | 321 AtomicInt(int i) : vi(i) {} in AtomicInt() 323 inline operator int() const { return vi; } // Note: this isn't a guaranteed atomic operation in operator int() 324 inline void operator=(const AtomicInt& i) { sw::atomicExchange(&vi, i.vi); } in operator =() 325 inline void operator=(int i) { sw::atomicExchange(&vi, i); } in operator =() 326 inline void operator--() { sw::atomicDecrement(&vi); } in operator --() 327 inline void operator++() { sw::atomicIncrement(&vi); } in operator ++() 328 inline int operator--(int) { return sw::atomicDecrement(&vi); } in operator --() 329 inline int operator++(int) { return sw::atomicIncrement(&vi); } in operator ++() 330 inline void operator-=(int i) { sw::atomicAdd(&vi, -i); } in operator -=() 331 inline void operator+=(int i) { sw::atomicAdd(&vi, i); } in operator +=() [all …]
|
/external/swiftshader/src/System/ |
D | Thread.hpp | 321 AtomicInt(int i) : vi(i) {} in AtomicInt() 323 inline operator int() const { return vi; } // Note: this isn't a guaranteed atomic operation in operator int() 324 inline void operator=(const AtomicInt& i) { sw::atomicExchange(&vi, i.vi); } in operator =() 325 inline void operator=(int i) { sw::atomicExchange(&vi, i); } in operator =() 326 inline void operator--() { sw::atomicDecrement(&vi); } in operator --() 327 inline void operator++() { sw::atomicIncrement(&vi); } in operator ++() 328 inline int operator--(int) { return sw::atomicDecrement(&vi); } in operator --() 329 inline int operator++(int) { return sw::atomicIncrement(&vi); } in operator ++() 330 inline void operator-=(int i) { sw::atomicAdd(&vi, -i); } in operator -=() 331 inline void operator+=(int i) { sw::atomicAdd(&vi, i); } in operator +=() [all …]
|
/external/lzma/C/ |
D | DllSecur.c | 43 OSVERSIONINFO vi; in LoadSecurityDlls() local 44 vi.dwOSVersionInfoSize = sizeof(vi); in LoadSecurityDlls() 45 if (!GetVersionEx(&vi) || vi.dwMajorVersion != 6 || vi.dwMinorVersion != 0) in LoadSecurityDlls()
|
/external/dtc/ |
D | flattree.c | 252 struct version_info *vi) in flatten_tree() argument 263 if (vi->flags & FTF_FULLPATH) in flatten_tree() 282 if ((vi->flags & FTF_VARALIGN) && (prop->val.len >= 8)) in flatten_tree() 289 if ((vi->flags & FTF_NAMEPROPS) && !seen_name_prop) { in flatten_tree() 294 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8)) in flatten_tree() 302 flatten_tree(child, emit, etarget, strbuf, vi); in flatten_tree() 309 struct version_info *vi) in flatten_reserve_list() argument 329 struct version_info *vi, in make_fdt_header() argument 340 fdt->version = cpu_to_fdt32(vi->version); in make_fdt_header() 341 fdt->last_comp_version = cpu_to_fdt32(vi->last_comp_version); in make_fdt_header() [all …]
|
/external/u-boot/scripts/dtc/ |
D | flattree.c | 252 struct version_info *vi) in flatten_tree() argument 263 if (vi->flags & FTF_FULLPATH) in flatten_tree() 282 if ((vi->flags & FTF_VARALIGN) && (prop->val.len >= 8)) in flatten_tree() 289 if ((vi->flags & FTF_NAMEPROPS) && !seen_name_prop) { in flatten_tree() 294 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8)) in flatten_tree() 302 flatten_tree(child, emit, etarget, strbuf, vi); in flatten_tree() 309 struct version_info *vi) in flatten_reserve_list() argument 329 struct version_info *vi, in make_fdt_header() argument 340 fdt->version = cpu_to_fdt32(vi->version); in make_fdt_header() 341 fdt->last_comp_version = cpu_to_fdt32(vi->last_comp_version); in make_fdt_header() [all …]
|
/external/webrtc/webrtc/test/linux/ |
D | glx_renderer.cc | 42 XVisualInfo* vi; in Init() local 47 if ((vi = glXChooseVisual(display_, screen, attr_list)) == NULL) { in Init() 52 context_ = glXCreateContext(display_, vi, 0, true); in Init() 60 display_, RootWindow(display_, vi->screen), vi->visual, AllocNone); in Init() 63 window_ = XCreateWindow(display_, RootWindow(display_, vi->screen), 0, 0, in Init() 64 width_, height_, 0, vi->depth, InputOutput, in Init() 65 vi->visual, CWBorderPixel | CWColormap | CWEventMask, in Init() 67 XFree(vi); in Init()
|
/external/lzma/CPP/Windows/ |
D | NtCheck.h | 13 OSVERSIONINFO vi; in IsItWindowsNT() local 14 vi.dwOSVersionInfoSize = sizeof(vi); in IsItWindowsNT() 15 return (::GetVersionEx(&vi) && vi.dwPlatformId == VER_PLATFORM_WIN32_NT); in IsItWindowsNT()
|
/external/eigen/test/ |
D | stddeque.cpp | 29 typename std::deque<MatrixType,Eigen::aligned_allocator<MatrixType> >::iterator vi = v.begin(); in check_stddeque_matrix() local 33 VERIFY_IS_APPROX(*vi, *wi); in check_stddeque_matrix() 34 ++vi; in check_stddeque_matrix() 58 …typename std::deque<TransformType,Eigen::aligned_allocator<TransformType> >::iterator vi = v.begin… in check_stddeque_transform() local 62 VERIFY_IS_APPROX(*vi, *wi); in check_stddeque_transform() 63 ++vi; in check_stddeque_transform() 87 …typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.beg… in check_stddeque_quaternion() local 91 VERIFY_IS_APPROX(*vi, *wi); in check_stddeque_quaternion() 92 ++vi; in check_stddeque_quaternion()
|