Lines Matching defs:CefStringTraitsWide
46 struct CefStringTraitsWide { struct
47 typedef wchar_t char_type;
48 typedef cef_string_wide_t struct_type;
49 typedef cef_string_userfree_wide_t userfree_struct_type;
51 static inline void clear(struct_type* s) { cef_string_wide_clear(s); } in clear()
52 static inline int set(const char_type* src, in set()
58 static inline int compare(const struct_type* s1, const struct_type* s2) { in compare()
61 static inline userfree_struct_type userfree_alloc() { in userfree_alloc()
64 static inline void userfree_free(userfree_struct_type ufs) { in userfree_free()
69 static inline bool from_ascii(const char* str, size_t len, struct_type* s) { in from_ascii()
72 static inline std::string to_string(const struct_type* s) { in to_string()
82 static inline bool from_string(const std::string::value_type* data, in from_string()
87 static inline bool from_string(const std::string& str, struct_type* s) { in from_string()
90 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring()
93 static inline bool from_wstring(const std::wstring::value_type* data, in from_wstring()
98 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring()
102 static inline std::u16string to_string16(const struct_type* s) { in to_string16()
114 static inline bool from_string16(const std::u16string::value_type* data, in from_string16()
123 static inline std::u16string to_string16(const struct_type* s) { in to_string16()
127 static inline bool from_string16(const std::u16string::value_type* data, in from_string16()
136 static inline bool from_string16(const std::u16string& str, struct_type* s) { in from_string16()