Lines Matching refs:android_mallopt

948 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()
1060 ASSERT_FALSE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
1101 TEST(android_mallopt, set_allocation_limit_realloc_increase) { in TEST() argument
1104 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
1131 TEST(android_mallopt, set_allocation_limit_realloc_decrease) { in TEST() argument
1134 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
1159 TEST(android_mallopt, set_allocation_limit_realloc_free) { in TEST() argument
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()
1222 TEST(android_mallopt, set_allocation_limit_multiple_threads) { in TEST() argument
1225 ASSERT_TRUE(android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, nullptr, 0)); in TEST()