Searched refs:CheckAllocationFunction (Results 1 – 1 of 1) sorted by relevance
1007 void CheckAllocationFunction(FuncType func) { in CheckAllocationFunction() function1021 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return calloc(bytes, 1) != nullptr; }), in TEST()1023 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return calloc(1, bytes) != nullptr; }), in TEST()1025 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return malloc(bytes) != nullptr; }), in TEST()1027 EXPECT_EXIT(CheckAllocationFunction( in TEST()1030 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { in TEST()1035 EXPECT_EXIT(CheckAllocationFunction( in TEST()1038 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { in TEST()1044 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return pvalloc(bytes) != nullptr; }), in TEST()1046 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return valloc(bytes) != nullptr; }), in TEST()