| /freebsd/contrib/llvm-project/libcxx/include/__charconv/ |
| H A D | to_chars_base_10.h | 31 …NCE_CXX23 _LIBCPP_HIDE_FROM_ABI inline char* __append1(char* __first, uint32_t __value) _NOEXCEPT { in __append1() argument 32 *__first = '0' + static_cast<char>(__value); in __append1() 36 …NCE_CXX23 _LIBCPP_HIDE_FROM_ABI inline char* __append2(char* __first, uint32_t __value) _NOEXCEPT { in __append2() argument 37 return std::copy_n(&__digits_base_10[__value * 2], 2, __first); in __append2() 40 …NCE_CXX23 _LIBCPP_HIDE_FROM_ABI inline char* __append3(char* __first, uint32_t __value) _NOEXCEPT { in __append3() argument 41 return __itoa::__append2(__itoa::__append1(__first, __value / 100), __value % 100); in __append3() 44 …NCE_CXX23 _LIBCPP_HIDE_FROM_ABI inline char* __append4(char* __first, uint32_t __value) _NOEXCEPT { in __append4() argument 45 return __itoa::__append2(__itoa::__append2(__first, __value / 100), __value % 100); in __append4() 48 …NCE_CXX23 _LIBCPP_HIDE_FROM_ABI inline char* __append5(char* __first, uint32_t __value) _NOEXCEPT { in __append5() argument 49 return __itoa::__append4(__itoa::__append1(__first, __value / 10000), __value % 10000); in __append5() [all …]
|
| H A D | to_chars_integral.h | 44 __to_chars_itoa(char* __first, char* __last, _Tp __value, false_type); 48 __to_chars_itoa(char* __first, char* __last, _Tp __value, true_type) { in __to_chars_itoa() argument 49 auto __x = std::__to_unsigned_like(__value); in __to_chars_itoa() 50 if (__value < 0 && __first != __last) { in __to_chars_itoa() 60 __to_chars_itoa(char* __first, char* __last, _Tp __value, false_type) { in __to_chars_itoa() argument 64 if (__tx::digits <= __diff || __tx::__width(__value) <= __diff) in __to_chars_itoa() 65 return {__tx::__convert(__first, __value), errc(0)}; in __to_chars_itoa() 73 __to_chars_itoa(char* __first, char* __last, __uint128_t __value, false_type) { in __to_chars_itoa() argument 78 if (__value <= numeric_limits<uint64_t>::max()) in __to_chars_itoa() 79 return __to_chars_itoa(__first, __last, static_cast<uint64_t>(__value), false_type()); in __to_chars_itoa() [all …]
|
| H A D | from_chars_integral.h | 42 __sign_combinator(_It __first, _It __last, _Tp& __value, _Fn __f, _Ts... __args) { in __sign_combinator() argument 44 decltype(std::__to_unsigned_like(__value)) __x; in __sign_combinator() 60 std::copy_n(std::addressof(__x), 1, std::addressof(__value)); in __sign_combinator() 65 __value = __x; in __sign_combinator() 99 __subject_seq_combinator(_It __first, _It __last, _Tp& __value, _Fn __f, _Ts... __args) { in __subject_seq_combinator() argument 112 __value = 0; in __subject_seq_combinator() 117 auto __r = __f(__p, __last, __value, __args...); in __subject_seq_combinator() 130 __from_chars_atoi(const char* __first, const char* __last, _Tp& __value) { in __from_chars_atoi() argument 135 … __first, __last, __value, [](const char* __f, const char* __l, _Tp& __val) -> from_chars_result { in __from_chars_atoi() 151 __from_chars_atoi(const char* __first, const char* __last, _Tp& __value) { in __from_chars_atoi() argument [all …]
|
| H A D | to_chars_floating_point.h | 26 to_chars(char* __first, char* __last, float __value); 29 to_chars(char* __first, char* __last, double __value); 32 to_chars(char* __first, char* __last, long double __value); 35 to_chars(char* __first, char* __last, float __value, chars_format __fmt); 38 to_chars(char* __first, char* __last, double __value, chars_format __fmt); 41 to_chars(char* __first, char* __last, long double __value, chars_format __fmt); 44 to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __precision); 47 to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __precision); 50 to_chars(char* __first, char* __last, long double __value, chars_format __fmt, int __precision);
|
| H A D | from_chars_floating_point.h | 33 _Fp __value; member 50 __from_chars(const char* __first, const char* __last, _Fp& __value, chars_format __fmt) { in __from_chars() argument 53 __value = __r.__value; in __from_chars() 58 from_chars(const char* __first, const char* __last, float& __value, chars_format __fmt = chars_form… 59 return std::__from_chars<float>(__first, __last, __value, __fmt); 63 from_chars(const char* __first, const char* __last, double& __value, chars_format __fmt = chars_for… 64 return std::__from_chars<double>(__first, __last, __value, __fmt);
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | ptrauth.h | 109 #define ptrauth_strip(__value, __key) __builtin_ptrauth_strip(__value, __key) argument 139 #define ptrauth_sign_constant(__value, __key, __data) \ argument 140 __builtin_ptrauth_sign_constant(__value, __key, __data) 154 #define ptrauth_sign_unauthenticated(__value, __key, __data) \ argument 155 __builtin_ptrauth_sign_unauthenticated(__value, __key, __data) 176 #define ptrauth_auth_and_resign(__value, __old_key, __old_data, __new_key, \ argument 178 __builtin_ptrauth_auth_and_resign(__value, __old_key, __old_data, __new_key, \ 198 #define ptrauth_auth_function(__value, __old_key, __old_data) \ argument 199 ptrauth_auth_and_resign(__value, __old_key, __old_data, \ 211 #define ptrauth_auth_data(__value, __old_key, __old_data) \ argument [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__format/ |
| H A D | unicode.h | 81 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr bool __is_high_surrogate(char32_t __value) { in __is_high_surrogate() argument 82 return __value >= 0xd800 && __value <= 0xdbff; in __is_high_surrogate() 85 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr bool __is_low_surrogate(char32_t __value) { in __is_low_surrogate() argument 86 return __value >= 0xdc00 && __value <= 0xdfff; in __is_low_surrogate() 90 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline constexpr bool __is_surrogate(char32_t __value) { in __is_surrogate() argument 91 return __value >= 0xd800 && __value <= 0xdfff; in __is_surrogate() 95 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline constexpr bool __is_code_point(char32_t __value) { in __is_code_point() argument 96 return __value <= 0x10ffff; in __is_code_point() 100 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline constexpr bool __is_scalar_value(char32_t __value) { in __is_scalar_value() argument 101 return __unicode::__is_code_point(__value) && !__unicode::__is_surrogate(__value); in __is_scalar_value() [all …]
|
| H A D | write_escaped.h | 71 __write_escaped_code_unit(basic_string<_CharT>& __str, char32_t __value, const _CharT* __prefix) { in __write_escaped_code_unit() argument 76 to_chars_result __r = std::to_chars(std::begin(__buffer), std::end(__buffer), __value, 16); in __write_escaped_code_unit() 89 …ROM_ABI void __write_well_formed_escaped_code_unit(basic_string<_CharT>& __str, char32_t __value) { in __write_well_formed_escaped_code_unit() argument 90 __formatter::__write_escaped_code_unit(__str, __value, _LIBCPP_STATICALLY_WIDEN(_CharT, "\\u{")); in __write_well_formed_escaped_code_unit() 99 …_FROM_ABI void __write_escape_ill_formed_code_unit(basic_string<_CharT>& __str, char32_t __value) { in __write_escape_ill_formed_code_unit() argument 100 __formatter::__write_escaped_code_unit(__str, __value, _LIBCPP_STATICALLY_WIDEN(_CharT, "\\x{")); in __write_escape_ill_formed_code_unit() 105 __is_escaped_sequence_written(basic_string<_CharT>& __str, bool __last_escaped, char32_t __value) { in __is_escaped_sequence_written() argument 108 if (__value > 127) in __is_escaped_sequence_written() 116 if (!__escaped_output_table::__needs_escape(__value)) in __is_escaped_sequence_written() 122 if (!__last_escaped || __extended_grapheme_custer_property_boundary::__get_property(__value) != in __is_escaped_sequence_written() [all …]
|
| H A D | formatter_integral.h | 128 __format_char(integral auto __value, 131 using _Tp = decltype(__value); 135 if (__value < numeric_limits<_CharT>::min() || __value > numeric_limits<_CharT>::max()) 139 if (__value > static_cast<make_unsigned_t<_CharT>>(numeric_limits<_CharT>::max())) 143 if (__value < 0 || static_cast<make_unsigned_t<_Tp>>(__value) > numeric_limits<_CharT>::max()) 148 const auto __c = static_cast<_CharT>(__value); 159 _LIBCPP_HIDE_FROM_ABI _Iterator __to_buffer(_Iterator __first, _Iterator __last, _Tp __value, int _… in __to_buffer() argument 162 …to_chars_result __r = std::to_chars(std::to_address(__first), std::to_address(__last), __value, __… in __to_buffer() 286 _Tp __value, in __format_integer() argument 299 _Iterator __last = __formatter::__to_buffer(__first, __end, __value, __base); in __format_integer() [all …]
|
| H A D | format_arg.h | 258 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(bool __value) noexcept : __boolean_(__value) {} in __basic_format_arg_value() argument 259 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(_CharT __value) noexcept : __char_type_(__value) {} in __basic_format_arg_value() argument 260 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(int __value) noexcept : __int_(__value) {} in __basic_format_arg_value() argument 261 …_LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(unsigned __value) noexcept : __unsigned_(__value) {} in __basic_format_arg_value() argument 262 …_LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(long long __value) noexcept : __long_long_(__value)… in __basic_format_arg_value() argument 263 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(unsigned long long __value) noexcept in __basic_format_arg_value() argument 264 : __unsigned_long_long_(__value) {} in __basic_format_arg_value() 266 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(__int128_t __value) noexcept : __i128_(__value) {} in __basic_format_arg_value() argument 267 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(__uint128_t __value) noexcept : __u128_(__value) {} in __basic_format_arg_value() argument 269 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(float __value) noexcept : __float_(__value) {} in __basic_format_arg_value() argument [all …]
|
| H A D | format_string.h | 34 uint32_t __value; member 67 size_t __value = __parse_ctx.next_arg_id(); in __parse_automatic() local 68 …_LIBCPP_ASSERT_UNCATEGORIZED(__value <= __number_max, "Compilers don't support this number of argu… in __parse_automatic() 70 return {__begin, uint32_t(__value)}; in __parse_automatic() 77 __parse_ctx.check_arg_id(__r.__value); in __parse_manual() 102 uint32_t __value = *__begin - _CharT('0'); in __parse_number() local 105 return {__begin, __value}; in __parse_number() 107 __value = __value * 10 + *__begin - _CharT('0'); in __parse_number() 117 uint64_t __v = uint64_t(__value) * 10 + *__begin++ - _CharT('0'); in __parse_number() 121 __value = __v; in __parse_number() [all …]
|
| H A D | formatter_floating_point.h | 60 _LIBCPP_HIDE_FROM_ABI char* __to_buffer(char* __first, char* __last, _Tp __value) { in __to_buffer() argument 61 to_chars_result __r = std::to_chars(__first, __last, __value); in __to_buffer() 67 _LIBCPP_HIDE_FROM_ABI char* __to_buffer(char* __first, char* __last, _Tp __value, chars_format __fm… in __to_buffer() argument 68 to_chars_result __r = std::to_chars(__first, __last, __value, __fmt); in __to_buffer() 74 _LIBCPP_HIDE_FROM_ABI char* __to_buffer(char* __first, char* __last, _Tp __value, chars_format __fm… in __to_buffer() argument 75 to_chars_result __r = std::to_chars(__first, __last, __value, __fmt, __precision); in __to_buffer() 239 __format_buffer_default(const __float_buffer<_Fp>& __buffer, _Tp __value, char* __integral) { 242 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value); 268 const __float_buffer<_Fp>& __buffer, _Tp __value, int __precision, char* __integral) { 272 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex); [all …]
|
| /freebsd/contrib/llvm-project/libcxx/src/ |
| H A D | charconv.cpp | 37 to_chars_result to_chars(char* __first, char* __last, float __value) { in to_chars() argument 38 …return _Floating_to_chars<_Floating_to_chars_overload::_Plain>(__first, __last, __value, chars_for… in to_chars() 41 to_chars_result to_chars(char* __first, char* __last, double __value) { in to_chars() argument 42 …return _Floating_to_chars<_Floating_to_chars_overload::_Plain>(__first, __last, __value, chars_for… in to_chars() 45 to_chars_result to_chars(char* __first, char* __last, long double __value) { in to_chars() argument 47 __first, __last, static_cast<double>(__value), chars_format{}, 0); in to_chars() 50 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt) { in to_chars() argument 51 …return _Floating_to_chars<_Floating_to_chars_overload::_Format_only>(__first, __last, __value, __f… in to_chars() 54 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt) { in to_chars() argument 55 …return _Floating_to_chars<_Floating_to_chars_overload::_Format_only>(__first, __last, __value, __f… in to_chars() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | convert_to_tm.h | 139 _LIBCPP_HIDE_FROM_ABI _Tm __convert_to_tm(const _ChronoT& __value) { in __convert_to_tm() argument 147 return std::__convert_to_tm<_Tm>(_ChronoT::clock::to_sys(__value)); in __convert_to_tm() 149 …return std::__convert_to_tm<_Tm>(chrono::sys_time<typename _ChronoT::duration>{__value.time_since_… in __convert_to_tm() 165 auto __hour = chrono::floor<chrono::hours>(__value); in __convert_to_tm() 166 auto __sec = chrono::duration_cast<chrono::seconds>(__value - __hour); in __convert_to_tm() 171 uint64_t __sec = chrono::duration_cast<chrono::seconds>(__value).count(); in __convert_to_tm() 179 __result.tm_mday = static_cast<unsigned>(__value); in __convert_to_tm() 181 __result.tm_mon = static_cast<unsigned>(__value) - 1; in __convert_to_tm() 183 __result.tm_year = static_cast<int>(__value) - 1900; in __convert_to_tm() 185 __result.tm_wday = __value.c_encoding(); in __convert_to_tm() [all …]
|
| H A D | formatter.h | 97 …t_sub_seconds(basic_stringstream<_CharT>& __sstr, const chrono::duration<_Rep, _Period>& __value) { in __format_sub_seconds() argument 102 auto __fraction = __value - chrono::duration_cast<chrono::seconds>(__value); in __format_sub_seconds() 104 if (__value < chrono::seconds{0} && __fraction != __duration{0}) in __format_sub_seconds() 131 …P_HIDE_FROM_ABI void __format_sub_seconds(basic_stringstream<_CharT>& __sstr, const _Tp& __value) { in __format_sub_seconds() argument 132 __formatter::__format_sub_seconds(__sstr, __value.time_since_epoch()); in __format_sub_seconds() 137 __format_sub_seconds(basic_stringstream<_CharT>& __sstr, const chrono::hh_mm_ss<_Duration>& __value… in __format_sub_seconds() argument 142 __value.subseconds().count(), in __format_sub_seconds() 143 __value.fractional_width); in __format_sub_seconds() 147 __value.subseconds().count(), in __format_sub_seconds() 148 __value.fractional_width); in __format_sub_seconds() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_ptrauth.h | 19 # define ptrauth_strip(__value, __key) \ argument 21 __typeof(__value) ret; \ 28 : "r"(__value) \ 32 # define ptrauth_auth_data(__value, __old_key, __old_data) __value argument 36 # define ptrauth_strip(__value, __key) __value argument 37 # define ptrauth_auth_data(__value, __old_key, __old_data) __value argument
|
| /freebsd/tools/regression/tls/ttls3/ |
| H A D | tls-test-lib.c | 37 void *__value; \ 40 : "=r" (__value) \ 43 __value; \ 48 void *__value = (value); \ 52 : "r" (__value), \ 59 void *__dummy, *__value; \ 63 : "=r" (__value) \ 67 __value; \ 72 void *__dummy, *__value = (value); \ 77 : "r" (__value), \
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/ |
| H A D | find.h | 44 _LIBCPP_HIDE_FROM_ABI _Iter __find(_Iter __first, _Sent __last, const _Tp& __value, _Proj& __proj) { in __find() argument 46 if (std::__invoke(__proj, *__first) == __value) in __find() 58 _LIBCPP_HIDE_FROM_ABI _Tp* __find(_Tp* __first, _Tp* __last, const _Up& __value, _Proj&) { in __find() argument 59 if (auto __ret = std::__constexpr_memchr(__first, __value, __last - __first)) in __find() 71 _LIBCPP_HIDE_FROM_ABI _Tp* __find(_Tp* __first, _Tp* __last, const _Up& __value, _Proj&) { in __find() argument 72 if (auto __ret = std::__constexpr_wmemchr(__first, __value, __last - __first)) in __find() 87 _LIBCPP_HIDE_FROM_ABI _Tp* __find(_Tp* __first, _Tp* __last, const _Up& __value, _Proj& __proj) { in __find() argument 88 if (__value < numeric_limits<_Tp>::min() || __value > numeric_limits<_Tp>::max()) in __find() 90 return std::__find(__first, __last, _Tp(__value), __proj); in __find() 132 …terator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp& __value, _Proj&) { in __find() argument [all …]
|
| H A D | lower_bound.h | 33 const _Type& __value, in __lower_bound_bisecting() argument 41 if (std::__invoke(__comp, std::__invoke(__proj, *__m), __value)) { in __lower_bound_bisecting() 62 __lower_bound_onesided(_ForwardIterator __first, _Sent __last, const _Type& __value, _Comp& __comp,… in __lower_bound_onesided() argument 64 if (__first == __last || !std::__invoke(__comp, std::__invoke(__proj, *__first), __value)) in __lower_bound_onesided() 73 if (__it == __last || !std::__invoke(__comp, std::__invoke(__proj, *__it), __value)) { in __lower_bound_onesided() 78 return std::__lower_bound_bisecting<_AlgPolicy>(__first, __value, __dist, __comp, __proj); in __lower_bound_onesided() 88 __lower_bound(_ForwardIterator __first, _Sent __last, const _Type& __value, _Comp& __comp, _Proj& _… in __lower_bound() argument 90 return std::__lower_bound_bisecting<_AlgPolicy>(__first, __value, __dist, __comp, __proj); in __lower_bound() 95 lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value, _Compare __comp)… in lower_bound() argument 98 return std::__lower_bound<_ClassicAlgPolicy>(__first, __last, __value, __comp, __proj); in lower_bound() [all …]
|
| H A D | search_n.h | 33 … _Iter __first, _Sent __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj) { in __search_n_forward_impl() argument 43 if (std::__invoke(__pred, std::__invoke(__proj, *__first), __value)) in __search_n_forward_impl() 59 if (!std::__invoke(__pred, std::__invoke(__proj, *__m), __value)) { in __search_n_forward_impl() 70 …_Iter __first, _Sent __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj, _… in __search_n_random_access_impl() argument 87 if (std::__invoke(__pred, std::__invoke(__proj, *__first), __value)) in __search_n_random_access_impl() 100 if (!std::__invoke(__pred, std::__invoke(__proj, *__m), __value)) { in __search_n_random_access_impl() 117 __search_n_impl(_Iter __first, _Sent __last, _DiffT __count, const _Type& __value, _Pred& __pred, _… in __search_n_impl() argument 119 __first, __last, __count, __value, __pred, __proj, __last - __first); in __search_n_impl() 132 __search_n_impl(_Iter1 __first, _Sent1 __last, _DiffT __count, const _Type& __value, _Pred& __pred,… in __search_n_impl() argument 133 …return std::__search_n_forward_impl<_ClassicAlgPolicy>(__first, __last, __count, __value, __pred, … in __search_n_impl() [all …]
|
| H A D | equal_range.h | 41 __equal_range(_Iter __first, _Sent __last, const _Tp& __value, _Compare&& __comp, _Proj&& __proj) { in __equal_range() argument 47 if (std::__invoke(__comp, std::__invoke(__proj, *__mid), __value)) { in __equal_range() 50 } else if (std::__invoke(__comp, __value, std::__invoke(__proj, *__mid))) { in __equal_range() 55 … return pair<_Iter, _Iter>(std::__lower_bound<_AlgPolicy>(__first, __mid, __value, __comp, __proj), in __equal_range() 56 … std::__upper_bound<_AlgPolicy>(++__mp1, __end, __value, __comp, __proj)); in __equal_range() 64 equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value, _Compare __comp)… in equal_range() argument 70 __value, in equal_range() 77 equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { in equal_range() argument 78 return std::equal_range(std::move(__first), std::move(__last), __value, __less<>()); in equal_range()
|
| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | find.h | 47 __find(_Iter __first, _Sent __last, const _Tp& __value, _Proj& __proj) { in __find() argument 49 if (std::__invoke(__proj, *__first) == __value) in __find() 61 … _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp* __find(_Tp* __first, _Tp* __last, const _Up& __value, _Proj&) { in __find() argument 62 if (auto __ret = std::__constexpr_memchr(__first, __value, __last - __first)) in __find() 74 … _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp* __find(_Tp* __first, _Tp* __last, const _Up& __value, _Proj&) { in __find() argument 75 if (auto __ret = std::__constexpr_wmemchr(__first, __value, __last - __first)) in __find() 91 __find(_Tp* __first, _Tp* __last, const _Up& __value, _Proj& __proj) { in __find() argument 92 if (__value < numeric_limits<_Tp>::min() || __value > numeric_limits<_Tp>::max()) in __find() 94 return std::__find(__first, __last, _Tp(__value), __proj); in __find() 136 …terator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp& __value, _Proj&) { in __find() argument [all …]
|
| H A D | lower_bound.h | 32 const _Type& __value, in __lower_bound_bisecting() argument 40 if (std::__invoke(__comp, std::__invoke(__proj, *__m), __value)) { in __lower_bound_bisecting() 61 __lower_bound_onesided(_ForwardIterator __first, _Sent __last, const _Type& __value, _Comp& __comp,… in __lower_bound_onesided() argument 63 if (__first == __last || !std::__invoke(__comp, std::__invoke(__proj, *__first), __value)) in __lower_bound_onesided() 72 if (__it == __last || !std::__invoke(__comp, std::__invoke(__proj, *__it), __value)) { in __lower_bound_onesided() 77 return std::__lower_bound_bisecting<_AlgPolicy>(__first, __value, __dist, __comp, __proj); in __lower_bound_onesided() 87 __lower_bound(_ForwardIterator __first, _Sent __last, const _Type& __value, _Comp& __comp, _Proj& _… in __lower_bound() argument 89 return std::__lower_bound_bisecting<_AlgPolicy>(__first, __value, __dist, __comp, __proj); in __lower_bound() 94 lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value, _Compare __comp)… in lower_bound() argument 97 return std::__lower_bound<_ClassicAlgPolicy>(__first, __last, __value, __comp, __proj); in lower_bound() [all …]
|
| H A D | search_n.h | 36 … _Iter __first, _Sent __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj) { in __search_n_forward_impl() argument 46 if (std::__invoke(__pred, std::__invoke(__proj, *__first), __value)) in __search_n_forward_impl() 62 if (!std::__invoke(__pred, std::__invoke(__proj, *__m), __value)) { in __search_n_forward_impl() 73 …_Iter __first, _Sent __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj, _… in __search_n_random_access_impl() argument 90 if (std::__invoke(__pred, std::__invoke(__proj, *__first), __value)) in __search_n_random_access_impl() 103 if (!std::__invoke(__pred, std::__invoke(__proj, *__m), __value)) { in __search_n_random_access_impl() 120 __search_n_impl(_Iter __first, _Sent __last, _DiffT __count, const _Type& __value, _Pred& __pred, _… in __search_n_impl() argument 122 __first, __last, __count, __value, __pred, __proj, __last - __first); in __search_n_impl() 135 __search_n_impl(_Iter1 __first, _Sent1 __last, _DiffT __count, const _Type& __value, _Pred& __pred,… in __search_n_impl() argument 136 …return std::__search_n_forward_impl<_ClassicAlgPolicy>(__first, __last, __count, __value, __pred, … in __search_n_impl() [all …]
|
| H A D | equal_range.h | 37 __equal_range(_Iter __first, _Sent __last, const _Tp& __value, _Compare&& __comp, _Proj&& __proj) { in __equal_range() argument 43 if (std::__invoke(__comp, std::__invoke(__proj, *__mid), __value)) { in __equal_range() 46 } else if (std::__invoke(__comp, __value, std::__invoke(__proj, *__mid))) { in __equal_range() 51 … return pair<_Iter, _Iter>(std::__lower_bound<_AlgPolicy>(__first, __mid, __value, __comp, __proj), in __equal_range() 52 … std::__upper_bound<_AlgPolicy>(++__mp1, __end, __value, __comp, __proj)); in __equal_range() 60 equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value, _Compare __comp)… in equal_range() argument 66 __value, in equal_range() 73 equal_range(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { in equal_range() argument 74 return std::equal_range(std::move(__first), std::move(__last), __value, __less<>()); in equal_range()
|