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

References

projects/compiler-rt/lib/dfsan/dfsan_custom.cpp
  970   while (*formatter.fmt_cur) {
  971     formatter.fmt_start = formatter.fmt_cur;
  971     formatter.fmt_start = formatter.fmt_cur;
  972     formatter.width = -1;
  975     if (*formatter.fmt_cur != '%') {
  978       for (; *(formatter.fmt_cur + 1) && *(formatter.fmt_cur + 1) != '%';
  978       for (; *(formatter.fmt_cur + 1) && *(formatter.fmt_cur + 1) != '%';
  979            ++formatter.fmt_cur) {}
  980       retval = formatter.format();
  981       dfsan_set_label(0, formatter.str_cur(),
  982                       formatter.num_written_bytes(retval));
  987       for (; *formatter.fmt_cur && !end_fmt; ) {
  988         switch (*++formatter.fmt_cur) {
  995           switch (*(formatter.fmt_cur - 1)) {
  999             retval = formatter.format(va_arg(ap, int));
 1002             if (formatter.fmt_cur - formatter.fmt_start >= 2 &&
 1002             if (formatter.fmt_cur - formatter.fmt_start >= 2 &&
 1003                 *(formatter.fmt_cur - 2) == 'l') {
 1004               retval = formatter.format(va_arg(ap, long long int));
 1006               retval = formatter.format(va_arg(ap, long int));
 1010             retval = formatter.format(va_arg(ap, long long int));
 1013             retval = formatter.format(va_arg(ap, intmax_t));
 1017             retval = formatter.format(va_arg(ap, size_t));
 1020             retval = formatter.format(va_arg(ap, int));
 1022           dfsan_set_label(*va_labels++, formatter.str_cur(),
 1023                           formatter.num_written_bytes(retval));
 1035           if (*(formatter.fmt_cur - 1) == 'L') {
 1036             retval = formatter.format(va_arg(ap, long double));
 1038             retval = formatter.format(va_arg(ap, double));
 1040           dfsan_set_label(*va_labels++, formatter.str_cur(),
 1041                           formatter.num_written_bytes(retval));
 1046           retval = formatter.format(va_arg(ap, int));
 1047           dfsan_set_label(*va_labels++, formatter.str_cur(),
 1048                           formatter.num_written_bytes(retval));
 1054           retval = formatter.format(arg);
 1056           internal_memcpy(shadow_for(formatter.str_cur()), shadow_for(arg),
 1058                               formatter.num_written_bytes(retval));
 1064           retval = formatter.format(va_arg(ap, void *));
 1065           dfsan_set_label(*va_labels++, formatter.str_cur(),
 1066                           formatter.num_written_bytes(retval));
 1072           *ptr = (int)formatter.str_off;
 1080           retval = formatter.format();
 1081           dfsan_set_label(0, formatter.str_cur(),
 1082                           formatter.num_written_bytes(retval));
 1087           formatter.width = va_arg(ap, int);
 1101     formatter.fmt_cur++;
 1102     formatter.str_off += retval;
 1108   return formatter.str_off;