Lines Matching refs:bytes
1021 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return calloc(bytes, 1) != nullptr; }), in TEST() argument
1023 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return calloc(1, bytes) != nullptr; }), in TEST() argument
1025 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return malloc(bytes) != nullptr; }), in TEST() argument
1028 [](size_t bytes) { return memalign(sizeof(void*), bytes) != nullptr; }), in TEST() argument
1030 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { in TEST() argument
1032 return posix_memalign(&ptr, sizeof(void *), bytes) == 0; in TEST()
1036 [](size_t bytes) { return aligned_alloc(sizeof(void*), bytes) != nullptr; }), in TEST() argument
1038 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { in TEST() argument
1040 return realloc(p, bytes) != nullptr; in TEST()
1044 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return pvalloc(bytes) != nullptr; }), in TEST() argument
1046 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return valloc(bytes) != nullptr; }), in TEST() argument