Home
last modified time | relevance | path

Searched refs:utf8_was_valid_ (Results 1 – 2 of 2) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/utf/
Dunicodetext.cc234 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in CopyUTF8()
235 if (!repr_.utf8_was_valid_) { in CopyUTF8()
254 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in TakeOwnershipOfUTF8()
255 if (!repr_.utf8_was_valid_) { in TakeOwnershipOfUTF8()
272 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in PointToUTF8()
273 if (repr_.utf8_was_valid_) { in PointToUTF8()
Dunicodetext.h317 bool UTF8WasValid() const { return repr_.utf8_was_valid_; } in UTF8WasValid()
338 bool utf8_was_valid_; // Were we created from valid UTF-8? variable
340 Repr() : data_(NULL), size_(0), capacity_(0), ours_(true), utf8_was_valid_(true) {} in Repr()