Searched refs:kArraySize (Results 1 – 8 of 8) sorted by relevance
/external/compiler-rt/lib/asan/tests/ |
D | asan_interface_test.cc | 35 const size_t kArraySize = 100; in TEST() local 36 char *array = Ident((char*)malloc(kArraySize)); in TEST() 42 EXPECT_EQ(kArraySize, __asan_get_allocated_size(array)); in TEST() 51 EXPECT_EQ(false, __asan_get_ownership(array + kArraySize / 2)); in TEST() 52 EXPECT_DEATH(__asan_get_allocated_size(array + kArraySize / 2), in TEST()
|
D | asan_test.cc | 486 const size_t kArraySize = 100; in TEST() local 487 char *array = Ident((char*)malloc(kArraySize)); in TEST() 490 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST() 493 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), in TEST()
|
/external/valgrind/tsan/ |
D | thread_sanitizer.cc | 304 int kHtableSize, int kArraySize = 8> 338 if (kArraySize != 0 && !ArrayLookup(a, b, &dummy)) { in Insert() 339 array_[array_pos_ % kArraySize].Fill(a, b, v); in Insert() 340 array_pos_ = (array_pos_ + 1) % kArraySize; in Insert() 341 if (array_pos_ > kArraySize) in Insert() 348 if (kArraySize != 0 && ArrayLookup(a, b, v)) { in Lookup() 380 for (int i = 0; i < (array_filled_ ? kArraySize : array_pos_); i++) { in ArrayLookup() 407 Entry array_[kArraySize]; 415 template<int kHtableSize, int kArraySize = 8> 417 : public PairCache<int, int, int, kHtableSize, kArraySize> {};
|
/external/gtest/test/ |
D | gtest_unittest.cc | 571 const int kArraySize = 10; in TEST() local 573 UInt32 values[kArraySize]; in TEST() 576 for (int i = 0; i < kArraySize; i++) { in TEST() 581 for (int i = 0; i < kArraySize; i++) { in TEST()
|
/external/protobuf/gtest/test/ |
D | gtest_unittest.cc | 535 const int kArraySize = 10; in TEST() local 537 UInt32 values[kArraySize]; in TEST() 540 for (int i = 0; i < kArraySize; i++) { in TEST() 545 for (int i = 0; i < kArraySize; i++) { in TEST()
|
/external/chromium/testing/gtest/test/ |
D | gtest_unittest.cc | 571 const int kArraySize = 10; in TEST() local 573 UInt32 values[kArraySize]; in TEST() 576 for (int i = 0; i < kArraySize; i++) { in TEST() 581 for (int i = 0; i < kArraySize; i++) { in TEST()
|
/external/valgrind/unittest/ |
D | racecheck_unittest.cc | 6286 const int kArraySize = 100000; variable 6294 for (int j = 0; j < kArraySize; j++) { in RaceyLoop() 6310 arr = new int[kArraySize]; in Run()
|
/external/v8/test/cctest/ |
D | test-debug.cc | 2565 static const int kArraySize = 5; member 2567 EvaluateResult results[kArraySize]; 2573 return &results[counter % kArraySize]; in current()
|