Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/libcxx/include/
H A 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
H A Dwchar.h141 wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);} in __libcpp_wcschr() argument
143 const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} in wcschr() argument
145 wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} in wcschr() argument
155 wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);} in __libcpp_wcsrchr() argument
157 const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __c);} in wcsrchr() argument
159 wchar_t* wcsrchr( wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __c);} in wcsrchr() argument
169 wchar_t* __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__… in __libcpp_wmemchr() argument
171 const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, _… in wmemchr() argument
173 …wchar_t* wmemchr( wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, _… in wmemchr() argument
H A Dstdexcept96 _LIBCPP_INLINE_VISIBILITY explicit logic_error(const char* __s) : exception(__s) {}
119 _LIBCPP_INLINE_VISIBILITY explicit runtime_error(const char* __s) : exception(__s) {}
127 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const string& __s) : logic_error(__s) {}
128 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const char* __s) : logic_error(__s) {}
140 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const string& __s) : logic_error(__s) {}
153 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {}
154 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {}
165 _LIBCPP_INLINE_VISIBILITY explicit out_of_range(const string& __s) : logic_error(__s) {}
166 _LIBCPP_INLINE_VISIBILITY explicit out_of_range(const char* __s) : logic_error(__s) {}
178 _LIBCPP_INLINE_VISIBILITY explicit range_error(const string& __s) : runtime_error(__s) {}
[all …]
H A Dstring_view505 (data(), size(), __s.data(), __pos, __s.size());
528 (data(), size(), __s, __pos, traits_type::length(__s));
537 (data(), size(), __s.data(), __pos, __s.size());
560 (data(), size(), __s, __pos, traits_type::length(__s));
569 (data(), size(), __s.data(), __pos, __s.size());
589 (data(), size(), __s, __pos, traits_type::length(__s));
598 (data(), size(), __s.data(), __pos, __s.size());
627 (data(), size(), __s.data(), __pos, __s.size());
659 (data(), size(), __s.data(), __pos, __s.size());
688 { return size() >= __s.size() && compare(0, __s.size(), __s) == 0; }
[all …]
H A Dregex1151 return __col_->transform(__s.data(), __s.data() + __s.size());
1237 __r = __col_->transform(__s.data(), __s.data() + __s.size());
1272 __r = __col_->transform(__s.data(), __s.data() + __s.size());
1296 __ct_->tolower(&__s[0], &__s[0] + __s.size());
1309 __ct_->tolower(&__s[0], &__s[0] + __s.size());
2012 if (__s.__first_ != __s.__last_)
2087 if (__s.__at_first_ && __s.__current_ == __s.__first_ &&
2171 if (__s.__current_ != __s.__last_ && *__s.__current_ != 0)
2233 if (__s.__current_ != __s.__last_ && *__s.__current_ == __c_)
3164 __s.__current_, __s.__last_,
[all …]
H A 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()
116 int __res = vsnprintf(__s, __n, __format, __va); in __libcpp_snprintf_l()
122 int __libcpp_asprintf_l(char **__s, locale_t __l, const char *__format, ...) { in __libcpp_asprintf_l() argument
126 int __res = vasprintf(__s, __format, __va); in __libcpp_asprintf_l()
132 int __libcpp_sscanf_l(const char *__s, locale_t __l, const char *__format, ...) { in __libcpp_sscanf_l() argument
[all …]
H A Dostream361 if (__s)
413 if (__s)
439 if (__s)
469 if (__s)
495 if (__s)
525 if (__s)
551 if (__s)
577 if (__s)
603 if (__s)
629 if (__s)
[all …]
H A Dfstream571 __file_ = fopen(__s, __mdstr);
675 __file_ = _wfopen(__s, __mdstr);
702 return open(__s.c_str(), __mode);
894 if (__always_noconv_ && __s)
896 __extbuf_ = (char*)__s;
916 __intbuf_ = __s;
1619 if (__sb_.open(__s, __mode) == nullptr)
1629 if (__sb_.open(__s, __mode) == nullptr)
1699 if (__sb_.open(__s, __mode))
1710 if (__sb_.open(__s, __mode))
[all …]
/llvm-project-15.0.7/libcxx/src/
H A Dregex.cpp384 if (__s.__current_ != __s.__last_) in __exec()
386 switch (*__s.__current_) in __exec()
391 __s.__node_ = nullptr; in __exec()
395 ++__s.__current_; in __exec()
402 __s.__do_ = __state::__reject; in __exec()
403 __s.__node_ = nullptr; in __exec()
411 if (__s.__current_ != __s.__last_) in __exec()
413 switch (*__s.__current_) in __exec()
420 __s.__node_ = nullptr; in __exec()
424 ++__s.__current_; in __exec()
[all …]
/llvm-project-15.0.7/libcxx/include/__string/
H A Dchar_traits.h102 for (; !eq(*__s, char_type(0)); ++__s) in length()
116 ++__s; in find()
292 ++__s;
388 for (; !eq(*__s, char_type(0)); ++__s)
409 ++__s;
480 for (; !eq(*__s, char_type(0)); ++__s)
512 ++__s;
592 for (; !eq(*__s, char_type(0)); ++__s)
605 ++__s;
681 for (; !eq(*__s, char_type(0)); ++__s)
[all …]
/llvm-project-15.0.7/libcxx/include/__functional/
H A Dhash.h204 __a = __loadword<_Size>(__s + 16) + __loadword<_Size>(__s + __len - 32);
257 __s += 64;
317 } __s;
339 } __s;
362 } __s;
591 } __s;
593 __u.__s.__a = 0;
594 __u.__s.__b = 0;
598 return __u.__s.__a ^ __u.__s.__b ^ __u.__s.__c ^ __u.__s.__d;
608 } __s;
[all …]
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Dpath.h111 return __s.data() + __s.length();
116 return __s.empty() ? _ECharT{} : __s[0];
133 return __s.data() + __s.length();
138 return __s.empty() ? _ECharT{} : __s[0];
740 void __reserve(size_t __s) { __pn_.reserve(__s); }
759 return __s;
772 return __s;
783 return __s;
804 _VSTD::replace(__s.begin(), __s.end(),
806 return __s;
[all …]
H A Doperations.h97 inline _LIBCPP_HIDE_FROM_ABI bool status_known(file_status __s) noexcept { return __s.type() != fil… in status_known() argument
98 inline _LIBCPP_HIDE_FROM_ABI bool exists(file_status __s) noexcept { return status_known(__s) && __… in exists() argument
102 auto __s = __status(__p, &__ec); in exists() local
103 if (status_known(__s)) in exists()
105 return exists(__s); in exists()
112 inline _LIBCPP_HIDE_FROM_ABI bool is_block_file(file_status __s) noexcept { return __s.type() == fi… in is_block_file() argument
118 inline _LIBCPP_HIDE_FROM_ABI bool is_directory(file_status __s) noexcept { return __s.type() == fil… in is_directory() argument
124 inline _LIBCPP_HIDE_FROM_ABI bool is_fifo(file_status __s) noexcept { return __s.type() == file_typ… in is_fifo() argument
130 inline _LIBCPP_HIDE_FROM_ABI bool is_symlink(file_status __s) noexcept { return __s.type() == file_… in is_symlink() argument
133 …bool is_other(file_status __s) noexcept { return exists(__s) && !is_regular_file(__s) && !is_direc… in is_other() argument
[all …]
/llvm-project-15.0.7/libcxx/test/support/
H A Dconstexpr_char_traits.h37 static TEST_CONSTEXPR_CXX14 size_t length(const char_type* __s);
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()
131 constexpr_char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a) in assign() argument
133 char_type* __r = __s; in assign()
134 for (; __n; --__n, ++__s) in assign()
[all …]
/llvm-project-15.0.7/libcxx/include/__format/
H A Dformat_error.h30 _LIBCPP_HIDE_FROM_ABI explicit format_error(const string& __s) in format_error() argument
31 : runtime_error(__s) {} in format_error()
32 _LIBCPP_HIDE_FROM_ABI explicit format_error(const char* __s) in format_error() argument
33 : runtime_error(__s) {} in format_error()
38 __throw_format_error(const char* __s) { in __throw_format_error() argument
40 throw format_error(__s); in __throw_format_error()
42 (void)__s; in __throw_format_error()
/llvm-project-15.0.7/libcxx/src/support/solaris/
H A 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()
/llvm-project-15.0.7/libcxx/include/__iterator/
H A Dmove_sentinel.h34 explicit move_sentinel(_Sent __s) : __last_(std::move(__s)) {} in move_sentinel() argument
39 move_sentinel(const move_sentinel<_S2>& __s) : __last_(__s.base()) {} in move_sentinel() argument
44 move_sentinel& operator=(const move_sentinel<_S2>& __s)
45 { __last_ = __s.base(); return *this; }
H A Dostreambuf_iterator.h51 _LIBCPP_INLINE_VISIBILITY ostreambuf_iterator(ostream_type& __s) _NOEXCEPT in ostreambuf_iterator() argument
52 : __sbuf_(__s.rdbuf()) {} in ostreambuf_iterator()
53 _LIBCPP_INLINE_VISIBILITY ostreambuf_iterator(streambuf_type* __s) _NOEXCEPT in ostreambuf_iterator() argument
54 : __sbuf_(__s) {} in ostreambuf_iterator()
70 __pad_and_output(ostreambuf_iterator<_Ch, _Tr> __s,
/llvm-project-15.0.7/libcxx/include/__random/
H A Dsubtract_with_carry_engine.h32 template<class _UIntType, size_t __w, size_t __s, size_t __r>
60 template<class _UIntType, size_t __w, size_t __s, size_t __r>
85 static _LIBCPP_CONSTEXPR const size_t short_lag = __s;
166 template<class _UIntType, size_t __w, size_t __s, size_t __r>
169 template<class _UIntType, size_t __w, size_t __s, size_t __r>
172 template<class _UIntType, size_t __w, size_t __s, size_t __r>
175 template<class _UIntType, size_t __w, size_t __s, size_t __r>
179 template<class _UIntType, size_t __w, size_t __s, size_t __r>
192 template<class _UIntType, size_t __w, size_t __s, size_t __r>
209 template<class _UIntType, size_t __w, size_t __s, size_t __r>
[all …]
H A Dmersenne_twister_engine.h32 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
74 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
115 static _LIBCPP_CONSTEXPR const size_t tempering_s = __s;
248 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
254 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
260 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
266 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
272 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
278 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
284 _UIntType __a, size_t __u, _UIntType __d, size_t __s,
[all …]
H A Dlinear_congruential_engine.h240 explicit linear_congruential_engine(result_type __s) { seed(__s); }
244 seed(__s);
253 void seed(result_type __s = default_seed)
255 integral_constant<bool, __c == 0>(), __s);}
287 void seed(true_type, true_type, result_type __s) {__x_ = __s == 0 ? 1 : __s;}
289 void seed(true_type, false_type, result_type __s) {__x_ = __s;}
291 void seed(false_type, true_type, result_type __s) {__x_ = __s % __m == 0 ?
294 void seed(false_type, false_type, result_type __s) {__x_ = __s % __m;}
342 __x_ = __c == 0 && __s == 0 ? result_type(1) : __s;
354 result_type __s = static_cast<result_type>((__ar[3] +
[all …]
H A Dseed_seq.h82 for (_InputIterator __s = __first; __s != __last; ++__s) in __init() local
83 __v_.push_back(*__s & 0xFFFFFFFF); in __init()
94 const size_t __s = __v_.size(); in generate() local
102 const size_t __m = _VSTD::max(__s + 1, __n); in generate()
108 __r += __s; in generate()
119 for (size_t __k = 1; __k <= __s; ++__k) in generate()
136 for (size_t __k = __s + 1; __k < __m; ++__k) in generate()
H A Dlognormal_distribution.h43 explicit param_type(result_type __m = 0, result_type __s = 1)
44 : __nd_(__m, __s) {} in __nd_() argument
81 explicit lognormal_distribution(result_type __m, result_type __s = 1)
82 : __p_(param_type(__m, __s)) {} in __p_() argument
86 result_type __s = 1)
87 : __p_(param_type(__m, __s)) {}
178 explicit param_type(result_type __m = 0, result_type __s = 1)
179 : __m_(__m), __s_(__s) {}
204 : __nd_(__m, __s) {}
208 result_type __s = 1)
[all …]
/llvm-project-15.0.7/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()
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()
/llvm-project-15.0.7/llvm/test/CodeGen/BPF/CORE/
H A Doffset-reloc-typedef-union.ll8 ; union __s { __int a; __int b; };
9 ; typedef union __s _s;
20 %union.__s = type { i32 }
23 define dso_local i32 @test(%union.__s* %arg) local_unnamed_addr #0 !dbg !7 {
25 …call void @llvm.dbg.value(metadata %union.__s* %arg, metadata !21, metadata !DIExpression()), !dbg…
26 …%0 = tail call %union.__s* @llvm.preserve.union.access.index.p0s_union.__ss.p0s_union.__ss(%union.…
27 %1 = bitcast %union.__s* %0 to i8*, !dbg !23
54 declare %union.__s* @llvm.preserve.union.access.index.p0s_union.__ss.p0s_union.__ss(%union.__s*, i3…
83 !14 = distinct !DICompositeType(tag: DW_TAG_union_type, name: "__s", file: !1, line: 3, size: 32, e…

123456