/external/clang/test/Sema/ |
H A D | ext_vector_comparisons.c | 6 int4 vec, rv; local 9 return vec == vec; // expected-warning{{self-comparison always evaluates to a constant}} 10 return vec != vec; // expected-warning{{self-comparison always evaluates to a constant}} 11 return vec < vec; // expected-warning{{self-comparison always evaluates to a constant}} 12 return vec <= vec; // expected-warning{{self-comparison always evaluates to a constant}} 13 return vec > ve 21 float4 vec, rv; local [all...] |
/external/compiler-rt/test/msan/Linux/ |
H A D | mincore.cc | 9 unsigned char vec[20]; local 15 __msan_poison(&vec, sizeof(vec)); 16 res = mincore(addr, 10 * PS, vec); 18 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); 20 __msan_poison(&vec, sizeof(vec)); 21 res = mincore(addr, 10 * PS + 42, vec); 23 assert(__msan_test_shadow(vec, sizeo [all...] |
/external/parameter-framework/upstream/test/functional-tests/ |
H A D | FloatingPoint.cpp | 65 for (auto &vec : invalidParameters) { 66 GIVEN ("intentional error: " + vec.title) { 67 create(Config{&Config::instances, vec.payload}); 85 for (auto &vec : Tests<string>{ 90 GIVEN ("Invalid value " + vec.title) { 91 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 94 for (auto &vec : Tests<string>{ 99 GIVEN ("A valid value " + vec.title) { 100 CHECK_NOTHROW(setParameter(path, vec.payload)); 103 CHECK(getValueBack == vec [all...] |
/external/clang/test/Index/ |
H A D | complete-cxx-inline-methods.cpp | 4 vec.x = 0; 9 Vec vec; member in class:__anon2556::MyCls 13 vec.x = 0;
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
H A D | audio_multi_vector_unittest.cc | 87 AudioMultiVector vec(num_channels_, array_length()); 90 vec[channel][i] = static_cast<int16_t>(i); 92 const AudioVector& audio_vec = vec[channel]; 101 AudioMultiVector vec(num_channels_); 102 vec.PushBackInterleaved(array_interleaved_, interleaved_length_); 104 vec.CopyTo(&vec_copy); // Copy from |vec| to |vec_copy|. 105 ASSERT_EQ(num_channels_, vec.Channels()); 106 ASSERT_EQ(array_length(), vec.Size()); 109 for (size_t channel = 0; channel < vec 111 EXPECT_EQ(static_cast<int16_t>((channel + 1) * 100 + i), vec[channel][i]); local [all...] |
H A D | audio_vector_unittest.cc | 54 AudioVector vec(array_length()); 56 vec[i] = static_cast<int16_t>(i); 57 const int16_t& value = vec[i]; // Make sure to use the const version. 65 AudioVector vec; local 67 vec.PushBack(array_, array_length()); 68 vec.CopyTo(&vec_copy); // Copy from |vec| to |vec_copy|. 69 ASSERT_EQ(array_length(), vec.Size()); 72 EXPECT_EQ(array_[i], vec[i]); 76 // Clear |vec| an 87 AudioVector vec; local 114 AudioVector vec; local 143 AudioVector vec; local 156 AudioVector vec; local 161 EXPECT_EQ(static_cast<int16_t>(i), vec[i]); local 169 AudioVector vec; local 181 AudioVector vec; local 212 AudioVector vec; local 230 AudioVector vec; local 256 AudioVector vec; local 285 AudioVector vec; local 311 AudioVector vec; local 341 AudioVector vec; local [all...] |
/external/eigen/unsupported/test/ |
H A D | cxx11_tensor_random.cpp | 16 Tensor<float, 1> vec(6); 17 vec.setRandom(); 22 VERIFY_IS_NOT_EQUAL(vec(i), vec(i-1)); 28 Tensor<float, 1> vec(6); 29 vec.setRandom<Eigen::internal::NormalRandomGenerator<float>>(); 34 VERIFY_IS_NOT_EQUAL(vec(i), vec(i-1)); 65 Tensor<int, 1> vec(6); 66 vec [all...] |
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | mincore.cc | 8 unsigned char vec[20]; local 14 res = mincore(addr, 10 * PS, vec); 17 assert((vec[i] & 1) == 0); 21 res = mincore(addr, 10 * PS, vec); 24 assert((vec[i] & 1) == (i < 5)); 28 res = mincore(addr, 10 * PS, vec); 31 assert((vec[i] & 1) == 1);
|
/external/icu/icu4c/source/i18n/ |
H A D | fphdlimp.cpp | 74 : iter(posIter), vec(NULL), status(_status) { 76 vec = new UVector32(status); 81 // setData adopts the vec regardless of status, so it's safe to null it 83 iter->setData(vec, status); 85 // if iter is null, we never allocated vec, so no need to free it 86 vec = NULL; 92 int32_t size = vec->size(); 93 vec->addElement(id, status); 94 vec->addElement(start, status); 95 vec [all...] |
/external/valgrind/memcheck/tests/solaris/ |
H A D | sendfilev.c | 43 sendfilevec_t vec[2]; local 44 vec[0].sfv_fd = SFV_FD_SELF; 45 vec[0].sfv_off = -1; 46 vec[0].sfv_len = 1; 47 vec[0].sfv_flag = 0; 48 vec[1].sfv_fd = test_fd; 49 vec[1].sfv_off = 0; 50 vec[1].sfv_len = CHUNK; 51 vec[1].sfv_flag = 0; 54 nbytes = sendfilev(test_fd, vec, [all...] |
/external/javassist/sample/vector/ |
H A D | VectorAssistant.java | 52 public CtClass[] assist(ClassPool pool, String vec, String[] args) argument 67 CtClass[] results = { subclass, pool.get(vec) }; 87 CtClass vec = pool.makeClass(makeClassName(type)); 88 vec.setSuperclass(pool.get("java.util.Vector")); 97 vec.addMethod(CtNewMethod.copy(addmethod, "add", vec, map)); 98 vec.addMethod(CtNewMethod.copy(atmethod, "at", vec, map)); 99 vec.writeFile(); 100 return vec; [all...] |
/external/strace/tests/ |
H A D | mincore.c | 36 const size_t size, unsigned char *const vec) 40 if (mincore(addr, size, vec)) 51 printf("%u", vec[i] & 1); 62 unsigned char *const vec = tail_alloc(pages); local 68 print_mincore(pages, addr, size, vec); 70 print_mincore(pages, addr, size - page_size + 1, vec); 35 print_mincore(const unsigned int pages, void *const addr, const size_t size, unsigned char *const vec) argument
|
H A D | libmmsg.c | 45 recv_mmsg(const int fd, struct mmsghdr *const vec, argument 50 fd, (long) vec, vlen, flags, (long) timeout); 59 send_mmsg(const int fd, struct mmsghdr *const vec, argument 63 fd, (long) vec, vlen, flags, 0);
|
/external/strace/tests-m32/ |
H A D | mincore.c | 36 const size_t size, unsigned char *const vec) 40 if (mincore(addr, size, vec)) 51 printf("%u", vec[i] & 1); 62 unsigned char *const vec = tail_alloc(pages); local 68 print_mincore(pages, addr, size, vec); 70 print_mincore(pages, addr, size - page_size + 1, vec); 35 print_mincore(const unsigned int pages, void *const addr, const size_t size, unsigned char *const vec) argument
|
H A D | libmmsg.c | 45 recv_mmsg(const int fd, struct mmsghdr *const vec, argument 50 fd, (long) vec, vlen, flags, (long) timeout); 59 send_mmsg(const int fd, struct mmsghdr *const vec, argument 63 fd, (long) vec, vlen, flags, 0);
|
/external/strace/tests-mx32/ |
H A D | mincore.c | 36 const size_t size, unsigned char *const vec) 40 if (mincore(addr, size, vec)) 51 printf("%u", vec[i] & 1); 62 unsigned char *const vec = tail_alloc(pages); local 68 print_mincore(pages, addr, size, vec); 70 print_mincore(pages, addr, size - page_size + 1, vec); 35 print_mincore(const unsigned int pages, void *const addr, const size_t size, unsigned char *const vec) argument
|
H A D | libmmsg.c | 45 recv_mmsg(const int fd, struct mmsghdr *const vec, argument 50 fd, (long) vec, vlen, flags, (long) timeout); 59 send_mmsg(const int fd, struct mmsghdr *const vec, argument 63 fd, (long) vec, vlen, flags, 0);
|
/external/clang/test/Analysis/ |
H A D | no-outofbounds.c | 27 struct vec { size_t len; int data[0]; }; struct 28 struct vec *a = malloc(sizeof(struct vec) + 10*sizeof(int));
|
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
H A D | push_back_exception_safety.pass.cpp | 72 std::deque<CMyClass> vec; local 74 vec.push_back(instance); 75 std::deque<CMyClass> vec2(vec); 79 vec.push_back(instance); 84 assert(vec==vec2); 90 C vec; local 91 C vec2(vec); 95 vec.push_back(instance); 99 assert(vec==vec2);
|
H A D | push_front_exception_safety.pass.cpp | 72 std::deque<CMyClass> vec; local 74 vec.push_front(instance); 75 std::deque<CMyClass> vec2(vec); 79 vec.push_front(instance); 84 assert(vec==vec2); 90 C vec; local 91 C vec2(vec); 95 vec.push_front(instance); 99 assert(vec==vec2);
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineSpecConstantUtil.hpp | 82 std::vector<T> vec; local 83 vec.reserve(1); 84 vec.push_back(o1); 85 return vec; 91 std::vector<T> vec; local 92 vec.reserve(2); 93 vec.push_back(o1); 94 vec.push_back(o2); 95 return vec; 101 std::vector<T> vec; local 112 std::vector<T> vec; local [all...] |
/external/freetype/src/base/ |
H A D | fttrigon.c | 134 ft_trig_prenorm( FT_Vector* vec ) 140 x = vec->x; 141 y = vec->y; 148 vec->x = (FT_Pos)( (FT_ULong)x << shift ); 149 vec->y = (FT_Pos)( (FT_ULong)y << shift ); 154 vec->x = x >> shift; 155 vec->y = y >> shift; 164 ft_trig_pseudo_rotate( FT_Vector* vec, argument 172 x = vec->x; 173 y = vec 361 FT_Vector_Unit( FT_Vector* vec, FT_Angle angle ) argument 386 FT_Vector_Rotate( FT_Vector* vec, FT_Angle angle ) argument 463 FT_Vector_Polarize( FT_Vector* vec, FT_Fixed *length, FT_Angle *angle ) argument 493 FT_Vector_From_Polar( FT_Vector* vec, FT_Fixed length, FT_Angle angle ) argument [all...] |
/external/pdfium/third_party/freetype/src/base/ |
H A D | fttrigon.c | 133 ft_trig_prenorm( FT_Vector* vec ) 139 x = vec->x; 140 y = vec->y; 147 vec->x = (FT_Pos)( (FT_ULong)x << shift ); 148 vec->y = (FT_Pos)( (FT_ULong)y << shift ); 153 vec->x = x >> shift; 154 vec->y = y >> shift; 163 ft_trig_pseudo_rotate( FT_Vector* vec, argument 171 x = vec->x; 172 y = vec 360 FT_Vector_Unit( FT_Vector* vec, FT_Angle angle ) argument 385 FT_Vector_Rotate( FT_Vector* vec, FT_Angle angle ) argument 462 FT_Vector_Polarize( FT_Vector* vec, FT_Fixed *length, FT_Angle *angle ) argument 492 FT_Vector_From_Polar( FT_Vector* vec, FT_Fixed length, FT_Angle angle ) argument [all...] |
/external/clang/test/CodeGen/ |
H A D | arm-vector-align.c | 27 int32x2_t vec = vld1_dup_s32(addr); local 29 vst1_lane_s32(addr, vec, 1);
|
/external/freetype/include/freetype/ |
H A D | fttrigon.h | 228 * call, the value of `vec.x' will be `cos(angle)', and the value of 229 * `vec.y' will be `sin(angle)'. 235 * vec :: 244 FT_Vector_Unit( FT_Vector* vec, 257 * vec :: 266 FT_Vector_Rotate( FT_Vector* vec, 279 * vec :: 288 FT_Vector_Length( FT_Vector* vec ); variable 300 * vec :: 312 FT_Vector_Polarize( FT_Vector* vec, [all...] |