Lines Matching defs:CefStringTraitsUTF16
227 struct CefStringTraitsUTF16 { struct
228 typedef char16 char_type;
229 typedef cef_string_utf16_t struct_type;
230 typedef cef_string_userfree_utf16_t userfree_struct_type;
232 static inline void clear(struct_type* s) { cef_string_utf16_clear(s); } in clear()
233 static inline int set(const char_type* src, in set()
239 static inline int compare(const struct_type* s1, const struct_type* s2) { in compare()
242 static inline userfree_struct_type userfree_alloc() { in userfree_alloc()
245 static inline void userfree_free(userfree_struct_type ufs) { in userfree_free()
250 static inline bool from_ascii(const char* str, size_t len, struct_type* s) { in from_ascii()
253 static inline std::string to_string(const struct_type* s) { in to_string()
263 static inline bool from_string(const std::string::value_type* data, in from_string()
268 static inline bool from_string(const std::string& str, struct_type* s) { in from_string()
272 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring()
282 static inline bool from_wstring(const std::wstring::value_type* data, in from_wstring()
288 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring()
291 static inline bool from_wstring(const std::wstring::value_type* data, in from_wstring()
297 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring()
300 static inline std::u16string to_string16(const struct_type* s) { in to_string16()
304 static inline bool from_string16(const std::u16string::value_type* data, in from_string16()
312 static inline bool from_string16(const std::u16string& str, struct_type* s) { in from_string16()