Searched defs:__s (Results 1 - 25 of 43) sorted by relevance

12

/external/stlport/stlport/stl/
H A D_string_hash.h34 __stl_string_hash(const basic_string<_CharT,_Traits,_Alloc>& __s) { argument
36 size_t __len = __s.size();
37 const _CharT* __data = __s.data();
47 size_t operator()(const basic_string<_CharT,_Traits,_Alloc>& __s) const
48 { return __stl_string_hash(__s); }
55 size_t operator()(const string& __s) const
56 { return __stl_string_hash(__s); }
62 size_t operator()(const wstring& __s) const
63 { return __stl_string_hash(__s); }
H A D_string_io.h36 const basic_string<_CharT,_Traits,_Alloc>& __s);
53 basic_string<_CharT,_Traits,_Alloc>& __s);
58 basic_string<_CharT,_Traits,_Alloc>& __s,
66 basic_string<_CharT,_Traits,_Alloc>& __s) {
67 return getline(__is, __s, __is.widen('\n'));
65 getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT,_Traits,_Alloc>& __s) argument
H A D_hash_fun.h44 inline size_t __stl_hash_string(const char* __s) { argument
45 _STLP_FIX_LITERAL_BUG(__s)
47 for ( ; *__s; ++__s)
48 __h = 5*__h + *__s;
57 size_t operator()(const char* __s) const {
58 _STLP_FIX_LITERAL_BUG(__s)
59 return _STLP_PRIV __stl_hash_string(__s);
65 size_t operator()(const char* __s) const {
66 _STLP_FIX_LITERAL_BUG(__s)
[all...]
H A D_num_put.h60 iter_type put(iter_type __s, ios_base& __f, char_type __fill, argument
62 return do_put(__s, __f, __fill, __val);
65 iter_type put(iter_type __s, ios_base& __f, char_type __fill, argument
67 return do_put(__s, __f, __fill, __val);
70 iter_type put(iter_type __s, ios_base& __f, char_type __fill, argument
72 return do_put(__s, __f, __fill, __val);
76 iter_type put(iter_type __s, ios_base& __f, char_type __fill, argument
78 return do_put(__s, __f, __fill, __val);
81 iter_type put(iter_type __s, ios_base& __f, char_type __fill, argument
83 return do_put(__s, __
87 put(iter_type __s, ios_base& __f, char_type __fill, double __val) const argument
93 put(iter_type __s, ios_base& __f, char_type __fill, long double __val) const argument
99 put(iter_type __s, ios_base& __f, char_type __fill, const void * __val) const argument
[all...]
H A D_stdexcept.h35 logic_error(const string& __s) : __Named_exception(__s) {} argument
43 runtime_error(const string& __s) : __Named_exception(__s) {} argument
H A D_string_operators.h29 operator+(const basic_string<_CharT,_Traits,_Alloc>& __s, argument
35 _Str __result = _Str(_Reserve_t(), __s.size() + __y.size(), __s.get_allocator());
37 _Str __result(_Reserve_t(), __s.size() + __y.size(), __s.get_allocator());
39 __result.append(__s);
46 operator+(const _CharT* __s, argument
48 _STLP_FIX_LITERAL_BUG(__s)
51 const size_t __n = _Traits::length(__s);
57 __result.append(__s, __
80 operator +(const basic_string<_CharT,_Traits,_Alloc>& __x, const _CharT* __s) argument
311 operator ==(const _CharT* __s, const basic_string<_CharT,_Traits,_Alloc>& __y) argument
320 operator ==(const basic_string<_CharT,_Traits,_Alloc>& __x, const _CharT* __s) argument
330 operator ==(const _CharT* __s, const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __y) argument
339 operator ==(const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __x, const _CharT* __s) argument
377 operator <(const _CharT* __s, const basic_string<_CharT,_Traits,_Alloc>& __y) argument
387 operator <(const basic_string<_CharT,_Traits,_Alloc>& __x, const _CharT* __s) argument
398 operator <(const _CharT* __s, const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __y) argument
408 operator <(const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __x, const _CharT* __s) argument
465 operator !=(const _CharT* __s, const basic_string<_CharT,_Traits,_Alloc>& __y) argument
473 operator !=(const basic_string<_CharT,_Traits,_Alloc>& __x, const _CharT* __s) argument
482 operator !=(const _CharT* __s, const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __y) argument
490 operator !=(const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __x, const _CharT* __s) argument
499 operator >(const _CharT* __s, const basic_string<_CharT,_Traits,_Alloc>& __y) argument
507 operator >(const basic_string<_CharT,_Traits,_Alloc>& __x, const _CharT* __s) argument
516 operator >(const _CharT* __s, const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __y) argument
524 operator >(const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __x, const _CharT* __s) argument
533 operator <=(const _CharT* __s, const basic_string<_CharT,_Traits,_Alloc>& __y) argument
541 operator <=(const basic_string<_CharT,_Traits,_Alloc>& __x, const _CharT* __s) argument
550 operator <=(const _CharT* __s, const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __y) argument
558 operator <=(const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __x, const _CharT* __s) argument
567 operator >=(const _CharT* __s, const basic_string<_CharT,_Traits,_Alloc>& __y) argument
575 operator >=(const basic_string<_CharT,_Traits,_Alloc>& __x, const _CharT* __s) argument
584 operator >=(const _CharT* __s, const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __y) argument
592 operator >=(const _STLP_PRIV __bstr_sum<_CharT,_Traits,_Alloc,_Lhs,_Rhs,_StoreDir>& __x, const _CharT* __s) argument
[all...]
H A D_iostream_string.h111 _Self& operator=(const _CharT* __s) { argument
112 _Base::operator=(__s);
H A D_sstream.h70 explicit basic_stringbuf(const _String& __s, ios_base::openmode __mode
76 void str(const _String& __s);
86 virtual streamsize xsputn(const char_type* __s, streamsize __n);
142 void str(const _String& __s) { _M_buf.str(__s); } argument
185 void str(const _String& __s) { _M_buf.str(__s); } // dwa 02/07/00 - BUG STOMPER DAVE argument
231 void str(const _String& __s) { _M_buf.str(__s); } argument
H A D_stack.h75 explicit stack(const _Sequence& __s) : c(__s) {} argument
H A D_string_sum_methods.h24 basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s) argument
25 : _STLP_STRING_SUM_BASE(_Reserve_t(), __s.size(), __s.get_allocator())
26 { _M_append_sum(__s); }
29 basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, argument
32 : _STLP_STRING_SUM_BASE(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : 0, __a) {
33 size_type __size = __s.size();
37 _M_append_sum_pos(__s, __pos, (min) (__n, __size - __pos));
45 _CharT* _M_append_fast(_CharT const* __s, size_typ argument
47 _M_append_fast(_STLP_PRIV __cstr_wrapper<_CharT> const& __s, _CharT *__buf) argument
49 _M_append_fast(_STLP_PRIV __bstr_wrapper<_CharT, _Traits, _Alloc> __s, _CharT *__buf) argument
51 _M_append_fast(_Self const& __s, _CharT *__buf) argument
56 _M_append_fast(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, _CharT *__buf) argument
65 _M_append_fast_pos(_CharT const* __s, size_type __s_size, _CharT *__buf, size_type __pos, size_type __n) argument
68 _M_append_fast_pos(_STLP_PRIV __cstr_wrapper<_CharT> const& __s, _CharT *__buf, size_type __pos, size_type __n) argument
71 _M_append_fast_pos(_STLP_PRIV __bstr_wrapper<_CharT, _Traits, _Alloc> __s, _CharT *__buf, size_type __pos, size_type __n) argument
74 _M_append_fast_pos(_Self const& __s, _CharT *__buf, size_type __pos, size_type __n) argument
82 _M_append_fast_pos(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, _CharT *__buf, size_type __pos, size_type __n) argument
101 _M_append_sum(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s) argument
124 _M_append_sum_pos(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, size_type __pos, size_type __n) argument
148 _M_append_sum_no_overflow(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, size_type __pos, size_type __n) argument
[all...]
H A D_queue.h172 priority_queue(const _Compare& __x, const _Sequence& __s) argument
173 : c(__s), comp(__x)
195 const _Compare& __x, const _Sequence& __s)
196 : c(__s), comp(__x)
194 priority_queue(_InputIterator __first, _InputIterator __last, const _Compare& __x, const _Sequence& __s) argument
H A D_stream_iterator.h109 istream_iterator(istream_type& __s) : _M_stream(&__s), _M_ok(false), _M_read_done(false) {} argument
177 ostream_iterator(ostream_type& __s) : _M_stream(&__s), _M_string(0) {} argument
178 ostream_iterator(ostream_type& __s, const _CharT* __c) argument
179 : _M_stream(&__s), _M_string(__c) {}
H A D_streambuf.c54 basic_streambuf<_CharT, _Traits>::xsgetn(_CharT* __s, streamsize __n) { argument
62 _Traits::copy(__s, _M_gnext, __chunk);
64 __s += __chunk;
70 *__s = _Traits::to_char_type(__c);
72 ++__s;
84 basic_streambuf<_CharT, _Traits>::xsputn(const _CharT* __s, streamsize __n) argument
93 _Traits::copy(_M_pnext, __s, __chunk);
95 __s += __chunk;
99 else if (!_Traits::eq_int_type(this->overflow(_Traits::to_int_type(*__s)),
102 ++__s;
[all...]
H A D_string_base.h168 void _M_swap(_Self &__s) { argument
171 if (__s._M_using_static_buf()) {
172 _STLP_STD::swap(_M_buffers, __s._M_buffers);
174 _M_finish = _M_start_of_storage._M_data + (__s._M_finish - __s._M_start_of_storage._M_data);
175 __s._M_finish = __s._M_buffers._M_static_buf + (__tmp - _M_start_of_storage._M_data);
177 _M_start_of_storage.swap(__s._M_start_of_storage);
179 __s._M_start_of_storage._M_data = __s
[all...]
H A D_string_io.c31 const basic_string<_CharT,_Traits,_Alloc>& __s) {
43 size_type __n = __s.size();
55 __ok = __ok && (__buf->sputn(__s.data(), streamsize(__n)) == streamsize(__n));
70 basic_string<_CharT,_Traits, _Alloc>& __s) {
85 __s.clear();
89 __n = __s.max_size();
95 (__width > __STATIC_CAST(streamsize, __s.max_size())))
99 __s.reserve(__n);
117 __s.push_back(__c);
122 if (__s
30 operator(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT,_Traits,_Alloc>& __s) argument
69 operator(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT,_Traits, _Alloc>& __s) argument
133 getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT,_Traits,_Alloc>& __s, _CharT __delim) argument
[all...]
H A D_istream.h133 _Self& get(char_type* __s, streamsize __n, char_type __delim);
134 _Self& get(char_type* __s, streamsize __n) argument
135 { return get(__s, __n, this->widen('\n')); }
144 _Self& getline(char_type* __s, streamsize __n, char_type delim);
145 _Self& getline(char_type* __s, streamsize __n) argument
146 { return getline(__s, __n, this->widen('\n')); }
153 _Self& read(char_type* __s, streamsize __n);
154 streamsize readsome(char_type* __s, streamsize __n);
169 void _M_formatted_get(_CharT* __s);
259 operator>>(basic_istream<_CharT, _Traits>& __in_str, _CharT* __s) { argument
266 operator >>(basic_istream<char, _Traits>& __in_str, unsigned char* __s) argument
273 operator >>(basic_istream<char, _Traits>& __in_str, signed char* __s) argument
[all...]
H A D_monetary.h61 iter_type get(iter_type __s, iter_type __end, bool __intl, argument
64 { return do_get(__s, __end, __intl, __str, __err, __units); }
65 iter_type get(iter_type __s, iter_type __end, bool __intl, argument
68 { return do_get(__s, __end, __intl, __str, __err, __digits); }
74 virtual iter_type do_get(iter_type __s, iter_type __end, bool __intl,
77 virtual iter_type do_get(iter_type __s, iter_type __end, bool __intl,
395 iter_type put(iter_type __s, bool __intl, ios_base& __str, argument
397 { return do_put(__s, __intl, __str, __fill, __units); }
398 iter_type put(iter_type __s, bool __intl, ios_base& __str, argument
401 { return do_put(__s, __int
[all...]
H A D_num_put.c115 __do_put_float(_OutputIter __s, ios_base& __f, argument
122 return __put_float(__buf, __s, __f, __fill,
192 __put_integer(char* __buf, char* __iend, _OutputIter __s, argument
224 return __copy_integer_and_fill((wchar_t*)__wbuf, __len, __s,
232 __put_integer(char* __buf, char* __iend, _OutputIter __s, argument
260 return __copy_integer_and_fill(__buf, __len, __s, __flags, __f.width(0), __fill, '+', '-');
372 __do_put_integer(_OutputIter __s, ios_base& __f, _CharT __fill, _Integer __x) { argument
381 return __put_integer(__ibeg, (char*)__buf + __buf_size, __s, __f, __flags, __fill);
386 __do_put_bool(_OutputIter __s, ios_base& __f, _CharT __fill, bool __x) { argument
393 return _STLP_STD::copy(__str.begin(), __str.end(), __s);
420 do_put(_OutputIter __s, ios_base& __f, _CharT __fill, bool __val) const argument
432 do_put(_OutputIter __s, ios_base& __f, _CharT __fill, long __val) const argument
438 do_put(_OutputIter __s, ios_base& __f, _CharT __fill, unsigned long __val) const argument
444 do_put(_OutputIter __s, ios_base& __f, _CharT __fill, double __val) const argument
451 do_put(_OutputIter __s, ios_base& __f, _CharT __fill, long double __val) const argument
459 do_put(_OutputIter __s, ios_base& __f, _CharT __fill, _STLP_LONG_LONG __val) const argument
465 do_put(_OutputIter __s, ios_base& __f, _CharT __fill, unsigned _STLP_LONG_LONG __val) const argument
475 do_put(_OutputIter __s, ios_base& __f, _CharT , const void* __val) const argument
[all...]
H A D_ostream.c331 void basic_ostream<_CharT, _Traits>::_M_put_nowiden(const _CharT* __s) { argument
335 streamsize __n = _Traits::length(__s);
340 __failed = this->rdbuf()->sputn(__s, __n) != __n;
342 __failed = this->rdbuf()->sputn(__s, __n) != __n;
348 __failed = __failed || this->rdbuf()->sputn(__s, __n) != __n;
363 void basic_ostream<_CharT, _Traits>::_M_put_widen(const char* __s) { argument
367 streamsize __n = char_traits<char>::length(__s);
372 __failed = !this->_M_put_widen_aux(__s, __n);
374 __failed = !this->_M_put_widen_aux(__s, __n);
380 __failed = __failed || !this->_M_put_widen_aux(__s, __
395 _M_put_widen_aux(const char* __s, streamsize __n) argument
430 write(const char_type* __s, streamsize __n) argument
[all...]
H A D_ostream.h91 void _M_put_nowiden(const _CharT* __s);
92 void _M_put_widen(const char* __s);
93 bool _M_put_widen_aux(const char* __s, streamsize __n);
97 _Self& write(const char_type* __s, streamsize __n);
195 sentry(const _Self& __s) : _M_str(__s._M_str) {} argument
248 operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __s) { argument
249 __os._M_put_nowiden(__s);
275 operator<<(basic_ostream<char, char_traits<char> >& __os, const char* __s) { argument
276 __os._M_put_nowiden(__s);
281 operator <<(basic_ostream<char, char_traits<char> >& __os, const signed char* __s) argument
287 operator <<(basic_ostream<char, char_traits<char> >& __os, const unsigned char* __s) argument
325 operator <<(basic_ostream<_CharT, _Traits>& __os, const char* __s) argument
332 operator <<(basic_ostream<char, _Traits>& __os, const char* __s) argument
339 operator <<(basic_ostream<char, _Traits>& __os, const signed char* __s) argument
346 operator <<(basic_ostream<char, _Traits>& __os, const unsigned char* __s) argument
[all...]
H A D_sstream.c51 ::basic_stringbuf(const basic_string<_CharT, _Traits, _Alloc>& __s, ios_base::openmode __mode) argument
52 : basic_streambuf<_CharT, _Traits>(), _M_mode(__mode), _M_str(__s)
64 basic_stringbuf<_CharT, _Traits, _Alloc>::str(const basic_string<_CharT, _Traits, _Alloc>& __s) argument
66 _M_str = __s;
170 basic_stringbuf<_CharT, _Traits, _Alloc>::xsputn(const char_type* __s, argument
180 _Traits::copy(this->pptr(), __s, __STATIC_CAST(size_t, __n));
184 _Traits::copy(this->pptr(), __s, __avail);
187 __s += __avail;
195 _M_str.append(__s, __s
[all...]
/external/stlport/stlport/
H A Diostream.h58 istream_withassign& operator=(istream& __s) { argument
59 ios::init(__s.rdbuf());
62 istream_withassign& operator=(streambuf* __s) { argument
63 ios::init(__s);
73 ostream_withassign& operator=(ostream& __s) { argument
74 ios::init(__s.rdbuf());
77 ostream_withassign& operator=(streambuf* __s) { argument
78 ios::init(__s);
91 iostream_withassign & operator=(streambuf* __s) { argument
92 ios::init(__s);
[all...]
/external/blktrace/btt/
H A Ddip_rb.c29 __u64 __s, s = BIT_START(iop); local
34 __s = BIT_START(__iop);
36 if (s < __s)
38 else if (s > __s)
/external/stlport/stlport/stl/debug/
H A D_string_sum_methods.h23 basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s) argument
24 : _M_non_dbg_impl(_Reserve_t(), __s.size(), __s.get_allocator()),
26 { _M_append_sum(__s, _M_non_dbg_impl); }
29 basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, argument
32 : _M_non_dbg_impl(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : 0, __a),
34 size_type __size = __s.size();
39 _M_append_sum_pos(__s, __pos, (min) (__n, __size - __pos), _M_non_dbg_impl);
45 _Base& _M_append_fast(_CharT const* __s, size_typ argument
47 _M_append_fast(_STLP_PRIV __cstr_wrapper<_CharT> const& __s, _Base &__str) argument
49 _M_append_fast(_STLP_PRIV __bstr_wrapper<_CharT, _Traits, _Alloc> __s, _Base &__str) argument
51 _M_append_fast(_Self const& __s, _Base &__str) argument
56 _M_append_fast(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, _Base &__str) argument
64 _M_append_fast_pos(_CharT const* __s, size_type __s_size, _Base &__str, size_type __pos, size_type __n) argument
67 _M_append_fast_pos(_STLP_PRIV __cstr_wrapper<_CharT> const& __s, _Base &__str, size_type __pos, size_type __n) argument
70 _M_append_fast_pos(_STLP_PRIV __bstr_wrapper<_CharT, _Traits, _Alloc> __s, _Base &__str, size_type __pos, size_type __n) argument
73 _M_append_fast_pos(_Self const& __s, _Base &__str, size_type __pos, size_type __n) argument
80 _M_append_fast_pos(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, _Base &__str, size_type __pos, size_type __n) argument
99 _M_append_sum(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, _Base &__impl) argument
106 _M_append_sum_pos(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, size_type __pos, size_type __n, _Base &__impl) argument
[all...]
/external/clang/test/SemaCXX/
H A Dgeneralized-initializers.cpp19 initializer_list(const _E* __b, size_t __s) argument
21 __size_(__s)

Completed in 2391 milliseconds

12