Lines Matching refs:StringBytes
1082 static unsigned countTrailingNullBytes(const uint8_t *StringBytes, int Length) { in countTrailingNullBytes() argument
1083 const uint8_t *End = StringBytes + Length - 1; in countTrailingNullBytes()
1093 static unsigned countEmbeddedNulls(const uint8_t *StringBytes, in countEmbeddedNulls() argument
1097 if (*StringBytes++ == 0) in countEmbeddedNulls()
1103 static unsigned guessCharByteSize(const uint8_t *StringBytes, unsigned NumChars, in guessCharByteSize() argument
1115 unsigned TrailingNulls = countTrailingNullBytes(StringBytes, NumChars); in guessCharByteSize()
1129 unsigned Nulls = countEmbeddedNulls(StringBytes, NumChars); in guessCharByteSize()
1137 static unsigned decodeMultiByteChar(const uint8_t *StringBytes, in decodeMultiByteChar() argument
1142 StringBytes = StringBytes + Offset; in decodeMultiByteChar()
1144 unsigned C = static_cast<unsigned>(StringBytes[I]); in decodeMultiByteChar()
1233 uint8_t StringBytes[MaxStringByteLength]; in demangleStringLiteral() local
1238 StringBytes[BytesDecoded++] = demangleCharLiteral(MangledName); in demangleStringLiteral()
1245 guessCharByteSize(StringBytes, BytesDecoded, StringByteSize); in demangleStringLiteral()
1263 decodeMultiByteChar(StringBytes, CharIndex, CharBytes); in demangleStringLiteral()