Home
last modified time | relevance | path

Searched refs:android_mallopt (Results 1 – 10 of 10) sorted by relevance

/bionic/tests/
Dmalloc_test.cpp948 TEST(android_mallopt, error_on_unexpected_option) { in TEST() argument
952 EXPECT_EQ(false, android_mallopt(unrecognized_option, nullptr, 0)); in TEST()
978 TEST(android_mallopt, init_zygote_child_profiling) { in TEST() argument
983 EXPECT_EQ(true, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, nullptr, 0)); in TEST()
987 EXPECT_EQ(false, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, nullptr, 0)); in TEST()
994 EXPECT_EQ(false, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, &unexpected, 1)); in TEST()
1010 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in CheckAllocationFunction()
1019 TEST(android_mallopt, set_allocation_limit) { in TEST() argument
1054 TEST(android_mallopt, set_allocation_limit_multiple) { in TEST() argument
1058 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
[all …]
Dheap_tagging_level_test.cpp39 return android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &level, sizeof(level)); in SetHeapTaggingLevel()
/bionic/libc/platform/bionic/
Dmalloc.h127 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size);
/bionic/libc/bionic/
Dmalloc_common_dynamic.cpp470 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() function
562 if (android_mallopt(M_GET_MALLOC_LEAK_INFO, &leak_info, sizeof(leak_info))) { in get_malloc_leak_info()
573 android_mallopt(M_FREE_MALLOC_LEAK_INFO, &leak_info, sizeof(leak_info)); in free_malloc_leak_info()
Dandroid_profiling_dynamic.cpp92 android_mallopt(M_GET_PROCESS_PROFILEABLE, &profileable, sizeof(profileable)); in HandleProfilingSignal()
Dmalloc_common.cpp313 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() function
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp202 ASSERT_TRUE(android_mallopt(M_GET_MALLOC_LEAK_INFO, &leak_info, sizeof(leak_info))); in TEST_F()
209 ASSERT_TRUE(android_mallopt(M_FREE_MALLOC_LEAK_INFO, &leak_info, sizeof(leak_info))); in TEST_F()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp240 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in SetAllocationLimit()
513 android_mallopt(M_WRITE_MALLOC_LEAK_INFO_TO_FILE, fp, sizeof(fp)); in TEST()
/bionic/tools/versioner/platforms/
Dlibc.map.txt1480 android_mallopt; # apex
/bionic/libc/
Dlibc.map.txt1480 android_mallopt; # apex