/freebsd/contrib/llvm-project/libcxx/include/__string/ |
H A D | char_traits.h | 81 using char_type = char; 91 assign(char_type& __c1, const char_type& __c2) _NOEXCEPT { 96 static inline _LIBCPP_HIDDEN _LIBCPP_CONSTEXPR bool eq(char_type __c1, char_type __c2) _NOEXCEPT { 99 …static inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool lt(char_type __c1, char_type __c2) _NOE… 106 compare(const char_type* __lhs, const char_type* __rhs, size_t __count) _NOEXCEPT { 117 __count -= sizeof(char_type); 128 …static inline _LIBCPP_HIDE_FROM_ABI size_t _LIBCPP_CONSTEXPR_SINCE_CXX17 length(const char_type* _… 132 static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 const char_type* 133 find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT { 139 static inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 char_type* [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | __locale | 176 typedef _CharT char_type; 177 typedef basic_string<char_type> string_type; 182 …compare(const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* _… 189 transform(const char_type* __lo, const char_type* __hi) const { 193 …_LIBCPP_HIDE_FROM_ABI long hash(const char_type* __lo, const char_type* __hi) const { return do_ha… 200 …do_compare(const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type… 201 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const { 204 virtual long do_hash(const char_type* __lo, const char_type* __hi) const; 215 …const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) co… 226 long collate<_CharT>::do_hash(const char_type* __lo, const char_type* __hi) const { [all …]
|
H A D | streambuf | 24 typedef charT char_type; 37 basic_streambuf* pubsetbuf(char_type* s, streamsize n); 50 streamsize sgetn(char_type* s, streamsize n); 53 int_type sputbackc(char_type c); 57 int_type sputc(char_type c); 58 streamsize sputn(const char_type* s, streamsize n); 67 char_type* eback() const; 68 char_type* gptr() const; 69 char_type* egptr() const; 71 void setg(char_type* gbeg, char_type* gnext, char_type* gend); [all …]
|
H A D | sstream | 24 typedef charT char_type; 35 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& s, 40 explicit basic_stringbuf(basic_string<char_type, traits_type, allocator_type>&& s, 43 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, const allocator_type& a) 46 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, 49 explicit basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, 69 … basic_string<char_type, traits_type, allocator_type> str() const; // before C++20 70 basic_string<char_type, traits_type, allocator_type> str() const &; // C++20 72 basic_string<char_type, traits_type, SAlloc> str(const SAlloc& sa) const; // C++20 73 basic_string<char_type, traits_type, allocator_type> str() &&; // C++20 [all …]
|
H A D | locale | 596 typedef _CharT char_type; 859 char_type __thousands_sep; 862 char_type __atoms1[__atoms_size]; 863 const char_type* __atoms = this->__do_widen(__iob, __atoms1); 866 char_type __atoms[__atoms_size]; 908 char_type __thousands_sep; 911 char_type __atoms1[__atoms_size]; 912 const char_type* __atoms = this->__do_widen(__iob, __atoms1); 915 char_type __atoms[__atoms_size]; 956 char_type __atoms[__num_get_base::__fp_chr_cnt]; [all …]
|
H A D | fstream | 21 typedef charT char_type; 50 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* s, streamsize n); 71 typedef charT char_type; 88 basic_filebuf<char_type, traits_type>* rdbuf() const; 110 typedef charT char_type; 127 basic_filebuf<char_type, traits_type>* rdbuf() const; 151 typedef charT char_type; 168 basic_filebuf<char_type, traits_type>* rdbuf() const; 228 typedef _CharT char_type; 292 basic_streambuf<char_type, traits_type>* setbuf(char_type* __s, streamsize __n) override; [all …]
|
H A D | istream | 22 typedef charT char_type; 29 explicit basic_istream(basic_streambuf<char_type, traits_type>* sb); 42 basic_istream& operator>>(basic_ios<char_type, traits_type>& 43 (*pf)(basic_ios<char_type, traits_type>&)); 45 basic_istream& operator>>(basic_streambuf<char_type, traits_type>* sb); 63 basic_istream& get(char_type& c); 64 basic_istream& get(char_type* s, streamsize n); 65 basic_istream& get(char_type* s, streamsize n, char_type delim); 66 basic_istream& get(basic_streambuf<char_type,traits_type>& sb); 67 basic_istream& get(basic_streambuf<char_type,traits_type>& sb, char_type delim); [all …]
|
H A D | ios | 116 typedef charT char_type; 148 char_type fill() const; 149 char_type fill(char_type ch); 153 char narrow(char_type c, char dfault) const; 154 char_type widen(char c) const; 558 typedef _CharT char_type; 565 static_assert(is_same<_CharT, typename traits_type::char_type>::value, 566 "traits_type::char_type must be the same type as CharT"); 589 _LIBCPP_HIDE_FROM_ABI explicit basic_ios(basic_streambuf<char_type, traits_type>* __sb); 593 _LIBCPP_HIDE_FROM_ABI basic_ostream<char_type, traits_type>* tie() const; [all …]
|
H A D | syncstream | 39 using char_type = charT; 82 using char_type = charT; 245 using char_type = _CharT; 341 char_type* __p = static_cast<char_type*>(__str_.data()); 394 char_type* __p = static_cast<char_type*>(__str_.data()); 435 using char_type = _CharT; 442 using streambuf_type = basic_streambuf<char_type, traits_type>; 443 using syncbuf_type = basic_syncbuf<char_type, traits_type, allocator_type>; 453 …_LIBCPP_HIDE_FROM_ABI basic_osyncstream(basic_ostream<char_type, traits_type>& __os, allocator_typ… 456 _LIBCPP_HIDE_FROM_ABI explicit basic_osyncstream(basic_ostream<char_type, traits_type>& __os) [all …]
|
H A D | ostream | 22 typedef charT char_type; 29 explicit basic_ostream(basic_streambuf<char_type,traits>* sb); 59 basic_ostream& operator<<(basic_streambuf<char_type,traits>* sb); 63 basic_ostream& put(char_type c); 64 basic_ostream& write(const char_type* s, streamsize n);
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | std_stream.h | 35 typedef _CharT char_type; 36 typedef char_traits<char_type> traits_type; 52 const codecvt<char_type, char, state_type>* __cv_; 85 __cv_ = &use_facet<codecvt<char_type, char, state_type> >(__loc); in __stdinbuf() 143 char_type __1buf; in __do_ungetc() 162 char_type __1buf; in __getchar() 164 char_type* __inxt; in __getchar() 187 __1buf = static_cast<char_type>(__extbuf[0]); in __getchar() 216 const char_type __ci = traits_type::to_char_type(__last_consumed_); in __getchar() 217 const char_type* __inx in __getchar() 38 typedef _CharT char_type; global() typedef 280 typedef _CharT char_type; global() typedef [all...] |
H A D | locale.cpp | 625 …const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) co… in do_compare() 636 …<char>::string_type collate_byname<char>::do_transform(const char_type* lo, const char_type* hi) c… in do_transform() 669 …const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) co… in do_compare() 681 collate_byname<wchar_t>::do_transform(const char_type* lo, const char_type* hi) const { in do_transform() 709 bool ctype<wchar_t>::do_is(mask m, char_type c) const { in do_is() 713 const wchar_t* ctype<wchar_t>::do_is(const char_type* low, const char_type* high, mask* vec) const { in do_is() 719 const wchar_t* ctype<wchar_t>::do_scan_is(mask m, const char_type* low, const char_type* high) cons… in do_scan_is() 726 const wchar_t* ctype<wchar_t>::do_scan_not(mask m, const char_type* low, const char_type* high) con… in do_scan_not() 733 wchar_t ctype<wchar_t>::do_toupper(char_type c) const { in do_toupper() 743 const wchar_t* ctype<wchar_t>::do_toupper(char_type* low, const char_type* high) const { in do_toupper() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__ostream/ |
H A D | basic_ostream.h | 43 typedef _CharT char_type; typedef 50 …inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 explicit basic_ostream(basic_streambuf<char_type, traits_typ… in basic_ostream() argument 65 basic_ios<char_type, traits_type>::swap(__rhs); in swap() 78 operator<<(basic_ios<char_type, traits_type>& (*__pf)(basic_ios<char_type, traits_type>&)) { 108 basic_ostream& operator<<(basic_streambuf<char_type, traits_type>* __sb); 117 basic_ostream& put(char_type __c); 118 basic_ostream& write(const char_type* __s, streamsize __n); 184 basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf<char_type, traits_type>* __sb) { 230 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp; 251 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp; [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
H A D | istreambuf_iterator.h | 41 typedef _CharT char_type; typedef 51 char_type __keep_; 53 _LIBCPP_HIDE_FROM_ABI explicit __proxy(char_type __c, streambuf_type* __s) : __keep_(__c), __sbuf_(__s) {} 57 _LIBCPP_HIDE_FROM_ABI char_type operator*() const { return __keep_; } 75 _LIBCPP_HIDE_FROM_ABI char_type operator*() const { return static_cast<char_type>(__sbuf_->sgetc()); } in istreambuf_iterator()
|
H A D | ostream_iterator.h | 46 typedef _CharT char_type; 52 const char_type* __delim_; in ostream_iterator() 44 typedef _CharT char_type; global() typedef
|
/freebsd/contrib/llvm-project/libcxx/include/__format/ |
H A D | format_arg_store.h | 47 template <class _Context, same_as<typename _Context::char_type> _Tp> 53 requires(same_as<typename _Context::char_type, wchar_t> && same_as<_CharT, char>) in requires() argument 105 …requires(same_as<typename _Context::char_type*, _Tp> || same_as<const typename _Context::char_type… 112 requires(is_array_v<_Tp> && same_as<_Tp, typename _Context::char_type[extent_v<_Tp>]>) in requires() 119 requires(same_as<typename _Context::char_type, typename _Tp::value_type> && in requires() argument 128 same_as<typename _Context::char_type, typename _Tp::value_type> && in requires() argument 176 if constexpr (same_as<typename _Context::char_type, wchar_t> && same_as<_Dp, char>) in __create_format_arg() 193 __arg, basic_string_view<typename _Context::char_type>{__value, extent_v<_Dp> - 1}}; in __create_format_arg() 198 __arg, basic_string_view<typename _Context::char_type>{__value.data(), __value.size()}}; in __create_format_arg()
|
H A D | format_arg.h | 209 using _CharT = typename _Context::char_type; 333 using char_type = typename _Context::char_type; 358 …_LIBCPP_HIDE_FROM_ABI void format(basic_format_parse_context<char_type>& __parse_ctx, _Context& __… in format()
|
H A D | format_context.h | 85 using char_type = _CharT; in _LIBCPP_PREFERRED_NAME() local 159 using char_type = _CharT; variable
|
H A D | concepts.h | 56 basic_format_parse_context<typename _Context::char_type> __pc) { in requires()
|
/freebsd/usr.bin/gzip/ |
H A D | zuncompress.c | 45 #define tab_suffixof(i) ((char_type *)(zs->zs_htab))[i] 46 #define de_stack ((char_type *)&tab_suffixof(1 << BITS)) 73 typedef u_char char_type; typedef 75 static char_type magic_header[] = 78 static char_type rmask[9] = 111 char_type zs_buf[BITS]; 120 char_type *zs_stackp; 124 char_type zs_gbuf[BITS]; 258 tab_suffixof(zs->u.r.zs_code) = (char_type) zs->u.r.zs_code; in zread() 337 char_type *bp; in getcode()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 426 #define INTERCEPTOR_STRTO(ret_type, func, char_type) \ argument 427 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr) { \ 431 #define INTERCEPTOR_STRTO_SRET(ret_type, func, char_type) \ argument 432 INTERCEPTOR(void, func, ret_type *sret, const char_type *nptr, \ 433 char_type **endptr) { \ 437 #define INTERCEPTOR_STRTO_BASE(ret_type, func, char_type) \ argument 438 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \ 443 #define INTERCEPTOR_STRTO_LOC(ret_type, func, char_type) \ argument 444 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \ 449 #define INTERCEPTOR_STRTO_SRET_LOC(ret_type, func, char_type) \ argument [all …]
|
/freebsd/usr.bin/compress/ |
H A D | zopen.c | 79 typedef u_char char_type; typedef 80 static char_type magic_header[] = 120 char_type zs_buf[BITS]; 129 char_type *zs_stackp; 133 char_type zs_gbuf[BITS]; 185 #define tab_suffixof(i) ((char_type *)(htab))[i] 186 #define de_stack ((char_type *)&tab_suffixof(1 << BITS)) 359 static char_type lmask[9] = 361 static char_type rmask[9] = 369 char_type *bp; in output() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
H A D | istream_view.h | 114 requires derived_from<_UnCVRef, basic_istream<typename _UnCVRef::char_type, 117 noexcept(noexcept(basic_istream_view<_Tp, typename _UnCVRef::char_type, 119 -> decltype( basic_istream_view<_Tp, typename _UnCVRef::char_type, 121 { return basic_istream_view<_Tp, typename _UnCVRef::char_type,
|
/freebsd/contrib/llvm-project/libcxx/include/experimental/ |
H A D | iterator | 21 typedef charT char_type; 76 typedef _CharT char_type; 78 typedef basic_ostream<char_type, traits_type> ostream_type;
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | charmap.h | 22 static const unsigned short char_type[] = { variable
|