/external/ltrace/ |
D | vect.c | 27 slot(struct vect *vec, size_t i) in slot() argument 29 return ((unsigned char *)vec->data) + vec->elt_size * i; in slot() 33 cslot(const struct vect *vec, size_t i) in cslot() argument 35 return ((const unsigned char *)vec->data) + vec->elt_size * i; in cslot() 39 vect_init(struct vect *vec, size_t elt_size) in vect_init() argument 41 *vec = (struct vect){ NULL, 0, 0, elt_size }; in vect_init() 88 vect_reserve(struct vect *vec, size_t count) in vect_reserve() argument 90 if (count > vec->allocated) { in vect_reserve() 91 size_t na = vec->allocated != 0 ? 2 * vec->allocated : 4; in vect_reserve() 94 void *n = realloc(vec->data, na * vec->elt_size); in vect_reserve() [all …]
|
/external/llvm/test/Assembler/ |
D | fast-math-flags.ll | 7 @vec = external global <3 x float> 12 ; CHECK: %vec = load <3 x float>, <3 x float>* @vec 13 %vec = load <3 x float>, <3 x float>* @vec 21 ; CHECK: %a_vec = fadd <3 x float> %vec, %vec 22 %a_vec = fadd <3 x float> %vec, %vec 25 ; CHECK: %b_vec = fsub <3 x float> %vec, %vec 26 %b_vec = fsub <3 x float> %vec, %vec 29 ; CHECK: %c_vec = fmul <3 x float> %vec, %vec 30 %c_vec = fmul <3 x float> %vec, %vec 33 ; CHECK: %d_vec = fdiv <3 x float> %vec, %vec [all …]
|
/external/clang/test/Sema/ |
D | ext_vector_comparisons.c | 6 int4 vec, rv; in test1() local 9 return vec == vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1() 10 return vec != vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1() 11 return vec < vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1() 12 return vec <= vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1() 13 return vec > vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1() 14 return vec >= vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1() 21 float4 vec, rv; in test2() local 24 return vec == vec; // no-warning in test2() 25 return vec != vec; // no-warning in test2() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | audio_vector_unittest.cc | 54 AudioVector vec(array_length()); in TEST_F() local 56 vec[i] = static_cast<int16_t>(i); in TEST_F() 57 const int16_t& value = vec[i]; // Make sure to use the const version. in TEST_F() 65 AudioVector vec; in TEST_F() local 67 vec.PushBack(array_, array_length()); in TEST_F() 68 vec.CopyTo(&vec_copy); // Copy from |vec| to |vec_copy|. in TEST_F() 69 ASSERT_EQ(array_length(), vec.Size()); in TEST_F() 72 EXPECT_EQ(array_[i], vec[i]); in TEST_F() 77 vec.Clear(); in TEST_F() 78 EXPECT_TRUE(vec.Empty()); in TEST_F() [all …]
|
D | audio_multi_vector_unittest.cc | 87 AudioMultiVector vec(num_channels_, array_length()); in TEST_P() local 90 vec[channel][i] = static_cast<int16_t>(i); in TEST_P() 92 const AudioVector& audio_vec = vec[channel]; in TEST_P() 101 AudioMultiVector vec(num_channels_); in TEST_P() local 102 vec.PushBackInterleaved(array_interleaved_, interleaved_length_); in TEST_P() 104 vec.CopyTo(&vec_copy); // Copy from |vec| to |vec_copy|. in TEST_P() 105 ASSERT_EQ(num_channels_, vec.Channels()); in TEST_P() 106 ASSERT_EQ(array_length(), vec.Size()); in TEST_P() 109 for (size_t channel = 0; channel < vec.Channels(); ++channel) { in TEST_P() 111 EXPECT_EQ(static_cast<int16_t>((channel + 1) * 100 + i), vec[channel][i]); in TEST_P() [all …]
|
/external/compiler-rt/test/msan/Linux/ |
D | mincore.cc | 9 unsigned char vec[20]; in main() local 15 __msan_poison(&vec, sizeof(vec)); in main() 16 res = mincore(addr, 10 * PS, vec); in main() 18 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); in main() 20 __msan_poison(&vec, sizeof(vec)); in main() 21 res = mincore(addr, 10 * PS + 42, vec); in main() 23 assert(__msan_test_shadow(vec, sizeof(vec)) == 11); in main() 25 __msan_poison(&vec, sizeof(vec)); in main() 26 res = mincore(addr, 10 * PS - 1, vec); in main() 28 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); in main() [all …]
|
/external/parameter-framework/upstream/test/functional-tests/ |
D | FloatingPoint.cpp | 65 for (auto &vec : invalidParameters) { variable 66 GIVEN ("intentional error: " + vec.title) { 67 create(Config{&Config::instances, vec.payload}); 85 for (auto &vec : Tests<string>{ variable 90 GIVEN ("Invalid value " + vec.title) { 91 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 94 for (auto &vec : Tests<string>{ variable 99 GIVEN ("A valid value " + vec.title) { 100 CHECK_NOTHROW(setParameter(path, vec.payload)); 103 CHECK(getValueBack == vec.payload); [all …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | fttrigon.c | 133 ft_trig_prenorm( FT_Vector* vec ) in ft_trig_prenorm() argument 139 x = vec->x; in ft_trig_prenorm() 140 y = vec->y; in ft_trig_prenorm() 147 vec->x = (FT_Pos)( (FT_ULong)x << shift ); in ft_trig_prenorm() 148 vec->y = (FT_Pos)( (FT_ULong)y << shift ); in ft_trig_prenorm() 153 vec->x = x >> shift; in ft_trig_prenorm() 154 vec->y = y >> shift; in ft_trig_prenorm() 163 ft_trig_pseudo_rotate( FT_Vector* vec, in ft_trig_pseudo_rotate() argument 171 x = vec->x; in ft_trig_pseudo_rotate() 172 y = vec->y; in ft_trig_pseudo_rotate() [all …]
|
/external/freetype/src/base/ |
D | fttrigon.c | 133 ft_trig_prenorm( FT_Vector* vec ) in ft_trig_prenorm() argument 139 x = vec->x; in ft_trig_prenorm() 140 y = vec->y; in ft_trig_prenorm() 147 vec->x = (FT_Pos)( (FT_ULong)x << shift ); in ft_trig_prenorm() 148 vec->y = (FT_Pos)( (FT_ULong)y << shift ); in ft_trig_prenorm() 153 vec->x = x >> shift; in ft_trig_prenorm() 154 vec->y = y >> shift; in ft_trig_prenorm() 163 ft_trig_pseudo_rotate( FT_Vector* vec, in ft_trig_pseudo_rotate() argument 171 x = vec->x; in ft_trig_pseudo_rotate() 172 y = vec->y; in ft_trig_pseudo_rotate() [all …]
|
/external/javassist/sample/vector/ |
D | VectorAssistant.java | 52 public CtClass[] assist(ClassPool pool, String vec, String[] args) in assist() argument 67 CtClass[] results = { subclass, pool.get(vec) }; in assist() 87 CtClass vec = pool.makeClass(makeClassName(type)); in makeSubclass() local 88 vec.setSuperclass(pool.get("java.util.Vector")); in makeSubclass() 97 vec.addMethod(CtNewMethod.copy(addmethod, "add", vec, map)); in makeSubclass() 98 vec.addMethod(CtNewMethod.copy(atmethod, "at", vec, map)); in makeSubclass() 99 vec.writeFile(); in makeSubclass() 100 return vec; in makeSubclass() 112 CtClass vec = pool.makeClass(makeClassName(type)); in makeSubclass2() local 113 vec.setSuperclass(pool.get("java.util.Vector")); in makeSubclass2() [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | qpx-unal-cons-lds.ll | 52 %wide.vec = load <8 x double>, <8 x double>* %2, align 8 53 …%strided.vec = shufflevector <8 x double> %wide.vec, <8 x double> undef, <4 x i32> <i32 0, i32 2, … 54 …%3 = fadd <4 x double> %strided.vec, <double 1.000000e+00, double 1.000000e+00, double 1.000000e+0… 62 %wide.vec.1 = load <8 x double>, <8 x double>* %8, align 8 63 …%strided.vec.1 = shufflevector <8 x double> %wide.vec.1, <8 x double> undef, <4 x i32> <i32 0, i32… 64 …%9 = fadd <4 x double> %strided.vec.1, <double 1.000000e+00, double 1.000000e+00, double 1.000000e… 72 %wide.vec.2 = load <8 x double>, <8 x double>* %14, align 8 73 …%strided.vec.2 = shufflevector <8 x double> %wide.vec.2, <8 x double> undef, <4 x i32> <i32 0, i32… 74 …%15 = fadd <4 x double> %strided.vec.2, <double 1.000000e+00, double 1.000000e+00, double 1.000000… 82 %wide.vec.3 = load <8 x double>, <8 x double>* %20, align 8 [all …]
|
D | vsx-infl-copy2.ll | 22 %vec.phi61 = phi <4 x i32> [ %34, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 23 %vec.phi62 = phi <4 x i32> [ %35, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 24 %vec.phi63 = phi <4 x i32> [ %36, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 25 %vec.phi65 = phi <4 x i32> [ %37, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 26 %vec.phi67 = phi <4 x i32> [ %38, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 27 %vec.phi68 = phi <4 x i32> [ %39, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 28 %vec.phi69 = phi <4 x i32> [ %40, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 29 %vec.phi70 = phi <4 x i32> [ %41, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 30 %vec.phi71 = phi <4 x i32> [ %42, %vector.body ], [ zeroinitializer, %loop_start.preheader ] 83 %34 = add nsw <4 x i32> %25, %vec.phi61 [all …]
|
/external/eigen/test/ |
D | commainitializer.cpp | 30 Vector3d vec[3]; in test_commainitializer() local 31 vec[0] << 1, 4, 7; in test_commainitializer() 32 vec[1] << 2, 5, 8; in test_commainitializer() 33 vec[2] << 3, 6, 9; in test_commainitializer() 35 m3 << vec[0], vec[1], vec[2]; in test_commainitializer() 38 vec[0] << 1, 2, 3; in test_commainitializer() 39 vec[1] << 4, 5, 6; in test_commainitializer() 40 vec[2] << 7, 8, 9; in test_commainitializer() 42 m3 << vec[0].transpose(), in test_commainitializer() 44 vec[2].transpose(); in test_commainitializer()
|
/external/eigen/test/eigen2/ |
D | eigen2_commainitializer.cpp | 30 Vector3d vec[3]; in test_eigen2_commainitializer() local 31 vec[0] << 1, 4, 7; in test_eigen2_commainitializer() 32 vec[1] << 2, 5, 8; in test_eigen2_commainitializer() 33 vec[2] << 3, 6, 9; in test_eigen2_commainitializer() 35 m3 << vec[0], vec[1], vec[2]; in test_eigen2_commainitializer() 38 vec[0] << 1, 2, 3; in test_eigen2_commainitializer() 39 vec[1] << 4, 5, 6; in test_eigen2_commainitializer() 40 vec[2] << 7, 8, 9; in test_eigen2_commainitializer() 42 m3 << vec[0].transpose(), in test_eigen2_commainitializer() 44 vec[2].transpose(); in test_eigen2_commainitializer()
|
/external/valgrind/memcheck/tests/solaris/ |
D | sendfilev.c | 43 sendfilevec_t vec[2]; in main() local 44 vec[0].sfv_fd = SFV_FD_SELF; in main() 45 vec[0].sfv_off = -1; in main() 46 vec[0].sfv_len = 1; in main() 47 vec[0].sfv_flag = 0; in main() 48 vec[1].sfv_fd = test_fd; in main() 49 vec[1].sfv_off = 0; in main() 50 vec[1].sfv_len = CHUNK; in main() 51 vec[1].sfv_flag = 0; in main() 54 nbytes = sendfilev(test_fd, vec, 2, &xferred); in main() [all …]
|
/external/boringssl/src/crypto/chacha/ |
D | chacha_vec.c | 35 typedef unsigned vec __attribute__((vector_size(16))); typedef 47 #define ONE (vec) vsetq_lane_u32(1, vdupq_n_u32(0), 0) 48 #define LOAD_ALIGNED(m) (vec)(*((vec *)(m))) 54 (*((vec *)(alignment_buffer))) = (r); \ 57 #define ROTV1(x) (vec) vextq_u32((uint32x4_t)x, (uint32x4_t)x, 1) 58 #define ROTV2(x) (vec) vextq_u32((uint32x4_t)x, (uint32x4_t)x, 2) 59 #define ROTV3(x) (vec) vextq_u32((uint32x4_t)x, (uint32x4_t)x, 3) 60 #define ROTW16(x) (vec) vrev32q_u16((uint16x8_t)x) 62 #define ROTW7(x) (x << ((vec) {7, 7, 7, 7})) ^ (x >> ((vec) {25, 25, 25, 25})) 63 #define ROTW8(x) (x << ((vec) {8, 8, 8, 8})) ^ (x >> ((vec) {24, 24, 24, 24})) [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | 2009-11-13-CoalescerCrash.ll | 5 %pln = type { %vec, float } 6 %vec = type { [4 x float] } 8 …_vfpcc float @aaa(%vec* nocapture %ustart, %vec* nocapture %udir, %vec* nocapture %vstart, %vec* n… 13 …%0 = call arm_aapcs_vfpcc %0 @bbb(%pln* undef, %vec* %vstart, %vec* undef) nounwind ; <%0> [#uses… 20 declare arm_aapcs_vfpcc %0 @bbb(%pln* nocapture, %vec* nocapture, %vec* nocapture) nounwind
|
/external/icu/icu4c/source/i18n/ |
D | fphdlimp.cpp | 72 : iter(posIter), vec(NULL), status(_status) { in FieldPositionIteratorHandler() 74 vec = new UVector32(status); in FieldPositionIteratorHandler() 81 iter->setData(vec, status); in ~FieldPositionIteratorHandler() 84 vec = NULL; in ~FieldPositionIteratorHandler() 90 int32_t size = vec->size(); in addAttribute() 91 vec->addElement(id, status); in addAttribute() 92 vec->addElement(start, status); in addAttribute() 93 vec->addElement(limit, status); in addAttribute() 95 vec->setSize(size); in addAttribute() 103 int32_t i = vec->size(); in shiftLast() [all …]
|
/external/llvm/test/Analysis/CostModel/AMDGPU/ |
D | extractelement.ll | 6 %vec = load <2 x i32>, <2 x i32> addrspace(1)* %vaddr 7 %elt = extractelement <2 x i32> %vec, i32 1 15 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 16 %elt = extractelement <2 x float> %vec, i32 1 24 %vec = load <3 x i32>, <3 x i32> addrspace(1)* %vaddr 25 %elt = extractelement <3 x i32> %vec, i32 1 33 %vec = load <4 x i32>, <4 x i32> addrspace(1)* %vaddr 34 %elt = extractelement <4 x i32> %vec, i32 1 42 %vec = load <8 x i32>, <8 x i32> addrspace(1)* %vaddr 43 %elt = extractelement <8 x i32> %vec, i32 1 [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | split-scalar-i64-add.ll | 15 %vec.0 = insertelement <2 x i32> undef, i32 %s.val, i32 0 16 %vec.1 = insertelement <2 x i32> %vec.0, i32 %v.val, i32 1 17 %bc = bitcast <2 x i32> %vec.1 to i64 27 %vec.0 = insertelement <2 x i32> undef, i32 %val, i32 0 28 %vec.1 = insertelement <2 x i32> %vec.0, i32 999999, i32 1 29 %bc = bitcast <2 x i32> %vec.1 to i64 40 %vec.0 = insertelement <2 x i32> undef, i32 %val0, i32 0 41 %vec.1 = insertelement <2 x i32> %vec.0, i32 %v.val, i32 1 42 %bc = bitcast <2 x i32> %vec.1 to i64 52 %vec.0 = insertelement <2 x i32> undef, i32 %val0, i32 0 [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_fxt1.c | 290 fxt1_bestcol (GLfloat vec[][MAX_COMP], GLint nv, in fxt1_bestcol() 299 e += (vec[j][i] - input[i]) * (vec[j][i] - input[i]); in fxt1_bestcol() 312 fxt1_worst (GLfloat vec[MAX_COMP], in fxt1_worst() 321 e += (vec[i] - input[k][i]) * (vec[i] - input[k][i]); in fxt1_worst() 364 fxt1_choose (GLfloat vec[][MAX_COMP], GLint nv, in fxt1_choose() 375 vec[j][i] = input[m][i]; in fxt1_choose() 435 vec[j][i] = (GLfloat)input[hist[j].idx][i]; in fxt1_choose() 440 vec[j][i] = vec[0][i]; in fxt1_choose() 448 …vec[j][i] = ((nv - 1 - j) * input[minCol][i] + j * input[maxCol][i] + (nv - 1) / 2) / (GLfloat)(nv… in fxt1_choose() 458 fxt1_lloyd (GLfloat vec[][MAX_COMP], GLint nv, in fxt1_lloyd() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | tst_badblocks.c | 68 static errcode_t create_test_list(blk_t *vec, badblocks_list *ret) in create_test_list() argument 79 for (i=0; vec[i]; i++) { in create_test_list() 80 retval = ext2fs_badblocks_list_add(bb, vec[i]); in create_test_list() 121 static void validate_test_seq(badblocks_list bb, blk_t *vec) in validate_test_seq() argument 125 for (i = 0; vec[i]; i += 2) { in validate_test_seq() 126 match = ext2fs_badblocks_list_test(bb, vec[i]); in validate_test_seq() 127 if (match == vec[i+1]) in validate_test_seq() 133 printf("\tblock %u is %s --- %s\n", vec[i], in validate_test_seq() 139 static void do_test_seq(badblocks_list bb, blk_t *vec) in do_test_seq() argument 143 for (i = 0; vec[i]; i += 2) { in do_test_seq() [all …]
|
/external/skia/src/effects/ |
D | SkOffsetImageFilter.cpp | 28 SkVector vec; in onFilterImageDeprecated() local 29 ctx.ctm().mapVectors(&vec, &fOffset, 1); in onFilterImageDeprecated() 31 offset->fX = srcOffset.fX + SkScalarRoundToInt(vec.fX); in onFilterImageDeprecated() 32 offset->fY = srcOffset.fY + SkScalarRoundToInt(vec.fY); in onFilterImageDeprecated() 55 SkVector vec; in onFilterImageDeprecated() local 56 ctx.ctm().mapVectors(&vec, &fOffset, 1); in onFilterImageDeprecated() 57 canvas.drawBitmap(src, vec.x(), vec.y(), &paint); in onFilterImageDeprecated() 76 SkVector vec; in onFilterNodeBounds() local 77 ctm.mapVectors(&vec, &fOffset, 1); in onFilterNodeBounds() 79 vec.negate(); in onFilterNodeBounds() [all …]
|
/external/eigen/unsupported/doc/examples/ |
D | FFT.cpp | 34 T mag2(const std::vector<T> & vec) in mag2() argument 37 for (size_t k=0;k<vec.size();++k) in mag2() 38 out += mag2(vec[k]); in mag2() 43 T mag2(const std::vector<std::complex<T> > & vec) in mag2() argument 46 for (size_t k=0;k<vec.size();++k) in mag2() 47 out += mag2(vec[k]); in mag2() 61 void RandomFill(std::vector<T> & vec) in RandomFill() argument 63 for (size_t k=0;k<vec.size();++k) in RandomFill() 64 vec[k] = T( rand() )/T(RAND_MAX) - .5; in RandomFill() 68 void RandomFill(std::vector<std::complex<T> > & vec) in RandomFill() argument [all …]
|
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
D | push_front_exception_safety.pass.cpp | 71 std::deque<CMyClass> vec; in main() local 73 vec.push_front(instance); in main() 74 std::deque<CMyClass> vec2(vec); in main() 78 vec.push_front(instance); in main() 83 assert(vec==vec2); in main() 89 C vec; in main() local 90 C vec2(vec); in main() 94 vec.push_front(instance); in main() 98 assert(vec==vec2); in main()
|