Home
last modified time | relevance | path

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

123456789

/external/libcxx/include/
Dstring.h74 char* __libcpp_strchr(const char* __s, int __c) {return (char*)strchr(__s, __c);} in __libcpp_strchr() argument
76 const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);} in strchr() argument
78 char* strchr( char* __s, int __c) {return __libcpp_strchr(__s, __c);} in strchr() argument
88 char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);} in __libcpp_strrchr() argument
90 const char* strrchr(const char* __s, int __c) {return __libcpp_strrchr(__s, __c);} in strrchr() argument
92 char* strrchr( char* __s, int __c) {return __libcpp_strrchr(__s, __c);} in strrchr() argument
95 void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} in __libcpp_memchr() argument
97 const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() argument
99 void* memchr( void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() argument
Dstdexcept65 __libcpp_refstring(const __libcpp_refstring& __s) _NOEXCEPT;
66 __libcpp_refstring& operator=(const __libcpp_refstring& __s) _NOEXCEPT;
115 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const string& __s) : logic_error(__s) {}
116 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const char* __s) : logic_error(__s) {}
125 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const string& __s) : logic_error(__s) {}
126 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const char* __s) : logic_error(__s) {}
135 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {}
136 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {}
145 _LIBCPP_INLINE_VISIBILITY explicit out_of_range(const string& __s) : logic_error(__s) {}
146 _LIBCPP_INLINE_VISIBILITY explicit out_of_range(const char* __s) : logic_error(__s) {}
[all …]
Dwchar.h137 wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);} in __libcpp_wcschr() argument
139 const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} in wcschr() argument
141 wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} in wcschr() argument
151 wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);} in __libcpp_wcsrchr() argument
153 const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __c);} in wcsrchr() argument
155 wchar_t* wcsrchr( wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __c);} in wcsrchr() argument
165 wchar_t* __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__… in __libcpp_wmemchr() argument
167 const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, _… in wmemchr() argument
169 …wchar_t* wmemchr( wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, _… in wmemchr() argument
Dstring_view229 basic_string_view(const _CharT* __s, size_type __len) _NOEXCEPT
230 : __data(__s), __size(__len)
233 // _LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t)…
238 basic_string_view(const _CharT* __s)
239 : __data(__s), __size(_Traits::length(__s)) {}
335 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const
340 _Traits::copy(__s, data() + __pos, __rlen);
375 int compare(const _CharT* __s) const _NOEXCEPT
377 return compare(basic_string_view(__s));
381 int compare(size_type __pos1, size_type __n1, const _CharT* __s) const
[all …]
D__string94 size_t length(const char_type* __s);
96 const char_type* find(const char_type* __s, size_t __n, const char_type& __a);
101 static char_type* assign(char_type* __s, size_t __n, char_type __a);
132 char_traits<_CharT>::length(const char_type* __s)
135 for (; !eq(*__s, char_type(0)); ++__s)
143 char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a)
147 if (eq(*__s, __a))
148 return __s;
149 ++__s;
189 char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a)
[all …]
D__bsd_locale_fallbacks.h57 size_t __libcpp_wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l) in __libcpp_wcrtomb_l() argument
60 return wcrtomb(__s, __wc, __ps); in __libcpp_wcrtomb_l()
72 size_t __libcpp_mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n, in __libcpp_mbrtowc_l() argument
76 return mbrtowc(__pwc, __s, __n, __ps); in __libcpp_mbrtowc_l()
87 size_t __libcpp_mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l) in __libcpp_mbrlen_l() argument
90 return mbrlen(__s, __n, __ps); in __libcpp_mbrlen_l()
109 int __libcpp_snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) { in __libcpp_snprintf_l() argument
113 int __res = vsnprintf(__s, __n, __format, __va); in __libcpp_snprintf_l()
119 int __libcpp_asprintf_l(char **__s, locale_t __l, const char *__format, ...) { in __libcpp_asprintf_l() argument
123 int __res = vasprintf(__s, __format, __va); in __libcpp_asprintf_l()
[all …]
Dregex1104 string_type __s(__f, __l);
1105 return __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());
1156 const string_type __s(__f, __l);
1157 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size());
1174 _LIBCPP_FUNC_VIS string __get_collation_name(const char* __s);
1182 string_type __s(__f, __l);
1184 if (!__s.empty())
1186 __r = __get_collation_name(__s.c_str());
[all …]
Dostream224 basic_ostream& write(const char_type* __s, streamsize __n);
323 sentry __s(*this);
324 if (__s)
375 sentry __s(*this);
376 if (__s)
401 sentry __s(*this);
402 if (__s)
431 sentry __s(*this);
432 if (__s)
457 sentry __s(*this);
[all …]
/external/llvm-project/libcxx/include/
Dstring.h73 char* __libcpp_strchr(const char* __s, int __c) {return (char*)strchr(__s, __c);} in __libcpp_strchr() argument
75 const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);} in strchr() argument
77 char* strchr( char* __s, int __c) {return __libcpp_strchr(__s, __c);} in strchr() argument
87 char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);} in __libcpp_strrchr() argument
89 const char* strrchr(const char* __s, int __c) {return __libcpp_strrchr(__s, __c);} in strrchr() argument
91 char* strrchr( char* __s, int __c) {return __libcpp_strrchr(__s, __c);} in strrchr() argument
94 void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} in __libcpp_memchr() argument
96 const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() argument
98 void* memchr( void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() argument
Dwchar.h137 wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);} in __libcpp_wcschr() argument
139 const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} in wcschr() argument
141 wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} in wcschr() argument
151 wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);} in __libcpp_wcsrchr() argument
153 const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __c);} in wcsrchr() argument
155 wchar_t* wcsrchr( wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __c);} in wcsrchr() argument
165 wchar_t* __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__… in __libcpp_wmemchr() argument
167 const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, _… in wmemchr() argument
169 …wchar_t* wmemchr( wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, _… in wmemchr() argument
Dstdexcept63 __libcpp_refstring(const __libcpp_refstring& __s) _NOEXCEPT;
64 __libcpp_refstring& operator=(const __libcpp_refstring& __s) _NOEXCEPT;
95 _LIBCPP_INLINE_VISIBILITY explicit logic_error(const char* __s) : exception(__s) {}
118 _LIBCPP_INLINE_VISIBILITY explicit runtime_error(const char* __s) : exception(__s) {}
126 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const string& __s) : logic_error(__s) {}
127 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const char* __s) : logic_error(__s) {}
139 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const string& __s) : logic_error(__s) {}
140 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const char* __s) : logic_error(__s) {}
152 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {}
153 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {}
[all …]
Dstring_view229 basic_string_view(const _CharT* __s, size_type __len) _NOEXCEPT
230 : __data(__s), __size(__len)
233 …_LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received…
238 basic_string_view(const _CharT* __s)
239 : __data(__s), __size(_VSTD::__char_traits_length_checked<_Traits>(__s)) {}
337 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const
342 _Traits::copy(__s, data() + __pos, __rlen);
377 int compare(const _CharT* __s) const _NOEXCEPT
379 return compare(basic_string_view(__s));
383 int compare(size_type __pos1, size_type __n1, const _CharT* __s) const
[all …]
Dregex1120 string_type __s(__f, __l);
1121 return __col_->transform(__s.data(), __s.data() + __s.size());
1150 const string_type __s(__f, __l);
1151 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size());
1172 const string_type __s(__f, __l);
1173 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size());
1190 _LIBCPP_FUNC_VIS string __get_collation_name(const char* __s);
1198 string_type __s(__f, __l);
1200 if (!__s.empty())
1202 __r = __get_collation_name(__s.c_str());
[all …]
D__bsd_locale_fallbacks.h56 size_t __libcpp_wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l) in __libcpp_wcrtomb_l() argument
59 return wcrtomb(__s, __wc, __ps); in __libcpp_wcrtomb_l()
71 size_t __libcpp_mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n, in __libcpp_mbrtowc_l() argument
75 return mbrtowc(__pwc, __s, __n, __ps); in __libcpp_mbrtowc_l()
86 size_t __libcpp_mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l) in __libcpp_mbrlen_l() argument
89 return mbrlen(__s, __n, __ps); in __libcpp_mbrlen_l()
108 int __libcpp_snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) { in __libcpp_snprintf_l() argument
112 int __res = vsnprintf(__s, __n, __format, __va); in __libcpp_snprintf_l()
118 int __libcpp_asprintf_l(char **__s, locale_t __l, const char *__format, ...) { in __libcpp_asprintf_l() argument
122 int __res = vasprintf(__s, __format, __va); in __libcpp_asprintf_l()
[all …]
D__string211 size_t length(const char_type* __s);
213 const char_type* find(const char_type* __s, size_t __n, const char_type& __a);
221 char_type* assign(char_type* __s, size_t __n, char_type __a);
252 char_traits<_CharT>::length(const char_type* __s)
255 for (; !eq(*__s, char_type(0)); ++__s)
263 char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a)
267 if (eq(*__s, __a))
268 return __s;
269 ++__s;
310 char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a)
[all …]
Dostream227 basic_ostream& write(const char_type* __s, streamsize __n);
326 sentry __s(*this);
327 if (__s)
378 sentry __s(*this);
379 if (__s)
404 sentry __s(*this);
405 if (__s)
434 sentry __s(*this);
435 if (__s)
460 sentry __s(*this);
[all …]
/external/libcxx/src/
Dregex.cpp261 __match_any_but_newline<char>::__exec(__state& __s) const in __exec()
263 if (__s.__current_ != __s.__last_) in __exec()
265 switch (*__s.__current_) in __exec()
269 __s.__do_ = __state::__reject; in __exec()
270 __s.__node_ = nullptr; in __exec()
273 __s.__do_ = __state::__accept_and_consume; in __exec()
274 ++__s.__current_; in __exec()
275 __s.__node_ = this->first(); in __exec()
281 __s.__do_ = __state::__reject; in __exec()
282 __s.__node_ = nullptr; in __exec()
[all …]
/external/llvm-project/libcxx/src/
Dregex.cpp262 __match_any_but_newline<char>::__exec(__state& __s) const in __exec()
264 if (__s.__current_ != __s.__last_) in __exec()
266 switch (*__s.__current_) in __exec()
270 __s.__do_ = __state::__reject; in __exec()
271 __s.__node_ = nullptr; in __exec()
274 __s.__do_ = __state::__accept_and_consume; in __exec()
275 ++__s.__current_; in __exec()
276 __s.__node_ = this->first(); in __exec()
282 __s.__do_ = __state::__reject; in __exec()
283 __s.__node_ = nullptr; in __exec()
[all …]
/external/libcxx/test/support/
Dconstexpr_char_traits.hpp38 static TEST_CONSTEXPR_CXX14 size_t length(const char_type* __s);
39 …static TEST_CONSTEXPR_CXX14 const char_type* find(const char_type* __s, size_t __n, const char_typ…
42 static TEST_CONSTEXPR_CXX14 char_type* assign(char_type* __s, size_t __n, char_type __a);
77 constexpr_char_traits<_CharT>::length(const char_type* __s) in length() argument
80 for (; !eq(*__s, char_type(0)); ++__s) in length()
87 constexpr_char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a) in find() argument
91 if (eq(*__s, __a)) in find()
92 return __s; in find()
93 ++__s; in find()
131 constexpr_char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a) in assign() argument
[all …]
/external/llvm-project/libcxx/test/support/
Dconstexpr_char_traits.h37 static TEST_CONSTEXPR_CXX14 size_t length(const char_type* __s);
38 …static TEST_CONSTEXPR_CXX14 const char_type* find(const char_type* __s, size_t __n, const char_typ…
41 static TEST_CONSTEXPR_CXX14 char_type* assign(char_type* __s, size_t __n, char_type __a);
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/llvm-project/libcxx/src/support/solaris/
Dxlocale.cpp27 #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/libcxx/src/support/solaris/
Dxlocale.cpp28 #define vsnprintf_l(__s, __n, __l, __format, __va) \ argument
29 vsnprintf(__s, __n, __format, __va)
31 int snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) in snprintf_l() argument
35 int __res = vsnprintf_l(__s, __n , __l, __format, __va); in snprintf_l()
40 int asprintf_l(char **__s, locale_t __l, const char *__format, ...) { in asprintf_l() argument
44 int __res = vasprintf(__s, __format, __va); in asprintf_l()
49 int sscanf_l(const char *__s, locale_t __l, const char *__format, ...) { in sscanf_l() argument
53 int __res = vsscanf(__s, __format, __va); in sscanf_l()
/external/llvm-project/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/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()

123456789