Searched refs:max_size_class (Results 1 – 5 of 5) sorted by relevance
/external/jemalloc/test/unit/ |
D | size_classes.c | 8 size_t sz, miblen, max_size_class; in get_max_size_class() local 20 assert_d_eq(mallctlbymib(mib, miblen, (void *)&max_size_class, &sz, in get_max_size_class() 23 return (max_size_class); in get_max_size_class() 28 size_t size_class, max_size_class; in TEST_BEGIN() local 31 max_size_class = get_max_size_class(); in TEST_BEGIN() 32 max_index = size2index(max_size_class); in TEST_BEGIN() 35 size_class < max_size_class; index++, size_class = in TEST_BEGIN() 40 assert_true(size_class < max_size_class, in TEST_BEGIN() 71 assert_zu_eq(max_size_class, index2size(size2index(max_size_class)), in TEST_BEGIN() 85 size_t size_class, max_size_class; in TEST_BEGIN() local [all …]
|
/external/jemalloc_new/test/unit/ |
D | size_classes.c | 7 size_t sz, miblen, max_size_class; in get_max_size_class() local 19 assert_d_eq(mallctlbymib(mib, miblen, (void *)&max_size_class, &sz, in get_max_size_class() 22 return max_size_class; in get_max_size_class() 26 size_t size_class, max_size_class; in TEST_BEGIN() local 29 max_size_class = get_max_size_class(); in TEST_BEGIN() 30 max_index = sz_size2index(max_size_class); in TEST_BEGIN() 33 size_class < max_size_class; index++, size_class = in TEST_BEGIN() 38 assert_true(size_class < max_size_class, in TEST_BEGIN() 70 assert_zu_eq(max_size_class, sz_index2size( in TEST_BEGIN() 71 sz_size2index(max_size_class)), in TEST_BEGIN() [all …]
|
/external/jemalloc_new/test/integration/ |
D | overflow.c | 6 size_t sz, miblen, max_size_class; in TEST_BEGIN() local 19 assert_d_eq(mallctlbymib(mib, miblen, (void *)&max_size_class, &sz, in TEST_BEGIN() 22 assert_ptr_null(malloc(max_size_class + 1), in TEST_BEGIN() 27 assert_ptr_null(calloc(1, max_size_class + 1), in TEST_BEGIN() 34 assert_ptr_null(realloc(p, max_size_class + 1), in TEST_BEGIN()
|
/external/jemalloc/test/integration/ |
D | overflow.c | 7 size_t sz, miblen, max_size_class; in TEST_BEGIN() local 20 assert_d_eq(mallctlbymib(mib, miblen, (void *)&max_size_class, &sz, in TEST_BEGIN() 23 assert_ptr_null(malloc(max_size_class + 1), in TEST_BEGIN() 28 assert_ptr_null(calloc(1, max_size_class + 1), in TEST_BEGIN() 35 assert_ptr_null(realloc(p, max_size_class + 1), in TEST_BEGIN()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 221 uptr max_size_class = Allocator::kNumClasses - 1; in SizeClassAllocatorGetBlockBeginStress() local 222 uptr size = Allocator::SizeClassMapT::Size(max_size_class); in SizeClassAllocatorGetBlockBeginStress() 226 void *x = cache.Allocate(a, max_size_class); in SizeClassAllocatorGetBlockBeginStress()
|