| /netbsd-src/external/apache2/llvm/dist/libcxx/src/include/ |
| H A D | atomic_support.h | 56 void __libcpp_atomic_store(_ValueType* __dest, _FromType __val, 59 __atomic_store_n(__dest, __val, __order); 64 void __libcpp_relaxed_store(_ValueType* __dest, _FromType __val) in __libcpp_relaxed_store() argument 66 __atomic_store_n(__dest, __val, _AO_Relaxed); in __libcpp_relaxed_store() 71 _ValueType __libcpp_atomic_load(_ValueType const* __val, 74 return __atomic_load_n(__val, __order); 79 _ValueType __libcpp_atomic_add(_ValueType* __val, _AddType __a, 82 return __atomic_add_fetch(__val, __a, __order); 95 bool __libcpp_atomic_compare_exchange(_ValueType* __val, 100 return __atomic_compare_exchange_n(__val, __expected, __after, true, [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
| H A D | atomic_futex.h | 57 _M_futex_wait_until(unsigned *__addr, unsigned __val, bool __has_timeout, in _GLIBCXX_VISIBILITY() 146 _M_load_when_not_equal(unsigned __val, memory_order __mo) in _GLIBCXX_VISIBILITY() 149 if ((__i & ~_Waiter_bit) != __val) in _GLIBCXX_VISIBILITY() 152 return _M_load_and_test(__i, __val, false, __mo); in _GLIBCXX_VISIBILITY() 156 _M_load_when_equal(unsigned __val, memory_order __mo) in _GLIBCXX_VISIBILITY() 159 if ((__i & ~_Waiter_bit) == __val) in _GLIBCXX_VISIBILITY() 162 _M_load_and_test(__i, __val, true, __mo); in _GLIBCXX_VISIBILITY() 168 _M_load_when_equal_for(unsigned __val, memory_order __mo, in _GLIBCXX_VISIBILITY() 171 return _M_load_when_equal_until(__val, __mo, in _GLIBCXX_VISIBILITY() 178 _M_load_when_equal_until(unsigned __val, memory_order __mo, in _GLIBCXX_VISIBILITY() [all …]
|
| H A D | functional_hash.h | 91 operator()(_Tp __val) const noexcept in _GLIBCXX_VISIBILITY() 94 return hash<__type>{}(static_cast<__type>(__val)); in _GLIBCXX_VISIBILITY() 119 operator()(_Tp __val) const noexcept \ in _GLIBCXX_VISIBILITY() 120 { return static_cast<size_t>(__val); } \ in _GLIBCXX_VISIBILITY() 201 hash(const _Tp& __val) in _GLIBCXX_VISIBILITY() 202 { return hash(&__val, sizeof(__val)); } in _GLIBCXX_VISIBILITY() 206 __hash_combine(const _Tp& __val, size_t __hash) in _GLIBCXX_VISIBILITY() 207 { return hash(&__val, sizeof(__val), __hash); } in _GLIBCXX_VISIBILITY() 220 hash(const _Tp& __val) in _GLIBCXX_VISIBILITY() 221 { return hash(&__val, sizeof(__val)); } in _GLIBCXX_VISIBILITY() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| H A D | atomic_futex.h | 57 _M_futex_wait_until(unsigned *__addr, unsigned __val, bool __has_timeout, in _GLIBCXX_VISIBILITY() 63 _M_futex_wait_until_steady(unsigned *__addr, unsigned __val, in _GLIBCXX_VISIBILITY() 196 _M_load_when_not_equal(unsigned __val, memory_order __mo) in _GLIBCXX_VISIBILITY() 199 if ((__i & ~_Waiter_bit) != __val) in _GLIBCXX_VISIBILITY() 202 return _M_load_and_test(__i, __val, false, __mo); in _GLIBCXX_VISIBILITY() 206 _M_load_when_equal(unsigned __val, memory_order __mo) in _GLIBCXX_VISIBILITY() 209 if ((__i & ~_Waiter_bit) == __val) in _GLIBCXX_VISIBILITY() 212 _M_load_and_test(__i, __val, true, __mo); in _GLIBCXX_VISIBILITY() 218 _M_load_when_equal_for(unsigned __val, memory_order __mo, in _GLIBCXX_VISIBILITY() 222 return _M_load_when_equal_until(__val, __mo, in _GLIBCXX_VISIBILITY() [all …]
|
| H A D | functional_hash.h | 92 operator()(_Tp __val) const noexcept in _GLIBCXX_VISIBILITY() 95 return hash<__type>{}(static_cast<__type>(__val)); in _GLIBCXX_VISIBILITY() 120 operator()(_Tp __val) const noexcept \ in _GLIBCXX_VISIBILITY() 121 { return static_cast<size_t>(__val); } \ in _GLIBCXX_VISIBILITY() 210 hash(const _Tp& __val) in _GLIBCXX_VISIBILITY() 211 { return hash(&__val, sizeof(__val)); } in _GLIBCXX_VISIBILITY() 215 __hash_combine(const _Tp& __val, size_t __hash) in _GLIBCXX_VISIBILITY() 216 { return hash(&__val, sizeof(__val), __hash); } in _GLIBCXX_VISIBILITY() 229 hash(const _Tp& __val) in _GLIBCXX_VISIBILITY() 230 { return hash(&__val, sizeof(__val)); } in _GLIBCXX_VISIBILITY() [all …]
|
| H A D | atomic_wait.h | 106 __platform_wait(const _Tp* __addr, __platform_wait_t __val) noexcept in _GLIBCXX_VISIBILITY() 110 __val, nullptr); in _GLIBCXX_VISIBILITY() 264 __platform_wait_t __val; in _GLIBCXX_VISIBILITY() 265 __atomic_load(__addr, &__val, __ATOMIC_SEQ_CST); in _GLIBCXX_VISIBILITY() 266 if (__val == __old) in _GLIBCXX_VISIBILITY() 269 __atomic_load(__addr, &__val, __ATOMIC_RELAXED); in _GLIBCXX_VISIBILITY() 270 if (__val == __old) in _GLIBCXX_VISIBILITY() 318 __platform_wait_t& __val, in _GLIBCXX_VISIBILITY() 326 __builtin_memcpy(&__val, &__old, sizeof(__val)); in _GLIBCXX_VISIBILITY() 330 __atomic_load(__addr, &__val, __ATOMIC_ACQUIRE); in _GLIBCXX_VISIBILITY() [all …]
|
| H A D | atomic_timed_wait.h | 209 __platform_wait_t __val; in _GLIBCXX_VISIBILITY() 210 __atomic_load(__addr, &__val, __ATOMIC_RELAXED); in _GLIBCXX_VISIBILITY() 211 if (__val == __old) in _GLIBCXX_VISIBILITY() 292 __platform_wait_t __val; in _GLIBCXX_VISIBILITY() local 293 if (_M_do_spin(__old, std::move(__vfn), __val, in _GLIBCXX_VISIBILITY() 296 return __base_type::_M_w._M_do_wait_until(__base_type::_M_addr, __val, __atime); in _GLIBCXX_VISIBILITY() 303 _M_do_wait_until(_Pred __pred, __platform_wait_t __val, in _GLIBCXX_VISIBILITY() 311 __base_type::_M_addr, __val, __atime) in _GLIBCXX_VISIBILITY() 315 if (__base_type::_M_do_spin(__pred, __val, in _GLIBCXX_VISIBILITY() 330 __platform_wait_t __val; in _GLIBCXX_VISIBILITY() local [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/ |
| H A D | hash-long-double-tr1-aux.cc | 35 hash<long double>::operator()(long double __val) const in operator ()() 38 if (__val == 0.0L) in operator ()() 42 __val = __builtin_frexpl(__val, &__exponent); in operator ()() 43 __val = __val < 0.0l ? -(__val + 0.5l) : __val; in operator ()() 46 __val *= __mult; in operator ()() 50 const size_t __hibits = (size_t)__val; in operator ()() 51 __val = (__val - (long double)__hibits) * __mult; in operator ()() 55 return __hibits + (size_t)__val + __coeff * __exponent; in operator ()()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
| H A D | hash_c++0x.cc | 35 hash<long double>::operator()(long double __val) const noexcept in operator ()() 38 if (__val == 0.0L) in operator ()() 42 __val = __builtin_frexpl(__val, &__exponent); in operator ()() 43 __val = __val < 0.0l ? -(__val + 0.5l) : __val; in operator ()() 46 __val *= __mult; in operator ()() 50 const size_t __hibits = (size_t)__val; in operator ()() 51 __val = (__val - (long double)__hibits) * __mult; in operator ()() 55 return __hibits + (size_t)__val + __coeff * __exponent; in operator ()()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
| H A D | hash_c++0x.cc | 35 hash<long double>::operator()(long double __val) const noexcept in operator ()() 38 if (__val == 0.0L) in operator ()() 42 __val = __builtin_frexpl(__val, &__exponent); in operator ()() 43 __val = __val < 0.0l ? -(__val + 0.5l) : __val; in operator ()() 46 __val *= __mult; in operator ()() 50 const size_t __hibits = (size_t)__val; in operator ()() 51 __val = (__val - (long double)__hibits) * __mult; in operator ()() 55 return __hibits + (size_t)__val + __coeff * __exponent; in operator ()()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ |
| H A D | hash-long-double-tr1-aux.cc | 35 hash<long double>::operator()(long double __val) const in operator ()() 38 if (__val == 0.0L) in operator ()() 42 __val = __builtin_frexpl(__val, &__exponent); in operator ()() 43 __val = __val < 0.0l ? -(__val + 0.5l) : __val; in operator ()() 46 __val *= __mult; in operator ()() 50 const size_t __hibits = (size_t)__val; in operator ()() 51 __val = (__val - (long double)__hibits) * __mult; in operator ()() 55 return __hibits + (size_t)__val + __coeff * __exponent; in operator ()()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/ |
| H A D | atomicity.h | 49 __exchange_and_add(volatile _Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 50 { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); } in _GLIBCXX_VISIBILITY() 54 __atomic_add(volatile _Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 55 { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); } in _GLIBCXX_VISIBILITY() 66 __exchange_and_add_single(_Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 69 *__mem += __val; in _GLIBCXX_VISIBILITY() 75 __atomic_add_single(_Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 76 { *__mem += __val; } in _GLIBCXX_VISIBILITY() 80 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 84 return __exchange_and_add(__mem, __val); in _GLIBCXX_VISIBILITY() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/ |
| H A D | atomicity.h | 65 __exchange_and_add(volatile _Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 66 { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); } in _GLIBCXX_VISIBILITY() 70 __atomic_add(volatile _Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 71 { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); } in _GLIBCXX_VISIBILITY() 82 __exchange_and_add_single(_Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 85 *__mem += __val; in _GLIBCXX_VISIBILITY() 91 __atomic_add_single(_Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 92 { *__mem += __val; } in _GLIBCXX_VISIBILITY() 96 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val) in _GLIBCXX_VISIBILITY() 99 return __exchange_and_add_single(__mem, __val); in _GLIBCXX_VISIBILITY() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Headers/ |
| H A D | __clang_cuda_intrinsics.h | 25 inline __device__ int __FnName(int __val, __Type __offset, \ 27 return __IntIntrinsic(__val, __offset, \ 30 inline __device__ float __FnName(float __val, __Type __offset, \ 32 return __FloatIntrinsic(__val, __offset, \ 35 inline __device__ unsigned int __FnName(unsigned int __val, __Type __offset, \ 38 ::__FnName(static_cast<int>(__val), __offset, __width)); \ 40 inline __device__ long long __FnName(long long __val, __Type __offset, \ 45 _Static_assert(sizeof(__val) == sizeof(__Bits)); \ 48 memcpy(&__tmp, &__val, sizeof(__val)); \ 55 inline __device__ long __FnName(long __val, __Type __offset, \ [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/ |
| H A D | charconv | 119 __to_chars(char* __first, char* __last, _Tp __val, int __base) noexcept 126 const unsigned __len = __to_chars_len(__val, __base); 144 while (__val >= (unsigned)__base) 146 auto const __quo = __val / __base; 147 auto const __rem = __val % __base; 149 __val = __quo; 151 *__first = __digits[__val]; 160 __to_chars_16(char* __first, char* __last, _Tp __val) noexcept 167 const unsigned __len = (__to_chars_len_2(__val) + 3) / 4; 181 while (__val >= 0x100) [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/decimal/ |
| H A D | decimal | 233 decimal32() : __val(0.e-101DF) {} 238 explicit decimal32(float __r) : __val(__r) {} 239 explicit decimal32(double __r) : __val(__r) {} 240 explicit decimal32(long double __r) : __val(__r) {} 243 decimal32(int __z) : __val(__z) {} 244 decimal32(unsigned int __z) : __val(__z) {} 245 decimal32(long __z) : __val(__z) {} 246 decimal32(unsigned long __z) : __val(__z) {} 247 decimal32(long long __z) : __val(__z) {} 248 decimal32(unsigned long long __z) : __val(__z) {} [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/decimal/ |
| H A D | decimal | 233 decimal32() : __val(0.e-101DF) {} 238 explicit decimal32(float __r) : __val(__r) {} 239 explicit decimal32(double __r) : __val(__r) {} 240 explicit decimal32(long double __r) : __val(__r) {} 243 decimal32(int __z) : __val(__z) {} 244 decimal32(unsigned int __z) : __val(__z) {} 245 decimal32(long __z) : __val(__z) {} 246 decimal32(unsigned long __z) : __val(__z) {} 247 decimal32(long long __z) : __val(__z) {} 248 decimal32(unsigned long long __z) : __val(__z) {} [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
| H A D | charconv | 121 __to_chars(char* __first, char* __last, _Tp __val, int __base) noexcept 128 const unsigned __len = __to_chars_len(__val, __base); 146 while (__val >= (unsigned)__base) 148 auto const __quo = __val / __base; 149 auto const __rem = __val % __base; 151 __val = __quo; 153 *__first = __digits[__val]; 162 __to_chars_16(char* __first, char* __last, _Tp __val) noexcept 169 const unsigned __len = (__to_chars_len_2(__val) + 3) / 4; 183 while (__val >= 0x100) [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/ |
| H A D | functional_hash.h | 48 operator()(_Tp __val) const; in _GLIBCXX_VISIBILITY() 64 hash<_Tp>::operator()(_Tp __val) const \ in _GLIBCXX_VISIBILITY() 65 { return static_cast<size_t>(__val); } in _GLIBCXX_VISIBILITY() 150 hash(const _Tp& __val) in _GLIBCXX_VISIBILITY() 151 { return hash(&__val, sizeof(__val)); } in _GLIBCXX_VISIBILITY() 157 hash<float>::operator()(float __val) const in _GLIBCXX_VISIBILITY() 160 return __val != 0.0f ? std::tr1::_Fnv_hash::hash(__val) : 0; in _GLIBCXX_VISIBILITY() 166 hash<double>::operator()(double __val) const in _GLIBCXX_VISIBILITY() 169 return __val != 0.0 ? std::tr1::_Fnv_hash::hash(__val) : 0; in _GLIBCXX_VISIBILITY() 175 hash<long double>::operator()(long double __val) const; in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/ |
| H A D | functional_hash.h | 52 operator()(_Tp __val) const; in _GLIBCXX_VISIBILITY() 69 hash<_Tp>::operator()(_Tp __val) const \ in _GLIBCXX_VISIBILITY() 70 { return static_cast<size_t>(__val); } in _GLIBCXX_VISIBILITY() 155 hash(const _Tp& __val) in _GLIBCXX_VISIBILITY() 156 { return hash(&__val, sizeof(__val)); } in _GLIBCXX_VISIBILITY() 162 hash<float>::operator()(float __val) const in _GLIBCXX_VISIBILITY() 165 return __val != 0.0f ? std::tr1::_Fnv_hash::hash(__val) : 0; in _GLIBCXX_VISIBILITY() 171 hash<double>::operator()(double __val) const in _GLIBCXX_VISIBILITY() 174 return __val != 0.0 ? std::tr1::_Fnv_hash::hash(__val) : 0; in _GLIBCXX_VISIBILITY() 180 hash<long double>::operator()(long double __val) const; in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/config/cpu/sparc/ |
| H A D | atomicity.h | 34 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 37 _Atomic_word __val_extended = __val; in _GLIBCXX_VISIBILITY() 52 __atomic_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 55 _Atomic_word __val_extended = __val; in _GLIBCXX_VISIBILITY() 82 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 94 *__mem += __val; in _GLIBCXX_VISIBILITY() 104 __atomic_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 115 *__mem += __val; in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/config/cpu/sparc/ |
| H A D | atomicity.h | 34 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 37 _Atomic_word __val_extended = __val; in _GLIBCXX_VISIBILITY() 52 __atomic_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 55 _Atomic_word __val_extended = __val; in _GLIBCXX_VISIBILITY() 82 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 94 *__mem += __val; in _GLIBCXX_VISIBILITY() 104 __atomic_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 115 *__mem += __val; in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/sys/arch/mips/rmi/ |
| H A D | rmixl_fmnvar.h | 74 uint64_t __val; \ 82 : "=r"(__val) : "n"(regnum), "n"(sel)); \ 83 rv = __val; \ 88 uint64_t __val = val; \ 96 :: "r"(__val), "n"(regnum), "n"(sel)); \ 101 uint32_t __val; \ 108 : "=r"(__val) : "n"(regnum), "n"(sel)); \ 109 rv = __val; \ 114 uint32_t __val = val; \ 121 :: "r"(__val), "n"(regnum), "n"(sel)); \
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/config/cpu/m68k/ |
| H A D | atomicity.h | 37 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 46 : "d" (__val), "0" (__result), "m" (*__mem)); in _GLIBCXX_VISIBILITY() 58 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 66 *__mem = __result + __val; in _GLIBCXX_VISIBILITY() 87 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 116 *__mem = __result + __val; in _GLIBCXX_VISIBILITY() 127 __atomic_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 131 __exchange_and_add(__mem, __val); in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/config/cpu/m68k/ |
| H A D | atomicity.h | 37 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 46 : "d" (__val), "0" (__result), "m" (*__mem)); in _GLIBCXX_VISIBILITY() 58 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 66 *__mem = __result + __val; in _GLIBCXX_VISIBILITY() 87 __exchange_and_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 116 *__mem = __result + __val; in _GLIBCXX_VISIBILITY() 127 __atomic_add(volatile _Atomic_word* __mem, int __val) throw () in _GLIBCXX_VISIBILITY() 131 __exchange_and_add(__mem, __val); in _GLIBCXX_VISIBILITY()
|