Home | History | Annotate | Download | only in bits

Lines Matching refs:char_type

92       typedef _CharT                                    char_type;
99 assign(char_type& __c1, const char_type& __c2)
103 eq(const char_type& __c1, const char_type& __c2)
107 lt(const char_type& __c1, const char_type& __c2)
111 compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
114 length(const char_type* __s);
116 static const char_type*
117 find(const char_type* __s, std::size_t __n, const char_type& __a);
119 static char_type*
120 move(char_type* __s1, const char_type* __s2, std::size_t __n);
122 static char_type*
123 copy(char_type* __s1, const char_type* __s2, std::size_t __n);
125 static char_type*
126 assign(char_type* __s, std::size_t __n, char_type __a);
128 static char_type
130 { return static_cast<char_type>(__c); }
133 to_int_type(const char_type& __c)
146 { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); }
152 compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
165 length(const char_type* __p)
168 while (!eq(__p[__i], char_type()))
174 const typename char_traits<_CharT>::char_type*
176 find(const char_type* __s, std::size_t __n, const char_type& __a)
185 typename char_traits<_CharT>::char_type*
187 move(char_type* __s1, const char_type* __s2, std::size_t __n)
190 __n * sizeof(char_type)));
194 typename char_traits<_CharT>::char_type*
196 copy(char_type* __s1, const char_type* __s2, std::size_t __n)
204 typename char_traits<_CharT>::char_type*
206 assign(char_type* __s, std::size_t __n, char_type __a)
239 typedef char char_type;
246 assign(char_type& __c1, const char_type& __c2)
250 eq(const char_type& __c1, const char_type& __c2)
254 lt(const char_type& __c1, const char_type& __c2)
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 char_type
283 { return static_cast<char_type>(__c); }
288 to_int_type(const char_type& __c)
310 typedef wchar_t char_type;
317 assign(char_type& __c1, const char_type& __c2)
321 eq(const char_type& __c1, const char_type& __c2)
325 lt(const char_type& __c1, const char_type& __c2)
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 char_type
354 { return char_type(__c); }
357 to_int_type(const char_type& __c)
386 typedef char16_t char_type;
393 assign(char_type& __c1, const char_type& __c2)
397 eq(const char_type& __c1, const char_type& __c2)
401 lt(const char_type& __c1, const char_type& __c2)
405 compare(const char_type* __s1, const char_type* __s2, size_t __n)
416 length(const char_type* __s)
419 while (!eq(__s[__i], char_type()))
424 static const char_type*
425 find(const char_type* __s, size_t __n, const char_type& __a)
433 static char_type*
434 move(char_type* __s1, const char_type* __s2, size_t __n)
436 return (static_cast<char_type*>
437 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type))));
440 static char_type*
441 copy(char_type* __s1, const char_type* __s2, size_t __n)
443 return (static_cast<char_type*>
444 (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type))));
447 static char_type*
448 assign(char_type* __s, size_t __n, char_type __a)
455 static char_type
457 { return char_type(__c); }
460 to_int_type(const char_type& __c)
479 typedef char32_t char_type;
486 assign(char_type& __c1, const char_type& __c2)
490 eq(const char_type& __c1, const char_type& __c2)
494 lt(const char_type& __c1, const char_type& __c2)
498 compare(const char_type* __s1, const char_type* __s2, size_t __n)
509 length(const char_type* __s)
512 while (!eq(__s[__i], char_type()))
517 static const char_type*
518 find(const char_type* __s, size_t __n, const char_type& __a)
526 static char_type*
527 move(char_type* __s1, const char_type* __s2, size_t __n)
529 return (static_cast<char_type*>
530 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type))));
533 static char_type*
534 copy(char_type* __s1, const char_type* __s2, size_t __n)
536 return (static_cast<char_type*>
537 (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type))));
540 static char_type*
541 assign(char_type* __s, size_t __n, char_type __a)
548 static char_type
550 { return char_type(__c); }
553 to_int_type(const char_type& __c)