/original-bsd/lib/libc/gen/ |
H A D | err.c | 32 const char *fmt; 38 va_start(ap, fmt); 49 const char *fmt; 70 const char *fmt; 87 const char *fmt; 91 if (fmt != NULL) 102 const char *fmt; in warn() 112 vwarn(fmt, ap); 117 vwarn(fmt, ap) in vwarn() argument 118 const char *fmt; in vwarn() [all …]
|
/original-bsd/usr.bin/printf/ |
H A D | printf.c | 116 next: for (start = fmt;; ++fmt) { 143 for (; strchr(skip1, *fmt); ++fmt); 151 for (; strchr(skip2, *fmt); ++fmt); 153 ++fmt; 161 for (; strchr(skip2, *fmt); ++fmt); 162 if (!*fmt) { 169 *fmt = '\0'; 229 escape(fmt) in escape() argument 235 for (store = fmt; (c = *fmt) != '\0'; ++fmt, ++store) { 274 c-- && *fmt >= '0' && *fmt <= '7'; ++fmt) { [all …]
|
/original-bsd/lib/libcurses/ |
H A D | scanw.c | 32 scanw(fmt, va_alist) in scanw() 33 char *fmt; in scanw() 41 va_start(ap, fmt); 60 char *fmt; 68 va_start(ap, fmt); 88 char *fmt; 98 va_start(ap, fmt); 115 char *fmt; 125 va_start(ap, fmt); 139 vwscanw(win, fmt, ap) in vwscanw() argument [all …]
|
H A D | printw.c | 37 printw(fmt, va_alist) in printw() 38 char *fmt; in printw() 46 va_start(ap, fmt); 65 char *fmt; 73 va_start(ap, fmt); 93 char *fmt; 101 va_start(ap, fmt); 120 char *fmt; 128 va_start(ap, fmt); 163 vwprintw(win, fmt, ap) in vwprintw() argument [all …]
|
H A D | mvprintw.c | 27 mvprintw(register int y, register int x, const char *fmt, ...) in mvprintw() argument 29 mvprintw(y, x, fmt, va_alist) in mvprintw() 31 char *fmt; 41 va_start(ap, fmt); 45 ret = vwprintw(stdscr, fmt, ap); 52 const char *fmt, ...) in mvwprintw() argument 54 mvwprintw(win, y, x, fmt, va_alist) in mvwprintw() 57 char *fmt; 67 va_start(ap, fmt); 71 ret = vwprintw(win, fmt, ap);
|
H A D | mvscanw.c | 26 mvscanw(register int y, register int x, const char *fmt,...) in mvscanw() argument 28 mvscanw(y, x, fmt, va_alist) in mvscanw() 30 char *fmt; 40 va_start(ap, fmt); 44 ret = __sscans(stdscr, fmt, ap); 51 const char *fmt, ...) in mvwscanw() argument 53 mvwscanw(win, y, x, fmt, va_alist) in mvwscanw() 56 char *fmt; 66 va_start(ap, fmt); 70 ret = _sscans(win, fmt, ap);
|
H A D | ctrace.c | 29 __CTRACE(const char *fmt, ...) in __CTRACE() argument 31 __CTRACE(fmt, va_alist) in __CTRACE() 32 char *fmt; in __CTRACE() 38 va_start(ap, fmt); 46 (void)vfprintf(tracefp, fmt, ap);
|
/original-bsd/sys/kern/ |
H A D | subr_prf.c | 75 panic(fmt, va_alist) in panic() 76 char *fmt; in panic() 86 panicstr = fmt; 88 va_start(ap, fmt); 123 char *fmt; in uprintf() 167 char *fmt; 197 char *fmt; 220 char *fmt; 258 char *fmt; in addlog() 282 char *fmt; in printf() [all …]
|
/original-bsd/bin/pax/ |
H A D | tty_subs.c | 83 tty_prnt(char *fmt, ...) in tty_prnt() argument 86 tty_prnt(fmt, va_alist) in tty_prnt() 87 char *fmt; in tty_prnt() 93 va_start(ap, fmt); 99 (void)vfprintf(ttyoutf, fmt, ap); 144 warn(int set, char *fmt, ...) in warn() argument 147 warn(set, fmt, va_alist) in warn() 149 char *fmt; 155 va_start(ap, fmt); 189 char *fmt; [all …]
|
/original-bsd/usr.bin/hexdump/ |
H A D | parse.c | 51 add(fmt) in add() argument 52 char *fmt; in add() 70 for (p = fmt;;) { 86 badfmt(fmt); 102 badfmt(fmt); 110 badfmt(fmt); 113 badfmt(fmt); 140 for (bcnt = prec = 0, fmt = fu->fmt; *fmt; ++fmt) { 148 if (*fmt == '.' && isdigit(*++fmt)) { 470 badfmt(fmt) in badfmt() argument [all …]
|
H A D | conv.c | 61 (void)printf(pr->fmt, *p); 65 (void)printf(pr->fmt, str); 86 (void)printf(pr->fmt, "nl"); 88 (void)printf(pr->fmt, list[*p]); 91 (void)printf(pr->fmt, "del"); 94 (void)printf(pr->fmt, " sp"); 97 (void)printf(pr->fmt, *p); 100 (void)printf(pr->fmt, (int)*p);
|
H A D | display.c | 79 (void)printf(pr->fmt); in display() 104 (void)printf(pr->fmt, ""); 110 (void)printf(pr->fmt, *bp); 116 (void)printf(pr->fmt, f4); 120 (void)printf(pr->fmt, f8); 131 (void)printf(pr->fmt, (quad_t)s2); 135 (void)printf(pr->fmt, (quad_t)s4); 139 (void)printf(pr->fmt, s8); 147 (void)printf(pr->fmt, (char *)bp); 150 (void)printf(pr->fmt); [all …]
|
/original-bsd/contrib/usr.x25/lib/ |
H A D | print.c | 13 sprint (buf, fmt, x1) in sprint() argument 14 char *buf, *fmt; in sprint() 17 (void) doprint (buf, fmt, &x1); 20 fprint (fd, fmt, x1) in fprint() argument 21 char *fmt; in fprint() 27 n = doprint (line, fmt, &x1); 31 print (fmt, x1) in print() argument 32 char *fmt; in print() 43 doprint(buf, fmt, adx) in doprint() argument 45 register char *fmt; [all …]
|
/original-bsd/usr.bin/ex/ |
H A D | printf.c | 49 register char *fmt; local 64 fmt = (char *)fmt0; 79 fmt++; 86 fmt++; 96 fmt++; 100 while (*fmt>='0' && *fmt<='9') 105 if (*fmt=='.') { 108 fmt++; 112 while (*fmt>='0' && *fmt<='9') 129 switch (*fmt) { [all …]
|
/original-bsd/usr.sbin/config.new/ |
H A D | util.c | 150 error(const char *fmt, ...) in error() argument 152 error(fmt, va_alist) in error() 153 const char *fmt; in error() 161 va_start(ap, fmt); 180 const char *fmt; 187 va_start(ap, fmt); 202 const char *fmt; 217 panic(const char *fmt, ...) in panic() argument 219 panic(fmt, va_alist) in panic() 220 const char *fmt; in panic() [all …]
|
/original-bsd/contrib/libg++-2.3/libg++/src/ |
H A D | CursesW.cc | 51 va_start(args, fmt); in scanw() 82 va_start(args, fmt); in mvscanw() 87 result=wscanw(w , fmt , args); in mvscanw() 117 va_start(args, fmt); in printw() 121 ss.vform(fmt, args); in printw() 129 _doprnt(fmt, args, &b); in printw() 132 vsprintf(buf, fmt, args); in printw() 143 va_start(args, fmt); in mvprintw() 150 ss.vform(fmt, args); in mvprintw() 158 _doprnt(fmt, args, &b); in mvprintw() [all …]
|
/original-bsd/usr.bin/id/ |
H A D | id.c | 168 char *fmt; in current() local 194 (void)printf(fmt, id); in current() 217 fmt = " groups=%u"; 221 (void)printf(fmt, id); 222 fmt = " %u"; 238 char *fmt; local 257 fmt = " %s"; 260 fmt = " %u"; 298 err(fmt, va_alist) in err() 299 char *fmt; in err() [all …]
|
/original-bsd/usr.sbin/pwd_mkdb/ |
H A D | pw_scan.c | 40 goto fmt; 44 goto fmt; 47 goto fmt; 60 goto fmt; 70 goto fmt; 73 goto fmt; 78 goto fmt; 92 fmt: warnx("corrupted entry");
|
/original-bsd/bin/sh/ |
H A D | output.c | 196 va_start(ap, fmt); in outfmt() 197 doformat(file, fmt, ap); in outfmt() 203 out1fmt(char *fmt, ...) { in out1fmt() argument 206 va_start(ap, fmt); in out1fmt() 207 doformat(out1, fmt, ap); in out1fmt() 215 va_start(ap, fmt); in dprintf() 226 va_start(ap, fmt); in fmtstr() 245 char *fmt; in outfmt() local 260 char *fmt; in out1fmt() local 273 char *fmt; in dprintf() local [all …]
|
/original-bsd/usr.bin/mail/ |
H A D | makefile.cor | 19 all: Mail fmt 23 cp fmt $(DESTDIR) 34 rm -f Mail a.out fmt x.c xs.c tags core 41 fmt: fmt.c head.c 42 $(CC) $(CFLAGS) fmt.c head.c -o fmt -lretro -lS 43 $(RM) fmt.o head.o 44 size fmt 54 @pr fmt.c
|
/original-bsd/lib/libc/stdio/ |
H A D | printf.c | 23 printf(char const *fmt, ...) in printf() argument 25 printf(fmt, va_alist) in printf() 26 char *fmt; in printf() 34 va_start(ap, fmt); 38 ret = vfprintf(stdout, fmt, ap);
|
H A D | scanf.c | 23 scanf(char const *fmt, ...) in scanf() argument 25 scanf(fmt, va_alist) in scanf() 26 char *fmt; in scanf() 34 va_start(ap, fmt); 38 ret = __svfscanf(stdin, fmt, ap);
|
H A D | fprintf.c | 23 fprintf(FILE *fp, const char *fmt, ...) in fprintf() argument 25 fprintf(fp, fmt, va_alist) in fprintf() 27 char *fmt; 35 va_start(ap, fmt); 39 ret = vfprintf(fp, fmt, ap);
|
H A D | fscanf.c | 23 fscanf(FILE *fp, char const *fmt, ...) { argument 27 va_start(ap, fmt); 29 fscanf(fp, fmt, va_alist) 31 char *fmt; 39 ret = __svfscanf(fp, fmt, ap);
|
/original-bsd/usr.sbin/sendmail/src/ |
H A D | err.c | 59 syserr(fmt, va_alist) in syserr() 60 const char *fmt; in syserr() 74 panic = *fmt == '!'; 76 fmt++; 83 VA_START(fmt); 164 const char *fmt; in usrerr() 173 VA_START(fmt); 416 const char *fmt; 423 if (isdigit(fmt[0]) && isdigit(fmt[1]) && isdigit(fmt[2])) 425 num = fmt; [all …]
|