Home
last modified time | relevance | path

Searched refs:__s (Results 1 – 25 of 81) sorted by relevance

1234

/external/libcxx/include/
Dstdexcept102 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const string& __s) : logic_error(__s) {}
103 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const char* __s) : logic_error(__s) {}
112 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const string& __s) : logic_error(__s) {}
113 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const char* __s) : logic_error(__s) {}
122 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {}
123 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {}
132 _LIBCPP_INLINE_VISIBILITY explicit out_of_range(const string& __s) : logic_error(__s) {}
133 _LIBCPP_INLINE_VISIBILITY explicit out_of_range(const char* __s) : logic_error(__s) {}
142 _LIBCPP_INLINE_VISIBILITY explicit range_error(const string& __s) : runtime_error(__s) {}
143 _LIBCPP_INLINE_VISIBILITY explicit range_error(const char* __s) : runtime_error(__s) {}
[all …]
Dregex1082 string_type __s(__f, __l);
1083 return __col_->transform(__s.data(), __s.data() + __s.size());
1112 const string_type __s(__f, __l);
1113 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size());
1134 const string_type __s(__f, __l);
1135 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size());
1152 _LIBCPP_FUNC_VIS string __get_collation_name(const char* __s);
1160 string_type __s(__f, __l);
1162 if (!__s.empty())
1164 __r = __get_collation_name(__s.c_str());
[all …]
Dstring520 static size_t length(const char_type* __s);
521 static const char_type* find(const char_type* __s, size_t __n, const char_type& __a);
524 static char_type* assign(char_type* __s, size_t __n, char_type __a);
555 char_traits<_CharT>::length(const char_type* __s)
558 for (; !eq(*__s, char_type(0)); ++__s)
566 char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a)
570 if (eq(*__s, __a))
571 return __s;
572 ++__s;
612 char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a)
[all …]
Dostream212 basic_ostream& write(const char_type* __s, streamsize __n);
352 sentry __s(*this);
353 if (__s)
404 sentry __s(*this);
405 if (__s)
430 sentry __s(*this);
431 if (__s)
460 sentry __s(*this);
461 if (__s)
486 sentry __s(*this);
[all …]
Distream240 basic_istream& get(char_type* __s, streamsize __n);
241 basic_istream& get(char_type* __s, streamsize __n, char_type __dlm);
245 basic_istream& getline(char_type* __s, streamsize __n);
246 basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
250 basic_istream& read (char_type* __s, streamsize __n);
251 streamsize readsome(char_type* __s, streamsize __n);
358 sentry __s(*this);
359 if (__s)
385 sentry __s(*this);
386 if (__s)
[all …]
Dstrstream236 explicit istrstream(const char* __s)
237 : istream(&__sb_), __sb_(__s, 0) {}
239 explicit istrstream(char* __s)
240 : istream(&__sb_), __sb_(__s, 0) {}
242 istrstream(const char* __s, streamsize __n)
243 : istream(&__sb_), __sb_(__s, __n) {}
245 istrstream(char* __s, streamsize __n)
246 : istream(&__sb_), __sb_(__s, __n) {}
292 ostrstream(char* __s, int __n, ios_base::openmode __mode = ios_base::out)
294 __sb_(__s, __n, __s + (__mode & ios::app ? strlen(__s) : 0))
[all …]
Dstreambuf139 basic_streambuf* pubsetbuf(char_type* __s, streamsize __n);
152 streamsize sgetn(char_type* __s, streamsize __n);
160 streamsize sputn(const char_type* __s, streamsize __n);
187 virtual basic_streambuf* setbuf(char_type* __s, streamsize __n);
196 virtual streamsize xsgetn(char_type* __s, streamsize __n);
204 virtual streamsize xsputn(const char_type* __s, streamsize __n);
244 basic_streambuf<_CharT, _Traits>::pubsetbuf(char_type* __s, streamsize __n)
246 return setbuf(__s, __n);
319 basic_streambuf<_CharT, _Traits>::sgetn(char_type* __s, streamsize __n)
321 return xsgetn(__s, __n);
[all …]
Dfstream210 basic_filebuf* open(const char* __s, ios_base::openmode __mode);
211 basic_filebuf* open(const string& __s, ios_base::openmode __mode);
220 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* __s, streamsize __n);
471 basic_filebuf<_CharT, _Traits>::open(const char* __s, ios_base::openmode __mode)
528 __file_ = fopen(__s, __mdstr);
552 basic_filebuf<_CharT, _Traits>::open(const string& __s, ios_base::openmode __mode)
554 return open(__s.c_str(), __mode);
735 basic_filebuf<_CharT, _Traits>::setbuf(char_type* __s, streamsize __n)
746 if (__always_noconv_ && __s)
748 __extbuf_ = (char*)__s;
[all …]
Dset473 set(const set& __s)
474 : __tree_(__s.__tree_)
476 insert(__s.begin(), __s.end());
480 set& operator=(const set& __s)
482 __tree_ = __s.__tree_;
488 set(set&& __s)
490 : __tree_(_VSTD::move(__s.__tree_)) {}
498 set(const set& __s, const allocator_type& __a)
499 : __tree_(__s.__tree_.value_comp(), __a)
501 insert(__s.begin(), __s.end());
[all …]
Dcwchar174 …P_INLINE_VISIBILITY const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return ::wcschr(__s, _…
175 …P_INLINE_VISIBILITY wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return ::wcschr(__s, _…
180 …_INLINE_VISIBILITY const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) {return ::wcsrchr(__s, …
181 …_INLINE_VISIBILITY wchar_t* wcsrchr( wchar_t* __s, wchar_t __c) {return ::wcsrchr(__s, …
186 …E_VISIBILITY const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return ::wmemchr…
187 …E_VISIBILITY wchar_t* wmemchr( wchar_t* __s, wchar_t __c, size_t __n) {return ::wmemchr…
Dlocale292 size_t __wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l)
295 return wcrtomb_l(__s, __wc, __ps, __l);
298 return wcrtomb(__s, __wc, __ps);
315 size_t __mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n,
319 return mbrtowc_l(__pwc, __s, __n, __ps, __l);
322 return mbrtowc(__pwc, __s, __n, __ps);
338 size_t __mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l)
341 return mbrlen_l(__s, __n, __ps, __l);
344 return mbrlen(__s, __n, __ps);
372 int __snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) {
[all …]
Diomanip307 typename basic_istream<_CharT, _Traits>::sentry __s(__is);
308 if (__s)
367 typename basic_ostream<_CharT, _Traits>::sentry __s(__os);
368 if (__s)
426 typename basic_istream<_CharT, _Traits>::sentry __s(__is);
427 if (__s)
487 typename basic_ostream<_CharT, _Traits>::sentry __s(__os);
488 if (__s)
600 __quoted_proxy(basic_string<_CharT, _Traits, _Allocator> &__s, _CharT __d, _CharT __e)
601 : __string(__s), __delim(__d), __escape(__e) {}
[all …]
Dcstring98 inline _LIBCPP_INLINE_VISIBILITY char* strchr( char* __s, int __c) {return ::strchr(__s,…
100 … _LIBCPP_INLINE_VISIBILITY char* strrchr( char* __s, int __c) {return ::strrchr(__s, __…
101 …CPP_INLINE_VISIBILITY void* memchr( void* __s, int __c, size_t __n) {return ::memchr(__…
/external/libcxx/src/
Dregex.cpp279 __match_any_but_newline<char>::__exec(__state& __s) const in __exec()
281 if (__s.__current_ != __s.__last_) in __exec()
283 switch (*__s.__current_) in __exec()
287 __s.__do_ = __state::__reject; in __exec()
288 __s.__node_ = nullptr; in __exec()
291 __s.__do_ = __state::__accept_and_consume; in __exec()
292 ++__s.__current_; in __exec()
293 __s.__node_ = this->first(); in __exec()
299 __s.__do_ = __state::__reject; in __exec()
300 __s.__node_ = nullptr; in __exec()
[all …]
Dthread.cpp174 void __make_ready_at_thread_exit(__assoc_sub_state* __s);
200 __thread_struct_imp::__make_ready_at_thread_exit(__assoc_sub_state* __s) in __make_ready_at_thread_exit() argument
202 async_states_.push_back(__s); in __make_ready_at_thread_exit()
203 __s->__add_shared(); in __make_ready_at_thread_exit()
225 __thread_struct::__make_ready_at_thread_exit(__assoc_sub_state* __s) in __make_ready_at_thread_exit() argument
227 __p_->__make_ready_at_thread_exit(__s); in __make_ready_at_thread_exit()
/external/libcxx/include/experimental/
Dstring_view227 basic_string_view(const _CharT* __s, size_type __len)
228 : __data(__s), __size(__len)
230 // _LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, siz…
234 basic_string_view(const _CharT* __s)
235 : __data(__s), __size(_Traits::length(__s)) {}
351 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const
356 _VSTD::copy_n(begin() + __pos, __rlen, __s );
395 int compare(const _CharT* __s) const
397 return compare(basic_string_view(__s));
401 int compare(size_type __pos1, size_type __n1, const _CharT* __s) const
[all …]
/external/libcxx/test/support/
Dconstexpr_char_traits.hpp37 static _LIBCPP_CONSTEXPR_AFTER_CXX11 size_t length(const char_type* __s);
38 …static _LIBCPP_CONSTEXPR_AFTER_CXX11 const char_type* find(const char_type* __s, size_t __n, const…
41 …static _LIBCPP_CONSTEXPR_AFTER_CXX11 char_type* assign(char_type* __s, size_t __n, char_type…
76 constexpr_char_traits<_CharT>::length(const char_type* __s) in length() argument
79 for (; !eq(*__s, char_type(0)); ++__s) in length()
86 constexpr_char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a) in find() argument
90 if (eq(*__s, __a)) in find()
91 return __s; in find()
92 ++__s; in find()
130 constexpr_char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a) in assign() argument
[all …]
/external/tcpdump/
Dcpack.h49 #define cpack_int8(__s, __p) cpack_uint8((__s), (uint8_t*)(__p)) argument
50 #define cpack_int16(__s, __p) cpack_uint16((__s), (uint16_t*)(__p)) argument
51 #define cpack_int32(__s, __p) cpack_uint32((__s), (uint32_t*)(__p)) argument
52 #define cpack_int64(__s, __p) cpack_uint64((__s), (uint64_t*)(__p)) argument
/external/libcxx/src/support/solaris/
Dxlocale.c27 #define vsnprintf_l(__s, __n, __l, __format, __va) \ argument
28 vsnprintf(__s, __n, __format, __va)
30 int snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) in snprintf_l() argument
34 int __res = vsnprintf_l(__s, __n , __l, __format, __va); in snprintf_l()
39 int asprintf_l(char **__s, locale_t __l, const char *__format, ...) { in asprintf_l() argument
43 int __res = vasprintf(__s, __format, __va); in asprintf_l()
48 int sscanf_l(const char *__s, locale_t __l, const char *__format, ...) { in sscanf_l() argument
52 int __res = vsscanf(__s, __format, __va); in sscanf_l()
/external/bison/lib/
Dstring.in.h97 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n)
100 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n));
103 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n)
111 void *, (void const *__s, int __c, size_t __n),
112 void const *, (void const *__s, int __c, size_t __n));
116 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n));
118 (void const *__s, int __c, size_t __n));
219 _GL_FUNCDECL_SYS (rawmemchr, void *, (void const *__s, int __c_in)
227 void *, (void const *__s, int __c_in),
228 void const *, (void const *__s, int __c_in));
[all …]
/external/libcxx/include/support/win32/
Dlocale_win32.h103 #define sscanf_l( __s, __l, __f, ...) _sscanf_l( __s, __f, __l, __VA_ARGS__ ) argument
104 #define vsscanf_l( __s, __l, __f, ...) _sscanf_l( __s, __f, __l, __VA_ARGS__ ) argument
105 #define sprintf_l( __s, __l, __f, ... ) _sprintf_l( __s, __f, __l, __VA_ARGS__ ) argument
106 #define vsprintf_l( __s, __l, __f, ... ) _vsprintf_l( __s, __f, __l, __VA_ARGS__ ) argument
107 #define vsnprintf_l( __s, __n, __l, __f, ... ) _vsnprintf_l( __s, __n, __f, __l, __VA_ARGS__ ) argument
/external/bison/linux-lib/
Dstring.h409 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n)
412 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n));
415 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n)
423 void *, (void const *__s, int __c, size_t __n),
424 void const *, (void const *__s, int __c, size_t __n));
428 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n));
430 (void const *__s, int __c, size_t __n));
531 _GL_FUNCDECL_SYS (rawmemchr, void *, (void const *__s, int __c_in)
539 void *, (void const *__s, int __c_in),
540 void const *, (void const *__s, int __c_in));
[all …]
/external/bison/darwin-lib/
Dstring.h409 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n)
412 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n));
415 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n)
423 void *, (void const *__s, int __c, size_t __n),
424 void const *, (void const *__s, int __c, size_t __n));
428 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n));
430 (void const *__s, int __c, size_t __n));
531 _GL_FUNCDECL_SYS (rawmemchr, void *, (void const *__s, int __c_in)
539 void *, (void const *__s, int __c_in),
540 void const *, (void const *__s, int __c_in));
[all …]
/external/clang/test/CodeGen/
Dpr9614.c11 extern char *strrchr_foo (const char *__s, int __c) __asm ("strrchr");
12 …always_inline__)) __attribute__ ((__gnu_inline__)) char * strrchr_foo (const char *__s, int __c) { in strrchr_foo() argument
13 return __builtin_strrchr (__s, __c); in strrchr_foo()
21 extern inline __attribute__((__always_inline__, __gnu_inline__)) void *memchr(void *__s, int __c, _… in memchr() argument
22 return __builtin_memchr(__s, __c, __n); in memchr()
/external/blktrace/btt/
Ddip_rb.c29 __u64 __s, s = BIT_START(iop); in rb_insert() local
34 __s = BIT_START(__iop); in rb_insert()
36 if (s < __s) in rb_insert()
38 else if (s > __s) in rb_insert()

1234