HomeSort by relevance Sort by last modified time
    Searched refs:kAllocSize (Results 1 - 5 of 5) sorted by null

  /external/compiler-rt/test/asan/TestCases/Linux/
quarantine_size_mb.cc 12 static const int kAllocSize = 1 << 20;
16 g = new char[kAllocSize];
17 memset(g, -1, kAllocSize);
nohugepage_test.cc 66 const int kAllocSize = 1 << 28; // 256Mb
78 x = (char *)mmap(0, kAllocSize, PROT_READ | PROT_WRITE,
80 fprintf(stderr, "X: %p-%p\n", x, x + kAllocSize);
84 for (size_t i = 0; i < kAllocSize; i += kTwoMb * kAsanShadowGranularity)
89 for (size_t i = 0; i < kAllocSize; i += kTwoMb * kAsanShadowGranularity)
94 __asan_poison_memory_region(x, kAllocSize);
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
hard_rss_limit_mb_test.cc 23 const int kAllocSize = 1000;
31 char *x = new char[kAllocSize];
32 memset(x, 0, kAllocSize);
soft_rss_limit_mb_test.cc 22 static const int kAllocSize = 1 << 20; // Large enough to go via mmap.
36 allocs[j] = (char*)malloc(kAllocSize);
38 memset(allocs[j], -1, kAllocSize);
  /external/compiler-rt/lib/asan/tests/
asan_test.cc     [all...]

Completed in 90 milliseconds