Home | History | Annotate | Download | only in ext

Lines Matching refs:char_type

44   // NB: The char_type parameter is a subset of int_type, as to allow
45 // int_type to properly hold the full range of char_type values as
54 typedef character<V, I, S> char_type;
59 static char_type
62 char_type ret = { static_cast<value_type>(v) };
68 to(const char_type& c)
97 typedef __gnu_cxx::character<V, I, S> char_type;
98 typedef typename char_type::int_type int_type;
99 typedef typename char_type::state_type state_type;
104 assign(char_type& __c1, const char_type& __c2)
108 eq(const char_type& __c1, const char_type& __c2)
112 lt(const char_type& __c1, const char_type& __c2)
116 compare(const char_type* __s1, const char_type* __s2, size_t __n)
125 length(const char_type* __s)
127 const char_type* __p = __s;
133 static const char_type*
134 find(const char_type* __s, size_t __n, const char_type& __a)
136 for (const char_type* __p = __s; size_t(__p - __s) < __n; ++__p)
142 static char_type*
143 move(char_type* __s1, const char_type* __s2, size_t __n)
145 return static_cast<char_type*>
146 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)));
149 static char_type*
150 copy(char_type* __s1, const char_type* __s2, size_t __n)
156 static char_type*
157 assign(char_type* __s, size_t __n, char_type __a)
163 static char_type
165 { return char_type::template from(__i); }
168 to_int_type(const char_type& __c)
169 { return char_type::template to<int_type>(__c); }