HomeSort by relevance Sort by last modified time
    Searched defs:kSize (Results 1 - 25 of 180) sorted by null

1 2 3 4 5 6 7 8

  /external/compiler-rt/test/asan/TestCases/
malloc_fill.cc 10 static const int kSize = 1 << 25;
11 unsigned char *x = new unsigned char[kSize];
  /external/compiler-rt/test/tsan/
large_malloc_meta.cc 15 const int kSize = 1 << 20;
17 volatile int *p = new int[kSize];
18 for (int j = 0; j < kSize; j += kPageSize / sizeof(*p))
21 mmap(0, kSize * sizeof(*p) + kPageSize, PROT_NONE, MAP_PRIVATE | MAP_ANON,
barrier.cc 13 const int kSize = 4;
15 int data[2][kSize];
24 int right = idx + 1 < kSize ? prev[idx + 1] : 0;
32 pthread_barrier_init(&barrier, 0, kSize);
33 pthread_t th[kSize];
34 for (int i = 0; i < kSize; i++)
36 for (int i = 0; i < kSize; i++)
ignored-interceptors-mmap.cc 20 const size_t kSize = sysconf(_SC_PAGESIZE);
21 void *p = mmap(0, kSize, PROT_READ|PROT_WRITE,
25 munmap(p, kSize);
27 void *new_p = mmap(p, kSize, PROT_READ|PROT_WRITE,
restore_stack.cc 6 const int kSize = 64 << 10;
7 volatile long data[kSize];
10 for (int i = 0; i < kSize; i++)
33 for (int i = 0; i < kSize; i++)
  /external/llvm/lib/Fuzzer/test/
OneHugeAllocTest.cpp 19 size_t kSize = (size_t)1 << 31;
20 char *p = new char[kSize];
21 memset(p, 0, kSize);
OutOfMemoryTest.cpp 20 size_t kSize = 1 << 28;
21 char *p = new char[kSize];
22 memset(p, 0, kSize);
  /external/llvm/unittests/Support/
CompressionTest.cpp 49 const size_t kSize = 1024;
50 char BinaryData[kSize];
51 for (size_t i = 0; i < kSize; ++i) {
54 StringRef BinaryDataStr(BinaryData, kSize);
  /external/puffin/src/
bit_io_unittest.cc 18 static const size_t kSize = 5;
19 uint8_t buf[kSize];
21 puffin::BufferBitWriter bw(buf, kSize);
40 puffin::BufferBitReader br(buf, kSize);
66 const size_t kSize = 5;
67 uint8_t buf[kSize];
69 BufferBitReader br(buf, kSize);
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
CompressionTest.cpp 56 const size_t kSize = 1024;
57 char BinaryData[kSize];
58 for (size_t i = 0; i < kSize; ++i) {
61 StringRef BinaryDataStr(BinaryData, kSize);
  /external/webrtc/webrtc/base/
bufferqueue_unittest.cc 17 const size_t kSize = 16;
18 const char in[kSize * 2 + 1] = "0123456789ABCDEFGHIJKLMNOPQRSTUV";
19 char out[kSize * 2];
21 BufferQueue queue1(1, kSize);
22 BufferQueue queue2(2, kSize);
26 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes));
29 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes));
30 EXPECT_EQ(kSize, bytes);
34 EXPECT_FALSE(queue1.WriteBack(in, kSize, &bytes));
38 EXPECT_TRUE(queue1.ReadFront(out, kSize, &bytes))
    [all...]
md5digest.h 22 enum { kSize = 16 };
sha1digest.h 22 enum { kSize = SHA1_DIGEST_SIZE };
  /art/runtime/interpreter/
interpreter_cache.h 54 static constexpr size_t kSize = 256;
84 static_assert(IsPowerOfTwo(kSize), "Size must be power of two");
85 size_t index = (reinterpret_cast<uintptr_t>(key) >> 2) & (kSize - 1);
86 DCHECK_LT(index, kSize);
90 std::array<Entry, kSize> data_;
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_bench.cc 19 const int kSize = 128;
26 volatile T data[kSize];
28 for (int j = 0; j < kSize; j++) {
85 for (int j = 0; j < kSize; j++)
87 for (int j = 0; j < kSize; j++)
  /external/skia/tests/
RenderTargetContextTest.cpp 19 static const int kSize = 64;
23 kSize, kSize,
62 SkImageInfo dstInfo = SkImageInfo::MakeN32Premul(kSize, kSize);
63 SkAutoTMalloc<uint32_t> dstBuffer(kSize * kSize);
64 static const size_t kRowBytes = sizeof(uint32_t) * kSize;
  /external/skqp/tests/
RenderTargetContextTest.cpp 19 static const int kSize = 64;
23 kSize, kSize,
62 SkImageInfo dstInfo = SkImageInfo::MakeN32Premul(kSize, kSize);
63 SkAutoTMalloc<uint32_t> dstBuffer(kSize * kSize);
64 static const size_t kRowBytes = sizeof(uint32_t) * kSize;
  /external/tensorflow/tensorflow/compiler/xla/client/lib/
sorting_test.cc 71 const int kSize = 16;
75 std::vector<float> inputs(kSize);
78 xla::GetTupleElement(xla::TopK(x, kSize), 0);
  /art/runtime/
imtable.h 39 static constexpr size_t kSize = IMT_SIZE;
46 DCHECK_LT(index, kSize);
58 DCHECK_LT(index, kSize);
72 for (size_t i = 0; i < kSize; ++i) {
78 return kSize * static_cast<size_t>(pointer_size);
  /external/compiler-rt/lib/tsan/rtl/
tsan_clock.h 27 static const uptr kSize = 512;
28 static const uptr kTableSize = kSize / sizeof(u32);
29 static const uptr kClockCount = kSize / sizeof(ClockElem);
  /external/compiler-rt/test/asan/TestCases/Posix/
stack-use-after-return.cc 20 #ifndef kSize
21 # define kSize 1
40 char local[kSize];
  /external/perfetto/src/base/
paged_memory_unittest.cc 37 const size_t kSize = 4096 * kNumPages;
40 PagedMemory mem = PagedMemory::Allocate(kSize);
44 for (size_t i = 0; i < kSize / sizeof(uint64_t); i++)
48 ASSERT_TRUE(vm_test_utils::IsMapped(ptr_raw, kSize));
53 ASSERT_TRUE(mem.AdviseDontNeed(ptr_raw, kSize));
56 ASSERT_FALSE(vm_test_utils::IsMapped(ptr_raw, kSize));
62 ASSERT_FALSE(vm_test_utils::IsMapped(ptr_raw, kSize));
68 constexpr size_t kSize = 4096 * kNumPages;
71 PagedMemory mem = PagedMemory::Allocate(kSize, PagedMemory::kDontCommit);
89 mem.EnsureCommitted(kSize);
    [all...]
  /external/skia/bench/
ClipMaskBench.cpp 27 , fClip(maskMaker(kSize)) {}
43 static constexpr int kSize = 400;
HardStopGradientBench_ScaleNumColors.cpp 45 return SkIPoint::Make(kSize, kSize);
58 SkPoint::Make(0, kSize/2),
59 SkPoint::Make(kSize-1, kSize/2),
104 static const int kSize = 500;
HardStopGradientBench_ScaleNumHardStops.cpp 34 return SkIPoint::Make(kSize, kSize);
40 SkPoint::Make(0, kSize/2),
41 SkPoint::Make(kSize-1, kSize/2),
90 static const int kSize = 500;

Completed in 1109 milliseconds

1 2 3 4 5 6 7 8