Lines Matching refs:memory
1279 void* memory = malloc(10 * 1024 * 1024); in TEST() local
1280 ASSERT_TRUE(memory != nullptr); in TEST()
1283 memory = realloc(memory, 20 * 1024 * 1024); in TEST()
1284 ASSERT_TRUE(memory != nullptr); in TEST()
1285 memory = realloc(memory, 40 * 1024 * 1024); in TEST()
1286 ASSERT_TRUE(memory != nullptr); in TEST()
1287 memory = realloc(memory, 60 * 1024 * 1024); in TEST()
1288 ASSERT_TRUE(memory != nullptr); in TEST()
1289 memory = realloc(memory, 80 * 1024 * 1024); in TEST()
1290 ASSERT_TRUE(memory != nullptr); in TEST()
1292 memory = realloc(memory, 130 * 1024 * 1024); in TEST()
1293 ASSERT_TRUE(memory == nullptr); in TEST()
1309 void* memory = malloc(80 * 1024 * 1024); in TEST() local
1310 ASSERT_TRUE(memory != nullptr); in TEST()
1313 memory = realloc(memory, 60 * 1024 * 1024); in TEST()
1314 ASSERT_TRUE(memory != nullptr); in TEST()
1315 memory = realloc(memory, 40 * 1024 * 1024); in TEST()
1316 ASSERT_TRUE(memory != nullptr); in TEST()
1317 memory = realloc(memory, 20 * 1024 * 1024); in TEST()
1318 ASSERT_TRUE(memory != nullptr); in TEST()
1319 memory = realloc(memory, 10 * 1024 * 1024); in TEST()
1320 ASSERT_TRUE(memory != nullptr); in TEST()
1321 free(memory); in TEST()
1337 void* memory = malloc(60 * 1024 * 1024); in TEST() local
1338 ASSERT_TRUE(memory != nullptr); in TEST()
1340 memory = realloc(memory, 0); in TEST()
1341 ASSERT_TRUE(memory == nullptr); in TEST()