Home
last modified time | relevance | path

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

12345

/minix3/external/bsd/libc++/dist/libcxx/include/
H A 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 …]
H A Dregex1076 string_type __s(__f, __l);
1077 return __col_->transform(__s.data(), __s.data() + __s.size());
1106 const string_type __s(__f, __l);
1107 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size());
1128 const string_type __s(__f, __l);
1129 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size());
1146 _LIBCPP_FUNC_VIS string __get_collation_name(const char* __s);
1154 string_type __s(__f, __l);
1156 if (!__s.empty())
1158 __r = __get_collation_name(__s.c_str());
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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…
H A 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(__…
H A 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 …]
H A 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 …]
H A Dsstream211 explicit basic_stringbuf(const string_type& __s,
225 void str(const string_type& __s);
249 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(const string_type& __s,
254 str(__s);
453 basic_stringbuf<_CharT, _Traits, _Allocator>::str(const string_type& __s)
455 __str_ = __s;
640 explicit basic_istringstream(const string_type& __s,
653 void str(const string_type& __s);
666 basic_istringstream<_CharT, _Traits, _Allocator>::basic_istringstream(const string_type& __s,
669 __sb_(__s, __wch | ios_base::in)
[all …]
/minix3/external/bsd/libc++/dist/libcxx/src/
H A 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 …]
H A 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()
/minix3/external/bsd/tcpdump/dist/
H A Dcpack.h46 #define cpack_int8(__s, __p) cpack_uint8((__s), (uint8_t*)(__p)) argument
47 #define cpack_int16(__s, __p) cpack_uint16((__s), (uint16_t*)(__p)) argument
48 #define cpack_int32(__s, __p) cpack_uint32((__s), (uint32_t*)(__p)) argument
49 #define cpack_int64(__s, __p) cpack_uint64((__s), (uint64_t*)(__p)) argument
/minix3/external/bsd/libc++/dist/libcxx/test/support/
H A 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 …]
/minix3/external/bsd/libc++/dist/libcxx/include/experimental/
H A 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 …]
H A Dany284 _Storage __s;
319 ::new (static_cast<void*>(&__dest.__s.__buf)) _Tp(_VSTD::forward<_Up>(__v));
327 _Tp & __value = *static_cast<_Tp *>(static_cast<void*>(&__this.__s.__buf));
336 static_cast<void const *>(&__this.__s.__buf)));
343 *static_cast<_Tp*>(static_cast<void*>(&__this.__s.__buf))));
352 return static_cast<void*>(&__this.__s.__buf);
356 return static_cast<void*>(&__this.__s.__buf);
405 __dest.__s.__ptr = __hold.release();
414 delete static_cast<_Tp*>(__this.__s.__ptr);
421 _LargeHandler::__create(__dest, *static_cast<_Tp const *>(__this.__s.__ptr));
[all …]
/minix3/external/bsd/llvm/dist/clang/test/CodeGen/
H A 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()
H A Dmips-constraint-regs.c13 int __s, __v = 17; in main() local
18 : "c" (__s), "I" (__v)); in main()
/minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/
H A Dcxx0x-initializer-stdinitializerlist-pr12086.cpp19 constexpr initializer_list(const _E* __b, size_t __s) in initializer_list() argument
22 __end_(__b + __s) in initializer_list()
24 __size_(__s) in initializer_list()
/minix3/external/bsd/llvm/dist/clang/test/Index/
H A Dannotate-tokens-cxx0x.cpp37 initializer_list(const _E* __b, size_t __s) in initializer_list() argument
39 __size_(__s) in initializer_list()
/minix3/external/bsd/llvm/dist/clang/lib/Headers/
H A Davx512fintrin.h108 _mm512_set1_epi32(int __s) in _mm512_set1_epi32() argument
110 return (__m512i)(__v16si){ __s, __s, __s, __s, __s, __s, __s, __s, in _mm512_set1_epi32()
111 __s, __s, __s, __s, __s, __s, __s, __s }; in _mm512_set1_epi32()

12345