/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | regex.cpp | 356 void __match_any_but_newline<char>::__exec(__state& __s) const { in __get_collation_name() 357 if (__s.__current_ != __s.__last_) { in __get_collation_name() 358 switch (*__s.__current_) { in __get_collation_name() 361 __s.__do_ = __state::__reject; in __get_classname() 362 __s.__node_ = nullptr; in __get_classname() 365 __s.__do_ = __state::__accept_and_consume; in __get_classname() 366 ++__s.__current_; in __get_classname() 367 __s.__node_ = this->first(); in __get_classname() 371 __s in __get_classname() [all...] |
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | hash.h | 85 const char* __s = static_cast<const char*>(__key); 88 return __hash_len_0_to_16(__s, __len); 90 return __hash_len_17_to_32(__s, __len); 93 return __hash_len_33_to_64(__s, __len); 98 _Size __x = std::__loadword<_Size>(__s + __len - 40); 99 _Size __y = std::__loadword<_Size>(__s + __len - 16) + std::__loadword<_Size>(__s + __len - 56); 101 …__hash_len_16(std::__loadword<_Size>(__s + __len - 48) + __len, std::__loadword<_Size>(__s + __len… 102 pair<_Size, _Size> __v = __weak_hash_len_32_with_seeds(__s + __len - 64, __len, __z); 103 pair<_Size, _Size> __w = __weak_hash_len_32_with_seeds(__s + __len - 32, __y + __k1, __x); 104 __x = __x * __k1 + std::__loadword<_Size>(__s); [all …]
|
/freebsd/sys/i386/include/ |
H A D | pcpu.h | 119 struct __s { \ 126 : "=r" (*(struct __s *)(void *)&__res) \ 140 struct __s { \ 150 "r" (*(struct __s *)(void *)&__val) \ 161 struct __s { \ 171 "r" (*(struct __s *)(void *)&__val) \
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | wchar.h | 147 inline _LIBCPP_HIDE_FROM_ABI wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) { in __libcpp_wcschr() argument 148 return (wchar_t*)wcschr(__s, __c); 150 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) { 151 return __libcpp_wcschr(__s, __c); in wcschr() argument 153 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD wchar_t* wcschr(wchar_t* __s, wchar_t __c) { 154 return __libcpp_wcschr(__s, __c); in __libcpp_wcspbrk() 168 inline _LIBCPP_HIDE_FROM_ABI wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) { in __libcpp_wcsstr() 169 return (wchar_t*)wcsrchr(__s, __c); 171 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) { 172 return __libcpp_wcsrchr(__s, __ 149 wcschr(const wchar_t * __s,wchar_t __c) wcschr() argument 161 __libcpp_wcsrchr(const wchar_t * __s,wchar_t __c) __libcpp_wcsrchr() argument 163 wcsrchr(const wchar_t * __s,wchar_t __c) wcsrchr() argument 165 wcsrchr(wchar_t * __s,wchar_t __c) wcsrchr() argument 175 __libcpp_wmemchr(const wchar_t * __s,wchar_t __c,size_t __n) __libcpp_wmemchr() argument 177 wmemchr(const wchar_t * __s,wchar_t __c,size_t __n) wmemchr() argument 179 wmemchr(wchar_t * __s,wchar_t __c,size_t __n) wmemchr() argument [all...] |
H A D | string.h | 73 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char* strchr(const char* __s, int __c) { in strchr() argument 74 return __builtin_strchr(__s, __c); in strchr() 76 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD char* strchr(char* __s, int __c) { in strchr() argument 77 return __builtin_strchr(__s, __c); in strchr() 87 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char* strrchr(const char* __s, int __c) { in strrchr() argument 88 return __builtin_strrchr(__s, __c); in strrchr() 90 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD char* strrchr(char* __s, int __c) { in strrchr() argument 91 return __builtin_strrchr(__s, __c); in strrchr() 94 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const void* memchr(const void* __s, int __c, size_t __n) { in memchr() argument 95 return __builtin_memchr(__s, __ in memchr() 97 memchr(void * __s,int __c,size_t __n) memchr() argument [all...] |
H A D | stdexcept | 63 __libcpp_refstring(const __libcpp_refstring& __s) _NOEXCEPT; 64 __libcpp_refstring& operator=(const __libcpp_refstring& __s) _NOEXCEPT; 96 _LIBCPP_HIDE_FROM_ABI explicit logic_error(const char* __s) : exception(__s) {} 120 _LIBCPP_HIDE_FROM_ABI explicit runtime_error(const char* __s) : exception(__s) {} 126 _LIBCPP_HIDE_FROM_ABI explicit domain_error(const string& __s) : logic_error(__s) {} 127 _LIBCPP_HIDE_FROM_ABI explicit domain_error(const char* __s) : logic_error(__s) {} 138 _LIBCPP_HIDE_FROM_ABI explicit invalid_argument(const string& __s) : logic_error(__s) {} 139 _LIBCPP_HIDE_FROM_ABI explicit invalid_argument(const char* __s) : logic_error(__s) {} 150 _LIBCPP_HIDE_FROM_ABI explicit length_error(const string& __s) : logic_error(__s) {} 151 _LIBCPP_HIDE_FROM_ABI explicit length_error(const char* __s) : logic_error(__s) {} [all …]
|
H A D | string_view | 266 __char_traits_length_checked(const typename _Traits::char_type* __s) _NOEXCEPT { 269 … __s != nullptr, "null pointer passed to non-null argument of char_traits<...>::length"), 270 _Traits::length(__s); 310 …_LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI basic_string_view(const _CharT* __s, size_type __len) _NOE… 311 : __data_(__s), 321 … __len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received nullptr"); 345 _LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI basic_string_view(const _CharT* __s) 346 : __data_(__s), __size_(std::__char_traits_length_checked<_Traits>(__s)) {} 442 copy(_CharT* __s, size_type __n, size_type __pos = 0) const { 446 _Traits::copy(__s, data() + __pos, __rlen); [all …]
|
H A D | regex | 1100 string_type __s(__f, __l); 1101 return __col_->transform(__s.data(), __s.data() + __s.size()); 1124 const string_type __s(__f, __l); 1125 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size()); 1144 const string_type __s(__f, __l); 1145 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size()); 1162 _LIBCPP_EXPORTED_FROM_ABI string __get_collation_name(const char* __s); 1168 string_type __s(__f, __l); 1170 if (!__s.empty()) { 1171 __r = std::__get_collation_name(__s.c_str()); [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__string/ |
H A D | char_traits.h | 128 …_LIBCPP_HIDE_FROM_ABI size_t _LIBCPP_CONSTEXPR_SINCE_CXX17 length(const char_type* __s) _NOEXCEPT { 129 return std::__constexpr_strlen(__s); 133 find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT { 136 return std::__constexpr_memchr(__s, __a, __n); 153 assign(char_type* __s, size_t __n, char_type __a) _NOEXCEPT { 154 std::fill_n(__s, __n, __a); 155 return __s; 246 …static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 size_t length(const char_type* __s) _NO… 247 return std::__constexpr_wcslen(__s); 251 find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT { [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | path.h | 109 _LIBCPP_HIDE_FROM_ABI static _ECharT const* __range_begin(_Str const& __s) { return __s.data(); } 111 …_HIDE_FROM_ABI static _ECharT const* __range_end(_Str const& __s) { return __s.data() + __s.length… 113 …DE_FROM_ABI static _ECharT __first_or_null(_Str const& __s) { return __s.empty() ? _ECharT{} : __s… 122 _LIBCPP_HIDE_FROM_ABI static _ECharT const* __range_begin(_Str const& __s) { return __s.data(); } 124 …_HIDE_FROM_ABI static _ECharT const* __range_end(_Str const& __s) { return __s.data() + __s.length… 126 …DE_FROM_ABI static _ECharT __first_or_null(_Str const& __s) { return __s.empty() ? _ECharT{} : __s… 256 _LIBCPP_HIDE_FROM_ABI static void __append_source(__path_string& __dest, _Source const& __s) { 258 __append_range(__dest, _Traits::__range_begin(__s), _Traits::__range_end(__s)); 284 _LIBCPP_HIDE_FROM_ABI static void __append_source(__path_string& __dest, _Source const& __s) { 286 __append_range(__dest, _Traits::__range_begin(__s), _Traits::__range_end(__s)); [all …]
|
H A D | operations.h | 147 inline _LIBCPP_HIDE_FROM_ABI bool status_known(file_status __s) noexcept { return __s.type() != fil… in status_known() argument 148 inline _LIBCPP_HIDE_FROM_ABI bool exists(file_status __s) noexcept { in exists() argument 149 return status_known(__s) && __s.type() != file_type::not_found; in exists() 154 auto __s = __status(__p, &__ec); in exists() local 155 if (status_known(__s)) in exists() 157 return exists(__s); in exists() 168 inline _LIBCPP_HIDE_FROM_ABI bool is_block_file(file_status __s) noexcept { return __s.type() == fi… in is_block_file() argument 173 inline _LIBCPP_HIDE_FROM_ABI bool is_character_file(file_status __s) noexcept { in is_character_file() argument 174 return __s.type() == file_type::character; in is_character_file() 180 inline _LIBCPP_HIDE_FROM_ABI bool is_directory(file_status __s) noexcept { return __s.type() == fil… in is_directory() argument [all …]
|
/freebsd/sys/amd64/include/ |
H A D | pcpu.h | 193 struct __s { \ 200 : "=r" (*(struct __s *)(void *)&__res) \ 214 struct __s { \ 224 "r" (*(struct __s *)(void *)&__val) \ 235 struct __s { \ 245 "r" (*(struct __s *)(void *)&__val) \
|
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/locale_base_api/ |
H A D | bsd_locale_fallbacks.h | 53 inline _LIBCPP_HIDE_FROM_ABI size_t __libcpp_wcrtomb_l(char* __s, wchar_t __wc, mbstate_t* __ps, locale_t __l) { 55 return wcrtomb(__s, __wc, __ps); in __libcpp_wcsnrtombs_l() 65 __libcpp_mbrtowc_l(wchar_t* __pwc, const char* __s, size_t __n, mbstate_t* __ps, locale_t __l) { in __libcpp_wcrtomb_l() 67 return mbrtowc(__pwc, __s, __n, __ps); 75 inline _LIBCPP_HIDE_FROM_ABI size_t __libcpp_mbrlen_l(const char* __s, size_t __n, mbstate_t* __ps, locale_t __l) { 77 return mbrlen(__s, __n, __ps); in __libcpp_mbrtowc_l() argument 95 char* __s, size_t __n, locale_t __l, const char* __format, ...) { in __libcpp_mbrlen_l() 99 int __res = vsnprintf(__s, __n, __format, __va); 105 char** __s, locale_t __l, const char* __format, ...) { 109 int __res = vasprintf(__s, __forma in __libcpp_mbsrtowcs_l() 62 __libcpp_wcrtomb_l(char * __s,wchar_t __wc,mbstate_t * __ps,locale_t __l) __libcpp_wcrtomb_l() argument 92 __libcpp_mbrlen_l(const char * __s,size_t __n,mbstate_t * __ps,locale_t __l) __libcpp_mbrlen_l() argument 117 __libcpp_snprintf_l(char * __s,size_t __n,locale_t __l,const char * __format,...) __libcpp_snprintf_l() argument 127 __libcpp_asprintf_l(char ** __s,locale_t __l,const char * __format,...) __libcpp_asprintf_l() argument 137 __libcpp_sscanf_l(const char * __s,locale_t __l,const char * __format,...) __libcpp_sscanf_l() argument [all...] |
/freebsd/contrib/llvm-project/libcxx/include/__format/ |
H A D | format_error.h | 29 _LIBCPP_HIDE_FROM_ABI explicit format_error(const string& __s) : runtime_error(__s) {} in format_error() argument 30 _LIBCPP_HIDE_FROM_ABI explicit format_error(const char* __s) : runtime_error(__s) {} in format_error() 38 _LIBCPP_NORETURN inline _LIBCPP_HIDE_FROM_ABI void __throw_format_error(const char* __s) { 40 throw format_error(__s); in __throw_format_error() 42 _LIBCPP_VERBOSE_ABORT("format_error was thrown in -fno-exceptions mode with message \"%s\"", __s); in __throw_format_error() 31 format_error(const char * __s) format_error() argument 39 __throw_format_error(const char * __s) __throw_format_error() argument
|
/freebsd/contrib/llvm-project/libcxx/include/__ostream/ |
H A D | basic_ostream.h | 118 basic_ostream& write(const char_type* __s, streamsize __n); 188 sentry __s(*this); 189 if (__s) { 228 sentry __s(*this); 229 if (__s) { 248 sentry __s(*this); 249 if (__s) { 275 sentry __s(*this); 276 if (__s) { 295 sentry __s(*this); [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/experimental/__simd/ |
H A D | scalar.h | 62 static _LIBCPP_HIDE_FROM_ABI void __load(_SimdStorage& __s, const _Up* __mem) noexcept { 63 __s.__data = static_cast<_Tp>(__mem[0]); 67 static _LIBCPP_HIDE_FROM_ABI void __store(_SimdStorage __s, _Up* __mem) noexcept { 68 *__mem = static_cast<_Up>(__s.__data); 78 …static _LIBCPP_HIDE_FROM_ABI void __load(_MaskStorage& __s, const bool* __mem) noexcept { __s.__da… 80 …static _LIBCPP_HIDE_FROM_ABI void __store(_MaskStorage __s, bool* __mem) noexcept { __mem[0] = __s…
|
H A D | vec_ext.h | 79 static _LIBCPP_HIDE_FROM_ABI void __load(_SimdStorage& __s, const _Up* __mem) noexcept { 81 __s.__data[__i] = static_cast<_Tp>(__mem[__i]); 85 static _LIBCPP_HIDE_FROM_ABI void __store(_SimdStorage __s, _Up* __mem) noexcept { 87 __mem[__i] = static_cast<_Up>(__s.__data[__i]); 104 static _LIBCPP_HIDE_FROM_ABI void __load(_MaskStorage& __s, const bool* __mem) noexcept { 106 __s.__data[__i] = experimental::__set_all_bits<_Tp>(__mem[__i]); 109 static _LIBCPP_HIDE_FROM_ABI void __store(_MaskStorage __s, bool* __mem) noexcept { 111 __mem[__i] = static_cast<bool>(__s.__data[__i]);
|
/freebsd/contrib/llvm-project/libcxx/include/__random/ |
H A D | subtract_with_carry_engine.h | 31 template <class _UIntType, size_t __w, size_t __s, size_t __r> 50 template <class _UIntType, size_t __w, size_t __s, size_t __r> 64 static_assert(0 < __s, "subtract_with_carry_engine invalid parameters"); 65 static_assert(__s < __r, "subtract_with_carry_engine invalid parameters"); 75 static _LIBCPP_CONSTEXPR const size_t short_lag = __s; 132 template <class _UIntType, size_t __w, size_t __s, size_t __r> 133 _LIBCPP_CONSTEXPR const size_t subtract_with_carry_engine<_UIntType, __w, __s, __r>::word_size; 135 template <class _UIntType, size_t __w, size_t __s, size_t __r> 136 _LIBCPP_CONSTEXPR const size_t subtract_with_carry_engine<_UIntType, __w, __s, __r>::short_lag; 138 template <class _UIntType, size_t __w, size_t __s, size_ [all...] |
H A D | mersenne_twister_engine.h | 38 size_t __s, 130 size_t __s, 152 static_assert(__s <= __w, "mersenne_twister_engine invalid parameters"); in seed() 175 static _LIBCPP_CONSTEXPR const size_t tempering_s = __s; 320 size_t __s, 327 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::word_size; 337 size_t __s, in seed() 344 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::state_size; 354 size_t __s, in __seed() 361 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __ in __seed() [all...] |
H A D | linear_congruential_engine.h | 264 _LIBCPP_HIDE_FROM_ABI explicit linear_congruential_engine(result_type __s) { seed(__s); } 266 …PP_HIDE_FROM_ABI explicit linear_congruential_engine(result_type __s = default_seed) { seed(__s); } 272 _LIBCPP_HIDE_FROM_ABI void seed(result_type __s = default_seed) { 273 seed(integral_constant<bool, __m == 0>(), integral_constant<bool, __c == 0>(), __s); 302 …IBCPP_HIDE_FROM_ABI void seed(true_type, true_type, result_type __s) { __x_ = __s == 0 ? 1 : __s; } 303 _LIBCPP_HIDE_FROM_ABI void seed(true_type, false_type, result_type __s) { __x_ = __s; } 304 …DE_FROM_ABI void seed(false_type, true_type, result_type __s) { __x_ = __s % __m == 0 ? 1 : __s % … 305 _LIBCPP_HIDE_FROM_ABI void seed(false_type, false_type, result_type __s) { __x_ = __s % __m; } 343 result_type __s = static_cast<result_type>(__ar[3] % __m); 344 __x_ = __c == 0 && __s == 0 ? result_type(1) : __s; [all …]
|
H A D | seed_seq.h | 77 for (_InputIterator __s = __first; __s != __last; ++__s) in __init() local 78 __v_.push_back(*__s & 0xFFFFFFFF); in __init() 91 const size_t __s = __v_.size(); in generate() local 95 const size_t __m = std::max(__s + 1, __n); in generate() 100 __r += __s; in generate() 111 for (size_t __k = 1; __k <= __s; ++__k) { in generate() 127 for (size_t __k = __s + 1; __k < __m; ++__k) { in generate()
|
/freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
H A D | move_sentinel.h | 34 _LIBCPP_HIDE_FROM_ABI constexpr explicit move_sentinel(_Sent __s) : __last_(std::move(__s)) {} 38 _LIBCPP_HIDE_FROM_ABI constexpr move_sentinel(const move_sentinel<_S2>& __s) : __last_(__s.base()) {} 42 _LIBCPP_HIDE_FROM_ABI constexpr move_sentinel& operator=(const move_sentinel<_S2>& __s) { in move_sentinel() argument 43 __last_ = __s.base(); 37 move_sentinel(_Sent __s) move_sentinel() argument
|
/freebsd/contrib/bmake/mk/ |
H A D | java.mk | 59 .for __s in ${SRCS} 60 __c:= ${__classdest}${__s:.java=.class} 63 ${__c}: ${__s} 66 SRCS_${__c}=${__s} 80 .for __s in ${SRCS} 81 __c:= ${__classdest}${__s:.java=.class} 82 ${__c}: ${__s}
|
/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | destruct_n.h | 39 _LIBCPP_HIDE_FROM_ABI void __set(size_t __s, false_type) _NOEXCEPT { __size_ = __s; } in __incr() 43 _LIBCPP_HIDE_FROM_ABI explicit __destruct_n(size_t __s) _NOEXCEPT : __size_(__s) {} in __set() 51 _LIBCPP_HIDE_FROM_ABI void __set(size_t __s, _Tp*) _NOEXCEPT { in __incr() 52 __set(__s, integral_constant<bool, is_trivially_destructible<_Tp>::value>());
|
H A D | builtin_new_allocator.h | 45 _LIBCPP_HIDE_FROM_ABI static __holder_t __allocate_bytes(size_t __s, size_t __align) { in __allocate_bytes() 46 return __holder_t(std::__libcpp_allocate(__s, __align), __builtin_new_deleter(__s, __align)); in __allocate_bytes() 49 _LIBCPP_HIDE_FROM_ABI static void __deallocate_bytes(void* __p, size_t __s, size_t __align) _NOEXCEPT { 50 std::__libcpp_deallocate(__p, __s, __align); in __deallocate_bytes()
|