Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_arg.h104 …DE_FROM_ABI decltype(auto) __visit_format_arg(_Visitor&& __vis, basic_format_arg<_Context> __arg) { in decltype()
105 switch (__arg.__type_) { in decltype()
107 return std::invoke(std::forward<_Visitor>(__vis), __arg.__value_.__monostate_); in decltype()
109 return std::invoke(std::forward<_Visitor>(__vis), __arg.__value_.__boolean_); in decltype()
111 return std::invoke(std::forward<_Visitor>(__vis), __arg.__value_.__char_type_); in decltype()
113 return std::invoke(std::forward<_Visitor>(__vis), __arg.__value_.__int_); in decltype()
115 return std::invoke(std::forward<_Visitor>(__vis), __arg.__value_.__long_long_); in decltype()
118 return std::invoke(std::forward<_Visitor>(__vis), __arg.__value_.__i128_); in decltype()
123 return std::invoke(std::forward<_Visitor>(__vis), __arg.__value_.__unsigned_); in decltype()
125 return std::invoke(std::forward<_Visitor>(__vis), __arg.__value_.__unsigned_long_long_); in decltype()
[all …]
H A Dformat_arg_store.h174 constexpr __arg_t __arg = __format::__determine_arg_t<_Context, _Dp>(); in __create_format_arg() local
175 static_assert(__arg != __arg_t::__none, "the supplied type is not formattable"); in __create_format_arg()
182 if constexpr (__arg == __arg_t::__char_type) in __create_format_arg()
186 …return basic_format_arg<_Context>{__arg, static_cast<wchar_t>(static_cast<unsigned char>(__value))… in __create_format_arg()
189 return basic_format_arg<_Context>{__arg, __value}; in __create_format_arg()
190 else if constexpr (__arg == __arg_t::__int) in __create_format_arg()
191 return basic_format_arg<_Context>{__arg, static_cast<int>(__value)}; in __create_format_arg()
192 else if constexpr (__arg == __arg_t::__long_long) in __create_format_arg()
193 return basic_format_arg<_Context>{__arg, static_cast<long long>(__value)}; in __create_format_arg()
194 else if constexpr (__arg == __arg_t::__unsigned) in __create_format_arg()
[all …]
H A Dformat_context.h166 auto __visitor = [&](auto __arg) -> basic_format_arg<basic_format_context> {
167 if constexpr (same_as<decltype(__arg), monostate>)
169 … else if constexpr (same_as<decltype(__arg), typename basic_format_arg<_Context>::handle>)
175 __format::__determine_arg_t<basic_format_context, decltype(__arg)>(),
176 __basic_format_arg_value<basic_format_context>(__arg)};
H A Dformat_functions.h279 [&](auto __arg) { in __handle_replacement_field()
280 if constexpr (same_as<decltype(__arg), monostate>) in __handle_replacement_field()
282 else if constexpr (same_as<decltype(__arg), typename basic_format_arg<_Ctx>::handle>) in __handle_replacement_field()
283 __arg.format(__parse_ctx, __ctx); in __handle_replacement_field()
285 formatter<decltype(__arg), _CharT> __formatter; in __handle_replacement_field()
288 __ctx.advance_to(__formatter.format(__arg, __ctx)); in __handle_replacement_field()
470 if (auto __arg = __args.get(0); __builtin_constant_p(__arg.__type_)) { in __try_constant_folding() local
479 __arg); in __try_constant_folding()
H A Dparser_std_format_spec.h95 [](auto __arg) -> uint32_t { in __substitute_arg_id()
96 using _Type = decltype(__arg); in __substitute_arg_id()
113 if (__arg < 0) in __substitute_arg_id()
118 if (static_cast<_CT>(__arg) > static_cast<_CT>(__format::__number_max)) in __substitute_arg_id()
121 return __arg; in __substitute_arg_id()
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic_ref.h278 …_LIBCPP_HIDE_FROM_ABI _Tp fetch_add(_Tp __arg, memory_order __order = memory_order_seq_cst) const …
279 return __atomic_fetch_add(this->__ptr_, __arg, std::__to_gcc_order(__order));
281 …_LIBCPP_HIDE_FROM_ABI _Tp fetch_sub(_Tp __arg, memory_order __order = memory_order_seq_cst) const …
282 return __atomic_fetch_sub(this->__ptr_, __arg, std::__to_gcc_order(__order));
284 …_LIBCPP_HIDE_FROM_ABI _Tp fetch_and(_Tp __arg, memory_order __order = memory_order_seq_cst) const …
285 return __atomic_fetch_and(this->__ptr_, __arg, std::__to_gcc_order(__order));
287 …_LIBCPP_HIDE_FROM_ABI _Tp fetch_or(_Tp __arg, memory_order __order = memory_order_seq_cst) const n…
288 return __atomic_fetch_or(this->__ptr_, __arg, std::__to_gcc_order(__order));
290 …_LIBCPP_HIDE_FROM_ABI _Tp fetch_xor(_Tp __arg, memory_order __order = memory_order_seq_cst) const …
291 return __atomic_fetch_xor(this->__ptr_, __arg, std::__to_gcc_order(__order));
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dutils.h
/freebsd/sys/contrib/ncsw/inc/
H A Dtypes_freebsd.h71 #define QE_32_BIT_SHIFT8(__arg) (uint32_t)((3 - ((uint32_t)&(__arg) & 0x3)) * 8) argument
72 #define QE_32_BIT_SHIFT16(__arg) (uint32_t)((2 - ((uint32_t)&(__arg) & 0x3)) * 8) argument
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dtypeinfo95 …_LIBCPP_HIDE_FROM_ABI bool before(const type_info& __arg) const _NOEXCEPT { return __compare(__arg
99 _LIBCPP_HIDE_FROM_ABI bool operator==(const type_info& __arg) const _NOEXCEPT {
103 return this == &__arg;
105 return __compare(__arg) == 0;
108 …BCPP_HIDE_FROM_ABI bool operator!=(const type_info& __arg) const _NOEXCEPT { return !operator==(__…
303 _LIBCPP_HIDE_FROM_ABI bool before(const type_info& __arg) const _NOEXCEPT {
304 return __impl::__lt(__type_name, __arg.__type_name);
309 _LIBCPP_HIDE_FROM_ABI bool operator==(const type_info& __arg) const _NOEXCEPT {
313 return this == &__arg;
315 return __impl::__eq(__type_name, __arg.__type_name);
[all …]
H A Dfuture542 _LIBCPP_HIDE_FROM_ABI void set_value(_Arg&& __arg);
545 _LIBCPP_HIDE_FROM_ABI void set_value_at_thread_exit(_Arg&& __arg);
560 void __assoc_state<_Rp>::set_value(_Arg&& __arg) {
564 ::new ((void*)&__value_) _Rp(std::forward<_Arg>(__arg));
571 void __assoc_state<_Rp>::set_value_at_thread_exit(_Arg&& __arg) {
575 ::new ((void*)&__value_) _Rp(std::forward<_Arg>(__arg));
609 _LIBCPP_HIDE_FROM_ABI void set_value(_Rp& __arg);
610 _LIBCPP_HIDE_FROM_ABI void set_value_at_thread_exit(_Rp& __arg);
621 void __assoc_state<_Rp&>::set_value(_Rp& __arg) {
625 __value_ = std::addressof(__arg);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dtypeinfo100 …_LIBCPP_HIDE_FROM_ABI bool before(const type_info& __arg) const _NOEXCEPT { return __compare(__arg
104 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 bool operator==(const type_info& __arg) const …
108 return this == &__arg;
110 return __compare(__arg) == 0;
114 …BCPP_HIDE_FROM_ABI bool operator!=(const type_info& __arg) const _NOEXCEPT { return !operator==(__…
312 _LIBCPP_HIDE_FROM_ABI bool before(const type_info& __arg) const _NOEXCEPT {
313 return __impl::__lt(__type_name, __arg.__type_name);
318 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 bool operator==(const type_info& __arg) const …
322 return this == &__arg;
324 return __impl::__eq(__type_name, __arg.__type_name);
[all …]
H A Dfuture597 _LIBCPP_HIDE_FROM_ABI void set_value(_Arg&& __arg);
600 _LIBCPP_HIDE_FROM_ABI void set_value_at_thread_exit(_Arg&& __arg);
615 void __assoc_state<_Rp>::set_value(_Arg&& __arg) {
619 ::new ((void*)std::addressof(__value_)) _Rp(std::forward<_Arg>(__arg));
626 void __assoc_state<_Rp>::set_value_at_thread_exit(_Arg&& __arg) {
630 ::new ((void*)std::addressof(__value_)) _Rp(std::forward<_Arg>(__arg));
664 _LIBCPP_HIDE_FROM_ABI void set_value(_Rp& __arg);
665 _LIBCPP_HIDE_FROM_ABI void set_value_at_thread_exit(_Rp& __arg);
676 void __assoc_state<_Rp&>::set_value(_Rp& __arg) {
680 __value_ = std::addressof(__arg);
[all …]
H A Dvariant918 …HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void __assign_alt(__alt<_Ip, _Tp>& __a, _Arg&& __arg) {
920 __a.__value = std::forward<_Arg>(__arg);
924 __this->__emplace<_Ip>(std::forward<_Arg>(__arg));
927 __this->__emplace<_Ip>(_Tp(std::forward<_Arg>(__arg)));
930 _Arg&& __arg;
931 } __impl{this, std::forward<_Arg>(__arg)};
1042 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void __assign(_Arg&& __arg) {
1043 this->__assign_alt(__access::__base::__get_alt<_Ip>(*this), std::forward<_Arg>(__arg));
1192 …_LIBCPP_HIDE_FROM_ABI constexpr variant(_Arg&& __arg) noexcept(is_nothrow_constructible_v<_Tp, _Ar…
1193 : __impl_(in_place_index<_Ip>, std::forward<_Arg>(__arg)) {}
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__thread/support/
H A Dc11.h150 …_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*), void* __arg) { in __libcpp_thread_create() argument
151 int __ec = thrd_create(__t, reinterpret_cast<thrd_start_t>(__func), __arg); in __libcpp_thread_create()
H A Dpthread.h181 …_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*), void* __arg) { in __libcpp_thread_create() argument
182 return pthread_create(__t, nullptr, __func, __arg); in __libcpp_thread_create()
H A Dwindows.h101 …D_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*), void* __arg);
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__thread/support/
H A Dc11.h150 …_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*), void* __arg) { in __libcpp_thread_create() argument
151 int __ec = thrd_create(__t, reinterpret_cast<thrd_start_t>(__func), __arg); in __libcpp_thread_create()
H A Dpthread.h181 …_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*), void* __arg) { in __libcpp_thread_create() argument
182 return pthread_create(__t, nullptr, __func, __arg); in __libcpp_thread_create()
H A Dwindows.h101 …D_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*), void* __arg);
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_cmath.h64 __DEVICE__ float frexp(float __arg, int *__exp) { in frexp() argument
65 return ::frexpf(__arg, __exp); in frexp()
155 __DEVICE__ float ldexp(float __arg, int __exp) { in ldexp() argument
156 return ::ldexpf(__arg, __exp); in ldexp()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__atomic/
H A Datomic_sync.h190 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __arg) const {
191 return !std::__cxx_nonatomic_compare_equal(__arg, __val_);
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dfunction.h173 _LIBCPP_HIDE_FROM_ABI_VIRTUAL _Rp operator()(_ArgTypes&&... __arg) override {
174 return std::__invoke_r<_Rp>(__func_, std::forward<_ArgTypes>(__arg)...);
585 _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual _Rp operator()(_ArgTypes&&... __arg) {
586 return std::__invoke(__f_, std::forward<_ArgTypes>(__arg)...);
771 _Rp function<_Rp(_ArgTypes...)>::operator()(_ArgTypes... __arg) const {
772 return __f_(std::forward<_ArgTypes>(__arg)...);
/freebsd/usr.sbin/bsdconfig/share/
H A Ddialog.subr383 local __arg __cp __fname=f_dialog_size_constrain
384 for __arg in height width; do
385 debug= f_getvar __var_$__arg __cp
387 if ! debug= f_getvar "$__cp" __$__arg; then
389 $__fname $__arg "$__cp"
391 elif ! eval f_isinteger \$__$__arg; then
393 $__fname $__arg
397 for __arg in height width; do
398 debug= f_getvar __min_$__arg __cp
401 f_dprintf "%s: min_%s value not a number" $__fname $__arg
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dshared_ptr.h778 _Alloc const& __alloc, size_t __count, _Tp const& __arg)
780 …:__uninitialized_allocator_fill_n_multidimensional(__alloc_, std::begin(__data_), __count_, __arg);
854 __allocate_shared_unbounded_array(const _Alloc& __a, size_t __n, _Arg&&... __arg) {
865 std::__construct_at(__control_block, __a, __n, std::forward<_Arg>(__arg)...);
877 …IBCPP_HIDE_FROM_ABI explicit __bounded_array_control_block(_Alloc const& __alloc, _Tp const& __arg)
879 …initialized_allocator_fill_n_multidimensional(__alloc_, std::addressof(__data_[0]), _Count, __arg);
931 …E_FROM_ABI shared_ptr<_Array> __allocate_shared_bounded_array(const _Alloc& __a, _Arg&&... __arg) {
938 std::__construct_at(__control_block, __a, std::forward<_Arg>(__arg)...);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp1553 register void *__arg __asm__("a6") = arg; in internal_clone()
1575 "r"(__fn), "r"(__arg), "r"(nr_clone), "i"(__NR_exit) in internal_clone()
1593 register void *__arg __asm__("x3") = arg; in internal_clone()
1623 : "i"(-EINVAL), "r"(__fn), "r"(__stack), "r"(__flags), "r"(__arg), in internal_clone()
1643 register void *__arg __asm__("$a6") = arg; in internal_clone()
1665 "r"(__fn), "r"(__arg), "r"(nr_clone), "i"(__NR_exit) in internal_clone()
1706 register void *__arg __asm__("r6") = arg; in internal_clone()
1764 "r"(__cstack), "r"(__flags), "r"(__arg), "r"(__ptidptr), "r"(__newtls), in internal_clone()

12