Lines Matching refs:StringBytes
1222 static unsigned countTrailingNullBytes(const uint8_t *StringBytes, int Length) { in countTrailingNullBytes() argument
1223 const uint8_t *End = StringBytes + Length - 1; in countTrailingNullBytes()
1233 static unsigned countEmbeddedNulls(const uint8_t *StringBytes, in countEmbeddedNulls() argument
1237 if (*StringBytes++ == 0) in countEmbeddedNulls()
1246 static unsigned guessCharByteSize(const uint8_t *StringBytes, unsigned NumChars, in guessCharByteSize() argument
1258 unsigned TrailingNulls = countTrailingNullBytes(StringBytes, NumChars); in guessCharByteSize()
1272 unsigned Nulls = countEmbeddedNulls(StringBytes, NumChars); in guessCharByteSize()
1280 static unsigned decodeMultiByteChar(const uint8_t *StringBytes, in decodeMultiByteChar() argument
1285 StringBytes = StringBytes + Offset; in decodeMultiByteChar()
1287 unsigned C = static_cast<unsigned>(StringBytes[I]); in decodeMultiByteChar()
1377 uint8_t StringBytes[MaxStringByteLength]; in demangleStringLiteral() local
1383 StringBytes[BytesDecoded++] = demangleCharLiteral(MangledName); in demangleStringLiteral()
1390 guessCharByteSize(StringBytes, BytesDecoded, StringByteSize); in demangleStringLiteral()
1408 decodeMultiByteChar(StringBytes, CharIndex, CharBytes); in demangleStringLiteral()