Home | History | Annotate | Download | only in bits

Lines Matching refs:char_type

85       typedef _CharT                                    char_type;
92 assign(char_type& __c1, const char_type& __c2)
96 eq(const char_type& __c1, const char_type& __c2)
100 lt(const char_type& __c1, const char_type& __c2)
104 compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
107 length(const char_type* __s);
109 static const char_type*
110 find(const char_type* __s, std::size_t __n, const char_type& __a);
112 static char_type*
113 move(char_type* __s1, const char_type* __s2, std::size_t __n);
115 static char_type*
116 copy(char_type* __s1, const char_type* __s2, std::size_t __n);
118 static char_type*
119 assign(char_type* __s, std::size_t __n, char_type __a);
121 static _GLIBCXX_CONSTEXPR char_type
123 { return static_cast<char_type>(__c); }
126 to_int_type(const char_type& __c)
139 { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); }
145 compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
158 length(const char_type* __p)
161 while (!eq(__p[__i], char_type()))
167 const typename char_traits<_CharT>::char_type*
169 find(const char_type* __s, std::size_t __n, const char_type& __a)
178 typename char_traits<_CharT>::char_type*
180 move(char_type* __s1, const char_type* __s2, std::size_t __n)
183 __n * sizeof(char_type)));
187 typename char_traits<_CharT>::char_type*
189 copy(char_type* __s1, const char_type* __s2, std::size_t __n)
197 typename char_traits<_CharT>::char_type*
199 assign(char_type* __s, std::size_t __n, char_type __a)
235 typedef char char_type;
242 assign(char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
246 eq(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
250 lt(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
254 compare(const char_type* __s1, const char_type* __s2, size_t __n)
258 length(const char_type* __s)
261 static const char_type*
262 find(const char_type* __s, size_t __n, const char_type& __a)
263 { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); }
265 static char_type*
266 move(char_type* __s1, const char_type* __s2, size_t __n)
267 { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); }
269 static char_type*
270 copy(char_type* __s1, const char_type* __s2, size_t __n)
271 { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); }
273 static char_type*
274 assign(char_type* __s, size_t __n, char_type __a)
275 { return static_cast<char_type*>(__builtin_memset(__s, __a, __n)); }
277 static _GLIBCXX_CONSTEXPR char_type
279 { return static_cast<char_type>(__c); }
284 to_int_type(const char_type& __c) _GLIBCXX_NOEXCEPT
306 typedef wchar_t char_type;
313 assign(char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
317 eq(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
321 lt(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
325 compare(const char_type* __s1, const char_type* __s2, size_t __n)
329 length(const char_type* __s)
332 static const char_type*
333 find(const char_type* __s, size_t __n, const char_type& __a)
336 static char_type*
337 move(char_type* __s1, const char_type* __s2, size_t __n)
340 static char_type*
341 copy(char_type* __s1, const char_type* __s2, size_t __n)
344 static char_type*
345 assign(char_type* __s, size_t __n, char_type __a)
348 static _GLIBCXX_CONSTEXPR char_type
350 { return char_type(__c); }
353 to_int_type(const char_type& __c) _GLIBCXX_NOEXCEPT
385 typedef char16_t char_type;
392 assign(char_type& __c1, const char_type& __c2) noexcept
396 eq(const char_type& __c1, const char_type& __c2) noexcept
400 lt(const char_type& __c1, const char_type& __c2) noexcept
404 compare(const char_type* __s1, const char_type* __s2, size_t __n)
415 length(const char_type* __s)
418 while (!eq(__s[__i], char_type()))
423 static const char_type*
424 find(const char_type* __s, size_t __n, const char_type& __a)
432 static char_type*
433 move(char_type* __s1, const char_type* __s2, size_t __n)
435 return (static_cast<char_type*>
436 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type))));
439 static char_type*
440 copy(char_type* __s1, const char_type* __s2, size_t __n)
442 return (static_cast<char_type*>
443 (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type))));
446 static char_type*
447 assign(char_type* __s, size_t __n, char_type __a)
454 static constexpr char_type
456 { return char_type(__c); }
459 to_int_type(const char_type& __c) noexcept
478 typedef char32_t char_type;
485 assign(char_type& __c1, const char_type& __c2) noexcept
489 eq(const char_type& __c1, const char_type& __c2) noexcept
493 lt(const char_type& __c1, const char_type& __c2) noexcept
497 compare(const char_type* __s1, const char_type* __s2, size_t __n)
508 length(const char_type* __s)
511 while (!eq(__s[__i], char_type()))
516 static const char_type*
517 find(const char_type* __s, size_t __n, const char_type& __a)
525 static char_type*
526 move(char_type* __s1, const char_type* __s2, size_t __n)
528 return (static_cast<char_type*>
529 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type))));
532 static char_type*
533 copy(char_type* __s1, const char_type
535 return (static_cast<char_type*>
536 (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type))));
539 static char_type*
540 assign(char_type* __s, size_t __n, char_type __a)
547 static constexpr char_type
549 { return char_type(__c); }
552 to_int_type(const char_type& __c) noexcept