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

123

/macosx-10.9.5/libstdcxx-60/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 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 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
H A Dctype.cc102 ctype_byname<wchar_t>::ctype_byname(const char* __s, size_t __refs) argument
105 if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
108 this->_S_create_c_locale(this->_M_c_locale_ctype, __s);
H A Dctype_members.cc44 ctype_byname<char>::ctype_byname(const char* __s, size_t __refs) argument
47 if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
50 this->_S_create_c_locale(this->_M_c_locale_ctype, __s);
H A Dtime_members.cc44 _M_put(char* __s, size_t __maxlen, const char* __format, argument
49 const size_t __len = strftime(__s, __maxlen, __format, __tm);
52 // Make sure __s is null terminated.
54 __s[0] = '\0';
126 _M_put(wchar_t* __s, size_t __maxlen, const wchar_t* __format, argument
131 const size_t __len = wcsftime(__s, __maxlen, __format, __tm);
134 // Make sure __s is null terminated.
136 __s[0] = L'\0';
/macosx-10.9.5/tcpdump-56/tcpdump/
H A Dcpack.h49 #define cpack_int8(__s, __p) cpack_uint8((__s), (u_int8_t*)(__p))
50 #define cpack_int16(__s, __p) cpack_uint16((__s), (u_int16_t*)(__p))
51 #define cpack_int32(__s, __p) cpack_uint32((__s), (u_int32_t*)(__p))
52 #define cpack_int64(__s, __p) cpack_uint64((__s), (u_int64_t*)(__p))
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/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;
H A Dstdio_sync_filebuf.h138 xsgetn(char_type* __s, std::streamsize __n);
157 xsputn(const char_type* __s, std::streamsize __n);
209 stdio_sync_filebuf<char>::xsgetn(char* __s, std::streamsize __n) argument
211 std::streamsize __ret = std::fread(__s, 1, __n, _M_file);
213 _M_unget_buf = traits_type::to_int_type(__s[__ret - 1]);
221 stdio_sync_filebuf<char>::xsputn(const char* __s, std::streamsize __n) argument
222 { return std::fwrite(__s, 1, __n, _M_file); }
242 stdio_sync_filebuf<wchar_t>::xsgetn(wchar_t* __s, std::streamsize __n) argument
251 __s[__ret] = traits_type::to_char_type(__c);
256 _M_unget_buf = traits_type::to_int_type(__s[__re
264 xsputn(const wchar_t* __s, std::streamsize __n) argument
[all...]
H A Dvstring_util.h112 _S_copy(_CharT* __d, const _CharT* __s, size_type __n) argument
115 traits_type::assign(*__d, *__s);
117 traits_type::copy(__d, __s, __n);
121 _S_move(_CharT* __d, const _CharT* __s, size_type __n) argument
124 traits_type::assign(*__d, *__s);
126 traits_type::move(__d, __s, __n);
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/bits/
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);
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...]
H A Dbasic_file.h91 xsputn(const char* __s, streamsize __n);
98 xsgetn(char* __s, streamsize __n);
H A Dtime_members.h61 __timepunct<_CharT>::__timepunct(__c_locale __cloc, const char* __s, argument
65 const size_t __len = std::strlen(__s) + 1;
67 std::memcpy(__tmp, __s, __len);
H A Dostream_insert.h47 const _CharT* __s, streamsize __n)
52 const streamsize __put = __out.rdbuf()->sputn(__s, __n);
79 const _CharT* __s, streamsize __n)
98 __ostream_write(__out, __s, __n);
103 __ostream_write(__out, __s, __n);
46 __ostream_write(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s, streamsize __n) argument
78 __ostream_insert(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s, streamsize __n) argument
H A Dstream_iterator.h66 istream_iterator(istream_type& __s) argument
67 : _M_stream(&__s)
169 ostream_iterator(ostream_type& __s) : _M_stream(&__s), _M_string(0) {} argument
181 ostream_iterator(ostream_type& __s, const _CharT* __c) argument
182 : _M_stream(&__s), _M_string(__c) { }
H A Dvalarray_array.h175 // copy-construct raw array [__o, *) from strided array __a[<__n : __s>]
179 size_t __s, _Tp* __restrict__ __o)
185 __a += __s;
191 __a += __s;
232 // fill strided array __a[<__n-1 : __s>] with __t
236 size_t __s, const _Tp& __t)
238 for (size_t __i = 0; __i < __n; ++__i, __a += __s)
282 // Copy strided array __a[<__n : __s>] in plain __b[<__n>]
285 __valarray_copy(const _Tp* __restrict__ __a, size_t __n, size_t __s, argument
288 for (size_t __i = 0; __i < __n; ++__i, ++__b, __a += __s)
178 __valarray_copy_construct(const _Tp* __restrict__ __a, size_t __n, size_t __s, _Tp* __restrict__ __o) argument
235 __valarray_fill(_Tp* __restrict__ __a, size_t __n, size_t __s, const _Tp& __t) argument
295 __valarray_copy(const _Tp* __restrict__ __a, _Tp* __restrict__ __b, size_t __n, size_t __s) argument
380 size_t __s = __a.size(); local
396 size_t __s = __a.size(); local
439 __valarray_copy_construct(_Array<_Tp> __a, size_t __n, size_t __s, _Array<_Tp> __b) argument
450 __valarray_fill(_Array<_Tp> __a, size_t __n, size_t __s, const _Tp& __t) argument
468 __valarray_copy(_Array<_Tp> __a, size_t __n, size_t __s, _Array<_Tp> __b) argument
474 __valarray_copy(_Array<_Tp> __a, _Array<_Tp> __b, size_t __n, size_t __s) argument
528 _Array(const _Tp* __restrict__ __b, size_t __s) argument
[all...]
/macosx-10.9.5/swig-10/Lib/std/
H A Dstd_char_traits.i40 length(const char_type* __s);
43 find(const char_type* __s, size_t __n, const char_type& __a);
52 assign(char_type* __s, size_t __n, char_type __a);
96 length(const char_type* __s);
99 find(const char_type* __s, size_t __n, const char_type& __a);
108 assign(char_type* __s, size_t __n, char_type __a);
H A Dstd_basic_string.i51 basic_string(const _CharT* __s, size_type __n);
73 append(const _CharT* __s, size_type __n);
85 assign(const _CharT* __s, size_type __n);
95 insert(size_type __pos, const _CharT* __s, size_type __n);
111 replace(size_type __pos, size_type __n1, const _CharT* __s,
119 copy(_CharT* __s, size_type __n, size_type __pos = 0) const;
125 find(const _CharT* __s, size_type __pos, size_type __n) const;
137 rfind(const _CharT* __s, size_type __pos, size_type __n) const;
146 find_first_of(const _CharT* __s, size_type __pos, size_type __n) const;
155 find_last_of(const _CharT* __s, size_typ
[all...]
H A Dstd_streambuf.i36 pubsetbuf(char_type* __s, streamsize __n);
64 sgetn(char_type* __s, streamsize __n);
78 sputn(const char_type* __s, streamsize __n);
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/tr1/
H A Dfunctional_hash.h143 operator()(const std::string& __s) const
144 { return _Fnv_hash<>::hash(__s.data(), __s.length()); }
153 operator()(const std::wstring& __s) const
155 return _Fnv_hash<>::hash(reinterpret_cast<const char*>(__s.data()),
156 __s.length() * sizeof(wchar_t));

Completed in 223 milliseconds

123