Searched refs:CheckAllocationFunction (Results 1 – 1 of 1) sorted by relevance
1177 void CheckAllocationFunction(FuncType func) { in CheckAllocationFunction() function1191 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return calloc(bytes, 1) != nullptr; }), in TEST()1193 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return calloc(1, bytes) != nullptr; }), in TEST()1195 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return malloc(bytes) != nullptr; }), in TEST()1197 EXPECT_EXIT(CheckAllocationFunction( in TEST()1200 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { in TEST()1205 EXPECT_EXIT(CheckAllocationFunction( in TEST()1208 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { in TEST()1214 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return pvalloc(bytes) != nullptr; }), in TEST()1216 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return valloc(bytes) != nullptr; }), in TEST()