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
258 compare(const char_type* __s1, const char_type* __s2, size_t __n)
262 length(const char_type* __s)
265 static const char_type*
266 find(const char_type* __s, size_t __n, const char_type& __a)
267 { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); }
269 static char_type*
270 move(char_type* __s1, const char_type* __s2, size_t __n)
271 { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); }
273 static char_type*
274 copy(char_type* __s1, const char_type* __s2, size_t __n)
275 { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); }
277 static char_type*
278 assign(char_type* __s, size_t __n, char_type __a)
279 { return static_cast<char_type*>(__builtin_memset(__s, __a, __n)); }
281 static _GLIBCXX_CONSTEXPR char_type
283 { return static_cast<char_type>(__c); }
288 to_int_type(const char_type& __c) _GLIBCXX_NOEXCEPT
310 typedef wchar_t char_type;
317 assign(char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
321 eq(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
325 lt(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT
329 compare(const char_type* __s1, const char_type* __s2, size_t __n)
333 length(const char_type* __s)
336 static const char_type*
337 find(const char_type* __s, size_t __n, const char_type& __a)
340 static char_type*
341 move(char_type* __s1, const char_type* __s2, size_t __n)
344 static char_type*
345 copy(char_type* __s1, const char_type* __s2, size_t __n)
348 static char_type*
349 assign(char_type* __s, size_t __n, char_type __a)
352 static _GLIBCXX_CONSTEXPR char_type
354 { return char_type(__c); }
357 to_int_type(const char_type& __c) _GLIBCXX_NOEXCEPT
389 typedef char16_t char_type;
396 assign(char_type& __c1, const char_type& __c2) noexcept
400 eq(const char_type& __c1, const char_type& __c2) noexcept
404 lt(const char_type& __c1, const char_type& __c2) noexcept
408 compare(const char_type* __s1, const char_type* __s2, size_t __n)
419 length(const char_type* __s)
422 while (!eq(__s[__i], char_type()))
427 static const char_type*
428 find(const char_type* __s, size_t __n, const char_type& __a)
436 static char_type*
437 move(char_type* __s1, const char_type* __s2, size_t __n)
439 return (static_cast<char_type*>
440 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type))));
443 static char_type*
444 copy(char_type* __s1, const char_type* __s2, size_t __n)
446 return (static_cast<char_type*>
447 (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type))));
450 static char_type*
451 assign(char_type* __s, size_t __n, char_type __a)
458 static constexpr char_type
460 { return char_type(__c); }
463 to_int_type(const char_type& __c) noexcept
482 typedef char32_t char_type;
489 assign(char_type& __c1, const char_type& __c2) noexcept
493 eq(const char_type& __c1, const char_type& __c2) noexcept
497 lt(const char_type& __c1, const char_type& __c2) noexcept
501 compare(const char_type* __s1, const char_type* __s2, size_t __n)
512 length(const char_type* __s)
515 while (!eq(__s[__i], char_type()))
520 static const char_type*
521 find(const char_type* __s, size_t __n, const char_type& __a)
529 static char_type*
530 move(char_type* __s1, const char_type* __s2, size_t __n)
532 return (static_cast<char_type*>
533 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type))));
536 static char_type*
537 copy(char_type* __s1, const char_type* __s2, size_t __n)
539 return (static_cast<char_type*>
540 (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type))));
543 static char_type*
544 assign(char_type* __s, size_t __n, char_type __a)
551 static constexpr char_type
553 { return char_type(__c); }
556 to_int_type(const char_type& __c) noexcept