Lines Matching refs:UnicodeText
69 class UnicodeText {
73 UnicodeText(); // Create an empty text.
74 UnicodeText(const UnicodeText& src, bool do_copy = true);
75 UnicodeText& operator=(UnicodeText&& src);
76 ~UnicodeText();
141 friend class UnicodeText;
166 bool operator==(const UnicodeText& other) const;
171 UnicodeText& Copy(const UnicodeText& src);
172 UnicodeText& PointToUTF8(const char* utf8_buffer, int byte_length);
173 UnicodeText& CopyUTF8(const char* utf8_buffer, int byte_length);
176 UnicodeText& AppendUTF8(const char* utf8, int len);
177 UnicodeText& push_back(char32 ch);
190 static UnicodeText Substring(const UnicodeText& text, int begin_codepoint,
192 static UnicodeText Substring(const const_iterator& it_begin,
228 typedef std::pair<UnicodeText::const_iterator, UnicodeText::const_iterator>
237 UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len,
239 UnicodeText UTF8ToUnicodeText(const char* utf8_buf, bool do_copy = true);
240 UnicodeText UTF8ToUnicodeText(const std::string& str, bool do_copy = true);
241 UnicodeText UTF8ToUnicodeText(StringPiece str, bool do_copy = true);
242 UnicodeText UTF8ToUnicodeText(absl::string_view str, bool do_copy = true);
245 logging::LoggingStringStream& stream, const UnicodeText& message) {