Searched refs:byteCount (Results 1 – 3 of 3) sorted by relevance
44 static size_t byteCount(char c) { in byteCount() function59 size_t byte_count = byteCount(c); in codePoint()88 begin_ += byteCount(*begin_);110 auto byte_count = byteCount(*pos); in verify()
80 static size_t byteCount(char c) { in byteCount() function98 auto bc = byteCount(*begin); in checkUTF8Copy()
101 static bool readBytes(const std::string& fileName, char* buffer, size_t byteCount) { in readBytes() argument109 size_t bytesRead = fread(buffer, 1, byteCount, file); in readBytes()111 if (bytesRead != byteCount) { in readBytes()112 LOG(WARNING) << fileName << " is too small. " << byteCount << " bytes required"; in readBytes()