Searched refs:android_mallopt (Results 1 – 11 of 11) sorted by relevance
/bionic/tests/ |
D | malloc_test.cpp | 1118 TEST(android_mallopt, error_on_unexpected_option) { in TEST() argument 1122 EXPECT_EQ(false, android_mallopt(unrecognized_option, nullptr, 0)); in TEST() 1148 TEST(android_mallopt, init_zygote_child_profiling) { in TEST() argument 1153 EXPECT_EQ(true, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, nullptr, 0)); in TEST() 1157 EXPECT_EQ(false, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, nullptr, 0)); in TEST() 1164 EXPECT_EQ(false, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, &unexpected, 1)); in TEST() 1180 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in CheckAllocationFunction() 1189 TEST(android_mallopt, set_allocation_limit) { in TEST() argument 1224 TEST(android_mallopt, set_allocation_limit_multiple) { in TEST() argument 1228 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST() [all …]
|
/bionic/benchmarks/ |
D | ScopedDecayTimeRestorer.h | 29 if (android_mallopt(M_GET_DECAY_TIME_ENABLED, &value, sizeof(value))) { in ScopedDecayTimeRestorer()
|
/bionic/libc/platform/bionic/ |
D | malloc.h | 188 extern "C" bool android_mallopt(int opcode, void* _Nullable arg, size_t arg_size);
|
/bionic/libc/bionic/ |
D | malloc_common_dynamic.cpp | 478 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() function 582 if (android_mallopt(M_GET_MALLOC_LEAK_INFO, &leak_info, sizeof(leak_info))) { in get_malloc_leak_info() 593 android_mallopt(M_FREE_MALLOC_LEAK_INFO, &leak_info, sizeof(leak_info)); in free_malloc_leak_info()
|
D | android_profiling_dynamic.cpp | 91 android_mallopt(M_GET_PROCESS_PROFILEABLE, &profileable, sizeof(profileable)); in HandleProfilingSignal()
|
D | malloc_common.cpp | 339 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() function
|
/bionic/libc/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 204 ASSERT_TRUE(android_mallopt(M_GET_MALLOC_LEAK_INFO, &leak_info, sizeof(leak_info))); in TEST_F() 211 ASSERT_TRUE(android_mallopt(M_FREE_MALLOC_LEAK_INFO, &leak_info, sizeof(leak_info))); in TEST_F()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 471 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in SetAllocationLimit() 732 android_mallopt(M_WRITE_MALLOC_LEAK_INFO_TO_FILE, fp, sizeof(fp)); in TEST()
|
/bionic/tests/libs/ |
D | stack_tagging_helper.cpp | 259 CHECK(android_mallopt(M_MEMTAG_STACK_IS_ON, &memtag_stack, sizeof(memtag_stack))); in test_android_mallopt()
|
/bionic/libc/ |
D | libc.map.txt | 1478 android_mallopt; # apex llndk
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 1478 android_mallopt; # apex llndk
|