• Home
  • Raw
  • Download

Lines Matching refs:android_mallopt

683 TEST(android_mallopt, error_on_unexpected_option) {  in TEST()  argument
687 EXPECT_EQ(false, android_mallopt(unrecognized_option, nullptr, 0)); in TEST()
713 TEST(android_mallopt, init_zygote_child_profiling) { in TEST() argument
718 EXPECT_EQ(true, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, nullptr, 0)); in TEST()
722 EXPECT_EQ(false, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, nullptr, 0)); in TEST()
729 EXPECT_EQ(false, android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, &unexpected, 1)); in TEST()
745 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in CheckAllocationFunction()
754 TEST(android_mallopt, set_allocation_limit) { in TEST() argument
789 TEST(android_mallopt, set_allocation_limit_multiple) { in TEST() argument
793 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
795 ASSERT_FALSE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
836 TEST(android_mallopt, set_allocation_limit_realloc_increase) { in TEST() argument
839 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
866 TEST(android_mallopt, set_allocation_limit_realloc_decrease) { in TEST() argument
869 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
894 TEST(android_mallopt, set_allocation_limit_realloc_free) { in TEST() argument
897 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
920 if (android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))) { in SetAllocationLimit()
953 TEST(android_mallopt, set_allocation_limit_multiple_threads) { in TEST() argument
956 ASSERT_TRUE(android_mallopt(M_INIT_ZYGOTE_CHILD_PROFILING, nullptr, 0)); in TEST()