Lines Matching refs:StringBytes
1184 static unsigned countTrailingNullBytes(const uint8_t *StringBytes, int Length) { in countTrailingNullBytes() argument
1185 const uint8_t *End = StringBytes + Length - 1; in countTrailingNullBytes()
1195 static unsigned countEmbeddedNulls(const uint8_t *StringBytes, in countEmbeddedNulls() argument
1199 if (*StringBytes++ == 0) in countEmbeddedNulls()
1208 static unsigned guessCharByteSize(const uint8_t *StringBytes, unsigned NumChars, in guessCharByteSize() argument
1220 unsigned TrailingNulls = countTrailingNullBytes(StringBytes, NumChars); in guessCharByteSize()
1234 unsigned Nulls = countEmbeddedNulls(StringBytes, NumChars); in guessCharByteSize()
1242 static unsigned decodeMultiByteChar(const uint8_t *StringBytes, in decodeMultiByteChar() argument
1247 StringBytes = StringBytes + Offset; in decodeMultiByteChar()
1249 unsigned C = static_cast<unsigned>(StringBytes[I]); in decodeMultiByteChar()
1341 uint8_t StringBytes[MaxStringByteLength]; in demangleStringLiteral() local
1347 StringBytes[BytesDecoded++] = demangleCharLiteral(MangledName); in demangleStringLiteral()
1354 guessCharByteSize(StringBytes, BytesDecoded, StringByteSize); in demangleStringLiteral()
1372 decodeMultiByteChar(StringBytes, CharIndex, CharBytes); in demangleStringLiteral()