Home
last modified time | relevance | path

Searched refs:vi (Results 1 – 25 of 557) sorted by relevance

12345678910>>...23

/external/libnl/lib/route/link/
Dvlan.c68 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/
Dfft.cpp742 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 …]
Dfft_rad2.cpp185 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/
Dbuiltins-ppc-altivec.c23 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 …]
Daltivec.c19 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
35vi++; // CHECK: add <4 x i32> {{.*}} <i32 1, i32 1, i32 1, i32 … in test3()
/external/aac/libFDK/src/arm/
Dfft_rad2_arm.cpp173 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/
Dtreminfo.c124 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 …]
Ddsp.c49 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 …]
Dmapping0.c70 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 …]
Dvorbisfile.c269 vorbis_info_clear(&vf->vi); in _decode_clear()
282 vorbis_info *vi, in _fetch_headers() argument
305 vorbis_info_init(vi); in _fetch_headers()
318 if((ret=vorbis_dsp_headerin(vi,vc,&op))){ in _fetch_headers()
338 vorbis_info_clear(vi); in _fetch_headers()
355 return _fetch_headers(vf,&vf->vi,&vf->vc,&vf->current_serialno,NULL); in _set_link_number()
398 if(_fetch_headers(vf,&vf->vi,&vf->vc,NULL,NULL)<0){ in _prefetch_all_offsets()
432 long thisblock=vorbis_packet_blocksize(&vf->vi,&op); in _prefetch_all_offsets()
464 vorbis_info_clear(&vf->vi); in _prefetch_all_offsets()
491 vf->vd=vorbis_dsp_create(&vf->vi); in _make_decode_ready()
[all …]
/external/clang/test/SemaCXX/
Daltivec.cpp14 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/
Dunaligned_load_store_vector.ll11 %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/
Daltivec-init.c13 vector int vi; in foo() local
14 vi = (vector int)(1); in foo()
15vi = (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()
Dext_vector_casts.c99 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/
Dfft.h217 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/swiftshader/src/Common/
DThread.hpp321 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/
DDllSecur.c43 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/
Dflattree.c252 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/
Dglx_renderer.cc42 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/
DNtCheck.h13 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/
Dstddeque.cpp29 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()
Dstdlist.cpp29 typename std::list<MatrixType,Eigen::aligned_allocator<MatrixType> >::iterator vi = v.begin(); in check_stdlist_matrix() local
33 VERIFY_IS_APPROX(*vi, *wi); in check_stdlist_matrix()
34 ++vi; in check_stdlist_matrix()
58 …typename std::list<TransformType,Eigen::aligned_allocator<TransformType> >::iterator vi = v.begin(… in check_stdlist_transform() local
62 VERIFY_IS_APPROX(*vi, *wi); in check_stdlist_transform()
63 ++vi; in check_stdlist_transform()
87 …typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.begi… in check_stdlist_quaternion() local
91 VERIFY_IS_APPROX(*vi, *wi); in check_stdlist_quaternion()
92 ++vi; in check_stdlist_quaternion()
/external/autotest/client/common_lib/
Dsmogcheck_tpm.py100 def InitVersionInfo(vi): argument
106 vi.tpmVendorId = create_string_buffer(4) # Allocate 4 bytes
108 vi.vendorSpecific = cast(pointer(vendorDetail), POINTER(c_ubyte))
111 def PrintVersionInfo(vi): argument
118 logging.info(' Chip Version: %d.%d.%d.%d.', vi.version.major,
119 vi.version.minor, vi.version.revMajor, vi.version.revMinor)
120 logging.info(' Spec Level: %d', vi.specLevel)
121 logging.info(' Errata Revision: %d', vi.errataRev)
122 vendorId = [i for i in vi.tpmVendorID if i]
126 '%.2x %.2x %.2x %.2x', vi.vendorSpecific[0],
[all …]
/external/libxaac/decoder/
Dixheaacd_dsp_fft32x32s.c36 WORD32 vr, vi; in ixheaacd_inv_dit_fft_8pt_dec() local
96 vi = ixheaacd_mult32x16in32_shl_sat(ixheaacd_add32_sat(x[10], x[11]), 0x5A82); in ixheaacd_inv_dit_fft_8pt_dec()
99 imag[1] = ixheaacd_add32_sat(x[3], vi); in ixheaacd_inv_dit_fft_8pt_dec()
102 a3 = ixheaacd_sub32_sat(x[3], vi); in ixheaacd_inv_dit_fft_8pt_dec()
107 vi = ixheaacd_mult32x16in32_shl_sat(ixheaacd_sub32_sat(x[14], x[15]), 0x5A82); in ixheaacd_inv_dit_fft_8pt_dec()
110 a30 = ixheaacd_add32_sat(x[7], vi); in ixheaacd_inv_dit_fft_8pt_dec()
116 imag[5] = ixheaacd_sub32_sat(x[7], vi); in ixheaacd_inv_dit_fft_8pt_dec()
/external/libedit/src/
DMakefile.am2 BUILT_SOURCES = vi.h emacs.h common.h fcns.h help.h fcns.c help.c
7 AHDR= vi.h emacs.h common.h
8 ASRC= $(srcdir)/vi.c $(srcdir)/emacs.c $(srcdir)/common.c
10 vi.h: Makefile $(srcdir)/vi.c
11 AWK=$(AWK) sh $(srcdir)/makelist -h $(srcdir)/vi.c > $@
41 prompt.c read.c refresh.c search.c sig.c terminal.c tty.c vi.c \

12345678910>>...23