Home | History | Annotate | Download | only in bits

Lines Matching refs:char_type

87       typedef _CharT                                    char_type;
94 assign(char_type& __c1, const char_type& __c2)
98 eq(const char_type& __c1, const char_type& __c2)
102 lt(const char_type& __c1, const char_type& __c2)
106 compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
109 length(const char_type* __s);
111 static const char_type*
112 find(const char_type* __s, std::size_t __n, const char_type& __a);
114 static char_type*
115 move(char_type* __s1, const char_type* __s2, std::size_t __n);
117 static char_type*
118 copy(char_type* __s1, const char_type* __s2, std::size_t __n);
120 static char_type*
121 assign(char_type* __s, std::size_t __n, char_type __a);
123 static _GLIBCXX_CONSTEXPR char_type
125 { return static_cast<char_type>(__c); }
128 to_int_type(const char_type& __c)
141 { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); }
147 compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
160 length(const char_type* __p)
163 while (!eq(__p[__i], char_type()))
169 const typename char_traits<_CharT>::char_type*
171 find(const char_type* __s, std::size_t __n, const char_type& __a)
180 typename char_traits<_CharT>::char_type*
182 move(char_type* __s1, const char_type* __s2, std::size_t __n)
185 __n * sizeof(char_type)));
189 typename char_traits<_CharT>::char_type*
191 copy(char_type* __s1, const char_type* __s2, std::size_t __n)
199 typename char_traits<_CharT>::char_type*
201 assign(char_type* __s, std::size_t __n, char_type __a)
237 typedef char char_type;
244 assign(char_type& __c1, const char_type& __c2)
248 eq(const char_type& __c1, const char_type& __c2)
252 lt(const char_type& __c1, const char_type& __c2)
256 compare(const char_type* __s1, const char_type* __s2, size_t __n)
260 length(const char_type* __s)
263 static const char_type*
264 find(const char_type* __s, size_t __n, const char_type& __a)
265 { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); }
267 static char_type*
268 move(char_type* __s1, const char_type* __s2, size_t __n)
269 { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); }
271 static char_type*
272 copy(char_type* __s1, const char_type* __s2, size_t __n)
273 { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); }
275 static char_type*
276 assign(char_type* __s, size_t __n, char_type __a)
277 { return static_cast<char_type*>(__builtin_memset(__s, __a, __n)); }
279 static _GLIBCXX_CONSTEXPR char_type
281 { return static_cast<char_type>(__c); }
286 to_int_type(const char_type& __c)
308 typedef wchar_t char_type;
315 assign(char_type& __c1, const char_type& __c2)
319 eq(const char_type& __c1, const char_type& __c2)
323 lt(const char_type& __c1, const char_type& __c2)
327 compare(const char_type* __s1, const char_type* __s2, size_t __n)
331 length(const char_type* __s)
334 static const char_type*
335 find(const char_type* __s, size_t __n, const char_type& __a)
338 static char_type*
339 move(char_type* __s1, const char_type* __s2, size_t __n)
342 static char_type*
343 copy(char_type* __s1, const char_type* __s2, size_t __n)
346 static char_type*
347 assign(char_type* __s, size_t __n, char_type __a)
350 static _GLIBCXX_CONSTEXPR char_type
352 { return char_type(__c); }
355 to_int_type(const char_type& __c)
387 typedef char16_t char_type;
394 assign(char_type& __c1, const char_type& __c2)
398 eq(const char_type& __c1, const char_type& __c2)
402 lt(const char_type& __c1, const char_type& __c2)
406 compare(const char_type* __s1, const char_type* __s2, size_t __n)
417 length(const char_type* __s)
420 while (!eq(__s[__i], char_type()))
425 static const char_type*
426 find(const char_type* __s, size_t __n, const char_type& __a)
434 static char_type*
435 move(char_type* __s1, const char_type* __s2, size_t __n)
437 return (static_cast<char_type*>
438 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type))));
441 static char_type*
442 copy(char_type* __s1, const char_type* __s2, size_t __n)
444 return (static_cast<char_type*>
445 (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type))));
448 static char_type*
449 assign(char_type* __s, size_t __n, char_type __a)
456 static _GLIBCXX_CONSTEXPR char_type
458 { return char_type(__c); }
461 to_int_type(const char_type& __c)
480 typedef char32_t char_type;
487 assign(char_type& __c1, const char_type& __c2)
491 eq(const char_type& __c1, const char_type& __c2)
495 lt(const char_type& __c1, const char_type& __c2)
499 compare(const char_type* __s1, const char_type* __s2, size_t __n)
510 length(const char_type* __s)
513 while (!eq(__s[__i], char_type()))
518 static const char_type*
519 find(const char_type* __s, size_t __n, const char_type& __a)
527 static char_type*
528 move(char_type* __s1, const char_type* __s2, size_t __n)
530 return (static_cast<char_type*>
531 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type))));
534 static char_type*
535 copy(char_type* __s1, const char_type* __s2, size_t __n)
537 return (static_cast<char_type*>
538 (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type))));
541 static char_type*
542 assign(char_type* __s, size_t __n, char_type __a)
549 static _GLIBCXX_CONSTEXPR char_type
551 { return char_type(__c); }
554 to_int_type(const char_type& __c)