Lines Matching refs:__s
93 size_t length(const char_type* __s);
95 const char_type* find(const char_type* __s, size_t __n, const char_type& __a);
100 static char_type* assign(char_type* __s, size_t __n, char_type __a);
131 char_traits<_CharT>::length(const char_type* __s)
134 for (; !eq(*__s, char_type(0)); ++__s)
142 char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a)
146 if (eq(*__s, __a))
147 return __s;
148 ++__s;
188 char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a)
190 char_type* __r = __s;
191 for (; __n; --__n, ++__s)
192 assign(*__s, __a);
217 length(const char_type* __s) _NOEXCEPT {return __builtin_strlen(__s);}
219 const char_type* find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT;
227 static inline char_type* assign(char_type* __s, size_t __n, char_type __a) _NOEXCEPT
228 {return __n == 0 ? __s : (char_type*)memset(__s, to_int_type(__a), __n);}
266 char_traits<char>::find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT
271 return __builtin_char_memchr(__s, to_int_type(__a), __n);
273 return (const char_type*) memchr(__s, to_int_type(__a), __n);
277 if (eq(*__s, __a))
278 return __s;
279 ++__s;
307 size_t length(const char_type* __s) _NOEXCEPT;
309 const char_type* find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT;
317 static inline char_type* assign(char_type* __s, size_t __n, char_type __a) _NOEXCEPT
318 {return __n == 0 ? __s : (char_type*)wmemset(__s, __a, __n);}
356 char_traits<wchar_t>::length(const char_type* __s) _NOEXCEPT
359 return __builtin_wcslen(__s);
361 return wcslen(__s);
364 for (; !eq(*__s, char_type(0)); ++__s)
372 char_traits<wchar_t>::find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT
377 return __builtin_wmemchr(__s, __a, __n);
379 return wmemchr(__s, __a, __n);
383 if (eq(*__s, __a))
384 return __s;
385 ++__s;
413 size_t length(const char_type* __s) _NOEXCEPT;
415 const char_type* find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT;
421 static char_type* assign(char_type* __s, size_t __n, char_type __a) _NOEXCEPT;
451 char_traits<char16_t>::length(const char_type* __s) _NOEXCEPT
454 for (; !eq(*__s, char_type(0)); ++__s)
461 char_traits<char16_t>::find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT
465 if (eq(*__s, __a))
466 return __s;
467 ++__s;
505 char_traits<char16_t>::assign(char_type* __s, size_t __n, char_type __a) _NOEXCEPT
507 char_type* __r = __s;
508 for (; __n; --__n, ++__s)
509 assign(*__s, __a);
532 size_t length(const char_type* __s) _NOEXCEPT;
534 const char_type* find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT;
540 static char_type* assign(char_type* __s, size_t __n, char_type __a) _NOEXCEPT;
570 char_traits<char32_t>::length(const char_type* __s) _NOEXCEPT
573 for (; !eq(*__s, char_type(0)); ++__s)
580 char_traits<char32_t>::find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT
584 if (eq(*__s, __a))
585 return __s;
586 ++__s;
624 char_traits<char32_t>::assign(char_type* __s, size_t __n, char_type __a) _NOEXCEPT
626 char_type* __r = __s;
627 for (; __n; --__n, ++__s)
628 assign(*__s, __a);
692 const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT
701 __p + __pos, __p + __sz, __s, __s + __n);
733 const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT
741 __p, __p + __pos, __s, __s + __n, _Traits::eq,
752 const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT
757 (__p + __pos, __p + __sz, __s, __s + __n, _Traits::eq );
768 const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT
778 const _CharT* __r = _Traits::find(__s, __n, *--__ps);
791 const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT
797 if (_Traits::find(__s, __n, *__ps) == 0)
824 const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT
831 if (_Traits::find(__s, __n, *--__ps) == 0)