Home
last modified time | relevance | path

Searched refs:_Num (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dutility.h143 template<size_t _Num> in _GLIBCXX_VISIBILITY()
151 using __type = __make_integer_seq<_IdxTuple, size_t, _Num>; in _GLIBCXX_VISIBILITY()
154 using __type = _Index_tuple<__integer_pack(_Num)...>; in _GLIBCXX_VISIBILITY()
174 template<typename _Tp, _Tp _Num> in _GLIBCXX_VISIBILITY()
177 = __make_integer_seq<integer_sequence, _Tp, _Num>; in _GLIBCXX_VISIBILITY()
179 = integer_sequence<_Tp, __integer_pack(_Tp(_Num))...>; in _GLIBCXX_VISIBILITY()
187 template<size_t _Num> in _GLIBCXX_VISIBILITY()
188 using make_index_sequence = make_integer_sequence<size_t, _Num>; in _GLIBCXX_VISIBILITY()
H A Drange_access.h359 template<typename _Tp, ptrdiff_t _Num> in _GLIBCXX_VISIBILITY()
362 ssize(const _Tp (&)[_Num]) noexcept in _GLIBCXX_VISIBILITY()
363 { return _Num; } in _GLIBCXX_VISIBILITY()
H A Dranges_util.h402 template<size_t _Num, class _It, class _Sent, subrange_kind _Kind> in _GLIBCXX_VISIBILITY()
403 requires (_Num < 2) in _GLIBCXX_VISIBILITY()
407 if constexpr (_Num == 0) in _GLIBCXX_VISIBILITY()
413 template<size_t _Num, class _It, class _Sent, subrange_kind _Kind> in _GLIBCXX_VISIBILITY()
414 requires (_Num < 2) in _GLIBCXX_VISIBILITY()
418 if constexpr (_Num == 0) in _GLIBCXX_VISIBILITY()
H A Dstl_algobase.h432 const ptrdiff_t _Num = __last - __first; in _GLIBCXX_VISIBILITY()
433 if (__builtin_expect(_Num > 1, true)) in _GLIBCXX_VISIBILITY()
434 __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); in _GLIBCXX_VISIBILITY()
435 else if (_Num == 1) in _GLIBCXX_VISIBILITY()
438 return __result + _Num; in _GLIBCXX_VISIBILITY()
739 const ptrdiff_t _Num = __last - __first; in _GLIBCXX_VISIBILITY()
740 if (__builtin_expect(_Num > 1, true)) in _GLIBCXX_VISIBILITY()
741 __builtin_memmove(__result - _Num, __first, sizeof(_Tp) * _Num); in _GLIBCXX_VISIBILITY()
742 else if (_Num == 1) in _GLIBCXX_VISIBILITY()
745 return __result - _Num; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Dmemory_resource472 template<size_t _Num>
473 struct _Aligned_type { alignas(_Num) char __c[_Num]; };
476 template<size_t _Num, typename _Tp = _Aligned_type<_Num>>
482 const size_t __n = (__bytes + _Num - 1) / _Num;
487 template<size_t _Num, typename _Tp = _Aligned_type<_Num>>
493 const size_t __n = (__bytes + _Num - 1) / _Num;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/
H A Dmemory_resource473 template<size_t _Num>
474 struct _Aligned_type { alignas(_Num) char __c[_Num]; };
477 template<size_t _Num, typename _Tp = _Aligned_type<_Num>>
483 const size_t __n = (__bytes + _Num - 1) / _Num;
488 template<size_t _Num, typename _Tp = _Aligned_type<_Num>>
494 const size_t __n = (__bytes + _Num - 1) / _Num;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dratio265 template<intmax_t _Num, intmax_t _Den = 1>
269 static_assert(_Num >= -__INTMAX_MAX__ && _Den >= -__INTMAX_MAX__,
274 _Num * __static_sign<_Den>::value / __static_gcd<_Num, _Den>::value;
277 __static_abs<_Den>::value / __static_gcd<_Num, _Den>::value;
283 template<intmax_t _Num, intmax_t _Den>
284 constexpr intmax_t ratio<_Num, _Den>::num;
286 template<intmax_t _Num, intmax_t _Den>
287 constexpr intmax_t ratio<_Num, _Den>::den;
297 template<intmax_t _Num, intmax_t _Den>
298 struct __is_ratio<ratio<_Num, _Den>>
[all …]
H A Dspan63 template<typename _Tp, size_t _Num>
64 inline constexpr bool __is_span<span<_Tp, _Num>> = true;
69 template<typename _Tp, size_t _Num>
70 inline constexpr bool __is_std_array<std::array<_Tp, _Num>> = true;
H A Dconcepts211 template<typename _Tp, typename _Up, size_t _Num>
216 operator()(_Tp (&__e1)[_Num], _Up (&__e2)[_Num]) const
219 for (size_t __n = 0; __n < _Num; ++__n)
H A Distream857 template<typename _CharT, typename _Traits, size_t _Num>
859 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT (&__s)[_Num])
861 static_assert(_Num <= __gnu_cxx::__numeric_traits<streamsize>::__max);
862 std::__istream_extract(__in, __s, _Num);
866 template<class _Traits, size_t _Num>
868 operator>>(basic_istream<char, _Traits>& __in, unsigned char (&__s)[_Num])
869 { return __in >> reinterpret_cast<char(&)[_Num]>(__s); }
871 template<class _Traits, size_t _Num>
873 operator>>(basic_istream<char, _Traits>& __in, signed char (&__s)[_Num])
874 { return __in >> reinterpret_cast<char(&)[_Num]>(__s); }
H A Dfunctional84 template<int _Num> struct _Placeholder { };
322 template<int _Num>
323 struct is_placeholder<_Placeholder<_Num> >
324 : public integral_constant<int, _Num>
327 template<int _Num>
328 struct is_placeholder<const _Placeholder<_Num> >
329 : public integral_constant<int, _Num>
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dratio247 template <intmax_t _Num, intmax_t _Den = 1>
250 static_assert(__static_abs<_Num>::value >= 0, "ratio numerator is out of range");
253 static _LIBCPP_CONSTEXPR const intmax_t __na = __static_abs<_Num>::value;
255 …static _LIBCPP_CONSTEXPR const intmax_t __s = __static_sign<_Num>::value * __static_sign<_Den>::va…
264 template <intmax_t _Num, intmax_t _Den>
265 _LIBCPP_CONSTEXPR const intmax_t ratio<_Num, _Den>::num;
267 template <intmax_t _Num, intmax_t _Den>
268 _LIBCPP_CONSTEXPR const intmax_t ratio<_Num, _Den>::den;
271 template <intmax_t _Num, intmax_t _Den> struct __is_ratio<ratio<_Num, _Den> > : true_type {};
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dutility306 // Builds an _Index_tuple<0, 1, 2, ..., _Num-1>.
307 template<size_t _Num>
314 using __type = __make_integer_seq<_IdxTuple, size_t, _Num>;
316 using __type = _Index_tuple<__integer_pack(_Num)...>;
333 template<typename _Tp, _Tp _Num>
336 = __make_integer_seq<integer_sequence, _Tp, _Num>;
338 = integer_sequence<_Tp, __integer_pack(_Num)...>;
348 template<size_t _Num>
349 using make_index_sequence = make_integer_sequence<size_t, _Num>;
H A Dspan63 template<typename _Tp, size_t _Num>
64 struct __is_std_span<span<_Tp, _Num>> : true_type { };
69 template<typename _Tp, size_t _Num>
70 struct __is_std_array<_GLIBCXX_STD_C::array<_Tp, _Num>> : true_type { };
73 template<typename _Tp, size_t _Num>
74 struct __is_std_array<__debug::array<_Tp, _Num>> : true_type { };
H A Dratio265 template<intmax_t _Num, intmax_t _Den = 1>
269 static_assert(_Num >= -__INTMAX_MAX__ && _Den >= -__INTMAX_MAX__,
274 _Num * __static_sign<_Den>::value / __static_gcd<_Num, _Den>::value;
277 __static_abs<_Den>::value / __static_gcd<_Num, _Den>::value;
282 template<intmax_t _Num, intmax_t _Den>
283 constexpr intmax_t ratio<_Num, _Den>::num;
285 template<intmax_t _Num, intmax_t _Den>
286 constexpr intmax_t ratio<_Num, _Den>::den;
H A Dconcepts211 template<typename _Tp, typename _Up, size_t _Num>
216 operator()(_Tp (&__e1)[_Num], _Up (&__e2)[_Num]) const
219 for (size_t __n = 0; __n < _Num; ++__n)
H A Dfunctional209 template<int _Num> struct _Placeholder { };
257 template<int _Num>
258 struct is_placeholder<_Placeholder<_Num> >
259 : public integral_constant<int, _Num>
262 template<int _Num>
263 struct is_placeholder<const _Placeholder<_Num> >
264 : public integral_constant<int, _Num>
H A Dtype_traits984 template<typename _Tp, size_t _Num>
985 struct __is_nt_constructible_impl<true, _Tp[_Num]>
990 template<typename _Tp, size_t _Num, typename _Arg>
991 struct __is_nt_constructible_impl<true, _Tp[_Num], _Arg>
995 template<typename _Tp, size_t _Num, typename... _Args>
996 struct __is_nt_constructible_impl<true, _Tp[_Num], _Args...>
H A Dranges394 template<size_t _Num, class _It, class _Sent, subrange_kind _Kind>
395 requires (_Num < 2)
399 if constexpr (_Num == 0)
405 template<size_t _Num, class _It, class _Sent, subrange_kind _Kind>
406 requires (_Num < 2)
410 if constexpr (_Num == 0)
H A Dchrono412 template<intmax_t _Num, intmax_t _Den>
413 struct __is_ratio<ratio<_Num, _Den>>
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/
H A Dfunctional853 template<int _Num> struct _Placeholder { };
902 template<int _Num>
903 struct is_placeholder<_Placeholder<_Num> >
904 { static const int value = _Num; };
906 template<int _Num>
907 const int is_placeholder<_Placeholder<_Num> >::value;
910 template<int _Num>
911 struct is_placeholder<std::_Placeholder<_Num>>
912 : std::integral_constant<int, _Num>
915 template<int _Num>
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dstl_algobase.h424 const ptrdiff_t _Num = __last - __first; in _GLIBCXX_VISIBILITY()
425 if (_Num) in _GLIBCXX_VISIBILITY()
426 __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); in _GLIBCXX_VISIBILITY()
427 return __result + _Num; in _GLIBCXX_VISIBILITY()
689 const ptrdiff_t _Num = __last - __first; in _GLIBCXX_VISIBILITY()
690 if (_Num) in _GLIBCXX_VISIBILITY()
691 __builtin_memmove(__result - _Num, __first, sizeof(_Tp) * _Num); in _GLIBCXX_VISIBILITY()
692 return __result - _Num; in _GLIBCXX_VISIBILITY()
H A Drange_access.h336 template<typename _Tp, ptrdiff_t _Num> in _GLIBCXX_VISIBILITY()
338 ssize(const _Tp (&)[_Num]) noexcept in _GLIBCXX_VISIBILITY()
339 { return _Num; } in _GLIBCXX_VISIBILITY()
/netbsd-src/sys/external/bsd/gnu-efi/dist/inc/
H A Defidevp.h159 #define EISA_ID(_Name, _Num) ((UINT32) ((_Name) | (_Num) << 16)) argument
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
H A Dfunctional905 template<int _Num>
906 struct is_placeholder<_Placeholder<_Num> >
907 : integral_constant<int, _Num>
910 template<int _Num>
911 struct is_placeholder<const _Placeholder<_Num> >
912 : integral_constant<int, _Num>
922 /// Builds an _Index_tuple<0, 1, 2, ..., _Num-1>.
923 template<std::size_t _Num, typename _Tuple = _Index_tuple<> >
926 template<std::size_t _Num, int... _Indexes>
927 struct _Build_index_tuple<_Num, _Index_tuple<_Indexes...> >
[all …]