Lines Matching refs:limit
1009 size_t limit = 128 * 1024 * 1024; in CheckAllocationFunction() local
1010 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in CheckAllocationFunction()
1057 size_t limit = 256 * 1024 * 1024; in TEST() local
1058 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
1059 limit = 32 * 1024 * 1024; in TEST()
1060 ASSERT_FALSE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
1103 size_t limit = 128 * 1024 * 1024; in TEST() local
1104 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
1133 size_t limit = 100 * 1024 * 1024; in TEST() local
1134 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
1161 size_t limit = 100 * 1024 * 1024; in TEST() local
1162 ASSERT_TRUE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))); in TEST()
1184 size_t limit = 500 * 1024 * 1024; in SetAllocationLimit() local
1185 if (android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit))) { in SetAllocationLimit()