/external/chromium_org/base/debug/ |
asan_invalid_access.cc | 32 static const int kArraySize = 5; 33 int* array = new int[kArraySize]; 57 static const size_t kArraySize = 5; 60 scoped_ptr<int[]> array(new int[kArraySize]); 64 dummy = array[kArraySize]; 69 scoped_ptr<int[]> array(new int[kArraySize]); 82 scoped_ptr<int[]> array(new int[kArraySize]); 88 dummy = dangling[kArraySize / 2];
|
/external/compiler-rt/test/msan/ |
allocator_returns_null.cc | 40 size_t kArraySize = 4096; 41 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; 42 x = (char*)calloc(kArraySize, kArraySize2);
|
/external/compiler-rt/test/tsan/ |
allocator_returns_null.cc | 35 size_t kArraySize = 4096; 36 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; 37 x = (char*)calloc(kArraySize, kArraySize2);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
system-alloc_unittest.cc | 61 if (size > kArraySize) { 75 CHECK_LT(ptr_ + size, kArraySize); 89 static const int kArraySize = 8 * 1024 * 1024; 90 char array_[kArraySize]; 95 const int ArraySysAllocator::kArraySize;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
system-alloc_unittest.cc | 61 if (size > kArraySize) { 75 CHECK_LT(ptr_ + size, kArraySize); 89 static const int kArraySize = 8 * 1024 * 1024; 90 char array_[kArraySize]; 95 const int ArraySysAllocator::kArraySize;
|
/external/compiler-rt/test/asan/TestCases/ |
allocator_returns_null.cc | 40 size_t kArraySize = 4096; 41 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; 42 x = (char*)calloc(kArraySize, kArraySize2);
|
/external/chromium_org/base/ |
security_unittest.cc | 180 const size_t kArraySize = 4096; 183 const size_t kDynamicArraySize = HideValueFromCompiler(kArraySize); 188 const size_t kArraySize2 = kMaxSizeT / kArraySize + 10; 191 scoped_ptr<char[][kArraySize]> array_pointer(new (nothrow) 192 char[kDynamicArraySize2][kArraySize]); 219 const size_t kArraySize = 4096; 221 const size_t kArraySize2 = kMaxSizeT / kArraySize + 10; 223 EXPECT_TRUE(CallocReturnsNull(kArraySize, kArraySize2)); 224 EXPECT_TRUE(CallocReturnsNull(kArraySize2, kArraySize)); 228 EXPECT_DEATH(CallocReturnsNull(kArraySize, kArraySize2), "") [all...] |
/external/chromium_org/base/containers/ |
small_map.h | 70 // kArraySize: The size of the initial array of results. This will be 81 // SmallMap, when the map exceeds the threshold of kArraySize and we 179 int kArraySize = 4, 188 // arrays. Therefore, we explicitly reject non-positive kArraySize 190 COMPILE_ASSERT(kArraySize > 0, default_initial_size_should_be_positive); 426 if (size_ == kArraySize) { 448 if (size_ == kArraySize) { 587 ManualConstructor<value_type> array_[kArraySize]; 593 ManualConstructor<value_type> temp_array[kArraySize]; 595 for (int i = 0; i < kArraySize; i++) [all...] |
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mman_test.cc | 144 size_t kArraySize = 4096; 146 volatile size_t kArraySize2 = kMaxSizeT / kArraySize + 10; 148 EXPECT_DEATH(p = calloc(kArraySize, kArraySize2),
|
/external/chromium_org/third_party/skia/tests/ |
SerializationTest.cpp | 22 static const uint32_t kArraySize = 64; 215 SerializationUtils<T>::Write(writer, data, kArraySize); 218 REPORTER_ASSERT(reporter, (4 + kArraySize * sizeof(T)) == bytesWritten); 225 T dataRead[kArraySize]; 226 bool success = SerializationUtils<T>::Read(buffer, dataRead, kArraySize / 2); 232 success = SerializationUtils<T>::Read(buffer2, dataRead, kArraySize); 464 unsigned char data[kArraySize] = { 1, 2, 3 }; 470 SkColor data[kArraySize] = { SK_ColorBLACK, SK_ColorWHITE, SK_ColorRED }; 476 int32_t data[kArraySize] = { 1, 2, 4, 8 }; 482 SkPoint data[kArraySize] = { {6, 7}, {42, 128} } [all...] |
/external/chromium_org/v8/test/cctest/ |
test-declarative-accessors.cc | 39 static const unsigned kArraySize = 200; 43 for (unsigned i = 0; i < kArraySize; i++) { 48 v8::Persistent<v8::Value> handles_[kArraySize]; 57 static const unsigned kArraySize = 1024/sizeof(uint64_t); 61 for (unsigned i = 0; i < kArraySize; i++) { 70 uint64_t data_[kArraySize];
|
test-debug.cc | [all...] |
/external/compiler-rt/lib/asan/tests/ |
asan_interface_test.cc | 29 const size_t kArraySize = 100; 30 char *array = Ident((char*)malloc(kArraySize)); 36 EXPECT_EQ(kArraySize, __sanitizer_get_allocated_size(array)); 46 EXPECT_FALSE(__sanitizer_get_ownership(array + kArraySize / 2)); 47 EXPECT_DEATH(__sanitizer_get_allocated_size(array + kArraySize / 2),
|
asan_test.cc | 406 const size_t kArraySize = 100; 407 char *array = Ident((char*)malloc(kArraySize)); 410 EXPECT_EQ(kArraySize, malloc_usable_size(array)); 413 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), [all...] |
/art/runtime/ |
transaction_test.cc | 83 constexpr int32_t kArraySize = 2; 91 mirror::Array::Alloc<true>(soa.Self(), h_klass.Get(), kArraySize, 100 EXPECT_EQ(h_obj->GetLength(), kArraySize);
|
/external/chromium_org/ipc/ |
ipc_message_utils.h | 676 int kArraySize, 679 struct ParamTraits<base::SmallMap<NormalMap, kArraySize, EqualKey, MapInit> > { 680 typedef base::SmallMap<NormalMap, kArraySize, EqualKey, MapInit> param_type;
|
/external/chromium_org/testing/gtest/test/ |
gtest_unittest.cc | 738 const int kArraySize = 10; 740 UInt32 values[kArraySize]; 743 for (int i = 0; i < kArraySize; i++) { 748 for (int i = 0; i < kArraySize; i++) { [all...] |
/external/gtest/test/ |
gtest_unittest.cc | 745 const int kArraySize = 10; 747 UInt32 values[kArraySize]; 750 for (int i = 0; i < kArraySize; i++) { 755 for (int i = 0; i < kArraySize; i++) { [all...] |
/external/compiler-rt/lib/msan/tests/ |
msan_test.cc | [all...] |