Home | History | Annotate | Download | only in ext

Lines Matching refs:char_type

40   // NB: The char_type parameter is a subset of int_type, as to allow
41 // int_type to properly hold the full range of char_type values as
50 typedef character<V, I, S> char_type;
55 static char_type
58 char_type ret = { static_cast<value_type>(v) };
64 to(const char_type& c)
90 typedef __gnu_cxx::character<V, I, S> char_type;
91 typedef typename char_type::int_type int_type;
92 typedef typename char_type::state_type state_type;
97 assign(char_type& __c1, const char_type& __c2)
101 eq(const char_type& __c1, const char_type& __c2)
105 lt(const char_type& __c1, const char_type& __c2)
109 compare(const char_type* __s1, const char_type* __s2, size_t __n)
118 length(const char_type* __s)
120 const char_type* __p = __s;
126 static const char_type*
127 find(const char_type* __s, size_t __n, const char_type& __a)
129 for (const char_type* __p = __s; size_t(__p - __s) < __n; ++__p)
135 static char_type*
136 move(char_type* __s1, const char_type* __s2, size_t __n)
138 return static_cast<char_type*>
139 (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)));
142 static char_type*
143 copy(char_type* __s1, const char_type* __s2, size_t __n)
149 static char_type*
150 assign(char_type* __s, size_t __n, char_type __a)
156 static char_type
158 { return char_type::template from(__i); }
161 to_int_type(const char_type& __c)
162 { return char_type::template to<int_type>(__c); }