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

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_printf.cpp
  138   for (; *cur; cur++) {
  138   for (; *cur; cur++) {
  139     if (*cur != '%') {
  140       result += AppendChar(&buff, buff_end, *cur);
  143     cur++;
  144     bool left_justified = *cur == '-';
  146       cur++;
  147     bool have_width = (*cur >= '0' && *cur <= '9');
  147     bool have_width = (*cur >= '0' && *cur <= '9');
  148     bool pad_with_zero = (*cur == '0');
  151       while (*cur >= '0' && *cur <= '9') {
  151       while (*cur >= '0' && *cur <= '9') {
  152         width = width * 10 + *cur++ - '0';
  155     bool have_precision = (cur[0] == '.' && cur[1] == '*');
  155     bool have_precision = (cur[0] == '.' && cur[1] == '*');
  158       cur += 2;
  161     bool have_z = (*cur == 'z');
  162     cur += have_z;
  163     bool have_ll = !have_z && (cur[0] == 'l' && cur[1] == 'l');
  163     bool have_ll = !have_z && (cur[0] == 'l' && cur[1] == 'l');
  164     cur += have_ll * 2;
  170     CHECK(!((precision >= 0 || left_justified) && *cur != 's'));
  171     switch (*cur) {
  186         bool uppercase = (*cur == 'X');
  187         result += AppendUnsigned(&buff, buff_end, uval, (*cur == 'u') ? 10 : 16,