/external/libchrome/base/debug/ |
D | asan_invalid_access.cc | 31 static const int kArraySize = 5; in CorruptMemoryBlock() local 32 LONG* array = new LONG[kArraySize]; in CorruptMemoryBlock() 57 static const size_t kArraySize = 5; variable 62 const_cast<volatile int*>(new int[kArraySize])); in AsanHeapOverflow() 63 int dummy = array[kArraySize]; in AsanHeapOverflow() 70 const_cast<volatile int*>(new int[kArraySize])); in AsanHeapUnderflow() 82 const_cast<volatile int*>(new int[kArraySize])); in AsanHeapUseAfterFree() 85 int dummy = dangling[kArraySize / 2]; in AsanHeapUseAfterFree()
|
/external/pigweed/pw_containers/public/pw_containers/ |
D | flat_map.h | 31 template <typename Key, typename Value, size_t kArraySize> 48 using container_type = typename std::array<value_type, kArraySize>; 52 constexpr FlatMap(const std::array<value_type, kArraySize>& items) in FlatMap() 54 ConstexprSort(items_.data(), kArraySize); in FlatMap() 61 constexpr size_type size() const { return kArraySize; } in size() 63 constexpr size_type max_size() const { return kArraySize; } in max_size() 134 std::array<value_type, kArraySize> items_;
|
/external/libchrome/base/ |
D | security_unittest.cc | 88 const size_t kArraySize = 4096; in TEST() local 91 const size_t kDynamicArraySize = HideValueFromCompiler(kArraySize); in TEST() 93 const size_t kArraySize2 = kMaxSizeT / kArraySize + 10; in TEST() 96 std::unique_ptr<char[][kArraySize]> array_pointer( in TEST() 97 new (nothrow) char[kDynamicArraySize2][kArraySize]); in TEST()
|
/external/llvm-project/compiler-rt/test/fuzzer/ |
D | LoadTest.cpp | 13 const int kArraySize = 32505854; // 0x01effffe variable 14 uint8_t array[kArraySize]; 22 Sink = array[a % (kArraySize + 1)]; in LLVMFuzzerTestOneInput()
|
/external/libchrome/base/containers/ |
D | small_map.h | 163 int kArraySize = 4, 173 static_assert(kArraySize > 0, "default initial size should be positive"); 405 if (size_ == kArraySize) { 427 if (size_ == kArraySize) { 462 if (size_ == kArraySize) { 586 value_type array_[kArraySize]; 597 value_type array[kArraySize]; 601 for (int i = 0; i < kArraySize; i++) { 611 for (int i = 0; i < kArraySize; i++) { 642 int kArraySize, [all …]
|
/external/compiler-rt/test/msan/ |
D | allocator_returns_null.cc | 40 size_t kArraySize = 4096; in main() local 41 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; in main() 42 x = (char*)calloc(kArraySize, kArraySize2); in main()
|
/external/compiler-rt/test/tsan/ |
D | allocator_returns_null.cc | 35 size_t kArraySize = 4096; in main() local 36 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; in main() 37 x = (char*)calloc(kArraySize, kArraySize2); in main()
|
/external/llvm-project/compiler-rt/test/hwasan/TestCases/ |
D | allocator_returns_null.cpp | 67 size_t kArraySize = 4096; in main() local 68 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; in main() 69 x = calloc(kArraySize, kArraySize2); in main()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/ |
D | allocator_returns_null.cpp | 70 size_t kArraySize = 4096; in main() local 71 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; in main() 72 x = calloc(kArraySize, kArraySize2); in main()
|
/external/compiler-rt/test/asan/TestCases/ |
D | allocator_returns_null.cc | 43 size_t kArraySize = 4096; in main() local 44 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; in main() 45 x = calloc(kArraySize, kArraySize2); in main()
|
/external/angle/src/common/ |
D | bitset_utils.h | 629 Iterator end() const { return Iterator(*this, kArraySize); } 633 for (std::size_t index = 1; index < kArraySize; index++) 685 static constexpr std::size_t kArraySize = 691 std::array<BaseBitSet, kArraySize> mBaseBitSetArray; 704 for (std::size_t index = 0; index < kArraySize; index++) 717 while (mIndex < mCurrentParent->kArraySize) 726 if (mIndex < mCurrentParent->kArraySize) 732 mCurrentIterator = mCurrentParent->mBaseBitSetArray[mCurrentParent->kArraySize - 1].end(); 743 if (mIndex < mCurrentParent->kArraySize) 772 for (std::size_t index = 0; index < kArraySize; index++) [all …]
|
/external/skia/tests/ |
D | SerializationTest.cpp | 33 static const uint32_t kArraySize = 64; variable 248 SerializationUtils<T>::Write(writer, data, kArraySize); in TestArraySerialization() 251 REPORTER_ASSERT(reporter, (4 + kArraySize * sizeof(T)) == bytesWritten); in TestArraySerialization() 258 T dataRead[kArraySize]; in TestArraySerialization() 259 bool success = SerializationUtils<T>::Read(buffer, dataRead, kArraySize / 2); in TestArraySerialization() 265 success = SerializationUtils<T>::Read(buffer2, dataRead, kArraySize); in TestArraySerialization() 591 unsigned char data[kArraySize] = { 1, 2, 3 }; in DEF_TEST() 597 SkColor data[kArraySize] = { SK_ColorBLACK, SK_ColorWHITE, SK_ColorRED }; in DEF_TEST() 603 SkColor4f data[kArraySize] = { in DEF_TEST() 614 int32_t data[kArraySize] = { 1, 2, 4, 8 }; in DEF_TEST() [all …]
|
/external/llvm-project/clang/tools/clang-fuzzer/handle-llvm/ |
D | input_arrays.h | 15 static const int kArraySize = 64; variable 17 static const int kTotalSize = sizeof(int) * kArraySize * kNumArrays; 20 static int OptArrays[kNumArrays][kArraySize]; 21 static int UnoptArrays[kNumArrays][kArraySize]; 24 static int InputArrays[kNumArrays][kArraySize] =
|
D | handle_llvm.cpp | 147 static void RunFuncOnInputs(LLVMFunc f, int Arr[kNumArrays][kArraySize]) { in RunFuncOnInputs() argument 150 kArraySize); in RunFuncOnInputs()
|
/external/skqp/tests/ |
D | SerializationTest.cpp | 35 static const uint32_t kArraySize = 64; variable 250 SerializationUtils<T>::Write(writer, data, kArraySize); in TestArraySerialization() 253 REPORTER_ASSERT(reporter, (4 + kArraySize * sizeof(T)) == bytesWritten); in TestArraySerialization() 260 T dataRead[kArraySize]; in TestArraySerialization() 261 bool success = SerializationUtils<T>::Read(buffer, dataRead, kArraySize / 2); in TestArraySerialization() 267 success = SerializationUtils<T>::Read(buffer2, dataRead, kArraySize); in TestArraySerialization() 500 unsigned char data[kArraySize] = { 1, 2, 3 }; in DEF_TEST() 506 SkColor data[kArraySize] = { SK_ColorBLACK, SK_ColorWHITE, SK_ColorRED }; in DEF_TEST() 512 SkColor4f data[kArraySize] = { in DEF_TEST() 523 int32_t data[kArraySize] = { 1, 2, 4, 8 }; in DEF_TEST() [all …]
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mman_test.cc | 146 size_t kArraySize = 4096; in TEST() local 148 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; in TEST() 150 EXPECT_DEATH(p = user_calloc(thr, pc, kArraySize, kArraySize2), in TEST()
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_interface_test.cc | 29 const size_t kArraySize = 100; in TEST() local 30 char *array = Ident((char*)malloc(kArraySize)); in TEST() 36 EXPECT_EQ(kArraySize, __sanitizer_get_allocated_size(array)); in TEST() 46 EXPECT_FALSE(__sanitizer_get_ownership(array + kArraySize / 2)); in TEST() 47 EXPECT_DEATH(__sanitizer_get_allocated_size(array + kArraySize / 2), in TEST()
|
D | asan_test.cc | 411 const size_t kArraySize = 100; in TEST() local 412 char *array = Ident((char*)malloc(kArraySize)); in TEST() 415 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST() 418 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), in TEST()
|
/external/llvm-project/compiler-rt/lib/asan/tests/ |
D | asan_interface_test.cpp | 30 const size_t kArraySize = 100; in TEST() local 31 char *array = Ident((char*)malloc(kArraySize)); in TEST() 37 EXPECT_EQ(kArraySize, __sanitizer_get_allocated_size(array)); in TEST() 47 EXPECT_FALSE(__sanitizer_get_ownership(array + kArraySize / 2)); in TEST() 48 EXPECT_DEATH(__sanitizer_get_allocated_size(array + kArraySize / 2), in TEST()
|
D | asan_test.cpp | 436 const size_t kArraySize = 100; in TEST() local 437 char *array = Ident((char*)malloc(kArraySize)); in TEST() 440 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST() 443 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), in TEST()
|
/external/llvm-project/clang/tools/clang-fuzzer/proto-to-llvm/ |
D | loop_proto_to_llvm.cpp | 166 << "!2 = !{!\"llvm.loop.vectorize.width\", i32 " << kArraySize << "}\n"; in NestedLoopToString() 185 << "!2 = !{!\"llvm.loop.vectorize.width\", i32 " << kArraySize << "}\n"; in SingleLoopToString()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmTrinaryMinMaxTests.cpp | 417 static const deUint32 kArraySize; member in vkt::SpirVAssembly::__anon13c548fd0111::TrinaryMinMaxCase 422 const deUint32 TrinaryMinMaxCase::kArraySize = 100u; member in vkt::SpirVAssembly::__anon13c548fd0111::TrinaryMinMaxCase 534 replacements["ARRAY_SIZE"] = de::toString(kArraySize); in getSpirVReplacements() 711 constexpr auto kNumOperations = TrinaryMinMaxCase::kArraySize; in iterate()
|
/external/angle/src/tests/gl_tests/ |
D | UniformTest.cpp | 1007 static const size_t kArraySize = 4; in TEST_P() local 1030 << ToString(kArraySize) << "];\n"; in TEST_P() 1074 for (size_t index = 0; index < kArraySize; index++) in TEST_P()
|
/external/libchrome/ipc/ |
D | ipc_message_utils.h | 833 int kArraySize, 836 struct ParamTraits<base::small_map<NormalMap, kArraySize, EqualKey, MapInit>> { 837 using param_type = base::small_map<NormalMap, kArraySize, EqualKey, MapInit>;
|
/external/googletest/googletest/test/ |
D | gtest_unittest.cc | 808 constexpr int kArraySize = 10; in TEST() local 810 uint32_t values[kArraySize]; in TEST() 813 for (int i = 0; i < kArraySize; i++) { in TEST() 818 for (int i = 0; i < kArraySize; i++) { in TEST()
|