Searched refs:appendChar (Results 1 - 1 of 1) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | string_utils.cpp | 17 static int appendChar(char **Buffer, const char *BufferEnd, char C) { function in namespace:scudo 40 Res += appendChar(Buffer, BufferEnd, '-'); 58 Res += appendChar(Buffer, BufferEnd, c); 61 Res += appendChar(Buffer, BufferEnd, '-'); 66 Res += appendChar(Buffer, BufferEnd, Digit); 100 Res += appendChar(Buffer, BufferEnd, *S); 104 Res += appendChar(Buffer, BufferEnd, ' '); 129 Res += appendChar(&Buffer, BufferEnd, *Cur); 192 appendChar(&Buffer, BufferEnd, static_cast<char>(va_arg(Args, int))); 197 Res += appendChar( 35 RAW_CHECK(MinNumberLength < MaxLen); int Res = 0; if (Negative && MinNumberLength) --MinNumberLength; if (Negative && PadWithZero) Res += appendChar(Buffer, BufferEnd, �); uptr NumBuffer[MaxLen]; int Pos = 0; do { RAW_CHECK_MSG(static_cast<uptr>(Pos) < MaxLen, �); NumBuffer[Pos++] = static_cast<uptr>(AbsoluteValue % Base); AbsoluteValue /= Base; } while (AbsoluteValue > 0); if (Pos < MinNumberLength) { memset(&NumBuffer[Pos], 0, sizeof(NumBuffer[0]) * static_cast<uptr>(MinNumberLength - Pos)); Pos = MinNumberLength; } RAW_CHECK(Pos > 0); Pos--; for (; Pos >= 0 && NumBuffer[Pos] == 0; Pos--) argument [all...] |
Completed in 173 milliseconds