Searched refs:M_SET_ALLOCATION_LIMIT_BYTES (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/platform/bionic/ |
D | malloc.h | 63 M_SET_ALLOCATION_LIMIT_BYTES = 3, enumerator 64 #define M_SET_ALLOCATION_LIMIT_BYTES M_SET_ALLOCATION_LIMIT_BYTES macro
|
/bionic/tests/ |
D | malloc_test.cpp | 1010 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in CheckAllocationFunction() 1058 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST() 1060 ASSERT_FALSE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST() 1104 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST() 1134 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST() 1162 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST() 1185 if (android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))) { in SetAllocationLimit()
|
/bionic/libc/bionic/ |
D | malloc_common.cpp | 314 if (opcode == M_SET_ALLOCATION_LIMIT_BYTES) { in android_mallopt()
|
D | malloc_common_dynamic.cpp | 500 if (opcode == M_SET_ALLOCATION_LIMIT_BYTES) { in android_mallopt()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 240 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in SetAllocationLimit()
|