Lines Matching refs:char16_t
46 inline Char16Ptr(char16_t *p);
81 inline char16_t *get() const;
87 inline operator char16_t *() const { return get(); }
93 template<typename T> static char16_t *cast(T *t) { in cast()
95 return reinterpret_cast<char16_t *>(t); in cast()
98 char16_t *p_;
101 char16_t *cp;
110 Char16Ptr::Char16Ptr(char16_t *p) : p_(p) {} in Char16Ptr()
122 char16_t *Char16Ptr::get() const { return p_; } in get()
126 Char16Ptr::Char16Ptr(char16_t *p) { u_.cp = p; } in Char16Ptr()
136 char16_t *Char16Ptr::get() const { return u_.cp; } in get()
153 inline ConstChar16Ptr(const char16_t *p);
189 inline const char16_t *get() const;
195 inline operator const char16_t *() const { return get(); }
201 template<typename T> static const char16_t *cast(const T *t) { in cast()
203 return reinterpret_cast<const char16_t *>(t); in cast()
206 const char16_t *p_;
209 const char16_t *cp;
218 ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p_(p) {} in ConstChar16Ptr()
230 const char16_t *ConstChar16Ptr::get() const { return p_; } in get()
234 ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) { u_.cp = p; } in ConstChar16Ptr()
244 const char16_t *ConstChar16Ptr::get() const { return u_.cp; } in get()
255 inline const UChar *toUCharPtr(const char16_t *p) { in toUCharPtr()
269 inline UChar *toUCharPtr(char16_t *p) { in toUCharPtr()
283 inline const OldUChar *toOldUCharPtr(const char16_t *p) { in toOldUCharPtr()
297 inline OldUChar *toOldUCharPtr(char16_t *p) { in toOldUCharPtr()