Lines Matching refs:StringBytes
1185 static unsigned countTrailingNullBytes(const uint8_t *StringBytes, int Length) { in countTrailingNullBytes() argument
1186 const uint8_t *End = StringBytes + Length - 1; in countTrailingNullBytes()
1196 static unsigned countEmbeddedNulls(const uint8_t *StringBytes, in countEmbeddedNulls() argument
1200 if (*StringBytes++ == 0) in countEmbeddedNulls()
1209 static unsigned guessCharByteSize(const uint8_t *StringBytes, unsigned NumChars, in guessCharByteSize() argument
1221 unsigned TrailingNulls = countTrailingNullBytes(StringBytes, NumChars); in guessCharByteSize()
1235 unsigned Nulls = countEmbeddedNulls(StringBytes, NumChars); in guessCharByteSize()
1243 static unsigned decodeMultiByteChar(const uint8_t *StringBytes, in decodeMultiByteChar() argument
1248 StringBytes = StringBytes + Offset; in decodeMultiByteChar()
1250 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()