Home
last modified time | relevance | path

Searched refs:mallopt (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dwrappers_c_test.cpp223 EXPECT_EQ(mallopt(-1000, 1), 0); in TEST()
227 EXPECT_EQ(mallopt(M_PURGE, 0), 1); in TEST()
229 EXPECT_EQ(mallopt(M_DECAY_TIME, 1), 1); in TEST()
230 EXPECT_EQ(mallopt(M_DECAY_TIME, 0), 1); in TEST()
231 EXPECT_EQ(mallopt(M_DECAY_TIME, 1), 1); in TEST()
232 EXPECT_EQ(mallopt(M_DECAY_TIME, 0), 1); in TEST()
235 EXPECT_EQ(mallopt(M_CACHE_COUNT_MAX, 100), 1); in TEST()
236 EXPECT_EQ(mallopt(M_CACHE_SIZE_MAX, 1024 * 1024 * 2), 1); in TEST()
237 EXPECT_EQ(mallopt(M_TSDS_COUNT_MAX, 10), 1); in TEST()
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dmallopt.cpp12 int res = mallopt(-42, 0); in main()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp108 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } in INTERCEPTOR() argument
205 INTERCEPT_FUNCTION(mallopt); in initialize_interceptors()
H A Ddone_abilist.txt67 fun:mallopt=discard
H A Dlibc_ubuntu1404_abilist.txt2251 fun:mallopt=uninstrumented
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp80 INTERCEPTOR_ATTRIBUTE int mallopt(int cmd, int value) { in mallopt() function
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_malloc_linux.cpp127 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } in INTERCEPTOR() argument
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp179 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() argument
182 #define LSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt)
/llvm-project-15.0.7/compiler-rt/test/dfsan/
H A Dinterceptors.c80 int r = mallopt(0, 0); in test_mallopt()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cpp184 void mallopt() { in mallopt() function
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_allocation_functions.cpp170 INTERCEPTOR_ALIAS(int, mallopt, int cmd, int value);
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp139 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() argument
/llvm-project-15.0.7/llvm/docs/
H A DScudoHardenedAllocator.rst190 - via the standard ``mallopt`` `API <https://man7.org/linux/man-pages/man3/mallopt.3.html>`_,
257 The following "mallopt" options are available (options are defined in
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc175 INTERFACE WEAK int SCUDO_PREFIX(mallopt)(int param, int value) {
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp264 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() argument
267 #define MSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt)