Lines Matching defs:CefStringTraitsUTF16
196 struct CefStringTraitsUTF16 { struct
197 typedef char16 char_type;
198 typedef cef_string_utf16_t struct_type;
199 typedef cef_string_userfree_utf16_t userfree_struct_type;
201 static inline void clear(struct_type* s) { cef_string_utf16_clear(s); } in clear()
202 static inline int set(const char_type* src, in set()
208 static inline int compare(const struct_type* s1, const struct_type* s2) { in compare()
211 static inline userfree_struct_type userfree_alloc() { in userfree_alloc()
214 static inline void userfree_free(userfree_struct_type ufs) { in userfree_free()
219 static inline bool from_ascii(const char* str, size_t len, struct_type* s) { in from_ascii()
222 static inline std::string to_string(const struct_type* s) { in to_string()
232 static inline bool from_string(const std::string& str, struct_type* s) { in from_string()
237 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring()
247 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring()
252 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring()
255 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring()
260 static inline std::u16string to_string16(const struct_type* s) { in to_string16()
264 static inline bool from_string16(const std::u16string& str, struct_type* s) { in from_string16()