Lines Matching defs:CefStringTraitsUTF8
144 struct CefStringTraitsUTF8 { struct
145 typedef char char_type;
146 typedef cef_string_utf8_t struct_type;
147 typedef cef_string_userfree_utf8_t userfree_struct_type;
149 static inline void clear(struct_type* s) { cef_string_utf8_clear(s); } in clear()
150 static inline int set(const char_type* src, in set()
156 static inline int compare(const struct_type* s1, const struct_type* s2) { in compare()
159 static inline userfree_struct_type userfree_alloc() { in userfree_alloc()
162 static inline void userfree_free(userfree_struct_type ufs) { in userfree_free()
167 static inline bool from_ascii(const char* str, size_t len, struct_type* s) { in from_ascii()
170 static inline std::string to_string(const struct_type* s) { in to_string()
173 static inline bool from_string(const std::string::value_type* data, in from_string()
178 static inline bool from_string(const std::string& str, struct_type* s) { in from_string()
181 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring()
191 static inline bool from_wstring(const std::wstring::value_type* data, in from_wstring()
196 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring()
199 static inline std::u16string to_string16(const struct_type* s) { in to_string16()
211 static inline bool from_string16(const std::u16string::value_type* data, in from_string16()
219 static inline bool from_string16(const std::u16string& str, struct_type* s) { in from_string16()