Lines Matching refs:Output
91 OutputBuffer Output; member in __anon798090d70111::Demangler
160 if (!initializeOutputBuffer(nullptr, nullptr, D.Output, 1024)) in rustDemangle()
164 std::free(D.Output.getBuffer()); in rustDemangle()
168 D.Output += '\0'; in rustDemangle()
170 return D.Output.getBuffer(); in rustDemangle()
1011 Output += C; in print()
1018 Output += S; in print()
1025 Output << N; in printDecimalNumber()
1067 static void removeNullBytes(OutputBuffer &Output, size_t StartIdx) { in removeNullBytes() argument
1068 char *Buffer = Output.getBuffer(); in removeNullBytes()
1070 char *End = Buffer + Output.getCurrentPosition(); in removeNullBytes()
1071 Output.setCurrentPosition(std::remove(Start, End, '\0') - Buffer); in removeNullBytes()
1076 static inline bool encodeUTF8(size_t CodePoint, char *Output) { in encodeUTF8() argument
1081 Output[0] = CodePoint; in encodeUTF8()
1086 Output[0] = 0xC0 | ((CodePoint >> 6) & 0x3F); in encodeUTF8()
1087 Output[1] = 0x80 | (CodePoint & 0x3F); in encodeUTF8()
1092 Output[0] = 0xE0 | (CodePoint >> 12); in encodeUTF8()
1093 Output[1] = 0x80 | ((CodePoint >> 6) & 0x3F); in encodeUTF8()
1094 Output[2] = 0x80 | (CodePoint & 0x3F); in encodeUTF8()
1099 Output[0] = 0xF0 | (CodePoint >> 18); in encodeUTF8()
1100 Output[1] = 0x80 | ((CodePoint >> 12) & 0x3F); in encodeUTF8()
1101 Output[2] = 0x80 | ((CodePoint >> 6) & 0x3F); in encodeUTF8()
1102 Output[3] = 0x80 | (CodePoint & 0x3F); in encodeUTF8()
1111 static bool decodePunycode(StringView Input, OutputBuffer &Output) { in decodePunycode() argument
1112 size_t OutputSize = Output.getCurrentPosition(); in decodePunycode()
1129 Output += StringView(UTF8, UTF8 + 4); in decodePunycode()
1188 size_t NumPoints = (Output.getCurrentPosition() - OutputSize) / 4 + 1; in decodePunycode()
1200 Output.insert(OutputSize + I * 4, UTF8, 4); in decodePunycode()
1203 removeNullBytes(Output, OutputSize); in decodePunycode()
1212 if (!decodePunycode(Ident.Name, Output)) in printIdentifier()