Lines Matching refs:char16_t
49 inline Char16Ptr(char16_t *p);
84 inline char16_t *get() const;
90 inline operator char16_t *() const { return get(); }
96 template<typename T> static char16_t *cast(T *t) { in cast()
98 return reinterpret_cast<char16_t *>(t); in cast()
101 char16_t *p_;
104 char16_t *cp;
114 Char16Ptr::Char16Ptr(char16_t *p) : p_(p) {} in Char16Ptr()
126 char16_t *Char16Ptr::get() const { return p_; } in get()
130 Char16Ptr::Char16Ptr(char16_t *p) { u_.cp = p; } in Char16Ptr()
140 char16_t *Char16Ptr::get() const { return u_.cp; } in get()
156 inline ConstChar16Ptr(const char16_t *p);
192 inline const char16_t *get() const;
198 inline operator const char16_t *() const { return get(); }
204 template<typename T> static const char16_t *cast(const T *t) { in cast()
206 return reinterpret_cast<const char16_t *>(t); in cast()
209 const char16_t *p_;
212 const char16_t *cp;
222 ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p_(p) {} in ConstChar16Ptr()
234 const char16_t *ConstChar16Ptr::get() const { return p_; } in get()
238 ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) { u_.cp = p; } in ConstChar16Ptr()
248 const char16_t *ConstChar16Ptr::get() const { return u_.cp; } in get()
260 inline const UChar *toUCharPtr(const char16_t *p) { in toUCharPtr()
274 inline UChar *toUCharPtr(char16_t *p) { in toUCharPtr()
288 inline const OldUChar *toOldUCharPtr(const char16_t *p) { in toOldUCharPtr()
302 inline OldUChar *toOldUCharPtr(char16_t *p) { in toOldUCharPtr()