Home
last modified time | relevance | path

Searched refs:kNumAllocs (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc178 const uptr kNumAllocs = 1 << 13; in SizeClassAllocatorMetadataStress() local
179 void *allocated[kNumAllocs]; in SizeClassAllocatorMetadataStress()
180 void *meta[kNumAllocs]; in SizeClassAllocatorMetadataStress()
181 for (uptr i = 0; i < kNumAllocs; i++) { in SizeClassAllocatorMetadataStress()
187 for (uptr i = 0; i < kNumAllocs * kNumAllocs; i++) { in SizeClassAllocatorMetadataStress()
188 uptr idx = i % kNumAllocs; in SizeClassAllocatorMetadataStress()
192 for (uptr i = 0; i < kNumAllocs; i++) { in SizeClassAllocatorMetadataStress()
350 static const int kNumAllocs = 1000; in TEST() local
351 char *allocated[kNumAllocs]; in TEST()
354 for (int i = 0; i < kNumAllocs; i++) { in TEST()
[all …]
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dhard_rss_limit_mb_test.cc22 const int kNumAllocs = 200 * 1000; variable
24 volatile char *sink[kNumAllocs];
27 for (int i = 0; i < kNumAllocs; i++) { in main()
/external/compiler-rt/test/asan/TestCases/Linux/
Dquarantine_size_mb.cc11 static const int kNumAllocs = 1 << 11; variable
15 for (int i = 0; i < kNumAllocs; i++) { in main()
/external/tensorflow/tensorflow/compiler/xrt/tests/
Draw_api_test.cc2049 static const int kNumAllocs = 32; in TEST() local
2052 std::vector<xrt::XLAAllocation> allocs(kNumAllocs); in TEST()
2054 for (int i = 0; i < kNumAllocs; ++i) { in TEST()