Home
last modified time | relevance | path

Searched refs:_First (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/src/ryu/
H A Dd2fixed.cpp235 [[nodiscard]] to_chars_result __d2fixed_buffered_n(char* _First, char* const _Last, const double __… in __d2fixed_buffered_n() argument
237 char* const _Original_first = _First; in __d2fixed_buffered_n()
247 if (_Last - _First < _Total_zero_length) { in __d2fixed_buffered_n()
251 *_First++ = '0'; in __d2fixed_buffered_n()
253 *_First++ = '.'; in __d2fixed_buffered_n()
254 std::memset(_First, '0', __precision); in __d2fixed_buffered_n()
255 _First += __precision; in __d2fixed_buffered_n()
257 return { _First, errc{} }; in __d2fixed_buffered_n()
286 if (_Last - _First < 9) { in __d2fixed_buffered_n()
289 __append_nine_digits(__digits, _First); in __d2fixed_buffered_n()
[all …]
H A Df2s.cpp297 …HIDE_FROM_ABI inline to_chars_result _Large_integer_to_chars(char* const _First, char* const _Last, in _Large_integer_to_chars() argument
401 if (_Last - _First < static_cast<ptrdiff_t>(_Total_fixed_length)) { in _Large_integer_to_chars()
405 char* _Result = _First; in _Large_integer_to_chars()
421 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline to_chars_result __to_chars(char* const _First, char* con… in __to_chars() argument
503 if (_Last - _First < static_cast<ptrdiff_t>(_Total_fixed_length)) { in __to_chars()
550 return _Large_integer_to_chars(_First, _Last, _Mantissa2, _Exponent2); in __to_chars()
555 _Mid = _First + __olength; in __to_chars()
558 _Mid = _First + _Total_fixed_length; in __to_chars()
587 std::memset(_First + __olength, '0', static_cast<size_t>(_Ryu_exponent)); in __to_chars()
592 std::memmove(_First, _First + 1, static_cast<size_t>(_Whole_digits)); in __to_chars()
[all …]
H A Dd2s.cpp356 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline to_chars_result __to_chars(char* const _First, char* con… in __to_chars() argument
444 if (_Last - _First < static_cast<ptrdiff_t>(_Total_fixed_length)) { in __to_chars()
502 return __d2fixed_buffered_n(_First, _Last, __f, 0); in __to_chars()
507 _Mid = _First + __olength; in __to_chars()
510 _Mid = _First + _Total_fixed_length; in __to_chars()
563 std::memset(_First + __olength, '0', static_cast<size_t>(_Ryu_exponent)); in __to_chars()
568 std::memmove(_First, _First + 1, static_cast<size_t>(_Whole_digits)); in __to_chars()
569 _First[_Whole_digits] = '.'; in __to_chars()
572 _First[0] = '0'; in __to_chars()
573 _First[1] = '.'; in __to_chars()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/include/
H A Dto_chars_floating_point.h100 char* _First, char* const _Last, const _Floating _Value, int _Precision) noexcept {
186 ptrdiff_t _Buffer_size = _Last - _First;
275 *_First++ = _Leading_hexit;
286 *_First++ = '.';
299 *_First++ = _Hexit;
310 std::memset(_First, '0', static_cast<size_t>(_Precision));
311 _First += _Precision;
329 *_First++ = 'p';
330 *_First++ = _Sign_character;
333 return std::to_chars(_First, _Las
[all...]
/freebsd/contrib/llvm-project/libcxx/src/include/ryu/
H A Dryu.h90 char* const _First, char* const _Last, const _Floating _Value, const chars_format _Fmt) noexcept { in _Floating_to_chars_ryu()
92 return __f2s_buffered_n(_First, _Last, _Value, _Fmt); in _Floating_to_chars_ryu()
94 return __d2s_buffered_n(_First, _Last, _Value, _Fmt); in _Floating_to_chars_ryu()
100 char* const _First, char* const _Last, const _Floating _Value, int _Precision) noexcept { in _Floating_to_chars_scientific_precision()
116 return __d2exp_buffered_n(_First, _Last, _Value, static_cast<uint32_t>(_Precision));
121 char* const _First, char* const _Last, const _Floating _Value, int _Precision) noexcept { in _Floating_to_chars_fixed_precision()
137 return __d2fixed_buffered_n(_First, _Last, _Value, static_cast<uint32_t>(_Precision));
91 _Floating_to_chars_ryu(char * const _First,char * const _Last,const _Floating _Value,const chars_format _Fmt) _Floating_to_chars_ryu() argument
101 _Floating_to_chars_scientific_precision(char * const _First,char * const _Last,const _Floating _Value,int _Precision) _Floating_to_chars_scientific_precision() argument
122 _Floating_to_chars_fixed_precision(char * const _First,char * const _Last,const _Floating _Value,int _Precision) _Floating_to_chars_fixed_precision() argument
H A Dd2fixed.h53 [[nodiscard]] to_chars_result __d2fixed_buffered_n(char* _First, char* const _Last, const double __…
54 [[nodiscard]] to_chars_result __d2exp_buffered_n(char* _First, char* const _Last, const double __d,…
H A Df2s.h49 [[nodiscard]] to_chars_result __f2s_buffered_n(char* const _First, char* const _Last, const float _…
H A Dd2s.h56 [[nodiscard]] to_chars_result __d2s_buffered_n(char* const _First, char* const _Last, const double …
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Ddisjunction.h26 template <class _Res, class _First, class... _Rest>
28 …typename _OrImpl<!bool(_First::value) && sizeof...(_Rest) != 0>::template _Result<_First, _Rest...…
H A Dcan_extract_key.h35 template <class _Pair, class _Key, class _First, class _Second>
36 struct __can_extract_key<_Pair, _Key, pair<_First, _Second> >
37 …: __conditional_t<_IsSame<__remove_const_t<_First>, _Key>::value, __extract_key_first_tag, __extra…
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Ddisjunction.h26 template <class _Res, class _First, class... _Rest>
28 …typename _OrImpl<!bool(_First::value) && sizeof...(_Rest) != 0>::template _Result<_First, _Rest...…
H A Dcan_extract_key.h35 template <class _Pair, class _Key, class _First, class _Second>
36 struct __can_extract_key<_Pair, _Key, pair<_First, _Second> >
37 …: __conditional_t<_IsSame<__remove_const_t<_First>, _Key>::value, __extract_key_first_tag, __extra…
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A D__hash_table752 template <class _First,
754 … __enable_if_t<__can_extract_map_key<_First, key_type, __container_value_type>::value, int> = 0>
755 _LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique(_First&& __f, _Second&& __s) {
756 return __emplace_unique_key_args(__f, std::forward<_First>(__f), std::forward<_Second>(__s));
909 template <class _First, class... _Rest>
910 …_LIBCPP_HIDE_FROM_ABI __node_holder __construct_node_hash(size_t __hash, _First&& __f, _Rest&&... …
1619 template <class _First, class... _Rest>
1621 __hash_table<_Tp, _Hash, _Equal, _Alloc>::__construct_node_hash(size_t __hash, _First&& __f, _Rest&…
1622 …static_assert(!__is_hash_value_type<_First, _Rest...>::value, "Construct cannot be called with a h…
1627 …__na, _NodeTypes::__get_ptr(__h->__get_value()), std::forward<_First>(__f), std::forward<_Rest>(__…
H A D__tree1002 template <class _First,
1004 … __enable_if_t<__can_extract_map_key<_First, key_type, __container_value_type>::value, int> = 0>
1005 _LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique(_First&& __f, _Second&& __s) {
1006 return __emplace_unique_key_args(__f, std::forward<_First>(__f), std::forward<_Second>(__s));
1034 template <class _First,
1036 … __enable_if_t<__can_extract_map_key<_First, key_type, __container_value_type>::value, int> = 0>
1037 …_LIBCPP_HIDE_FROM_ABI iterator __emplace_hint_unique(const_iterator __p, _First&& __f, _Second&& _…
1038 …return __emplace_hint_unique_key_args(__p, __f, std::forward<_First>(__f), std::forward<_Second>(_…
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h475 PPChainedCallbacks(std::unique_ptr<PPCallbacks> _First, in PPChainedCallbacks() argument
477 : First(std::move(_First)), Second(std::move(_Second)) {} in PPChainedCallbacks()
/freebsd/contrib/llvm-project/libcxx/include/
H A D__hash_table825 template <class _First,
827 … __enable_if_t<__can_extract_map_key<_First, key_type, __container_value_type>::value, int> = 0>
828 _LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique(_First&& __f, _Second&& __s) {
829 return __emplace_unique_key_args(__f, std::forward<_First>(__f), std::forward<_Second>(__s));
1020 template <class _First, class... _Rest>
1021 …_LIBCPP_HIDE_FROM_ABI __node_holder __construct_node_hash(size_t __hash, _First&& __f, _Rest&&... …
1874 template <class _First, class... _Rest>
1876 __hash_table<_Tp, _Hash, _Equal, _Alloc>::__construct_node_hash(size_t __hash, _First&& __f, _Rest&…
1877 …static_assert(!__is_hash_value_type<_First, _Rest...>::value, "Construct cannot be called with a h…
1882 …__na, _NodeTypes::__get_ptr(__h->__get_value()), std::forward<_First>(__f), std::forward<_Rest>(__…
H A D__tree956 template <class _First,
958 __enable_if_t<__can_extract_map_key<_First, key_type, value_type>::value, int> = 0>
959 _LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique(_First&& __f, _Second&& __s) {
960 return __emplace_unique_key_args(__f, std::forward<_First>(__f), std::forward<_Second>(__s));
988 template <class _First,
990 __enable_if_t<__can_extract_map_key<_First, key_type, value_type>::value, int> = 0>
991 …_LIBCPP_HIDE_FROM_ABI iterator __emplace_hint_unique(const_iterator __p, _First&& __f, _Second&& _…
992 …return __emplace_hint_unique_key_args(__p, __f, std::forward<_First>(__f), std::forward<_Second>(_…
/freebsd/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h137 template <class _First, class _Second>
140 _LIBCPP_NO_UNIQUE_ADDRESS _First __first;
143 return sizeof(__x) == sizeof(_First);