Lines Matching refs:memory
1109 void* memory = malloc(10 * 1024 * 1024); in TEST() local
1110 ASSERT_TRUE(memory != nullptr); in TEST()
1113 memory = realloc(memory, 20 * 1024 * 1024); in TEST()
1114 ASSERT_TRUE(memory != nullptr); in TEST()
1115 memory = realloc(memory, 40 * 1024 * 1024); in TEST()
1116 ASSERT_TRUE(memory != nullptr); in TEST()
1117 memory = realloc(memory, 60 * 1024 * 1024); in TEST()
1118 ASSERT_TRUE(memory != nullptr); in TEST()
1119 memory = realloc(memory, 80 * 1024 * 1024); in TEST()
1120 ASSERT_TRUE(memory != nullptr); in TEST()
1122 memory = realloc(memory, 130 * 1024 * 1024); in TEST()
1123 ASSERT_TRUE(memory == nullptr); in TEST()
1139 void* memory = malloc(80 * 1024 * 1024); in TEST() local
1140 ASSERT_TRUE(memory != nullptr); in TEST()
1143 memory = realloc(memory, 60 * 1024 * 1024); in TEST()
1144 ASSERT_TRUE(memory != nullptr); in TEST()
1145 memory = realloc(memory, 40 * 1024 * 1024); in TEST()
1146 ASSERT_TRUE(memory != nullptr); in TEST()
1147 memory = realloc(memory, 20 * 1024 * 1024); in TEST()
1148 ASSERT_TRUE(memory != nullptr); in TEST()
1149 memory = realloc(memory, 10 * 1024 * 1024); in TEST()
1150 ASSERT_TRUE(memory != nullptr); in TEST()
1151 free(memory); in TEST()
1167 void* memory = malloc(60 * 1024 * 1024); in TEST() local
1168 ASSERT_TRUE(memory != nullptr); in TEST()
1170 memory = realloc(memory, 0); in TEST()
1171 ASSERT_TRUE(memory == nullptr); in TEST()