Searched refs:IsInterchangeValid (Results 1 – 2 of 2) sorted by relevance
88 inline bool IsInterchangeValid(const char* src, int byte_length) { in IsInterchangeValid() function91 inline bool IsInterchangeValid(const std::string& src) { in IsInterchangeValid() function92 return IsInterchangeValid(src.data(), static_cast<int>(src.size())); in IsInterchangeValid()
234 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in CopyUTF8()254 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in TakeOwnershipOfUTF8()272 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in PointToUTF8()371 if (UniLib::IsInterchangeValid(buf, len)) { in push_back()