Searched refs:__s (Results 1 - 25 of 77) sorted by relevance

1234

/freebsd-11-stable/contrib/libstdc++/src/
H A Dfunctexcept.cc63 __throw_logic_error(const char* __s) argument
64 { throw logic_error(_(__s)); }
67 __throw_domain_error(const char* __s) argument
68 { throw domain_error(_(__s)); }
71 __throw_invalid_argument(const char* __s) argument
72 { throw invalid_argument(_(__s)); }
75 __throw_length_error(const char* __s) argument
76 { throw length_error(_(__s)); }
79 __throw_out_of_range(const char* __s) argument
80 { throw out_of_range(_(__s)); }
83 __throw_runtime_error(const char* __s) argument
87 __throw_range_error(const char* __s) argument
91 __throw_overflow_error(const char* __s) argument
95 __throw_underflow_error(const char* __s) argument
99 __throw_ios_failure(const char* __s) argument
[all...]
H A Dlocalename.cc37 locale::locale(const char* __s) : _M_impl(0) argument
39 if (__s)
42 if (std::strcmp(__s, "C") == 0 || std::strcmp(__s, "POSIX") == 0)
44 else if (std::strcmp(__s, "") != 0)
45 _M_impl = new _Impl(__s, 1);
146 locale::locale(const locale& __base, const char* __s, category __cat) argument
152 locale __add(__s);
178 _Impl(const char* __s, size_t __refs) argument
185 locale::facet::_S_create_c_locale(__cloc, __s);
[all...]
H A Dvalarray-inst.cc69 const valarray<size_t>& __s, valarray<size_t>& __i)
92 __a += __s[__k] * __t[__k];
111 const valarray<size_t>& __s)
112 : _M_count(1), _M_start(__o), _M_size(__l), _M_stride(__s),
114 { __gslice_to_index(__o, __l, __s, _M_index); }
68 __gslice_to_index(size_t __o, const valarray<size_t>& __l, const valarray<size_t>& __s, valarray<size_t>& __i) argument
110 _Indexer(size_t __o, const valarray<size_t>& __l, const valarray<size_t>& __s) argument
/freebsd-11-stable/contrib/llvm-project/libcxx/include/
H A Dstring.h73 char* __libcpp_strchr(const char* __s, int __c) {return (char*)strchr(__s, __c);} argument
75 const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);} argument
77 char* strchr( char* __s, int __c) {return __libcpp_strchr(__s, __c);} argument
87 char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);} argument
89 const char* strrchr(const char* __s, int __c) {return __libcpp_strrchr(__s, __ argument
91 strrchr( char* __s, int __c) argument
94 __libcpp_memchr(const void* __s, int __c, size_t __n) argument
96 memchr(const void* __s, int __c, size_t __n) argument
98 memchr( void* __s, int __c, size_t __n) argument
[all...]
H A Dwchar.h136 wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);} argument
138 const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} argument
140 wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} argument
150 wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);} argument
152 const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __ argument
154 wcsrchr( wchar_t* __s, wchar_t __c) argument
164 __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) argument
166 wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) argument
168 wmemchr( wchar_t* __s, wchar_t __c, size_t __n) argument
[all...]
H A D__bsd_locale_fallbacks.h56 size_t __libcpp_wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l) argument
59 return wcrtomb(__s, __wc, __ps);
71 size_t __libcpp_mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n, argument
75 return mbrtowc(__pwc, __s, __n, __ps);
86 size_t __libcpp_mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l) argument
89 return mbrlen(__s, __n, __ps);
108 int __libcpp_snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) { argument
112 int __res = vsnprintf(__s, __n, __format, __va);
118 int __libcpp_asprintf_l(char **__s, locale_t __l, const char *__format, ...) { argument
122 int __res = vasprintf(__s, __forma
128 __libcpp_sscanf_l(const char *__s, locale_t __l, const char *__format, ...) argument
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dcpack.h49 #define cpack_int8(__s, __p) cpack_uint8((__s), (uint8_t*)(__p))
50 #define cpack_int16(__s, __p) cpack_uint16((__s), (uint16_t*)(__p))
51 #define cpack_int32(__s, __p) cpack_uint32((__s), (uint32_t*)(__p))
52 #define cpack_int64(__s, __p) cpack_uint64((__s), (uint64_t*)(__p))
/freebsd-11-stable/contrib/libstdc++/config/locale/gnu/
H A Dmessages_members.h51 messages<_CharT>::messages(__c_locale __cloc, const char* __s, argument
55 const size_t __len = std::strlen(__s) + 1;
57 std::memcpy(__tmp, __s, __len);
66 messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, argument
69 bindtextdomain(__s.c_str(), __dir);
70 return this->do_open(__s, __loc);
84 messages<_CharT>::do_open(const basic_string<char>& __s, argument
89 textdomain(__s.c_str());
100 messages_byname<_CharT>::messages_byname(const char* __s, size_t __refs) argument
105 char* __tmp = new char[std::strlen(__s)
[all...]
H A Dc_locale.cc47 __convert_to_v(const char* __s, float& __v, ios_base::iostate& __err, argument
52 float __f = __strtof_l(__s, &__sanity, __cloc);
53 if (__sanity != __s && errno != ERANGE)
61 __convert_to_v(const char* __s, double& __v, ios_base::iostate& __err, argument
66 double __d = __strtod_l(__s, &__sanity, __cloc);
67 if (__sanity != __s && errno != ERANGE)
75 __convert_to_v(const char* __s, long double& __v, ios_base::iostate& __err, argument
83 long double __ld = strtold_l(__s, &__sanity, __cloc);
85 long double __ld = __strtold_l(__s, &__sanity, __cloc);
87 if (__sanity != __s
94 _S_create_c_locale(__c_locale& __cloc, const char* __s, __c_locale __old) argument
[all...]
H A Dtime_members.cc45 _M_put(char* __s, size_t __maxlen, const char* __format, argument
49 const size_t __len = __strftime_l(__s, __maxlen, __format, __tm,
54 const size_t __len = strftime(__s, __maxlen, __format, __tm);
58 // Make sure __s is null terminated.
60 __s[0] = '\0';
198 _M_put(wchar_t* __s, size_t __maxlen, const wchar_t* __format, argument
202 const size_t __len = __wcsftime_l(__s, __maxlen, __format, __tm,
207 const size_t __len = wcsftime(__s, __maxlen, __format, __tm);
211 // Make sure __s is null terminated.
213 __s[
288 union { char *__s; wchar_t *__w; } __u; member in union:__anon1988
[all...]
/freebsd-11-stable/contrib/libstdc++/include/ext/
H A Dhash_fun.h74 __stl_hash_string(const char* __s) argument
77 for ( ; *__s; ++__s)
78 __h = 5 * __h + *__s;
86 operator()(const char* __s) const
87 { return __stl_hash_string(__s); }
94 operator()(const char* __s) const
95 { return __stl_hash_string(__s); }
H A Dvstring.h82 _M_check(size_type __pos, const char* __s) const
85 std::__throw_out_of_range(__N(__s));
90 _M_check_length(size_type __n1, size_type __n2, const char* __s) const
93 std::__throw_length_error(__N(__s));
106 _M_disjunct(const _CharT* __s) const
108 return (std::less<const _CharT*>()(__s, this->_M_data())
110 + this->size(), __s));
187 __versa_string(const _CharT* __s, size_type __n, argument
189 : __vstring_base(__s, __s
196 __versa_string(const _CharT* __s, const _Alloc& __a = _Alloc()) argument
238 operator =(const _CharT* __s) argument
512 operator +=(const _CharT* __s) argument
561 append(const _CharT* __s, size_type __n) argument
574 append(const _CharT* __s) argument
662 assign(const _CharT* __s, size_type __n) argument
678 assign(const _CharT* __s) argument
801 insert(size_type __pos, const _CharT* __s, size_type __n) argument
820 insert(size_type __pos, const _CharT* __s) argument
997 replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) argument
1021 replace(size_type __pos, size_type __n1, const _CharT* __s) argument
1080 replace(iterator __i1, iterator __i2, const _CharT* __s, size_type __n) argument
1101 replace(iterator __i1, iterator __i2, const _CharT* __s) argument
1246 swap(__versa_string& __s) argument
1316 find(const _CharT* __s, size_type __pos = 0) const argument
1374 rfind(const _CharT* __s, size_type __pos = npos) const argument
1432 find_first_of(const _CharT* __s, size_type __pos = 0) const argument
1493 find_last_of(const _CharT* __s, size_type __pos = npos) const argument
1555 find_first_not_of(const _CharT* __s, size_type __pos = 0) const argument
1615 find_last_not_of(const _CharT* __s, size_type __pos = npos) const argument
[all...]
H A Dpod_char_traits.h123 length(const char_type* __s) argument
125 const char_type* __p = __s;
128 return (__p - __s);
132 find(const char_type* __s, size_t __n, const char_type& __a) argument
134 for (const char_type* __p = __s; size_t(__p - __s) < __n; ++__p)
155 assign(char_type* __s, size_t __n, char_type __a) argument
157 std::fill_n(__s, __n, __a);
158 return __s;
/freebsd-11-stable/contrib/libstdc++/config/locale/generic/
H A Dc_locale.cc51 __convert_to_v(const char* __s, float& __v, ios_base::iostate& __err, argument
54 // Assumes __s formatted for "C" locale.
60 float __f = strtof(__s, &__sanity);
62 double __d = strtod(__s, &__sanity);
78 if (__sanity != __s && errno != ERANGE)
88 __convert_to_v(const char* __s, double& __v, ios_base::iostate& __err, argument
91 // Assumes __s formatted for "C" locale.
96 double __d = strtod(__s, &__sanity);
97 if (__sanity != __s && errno != ERANGE)
107 __convert_to_v(const char* __s, lon argument
134 _S_create_c_locale(__c_locale& __cloc, const char* __s, __c_locale) argument
[all...]
H A Dmessages_members.h56 messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, argument
58 { return this->do_open(__s, __loc); }
83 messages_byname<_CharT>::messages_byname(const char* __s, size_t __refs) argument
86 if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
89 this->_S_create_c_locale(this->_M_c_locale_messages, __s);
/freebsd-11-stable/contrib/gcclibs/libssp/ssp/
H A Dstdio.h53 extern int __sprintf_chk (char *__restrict__ __s, int __flag, size_t __slen,
55 extern int __vsprintf_chk (char *__restrict__ __s, int __flag, size_t __slen,
65 extern int __snprintf_chk (char *__restrict__ __s, size_t __n, int __flag,
68 extern int __vsnprintf_chk (char *__restrict__ __s, size_t __n, int __flag,
89 (char *__restrict__ __s, int __n,
93 fgets (char *__restrict__ __s, int __n, FILE *__restrict__ __stream) argument
95 if (__ssp_bos (__s) != (size_t) -1 && (size_t) __n > __ssp_bos (__s))
97 return __fgets_alias (__s, __n, __stream);
/freebsd-11-stable/contrib/llvm-project/libcxx/src/
H A Dregex.cpp262 __match_any_but_newline<char>::__exec(__state& __s) const
264 if (__s.__current_ != __s.__last_)
266 switch (*__s.__current_)
270 __s.__do_ = __state::__reject;
271 __s.__node_ = nullptr;
274 __s.__do_ = __state::__accept_and_consume;
275 ++__s.__current_;
276 __s.__node_ = this->first();
282 __s
[all...]
/freebsd-11-stable/sys/i386/include/
H A Dpcpu.h124 struct __s { \
126 } __s; \
131 : "=r" (__s) \
132 : "m" (*(struct __s *)(__pcpu_offset(name)))); \
133 *(struct __s *)(void *)&__res = __s; \
146 struct __s { \
148 } __s; \
153 __s = *(struct __s *)(voi
[all...]
/freebsd-11-stable/sys/amd64/include/
H A Dpcpu.h132 struct __s { \
134 } __s; \
139 : "=r" (__s) \
140 : "m" (*(struct __s *)(__pcpu_offset(name)))); \
141 *(struct __s *)(void *)&__res = __s; \
154 struct __s { \
156 } __s; \
161 __s = *(struct __s *)(voi
[all...]
/freebsd-11-stable/contrib/libstdc++/include/bits/
H A Dchar_traits.h111 length(const char_type* __s);
114 find(const char_type* __s, std::size_t __n, const char_type& __a);
123 assign(char_type* __s, std::size_t __n, char_type __a);
173 find(const char_type* __s, std::size_t __n, const char_type& __a) argument
176 if (eq(__s[__i], __a))
177 return __s + __i;
202 assign(char_type* __s, std::size_t __n, char_type __a) argument
204 std::fill_n(__s, __n, __a);
205 return __s;
257 length(const char_type* __s) argument
261 find(const char_type* __s, size_t __n, const char_type& __a) argument
273 assign(char_type* __s, size_t __n, char_type __a) argument
327 length(const char_type* __s) argument
331 find(const char_type* __s, size_t __n, const char_type& __a) argument
343 assign(char_type* __s, size_t __n, char_type __a) argument
[all...]
H A Dbasic_string.h308 _M_check(size_type __pos, const char* __s) const
311 __throw_out_of_range(__N(__s));
316 _M_check_length(size_type __n1, size_type __n2, const char* __s) const
319 __throw_length_error(__N(__s));
332 _M_disjunct(const _CharT* __s) const
334 return (less<const _CharT*>()(__s, _M_data())
335 || less<const _CharT*>()(_M_data() + this->size(), __s));
341 _M_copy(_CharT* __d, const _CharT* __s, size_type __n) argument
344 traits_type::assign(*__d, *__s);
346 traits_type::copy(__d, __s, __
350 _M_move(_CharT* __d, const _CharT* __s, size_type __n) argument
508 operator =(const _CharT* __s) argument
781 operator +=(const _CharT* __s) argument
834 append(const _CharT* __s) argument
927 assign(const _CharT* __s) argument
1066 insert(size_type __pos, const _CharT* __s) argument
1258 replace(size_type __pos, size_type __n1, const _CharT* __s) argument
1317 replace(iterator __i1, iterator __i2, const _CharT* __s, size_type __n) argument
1338 replace(iterator __i1, iterator __i2, const _CharT* __s) argument
1591 find(const _CharT* __s, size_type __pos = 0) const argument
1649 rfind(const _CharT* __s, size_type __pos = npos) const argument
1707 find_first_of(const _CharT* __s, size_type __pos = 0) const argument
1768 find_last_of(const _CharT* __s, size_type __pos = npos) const argument
1830 find_first_not_of(const _CharT* __s, size_type __pos = 0) const argument
1889 find_last_not_of(const _CharT* __s, size_type __pos = npos) const argument
[all...]
/freebsd-11-stable/contrib/libstdc++/config/locale/ieee_1003.1-2001/
H A Dmessages_members.h46 messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, argument
48 { return this->do_open(__s, __loc); }
57 messages<_CharT>::do_open(const basic_string<char>& __s, argument
59 { return reinterpret_cast<catalog>(catopen(__s.c_str(), NL_CAT_LOCALE)); }
/freebsd-11-stable/contrib/libstdc++/include/std/
H A Dstd_ostream.h291 _M_write(const char_type* __s, streamsize __n) argument
293 const streamsize __put = this->rdbuf()->sputn(__s, __n);
315 write(const char_type* __s, streamsize __n);
495 operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) argument
497 if (!__s)
500 __ostream_insert(__out, __s,
501 static_cast<streamsize>(_Traits::length(__s)));
507 operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s);
512 operator<<(basic_ostream<char, _Traits>& __out, const char* __s) argument
514 if (!__s)
525 operator <<(basic_ostream<char, _Traits>& __out, const signed char* __s) argument
530 operator <<(basic_ostream<char, _Traits>& __out, const unsigned char* __s) argument
[all...]
/freebsd-11-stable/contrib/libstdc++/config/io/
H A Dbasic_file_stdio.h91 xsputn(const char* __s, streamsize __n);
98 xsgetn(char* __s, streamsize __n);
/freebsd-11-stable/sys/net/altq/
H A Daltq_rmclass_debug.h89 int __s = LOCK_TRACE(); \
99 UNLOCK_TRACE(__s); \

Completed in 242 milliseconds

1234