Lines Matching refs:fmt
809 char *fmt; in format() local
821 if ((fmt = (char *) malloc(fmtsz)) == NULL) in format()
839 for (t = fmt; (*t++ = *s) != '\0'; s++) { in format()
840 if (!adjbuf(&fmt, &fmtsz, MAXNUMSIZE+1+t-fmt, recsize, &t, "format3")) in format()
851 t = fmt + strlen(fmt); in format()
881 WARNING("weird printf conversion %s", fmt); in format()
894 case '?': sprintf(p, "%s", fmt); /* unknown, so dump it too */ in format()
903 case 'f': sprintf(p, fmt, getfval(x)); break; in format()
904 case 'd': sprintf(p, fmt, (long) getfval(x)); break; in format()
905 case 'u': sprintf(p, fmt, (int) getfval(x)); break; in format()
913 sprintf(p, fmt, t); in format()
918 sprintf(p, fmt, (int) getfval(x)); in format()
924 sprintf(p, fmt, getsval(x)[0]); in format()
934 free(fmt); in format()