reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/scudo/standalone/string_utils.cpp
  127   for (; *Cur; Cur++) {
  127   for (; *Cur; Cur++) {
  128     if (*Cur != '%') {
  129       Res += appendChar(&Buffer, BufferEnd, *Cur);
  132     Cur++;
  133     const bool LeftJustified = *Cur == '-';
  135       Cur++;
  136     bool HaveWidth = (*Cur >= '0' && *Cur <= '9');
  136     bool HaveWidth = (*Cur >= '0' && *Cur <= '9');
  137     const bool PadWithZero = (*Cur == '0');
  140       while (*Cur >= '0' && *Cur <= '9')
  140       while (*Cur >= '0' && *Cur <= '9')
  141         Width = static_cast<u8>(Width * 10 + *Cur++ - '0');
  143     const bool HavePrecision = (Cur[0] == '.' && Cur[1] == '*');
  143     const bool HavePrecision = (Cur[0] == '.' && Cur[1] == '*');
  146       Cur += 2;
  149     const bool HaveZ = (*Cur == 'z');
  150     Cur += HaveZ;
  151     const bool HaveLL = !HaveZ && (Cur[0] == 'l' && Cur[1] == 'l');
  151     const bool HaveLL = !HaveZ && (Cur[0] == 'l' && Cur[1] == 'l');
  152     Cur += HaveLL * 2;
  158     CHECK(!((Precision >= 0 || LeftJustified) && *Cur != 's'));
  159     switch (*Cur) {
  171       const bool Upper = (*Cur == 'X');
  172       Res += appendUnsigned(&Buffer, BufferEnd, UVal, (*Cur == 'u') ? 10 : 16,