Searched defs:kLargeMallocSize (Results 1 - 1 of 1) sorted by relevance

/external/compiler-rt/lib/asan/tests/
H A Dasan_noinst_test.cc436 static const size_t kLargeMallocSize = 1 << 29; // 512M local
438 fprintf(stderr, "allocating %zu bytes:\n", kLargeMallocSize);
439 free(Ident(malloc(kLargeMallocSize)));
443 ASSERT_GE(heap_growth, kLargeMallocSize);
444 ASSERT_LE(heap_growth, 2 * kLargeMallocSize);
449 free(Ident(malloc(kLargeMallocSize)));
452 ASSERT_LT(heap_growth, kLargeMallocSize);
466 static const size_t kLargeMallocSize = (1 << 28) + 1; // 256M local
467 free(Ident(malloc(kLargeMallocSize))); // Drain quarantine.
470 // fprintf(stderr, "allocating %zu bytes:\n", kLargeMallocSize);
483 static const size_t kLargeMallocSize = 1 << 29; // 512M local
[all...]

Completed in 463 milliseconds