Lines Matching refs:fmt
86 ** fmt -- format instructions for the o/p
98 sm_bprintf(fp, fmt, ap)
100 const char *fmt;
129 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
179 register char *fmt; /* format string */
180 register int ch; /* character from fmt */
272 cp = fmt; \
289 fmt = ++cp; \
324 fmt = (char *) fmt0;
336 cp = fmt;
338 while ((wc = *fmt) != '\0')
345 fmt++;
347 if ((m = fmt - cp) != 0)
354 fmt++; /* skip over '%' */
362 rflag: ch = *fmt++;
400 if ((ch = *fmt++) == '*')
410 ch = *fmt++;
441 ch = *fmt++;
460 if (*fmt == 'l')
462 fmt++;
499 char fmt[16];
514 p = fmt;
539 snprintf(out, sizeof(out), fmt, width,
542 sprintf(out, fmt, width, prec, val);
546 snprintf(out, sizeof(out), fmt, width,
549 sprintf(out, fmt, width, val);
832 register char *fmt; /* format string */
833 register int ch; /* character from fmt */
861 cp = fmt; \
873 fmt = ++cp; \
879 fmt = (char *) fmt0;
889 for (cp = fmt; (ch = *fmt) != '\0' && ch != '%'; fmt++)
893 fmt++; /* skip over '%' */
897 rflag: ch = *fmt++;
910 if ((ch = *fmt++) == '*')
917 ch = *fmt++;
928 ch = *fmt++;