Lines Matching defs:CefStringTraitsUTF8
128 struct CefStringTraitsUTF8 { struct
129 typedef char char_type;
130 typedef cef_string_utf8_t struct_type;
131 typedef cef_string_userfree_utf8_t userfree_struct_type;
133 static inline void clear(struct_type* s) { cef_string_utf8_clear(s); } in clear()
134 static inline int set(const char_type* src, in set()
140 static inline int compare(const struct_type* s1, const struct_type* s2) { in compare()
143 static inline userfree_struct_type userfree_alloc() { in userfree_alloc()
146 static inline void userfree_free(userfree_struct_type ufs) { in userfree_free()
151 static inline bool from_ascii(const char* str, size_t len, struct_type* s) { in from_ascii()
154 static inline std::string to_string(const struct_type* s) { in to_string()
157 static inline bool from_string(const std::string& str, struct_type* s) { in from_string()
160 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring()
170 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring()
173 static inline std::u16string to_string16(const struct_type* s) { in to_string16()
185 static inline bool from_string16(const std::u16string& str, struct_type* s) { in from_string16()