/external/ltp/utils/benchmark/ebizzy-0.3/ |
ebizzy.h | 22 #define mallopt(arg1, arg2) do { } while (0); macro
|
ebizzy.c | 220 mallopt(M_MMAP_MAX, 0);
|
/external/swiftshader/third_party/subzero/src/ |
main.cpp | 38 mallopt(M_GRANULARITY, 16 * 1024 * 1024);
|
/bionic/benchmarks/ |
malloc_benchmark.cpp | 107 mallopt(M_DECAY_TIME, 0); 117 mallopt(M_DECAY_TIME, 1); 124 mallopt(M_DECAY_TIME, 0);
|
stdlib_benchmark.cpp | 56 mallopt(M_DECAY_TIME, 0); 65 mallopt(M_DECAY_TIME, 1); 69 mallopt(M_DECAY_TIME, 0); 96 mallopt(M_DECAY_TIME, 0); 105 mallopt(M_DECAY_TIME, 1); 109 mallopt(M_DECAY_TIME, 0); 117 mallopt(M_DECAY_TIME, 0); 126 mallopt(M_DECAY_TIME, 1); 130 mallopt(M_DECAY_TIME, 0);
|
/external/ltp/testcases/kernel/syscalls/mallopt/ |
mallopt01.c | 25 * mallopt 28 * malloc(3x), mallopt(3x), mallinfo(3x). 97 * Test mallopt's M_MXFAST and M_NLBLKS cmds. 100 if (mallopt(M_MXFAST, MAX_FAST_SIZE) == 0) 101 tst_resm(TFAIL, "mallopt(M_MXFAST, %d) failed", (int)MAX_FAST_SIZE); 103 tst_resm(TPASS, "mallopt(M_MXFAST, %d) succeeded", (int)MAX_FAST_SIZE); 105 if (mallopt(M_NLBLKS, 50) == 0) 106 tst_resm(TFAIL, "mallopt(M_NLBLKS, 50) failed"); 108 tst_resm(TPASS, "mallopt(M_NLBLKS, 50) succeeded"); 117 if (mallopt(M_MXFAST, 0) == 0 [all...] |
/bionic/libc/include/ |
malloc.h | 160 * mallopt() option to set the decay time. Valid values are 0 and 1. 166 * mallopt() option to immediately purge any memory not in use. This 174 * [mallopt(3)](http://man7.org/linux/man-pages/man3/mallopt.3.html) modifies 181 int mallopt(int __option, int __value) __INTRODUCED_IN(26);
|
/bionic/libc/private/ |
bionic_malloc_dispatch.h | 76 MallocMallopt mallopt; member in struct:MallocDispatch
|
/external/compiler-rt/lib/scudo/ |
scudo_interceptors.cpp | 71 INTERCEPTOR(int, mallopt, int cmd, int value) {
|
/external/ltp/testcases/kernel/syscalls/ |
Makefile | 40 linkat kill mallopt memmap mq_notify mq_open mq_timedreceive \
|
/bionic/libc/bionic/ |
malloc_common.cpp | 98 extern "C" int mallopt(int param, int value) { function 101 return dispatch_table->mallopt(param, value); 103 return Malloc(mallopt)(param, value); 270 // Platform-internal mallopt variant.
|
malloc_limit.cpp | 387 return dispatch_table->mallopt(param, value); 389 return Malloc(mallopt)(param, value);
|
malloc_common_dynamic.cpp | 101 Malloc(mallopt), 159 if (!InitMallocFunction<MallocMallopt>(impl_handler, &table->mallopt, prefix, "mallopt")) { 465 // Platform-internal mallopt variant.
|
malloc_heapprofd.cpp | 110 Malloc(mallopt),
|
/external/compiler-rt/lib/lsan/ |
lsan_interceptors.cc | 140 INTERCEPTOR(int, mallopt, int cmd, int value) { 290 INTERCEPT_FUNCTION(mallopt);
|
/external/u-boot/include/ |
malloc.h | 64 mallopt(int parameter_number, int parameter_value) 207 These values may also be changed dynamically via mallopt(). The 610 /* SVID2/XPG mallopt options */ 619 /* mallopt options that actually do something */ 781 in mallopt will fail. 861 #define mALLOPt __libc_mallopt 872 #pragma weak mallopt = __libc_mallopt 871 #pragma weak mallopt macro [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_testlib.cc | 149 void mallopt() { function
|
/external/dlmalloc/ |
malloc.h | 61 #define dlmallopt mallopt 203 mallopt(int parameter_number, int parameter_value) 205 (parameter-number, parameter-value) pair. mallopt then sets the 208 0. SVID/XPG/ANSI defines four standard param numbers for mallopt, 211 options in mallopt: 540 setting with mallopt(M_GRANULARITY, value). 585 An alias for mallopt.
|
/bionic/tests/ |
malloc_test.cpp | 582 ASSERT_EQ(0, mallopt(-1000, 1)); 583 // mallopt doesn't set errno. 589 SKIP_WITH_HWASAN << "hwasan does not implement mallopt"; 591 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 1)); 592 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 0)); 593 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 1)); 594 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 0)); 602 SKIP_WITH_HWASAN << "hwasan does not implement mallopt"; 604 ASSERT_EQ(1, mallopt(M_PURGE, 0));
|
/bionic/libc/malloc_hooks/ |
malloc_hooks.cpp | 176 return g_dispatch->mallopt(param, value);
|
/external/compiler-rt/lib/asan/ |
asan_malloc_linux.cc | 125 INTERCEPTOR(int, mallopt, int cmd, int value) {
|
/bionic/libc/malloc_hooks/tests/ |
malloc_hooks_tests.cpp | 189 EXPECT_EQ(0, mallopt(-1000, -1000));
|
/external/perfetto/src/profiling/memory/ |
malloc_hooks.cc | 590 return dispatch->mallopt(param, value);
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | 46 #define mallopt(a, b) macro 102 extern "C" int mallopt(int param, int value); [all...] |
/external/compiler-rt/lib/msan/ |
msan_interceptors.cc | 269 INTERCEPTOR(int, mallopt, int cmd, int value) { 272 #define MSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt) [all...] |