Searched refs:StringBytes (Results 1 – 1 of 1) sorted by relevance
1235 static unsigned countTrailingNullBytes(const uint8_t *StringBytes, int Length) { in countTrailingNullBytes() argument1236 const uint8_t *End = StringBytes + Length - 1; in countTrailingNullBytes()1246 static unsigned countEmbeddedNulls(const uint8_t *StringBytes, in countEmbeddedNulls() argument1250 if (*StringBytes++ == 0) in countEmbeddedNulls()1259 static unsigned guessCharByteSize(const uint8_t *StringBytes, unsigned NumChars, in guessCharByteSize() argument1271 unsigned TrailingNulls = countTrailingNullBytes(StringBytes, NumChars); in guessCharByteSize()1285 unsigned Nulls = countEmbeddedNulls(StringBytes, NumChars); in guessCharByteSize()1293 static unsigned decodeMultiByteChar(const uint8_t *StringBytes, in decodeMultiByteChar() argument1298 StringBytes = StringBytes + Offset; in decodeMultiByteChar()1300 unsigned C = static_cast<unsigned>(StringBytes[I]); in decodeMultiByteChar()[all …]