Home | History | Annotate | Download | only in ext

Lines Matching refs:char_type

42   // NB: The char_type parameter is a subset of int_type, as to allow
43 // int_type to properly hold the full range of char_type values as
52 typedef character<V, I, S> char_type;
57 static char_type
60 char_type ret = { static_cast<value_type>(v) };
66 to(const char_type& c)
95 typedef __gnu_cxx::character<V, I, S> char_type;
96 typedef typename char_type::int_type int_type;
97 typedef typename char_type::state_type state_type;
102 assign(char_type& __c1, const char_type& __c2)
106 eq(const char_type& __c1, const char_type& __c2)
110 lt(const char_type& __c1, const char_type& __c2)
114 compare(const char_type* __s1, const char_type* __s2, size_t __n)
123 length(const char_type* __s)
125 const char_type* __p = __s;
131 static const char_type*
132 find(const char_type* __s, size_t __n, const char_type& __a)
134 for (const char_type* __p = __s; size_t(__p - __s) < __n; ++__p)
140 static char_type*
141 move(char_type* __s1, const char_type* __s2, size_t __n)
143 return static_cast<char_type*>
144 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)));
147 static char_type*
148 copy(char_type* __s1, const char_type* __s2, size_t __n)
154 static char_type*
155 assign(char_type* __s, size_t __n, char_type __a)
161 static char_type
163 { return char_type::template from(__i); }
166 to_int_type(const char_type& __c)
167 { return char_type::template to<int_type>(__c); }