Home
last modified time | relevance | path

Searched refs:__prod (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__mdspan/
H A Dlayout_stride.h84 index_type __prod = __ext.extent(0); in __required_span_size_is_representable() local
86 bool __overflowed = __builtin_mul_overflow(__prod, __ext.extent(__r), &__prod); in __required_span_size_is_representable()
109 index_type __prod = (__ext.extent(__r) - 1); in __required_span_size_is_representable() local
110 …bool __overflowed_mul = __builtin_mul_overflow(__prod, static_cast<index_type>(__strides[__r]), &_… in __required_span_size_is_representable()
113 bool __overflowed_add = __builtin_add_overflow(__size, __prod, &__size); in __required_span_size_is_representable()
H A Dlayout_left.h61 index_type __prod = __ext.extent(0); in __required_span_size_is_representable() local
63 bool __overflowed = __builtin_mul_overflow(__prod, __ext.extent(__r), &__prod); in __required_span_size_is_representable()
H A Dlayout_right.h60 index_type __prod = __ext.extent(0); in __required_span_size_is_representable() local
62 bool __overflowed = __builtin_mul_overflow(__prod, __ext.extent(__r), &__prod); in __required_span_size_is_representable()
H A Dmdspan.h220 size_type __prod = 1; in size()
221 return (__builtin_mul_overflow(__prod, extent(_Idxs), &__prod) || ... || false); in size()