Lines Matching refs:elem_count
42 const size_t elem_count = std::size_t(1) << (sizeof(std::size_t) * 8 - 2); in test_overflow_in_multiplication() local
45 assert(check_mul_overflows(elem_count, elem_size)); in test_overflow_in_multiplication()
48 __cxxabiv1::__cxa_vec_new(elem_count, elem_size, padding, dummy_ctor, in test_overflow_in_multiplication()
58 __cxxabiv1::__cxa_vec_new2(elem_count, elem_size, padding, dummy_ctor, in test_overflow_in_multiplication()
68 __cxxabiv1::__cxa_vec_new3(elem_count, elem_size, padding, dummy_ctor, in test_overflow_in_multiplication()
80 const size_t elem_count = static_cast<size_t>(-1) / 4u; in test_overflow_in_addition() local
86 assert(!check_mul_overflows(elem_count, elem_size)); in test_overflow_in_addition()
87 assert(check_add_overflows(elem_count * elem_size, padding)); in test_overflow_in_addition()
89 __cxxabiv1::__cxa_vec_new(elem_count, elem_size, padding, dummy_ctor, in test_overflow_in_addition()
100 __cxxabiv1::__cxa_vec_new2(elem_count, elem_size, padding, dummy_ctor, in test_overflow_in_addition()
110 __cxxabiv1::__cxa_vec_new3(elem_count, elem_size, padding, dummy_ctor, in test_overflow_in_addition()