/external/llvm-project/polly/lib/External/isl/ |
D | isl_vec.c | 17 isl_ctx *isl_vec_get_ctx(__isl_keep isl_vec *vec) in isl_vec_get_ctx() argument 19 return vec ? vec->ctx : NULL; in isl_vec_get_ctx() 24 uint32_t isl_vec_get_hash(__isl_keep isl_vec *vec) in isl_vec_get_hash() argument 26 if (!vec) in isl_vec_get_hash() 29 return isl_seq_get_hash(vec->el, vec->size); in isl_vec_get_hash() 34 struct isl_vec *vec; in isl_vec_alloc() local 36 vec = isl_alloc_type(ctx, struct isl_vec); in isl_vec_alloc() 37 if (!vec) in isl_vec_alloc() 40 vec->block = isl_blk_alloc(ctx, size); in isl_vec_alloc() 41 if (isl_blk_is_error(vec->block)) in isl_vec_alloc() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/util/ |
D | small_vector_test.cpp | 28 SmallVector<uint32_t, 2> vec; in TEST() local 30 EXPECT_TRUE(vec.empty()); in TEST() 31 EXPECT_EQ(vec.size(), 0); in TEST() 32 EXPECT_EQ(vec.begin(), vec.end()); in TEST() 36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local 38 EXPECT_FALSE(vec.empty()); in TEST() 39 EXPECT_EQ(vec.size(), 4); in TEST() 42 for (uint32_t i = 0; i < vec.size(); ++i) { in TEST() 43 EXPECT_EQ(vec[i], result[i]); in TEST() 48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local [all …]
|
/external/deqp-deps/SPIRV-Tools/test/util/ |
D | small_vector_test.cpp | 28 SmallVector<uint32_t, 2> vec; in TEST() local 30 EXPECT_TRUE(vec.empty()); in TEST() 31 EXPECT_EQ(vec.size(), 0); in TEST() 32 EXPECT_EQ(vec.begin(), vec.end()); in TEST() 36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local 38 EXPECT_FALSE(vec.empty()); in TEST() 39 EXPECT_EQ(vec.size(), 4); in TEST() 42 for (uint32_t i = 0; i < vec.size(); ++i) { in TEST() 43 EXPECT_EQ(vec[i], result[i]); in TEST() 48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/util/ |
D | small_vector_test.cpp | 28 SmallVector<uint32_t, 2> vec; in TEST() local 30 EXPECT_TRUE(vec.empty()); in TEST() 31 EXPECT_EQ(vec.size(), 0); in TEST() 32 EXPECT_EQ(vec.begin(), vec.end()); in TEST() 36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local 38 EXPECT_FALSE(vec.empty()); in TEST() 39 EXPECT_EQ(vec.size(), 4); in TEST() 42 for (uint32_t i = 0; i < vec.size(); ++i) { in TEST() 43 EXPECT_EQ(vec[i], result[i]); in TEST() 48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local [all …]
|
/external/angle/src/common/ |
D | vector_utils_unittest.cpp | 40 Vector2 vec(1.0, 2.0); in TEST() local 41 ASSERT_EQ(1.0, vec[0]); in TEST() 42 ASSERT_EQ(2.0, vec[1]); in TEST() 44 vec[0] = 3.0; in TEST() 45 vec[1] = 4.0; in TEST() 46 ASSERT_EQ(Vector2(3.0, 4.0), vec); in TEST() 54 Vector2 vec(3.0); in TEST() local 55 ASSERT_EQ(3.0, vec[0]); in TEST() 56 ASSERT_EQ(3.0, vec[1]); in TEST() 61 Vector2 vec(Vector2(1.0, 2.0)); in TEST() local [all …]
|
D | FixedVector_unittest.cpp | 53 FixedVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local 54 EXPECT_EQ(0, vec.at(0)); in TEST() 55 EXPECT_EQ(vec[0], vec.at(0)); in TEST() 61 FixedVector<int, 5> vec; in TEST() local 62 vec.push_back(1); in TEST() 63 EXPECT_EQ(1, vec[0]); in TEST() 64 vec.push_back(1); in TEST() 65 vec.push_back(1); in TEST() 66 vec.push_back(1); in TEST() 67 vec.push_back(1); in TEST() [all …]
|
D | FastVector_unittest.cpp | 59 FastVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local 62 EXPECT_EQ(i, vec.at(i)); in TEST() 63 EXPECT_EQ(vec[i], vec.at(i)); in TEST() 70 FastVector<int, 5> vec; in TEST() local 71 vec.push_back(1); in TEST() 72 EXPECT_EQ(1, vec[0]); in TEST() 73 vec.push_back(1); in TEST() 74 vec.push_back(1); in TEST() 75 vec.push_back(1); in TEST() 76 vec.push_back(1); in TEST() [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | arm64_32-neon.ll | 3 define <2 x double> @test_insert_elt(<2 x double> %vec, double %val) { 6 %res = insertelement <2 x double> %vec, double %val, i32 0 21 %vec.tmp0 = insertelement <4 x i32> undef, i32 42, i32 0 22 %vec.tmp1 = insertelement <4 x i32> %vec.tmp0, i32 42, i32 1 23 %vec.tmp2 = insertelement <4 x i32> %vec.tmp1, i32 42, i32 2 24 %vec = insertelement <4 x i32> %vec.tmp2, i32 42, i32 3 26 store <4 x i32> %vec, <4 x i32>* %addr, align 8 31 %vec = type <2 x double> 33 declare {%vec, %vec} @llvm.aarch64.neon.ld2r.v2f64.p0i8(i8*) 34 define {%vec, %vec} @test_neon_load(i8* %addr) { [all …]
|
/external/marisa-trie/tests/ |
D | vector-test.cc | 132 marisa::grimoire::Vector<int> vec; in TestVector() local 134 ASSERT(vec.max_size() == (MARISA_SIZE_MAX / sizeof(int))); in TestVector() 135 ASSERT(vec.size() == 0); in TestVector() 136 ASSERT(vec.capacity() == 0); in TestVector() 137 ASSERT(!vec.fixed()); in TestVector() 138 ASSERT(vec.empty()); in TestVector() 139 ASSERT(vec.total_size() == 0); in TestVector() 140 ASSERT(vec.io_size() == sizeof(marisa::UInt64)); in TestVector() 143 vec.push_back(values[i]); in TestVector() 144 ASSERT(vec[i] == values[i]); in TestVector() [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/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/libcxx/test/std/containers/sequences/vector/vector.cons/ |
D | deduct.pass.cpp | 39 std::vector vec(std::begin(arr), std::end(arr)); in main() local 41 static_assert(std::is_same_v<decltype(vec), std::vector<int>>, ""); in main() 42 assert(std::equal(vec.begin(), vec.end(), std::begin(arr), std::end(arr))); in main() 47 std::vector vec(std::begin(arr), std::end(arr), std::allocator<long>()); in main() 48 static_assert(std::is_same_v<decltype(vec)::value_type, long>, ""); in main() 49 assert(vec.size() == 4); in main() 50 assert(vec[0] == INT_MAX); in main() 51 assert(vec[1] == 1L); in main() 52 assert(vec[2] == 2L); in main() 63 std::vector vec(1, A{}); // vector (size_type, T) in main() local [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/vector/vector.cons/ |
D | deduct.pass.cpp | 38 std::vector vec(std::begin(arr), std::end(arr)); in main() local 40 static_assert(std::is_same_v<decltype(vec), std::vector<int>>, ""); in main() 41 assert(std::equal(vec.begin(), vec.end(), std::begin(arr), std::end(arr))); in main() 46 std::vector vec(std::begin(arr), std::end(arr), std::allocator<long>()); in main() 47 static_assert(std::is_same_v<decltype(vec)::value_type, long>, ""); in main() 48 assert(vec.size() == 4); in main() 49 assert(vec[0] == INT_MAX); in main() 50 assert(vec[1] == 1L); in main() 51 assert(vec[2] == 2L); in main() 62 std::vector vec(1, A{}); // vector (size_type, T) in main() local [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 124 bool InlinedVectorInvariants(VecT* vec) { in InlinedVectorInvariants() argument 125 if (*vec != *vec) return false; in InlinedVectorInvariants() 126 if (vec->size() > vec->capacity()) return false; in InlinedVectorInvariants() 127 if (vec->size() > vec->max_size()) return false; in InlinedVectorInvariants() 128 if (vec->capacity() > vec->max_size()) return false; in InlinedVectorInvariants() 129 if (vec->data() != std::addressof(vec->at(0))) return false; in InlinedVectorInvariants() 130 if (vec->data() != vec->begin()) return false; in InlinedVectorInvariants() 131 if (*vec->data() != *vec->begin()) return false; in InlinedVectorInvariants() 132 if (vec->begin() > vec->end()) return false; in InlinedVectorInvariants() 133 if ((vec->end() - vec->begin()) != vec->size()) return false; in InlinedVectorInvariants() [all …]
|
/external/openscreen/third_party/abseil/src/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 124 bool InlinedVectorInvariants(VecT* vec) { in InlinedVectorInvariants() argument 125 if (*vec != *vec) return false; in InlinedVectorInvariants() 126 if (vec->size() > vec->capacity()) return false; in InlinedVectorInvariants() 127 if (vec->size() > vec->max_size()) return false; in InlinedVectorInvariants() 128 if (vec->capacity() > vec->max_size()) return false; in InlinedVectorInvariants() 129 if (vec->data() != std::addressof(vec->at(0))) return false; in InlinedVectorInvariants() 130 if (vec->data() != vec->begin()) return false; in InlinedVectorInvariants() 131 if (*vec->data() != *vec->begin()) return false; in InlinedVectorInvariants() 132 if (vec->begin() > vec->end()) return false; in InlinedVectorInvariants() 133 if ((vec->end() - vec->begin()) != vec->size()) return false; in InlinedVectorInvariants() [all …]
|
/external/angle/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 124 bool InlinedVectorInvariants(VecT* vec) { in InlinedVectorInvariants() argument 125 if (*vec != *vec) return false; in InlinedVectorInvariants() 126 if (vec->size() > vec->capacity()) return false; in InlinedVectorInvariants() 127 if (vec->size() > vec->max_size()) return false; in InlinedVectorInvariants() 128 if (vec->capacity() > vec->max_size()) return false; in InlinedVectorInvariants() 129 if (vec->data() != std::addressof(vec->at(0))) return false; in InlinedVectorInvariants() 130 if (vec->data() != vec->begin()) return false; in InlinedVectorInvariants() 131 if (*vec->data() != *vec->begin()) return false; in InlinedVectorInvariants() 132 if (vec->begin() > vec->end()) return false; in InlinedVectorInvariants() 133 if ((vec->end() - vec->begin()) != vec->size()) return false; in InlinedVectorInvariants() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 124 bool InlinedVectorInvariants(VecT* vec) { in InlinedVectorInvariants() argument 125 if (*vec != *vec) return false; in InlinedVectorInvariants() 126 if (vec->size() > vec->capacity()) return false; in InlinedVectorInvariants() 127 if (vec->size() > vec->max_size()) return false; in InlinedVectorInvariants() 128 if (vec->capacity() > vec->max_size()) return false; in InlinedVectorInvariants() 129 if (vec->data() != std::addressof(vec->at(0))) return false; in InlinedVectorInvariants() 130 if (vec->data() != vec->begin()) return false; in InlinedVectorInvariants() 131 if (*vec->data() != *vec->begin()) return false; in InlinedVectorInvariants() 132 if (vec->begin() > vec->end()) return false; in InlinedVectorInvariants() 133 if ((vec->end() - vec->begin()) != vec->size()) return false; in InlinedVectorInvariants() [all …]
|
/external/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 124 bool InlinedVectorInvariants(VecT* vec) { in InlinedVectorInvariants() argument 125 if (*vec != *vec) return false; in InlinedVectorInvariants() 126 if (vec->size() > vec->capacity()) return false; in InlinedVectorInvariants() 127 if (vec->size() > vec->max_size()) return false; in InlinedVectorInvariants() 128 if (vec->capacity() > vec->max_size()) return false; in InlinedVectorInvariants() 129 if (vec->data() != std::addressof(vec->at(0))) return false; in InlinedVectorInvariants() 130 if (vec->data() != vec->begin()) return false; in InlinedVectorInvariants() 131 if (*vec->data() != *vec->begin()) return false; in InlinedVectorInvariants() 132 if (vec->begin() > vec->end()) return false; in InlinedVectorInvariants() 133 if ((vec->end() - vec->begin()) != vec->size()) return false; in InlinedVectorInvariants() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 124 bool InlinedVectorInvariants(VecT* vec) { in InlinedVectorInvariants() argument 125 if (*vec != *vec) return false; in InlinedVectorInvariants() 126 if (vec->size() > vec->capacity()) return false; in InlinedVectorInvariants() 127 if (vec->size() > vec->max_size()) return false; in InlinedVectorInvariants() 128 if (vec->capacity() > vec->max_size()) return false; in InlinedVectorInvariants() 129 if (vec->data() != std::addressof(vec->at(0))) return false; in InlinedVectorInvariants() 130 if (vec->data() != vec->begin()) return false; in InlinedVectorInvariants() 131 if (*vec->data() != *vec->begin()) return false; in InlinedVectorInvariants() 132 if (vec->begin() > vec->end()) return false; in InlinedVectorInvariants() 133 if ((vec->end() - vec->begin()) != vec->size()) return false; in InlinedVectorInvariants() [all …]
|
/external/llvm-project/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 true}} in test1() 10 return vec != vec; // expected-warning{{self-comparison always evaluates to false}} in test1() 11 return vec < vec; // expected-warning{{self-comparison always evaluates to false}} in test1() 12 return vec <= vec; // expected-warning{{self-comparison always evaluates to true}} in test1() 13 return vec > vec; // expected-warning{{self-comparison always evaluates to false}} in test1() 14 return vec >= vec; // expected-warning{{self-comparison always evaluates to true}} 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/llvm-project/mlir/test/Dialect/LLVMIR/ |
D | rocdl.mlir | 39 %arg2 : !llvm.vec<32 x float>, %arg3 : !llvm.i32, 40 %arg4 : !llvm.vec<16 x float>, %arg5 : !llvm.vec<4 x float>, 41 %arg6 : !llvm.vec<4 x half>, %arg7 : !llvm.vec<32 x i32>, 42 %arg8 : !llvm.vec<16 x i32>, %arg9 : !llvm.vec<4 x i32>, 43 %arg10 : !llvm.vec<2 x i16>) -> !llvm.vec<32 x float> { 45 …32 {{.*}} : (!llvm.float, !llvm.float, !llvm.vec<32 x float>, !llvm.i32, !llvm.i32, !llvm.i32) -> … 47 (!llvm.float, !llvm.float, !llvm.vec<32 x float>, 48 !llvm.i32, !llvm.i32, !llvm.i32) -> !llvm.vec<32 x float> 50 …32 {{.*}} : (!llvm.float, !llvm.float, !llvm.vec<16 x float>, !llvm.i32, !llvm.i32, !llvm.i32) -> … 52 (!llvm.float, !llvm.float, !llvm.vec<16 x float>, [all …]
|
/external/rust/crates/serde_cbor/tests/ |
D | ser.rs | 59 let value = vec![1, 2, 3]; in test_list() 71 let vec = to_vec(&object).unwrap(); in test_object() localVariable 72 let test_object = from_slice(&vec[..]).unwrap(); in test_object() 79 object.insert(vec![0i64], ()); in test_object_list_keys() 80 object.insert(vec![100i64], ()); in test_object_list_keys() 81 object.insert(vec![-1i64], ()); in test_object_list_keys() 82 object.insert(vec![-2i64], ()); in test_object_list_keys() 83 object.insert(vec![0i64, 0i64], ()); in test_object_list_keys() 84 object.insert(vec![0i64, -1i64], ()); in test_object_list_keys() 85 let vec = to_vec(&serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); in test_object_list_keys() localVariable [all …]
|
/external/llvm-project/llvm/test/Assembler/ |
D | fast-math-flags.ll | 7 @vec = external global <3 x float> 14 ; CHECK: %vec = load <3 x float>, <3 x float>* @vec 15 %vec = load <3 x float>, <3 x float>* @vec 23 ; CHECK: %a_vec = fadd <3 x float> %vec, %vec 24 %a_vec = fadd <3 x float> %vec, %vec 27 ; CHECK: %b_vec = fsub <3 x float> %vec, %vec 28 %b_vec = fsub <3 x float> %vec, %vec 31 ; CHECK: %c_vec = fmul <3 x float> %vec, %vec 32 %c_vec = fmul <3 x float> %vec, %vec 35 ; CHECK: %d_vec = fdiv <3 x float> %vec, %vec [all …]
|
/external/webrtc/modules/audio_coding/neteq/ |
D | audio_vector_unittest.cc | 51 AudioVector vec(array_length()); in TEST_F() local 53 vec[i] = static_cast<int16_t>(i); in TEST_F() 54 const int16_t& value = vec[i]; // Make sure to use the const version. in TEST_F() 62 AudioVector vec; in TEST_F() local 64 vec.PushBack(array_, array_length()); in TEST_F() 65 vec.CopyTo(&vec_copy); // Copy from |vec| to |vec_copy|. in TEST_F() 66 ASSERT_EQ(array_length(), vec.Size()); in TEST_F() 69 EXPECT_EQ(array_[i], vec[i]); in TEST_F() 74 vec.Clear(); in TEST_F() 75 EXPECT_TRUE(vec.Empty()); in TEST_F() [all …]
|
/external/parameter-framework/upstream/test/functional-tests/ |
D | EnumParameter.cpp | 61 for (auto &vec : invalidEnumParameterParameters) { variable 62 GIVEN ("intentional error: " + vec.title) { 63 create(Config{&Config::instances, vec.payload}); 81 for (auto &vec : Tests<string>{ variable 84 GIVEN ("Invalid value " + vec.title) { 85 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 88 for (auto &vec : Tests<string>{ variable 91 GIVEN ("A valid value " + vec.title) { 92 CHECK_NOTHROW(setParameter(path, vec.payload)); 95 CHECK(getValueBack == vec.payload); [all …]
|