Home
last modified time | relevance | path

Searched refs:fmt (Results 201 – 225 of 1153) sorted by path

12345678910>>...47

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfiles.c265 static char fmt[ in _alloc_req_id() local
305 sprintf (fmt, "%ld:%ld:%ld:%%ld\n", start, end, incr); in _alloc_req_id()
319 len = sprintf(buf, fmt, curr); in _alloc_req_id()
H A Dfncs.c170 new_alert(char *fmt, int i) in new_alert() argument
177 snprintf(buf, sizeof (buf), fmt, i); in new_alert()
H A Dlpsched.h340 extern ALERT *new_alert(char *fmt, int i);
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dparallel.c64 static void printer_info(char *fmt, ...);
253 printer_info(char *fmt, ...) in printer_info() argument
258 va_start(ap, fmt); in printer_info()
259 vsprintf(mesg, fmt, ap); in printer_info()
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dfiles.c79 fdprintf(int fd, char *fmt, ...) in fdprintf() argument
86 va_start(ap, fmt); in fdprintf()
87 vsnprintf(buf, sizeof (buf), fmt, ap); in fdprintf()
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A D_getmessage.c49 char *fmt; local
84 fmt = _lp_msg_fmts[rtype];
92 fmt = _lp_msg_fmts[etype];
96 while (*fmt != '\0')
97 switch(*fmt++)
H A D_putmessage.c48 char *fmt; local
65 fmt = _lp_msg_fmts[type];
67 while (*fmt != '\0')
68 switch(*fmt++)
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dpapi_impl.h132 extern void detailed_error(service_t *svc, char *fmt, ...);
H A Dservice.c278 detailed_error(service_t *svc, char *fmt, ...) in detailed_error() argument
280 if ((svc != NULL) && (fmt != NULL)) { in detailed_error()
285 va_start(ap, fmt); in detailed_error()
286 rv = vasprintf(&message, fmt, ap); in detailed_error()
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.cat.c76 static void printer_info(char *fmt, ...);
275 printer_info(char *fmt, ...) in printer_info() argument
280 va_start(ap, fmt); in printer_info()
281 vsprintf(mesg, fmt, ap); in printer_info()
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dmisc.c100 tell_lptell(int type, char *fmt, ...) in tell_lptell() argument
105 va_start(ap, fmt); in tell_lptell()
106 (void) vsnprintf(msg, sizeof (msg), fmt, ap); in tell_lptell()
H A Dnet.c314 netpr_send_message(int nd, char *fmt, ...) in netpr_send_message() argument
325 va_start(ap, fmt); in netpr_send_message()
326 (void) vsnprintf(buf, sizeof (buf), fmt, ap); in netpr_send_message()
/illumos-gate/usr/src/cmd/mail/
H A DDout.c49 Dout(char *subname, int level, char *fmt, ...) in Dout() argument
65 char *fmt; local
73 fmt = Xfmt;
78 va_start(args, fmt);
83 fmt = va_arg(args, char *);
90 vfprintf(dbgfp, fmt, args);
H A DTout.c49 Tout(char *subname, char *fmt, ...) in Tout() argument
63 char *fmt; local
69 fmt = Xfmt;
74 va_start(args, fmt);
78 fmt = va_arg(args, char *);
83 vfprintf(dbgfp, fmt, args);
89 va_start(args, fmt);
93 fmt = va_arg(args, char *);
95 vfprintf(stdout, fmt, args);
H A Dmail.h274 extern void Dout(char *subname, int level, char *fmt, ...);
/illumos-gate/usr/src/cmd/mailx/
H A Dsend.c50 static void fmt(register char *str, register FILE *fo);
659 fprintf(fo, "To: "), fmt(hp->h_to, fo), gotcha++; in puthead()
667 fprintf(fo, "Cc: "), fmt(hp->h_cc, fo), gotcha++; in puthead()
669 fprintf(fo, "Bcc: "), fmt(hp->h_bcc, fo), gotcha++; in puthead()
701 fmt(register char *str, register FILE *fo) in fmt() function
/illumos-gate/usr/src/cmd/mandoc/
H A Dhtml.c628 print_otag(struct html *h, enum htmltag tag, const char *fmt, ...) in print_otag() argument
693 va_start(ap, fmt); in print_otag()
695 while (*fmt != '\0' && *fmt != 's') { in print_otag()
701 switch (*fmt++) { in print_otag()
718 if (*fmt == 'M') in print_otag()
729 switch (*fmt) { in print_otag()
732 fmt++; in print_otag()
736 fmt++; in print_otag()
741 fmt++; in print_otag()
751 while (*fmt++ == 's') { in print_otag()
H A Dmandoc.c477 a2time(time_t *t, const char *fmt, const char *p) in a2time() argument
486 pp = strptime(p, fmt, &tm); in a2time()
H A Dmandoc_aux.c35 mandoc_asprintf(char **dest, const char *fmt, ...) in mandoc_asprintf() argument
40 va_start(ap, fmt); in mandoc_asprintf()
41 ret = vasprintf(dest, fmt, ap); in mandoc_asprintf()
H A Dmandoc_msg.c332 mandoc_msg(enum mandocerr t, int line, int col, const char *fmt, ...) in mandoc_msg() argument
359 if (fmt != NULL) { in mandoc_msg()
361 va_start(ap, fmt); in mandoc_msg()
362 vfprintf(fileptr, fmt, ap); in mandoc_msg()
H A Dterm_ps.c657 ps_printf(struct termp *p, const char *fmt, ...) in ps_printf() argument
662 va_start(ap, fmt); in ps_printf()
671 len = vprintf(fmt, ap); in ps_printf()
686 vsnprintf(&p->ps->psmarg[pos], PS_BUFSLOP, fmt, ap); in ps_printf()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kvm.c1910 const char *fmt; in kmt_wapt_info() local
1937 fmt = "stop on %s of phys [%p, %p)"; in kmt_wapt_info()
1941 fmt = "stop on %s of [%la, %la)"; in kmt_wapt_info()
1946 fmt = "stop on %s of I/O port %p"; in kmt_wapt_info()
1948 fmt = "stop on %s of I/O port [%p, %p)"; in kmt_wapt_info()
1952 fmt = "stop on %s of unknown [%p, %p]"; in kmt_wapt_info()
1956 (void) mdb_iob_snprintf(buf, nbytes, fmt, desc + 1, wp->wp_addr, in kmt_wapt_info()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmds.c499 const char *fmt; in print_arglist() local
506 fmt = "%-#*lla\n"; in print_arglist()
509 fmt = "%-#*lla"; in print_arglist()
512 fmt = "%-#*lla%16T"; in print_arglist()
533 mdb_iob_printf(mdb.m_out, fmt, in print_arglist()
H A Dmdb_fmt.c716 mdb_tgt_addr_t addr, size_t cnt, char fmt) in mdb_fmt_print() argument
718 const mdb_fmt_desc_t *fp = &fmttab[fmt]; in mdb_fmt_print()
732 if (fmt < 0 || fmt > (sizeof (fmttab) / sizeof (fmttab[0]))) { in mdb_fmt_print()
733 warn("invalid format character -- '%c'\n", fmt); in mdb_fmt_print()
766 fail("format %c is defined using illegal size\n", fmt); in mdb_fmt_print()
772 fmt); in mdb_fmt_print()
819 warn("invalid format character -- '%c'\n", fmt); in mdb_fmt_print()
H A Dmdb_io.c2342 const char *fmt; in mdb_table_print() local
2366 fmt = va_arg(alist, const char *); in mdb_table_print()
2369 iob_doprnt(out, fmt, &ap); in mdb_table_print()

12345678910>>...47