Searched refs:fmt (Results 376 - 400 of 1138) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrptime.c54 __strptime(const char *_RESTRICT_KYWD buf, const char *_RESTRICT_KYWD fmt, argument
68 ptr = fmt;
522 strptime(const char *_RESTRICT_KYWD buf, const char *_RESTRICT_KYWD fmt, argument
529 return (__strptime(buf, fmt, tm, &flags, uselocale(NULL)));
538 const char *_RESTRICT_KYWD fmt, struct tm *_RESTRICT_KYWD tm)
542 return (__strptime(buf, fmt, tm, &flags, uselocale(NULL)));
556 strptime_l(const char *_RESTRICT_KYWD buf, const char *_RESTRICT_KYWD fmt, argument
563 return (__strptime(buf, fmt, tm, &flags, loc));
537 __strptime_dontzero(const char *_RESTRICT_KYWD buf, const char *_RESTRICT_KYWD fmt, struct tm *_RESTRICT_KYWD tm) argument
/illumos-gate/usr/src/cmd/projadd/
H A Dprojdel.pl61 my ($e, $fmt, @args) = @$err;
62 printf(STDERR $prog . $fmt . "\n", @args);
/illumos-gate/usr/src/cmd/modload/
H A Dmodunload.c41 extern void fatal(char *fmt, ...);
42 extern void error(char *fmt, ...);
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dout.h48 void out(int flags, const char *fmt, ...);
49 void outfl(int flags, const char *fname, int line, const char *fmt, ...);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c122 reply(caddr_t fmt, ...) argument
142 va_start(ap, fmt);
144 (void) vprintf(fmt, ap);
882 errexit(caddr_t fmt, ...) argument
886 va_start(ap, fmt);
887 verrexit(fmt, ap);
893 verrexit(caddr_t fmt, va_list ap) argument
912 (void) vprintf(fmt, ap);
913 if (fmt[strlen(fmt)
924 pfatal(caddr_t fmt, ...) argument
935 vpfatal(caddr_t fmt, va_list ap) argument
971 pwarn(caddr_t fmt, ...) argument
982 vpwarn(caddr_t fmt, va_list ap) argument
1002 fsck_asprintf(caddr_t *ret, caddr_t fmt, ...) argument
1031 cmn_err(int level, caddr_t fmt, ...) argument
2571 vfileerror(fsck_ino_t cwd, fsck_ino_t ino, caddr_t fmt, va_list ap) argument
2593 direrror(fsck_ino_t ino, caddr_t fmt, ...) argument
2603 vdirerror(fsck_ino_t ino, caddr_t fmt, va_list ap) argument
2609 fileerror(fsck_ino_t cwd, fsck_ino_t ino, caddr_t fmt, ...) argument
[all...]
/illumos-gate/usr/src/lib/pam_modules/authtok_store/
H A Dauthtok_store.c44 error(int nowarn, pam_handle_t *pamh, char *fmt, ...) argument
49 va_start(ap, fmt);
50 (void) vsnprintf(messages[0], sizeof (messages[0]), fmt, ap);
59 info(int nowarn, pam_handle_t *pamh, char *fmt, ...) argument
64 va_start(ap, fmt);
65 (void) vsnprintf(messages[0], sizeof (messages[0]), fmt, ap);
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_subr.c81 libscsi_verror(libscsi_hdl_t *hp, libscsi_errno_t err, const char *fmt, argument
98 (void) vsnprintf(errmsg, sizeof (hp->lsh_errmsg), fmt, ap);
113 libscsi_error(libscsi_hdl_t *hp, libscsi_errno_t err, const char *fmt, ...) argument
117 if (fmt == NULL)
120 va_start(ap, fmt);
121 err = libscsi_verror(hp, err, fmt, ap);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dtparm.c157 save_text(const char *fmt, const char *s, int len) argument
165 (void) grub_sprintf(out_buff + out_used, fmt, s);
170 save_number(const char *fmt, int number, int len) argument
177 (void) grub_sprintf(out_buff + out_used, fmt, number);
242 char *fmt = format; local
304 format = fmt;
/illumos-gate/usr/src/tools/scripts/
H A Djstyle.pl64 my $fmt;
67 $fmt = "%s: %d: %s\n%s\n";
69 $fmt = "%s: %d: %s\n";
101 printf $fmt, $filename, $., $_[0], $line;
103 printf $fmt, $filename, $., $_[0];
465 printf $fmt, $filename, $., $str, $prev;
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddbuf.h353 * There should be a ## between the string literal and fmt, to make it
357 #define dprintf_dbuf(dbuf, fmt, ...) do { \
367 "obj=%s lvl=%u blkid=%lld " fmt, \
373 #define dprintf_dbuf_bp(db, bp, fmt, ...) do { \
377 dprintf_dbuf(db, fmt " %s\n", __VA_ARGS__, __blkbuf); \
386 #define dprintf_dbuf(db, fmt, ...)
387 #define dprintf_dbuf_bp(db, bp, fmt, ...)
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dprintf.c181 ** fmt This is the format string, as in the usual print.
198 const char *fmt, /* Format string */
236 for(; (c=(*fmt))!=0; ++fmt){
239 bufpt = (char *)fmt;
241 while( (c=(*++fmt))!='%' && c!=0 ) amt++;
246 if( (c=(*++fmt))==0 ){
264 }while( c==0 && (c=(*++fmt))!=0 );
273 c = *++fmt;
277 c = *++fmt;
194 vxprintf( void (*func)(void*,const char*,int), void *arg, int useExtended, const char *fmt, va_list ap ) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/sys/
H A Dscsb.h684 #define DEBUG0(fmt)\
685 scsb_debug_prnt(fmt, 0, 0, 0, 0, 0);
686 #define DEBUG1(fmt, a1)\
687 scsb_debug_prnt(fmt, (uintptr_t)(a1), 0, 0, 0, 0);
688 #define DEBUG2(fmt, a1, a2)\
689 scsb_debug_prnt(fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
690 #define DEBUG3(fmt, a1, a2, a3)\
691 scsb_debug_prnt(fmt, (uintptr_t)(a1), (uintptr_t)(a2),\
693 #define DEBUG4(fmt, a1, a2, a3, a4)\
694 scsb_debug_prnt(fmt, (uintptr_
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai.c215 usb_vprintf(dev_info_t *dip, int level, char *label, char *fmt, va_list ap) argument
278 (void) vsnprintf(msg_ptr, USBA_PRINT_BUF_LEN - len - 2, fmt, ap);
391 char *fmt, va_list ap)
399 usb_vprintf(NULL, level, "usba", fmt, ap);
443 usb_vprintf(hdl->lh_dip, level, label, fmt, ap);
450 usb_dprintf4(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
454 va_start(ap, fmt);
455 (void) usba_vlog(handle, USB_LOG_L4, mask, fmt, ap);
461 usb_dprintf3(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
465 va_start(ap, fmt);
390 usba_vlog(usb_log_handle_t handle, uint_t level, uint_t mask, char *fmt, va_list ap) argument
472 usb_dprintf2(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
483 usb_dprintf1(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
494 usb_dprintf0(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
505 usb_log(usb_log_handle_t handle, uint_t level, uint_t mask, char *fmt, ...) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc_v4l2.c195 struct v4l2_format fmt; local
212 USBVC_COPYIN(fmt);
213 if (usbvc_v4l2_set_format(usbvcp, &fmt) != USB_SUCCESS) {
219 USBVC_COPYOUT(fmt);
225 struct v4l2_format fmt; local
229 USBVC_COPYIN(fmt);
231 if ((rv = usbvc_v4l2_get_format(usbvcp, &fmt)) != 0) {
236 USBVC_COPYOUT(fmt);
835 if (format->fmt.pix.pixelformat ==
847 "pixelformat=%x", format->fmt
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dutilities.c76 pfatal(char *fmt, ...) argument
79 va_start(args, fmt);
82 (void) vprintf(fmt, args);
90 (void) vprintf(fmt, args);
100 pwarn(char *fmt, ...) argument
103 va_start(args, fmt);
106 (void) vprintf(fmt, args);
113 errexit(char *fmt, ...) argument
116 va_start(args, fmt);
117 (void) vprintf(fmt, arg
[all...]
/illumos-gate/usr/src/lib/libdtrace_jni/common/
H A Ddtj_util.c749 dtj_throw(JNIEnv *jenv, jclass jc, const char *fmt, va_list *ap) argument
752 (void) vsnprintf(msg, sizeof (msg), fmt, *ap);
757 dtj_throw_out_of_memory(JNIEnv *jenv, const char *fmt, ...) argument
771 va_start(ap, fmt);
772 dtj_throw(jenv, jc, fmt, &ap);
778 dtj_throw_null_pointer(JNIEnv *jenv, const char *fmt, ...) argument
783 va_start(ap, fmt);
784 dtj_throw(jenv, jc, fmt, &ap);
790 dtj_throw_illegal_state(JNIEnv *jenv, const char *fmt, ...) argument
795 va_start(ap, fmt);
802 dtj_throw_illegal_argument(JNIEnv *jenv, const char *fmt, ...) argument
814 dtj_throw_no_such_element(JNIEnv *jenv, const char *fmt, ...) argument
826 dtj_throw_class_cast(JNIEnv *jenv, const char *fmt, ...) argument
838 dtj_throw_assertion(JNIEnv *jenv, const char *fmt, ...) argument
850 dtj_throw_resource_limit(JNIEnv *jenv, const char *fmt, ...) argument
1000 dtj_format_string(JNIEnv *jenv, const char *fmt, ...) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4v.c611 char *fmt = "%-17s %-5s %-33s %-8s"; local
621 log_printf(fmt, "Slot +", "Bus", "Name +", "Model", 0);
623 log_printf(fmt, "Status", "Type", "Path", "", 0);
844 char *fmt = "%-14s %-8s %-11s %-8s %-s"; local
857 log_printf(fmt, "Base", "Segment", "Interleave", "Bank", "Contains", 0);
859 log_printf(fmt, "Address", "Size", "Factor", "Size", "Modules", 0);
870 char *fmt = "%-6s %-9s %-22s %-6s"; local
884 log_printf(fmt, "CPU ID", "Frequency", "Implementation",
887 log_printf(fmt, "------", "---------",
1492 char *fmt local
1523 char *fmt = "%-34s %-18s %-10s\\n"; local
1552 char *fmt = "%-34s %-18s %-10s\\n"; local
1583 char *fmt = "%-34s %-18s %-8s\\n"; local
1614 char *fmt = "%-34s %-18s %-10s\\n"; local
1642 char *fmt = "%-34s %-18s %-8s\\n"; local
1673 char *fmt = "%-34s %-18s %-10s\\n"; local
1704 char *fmt = "%-34s %-18s %-8s\\n"; local
1735 char *fmt = "%-34s %-18s %-8s\\n"; local
1850 char *fmt = "%-34s %-9s %-8s\\n"; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmail.local.c104 static void err(const char *fmt, ...);
109 static void warn(const char *fmt, ...);
1034 mailerr(const char *hdr, const char *fmt, ...) argument
1036 mailerr(hdr, fmt, va_alist)
1038 const char *fmt;
1045 va_start(ap, fmt);
1053 vprintf(fmt, ap);
1059 vwarn(fmt, ap);
1066 err(const char *fmt, ...) argument
1068 err(fmt, va_alis
1089 warn(const char *fmt, ...) argument
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dactions.c674 const char *fmt = NULL; local
697 fmt = "= 0x%lX%.8lX";
704 fmt = "= 0x%lX%.8lX";
717 fmt = "= 0x%.8lX";
723 else if ((fmt = rawsigname(pri, rv1)) != NULL) {
724 rv1 = (long)fmt; /* filthy */
725 fmt = "= %s";
738 if (fmt == NULL) {
745 fmt = "= 0x%.8lX";
752 fmt
[all...]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dgen_struct_layout.c606 const char *fmt = "\t&%s_layout,\n"; local
650 (void) printf(fmt, "auxv");
651 (void) printf(fmt, "fltset");
652 (void) printf(fmt, "lwpsinfo");
653 (void) printf(fmt, "lwpstatus");
654 (void) printf(fmt, "prcred");
655 (void) printf(fmt, "priv_impl_info");
656 (void) printf(fmt, "prpriv");
657 (void) printf(fmt, "psinfo");
658 (void) printf(fmt, "pstatu
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dgencsr.c51 KMF_ENCODE_FORMAT fmt, char *csrfile,
113 kmfrv = kmf_create_csr_file(&signedCsr, fmt, csrfile);
170 int keylen, KMF_ENCODE_FORMAT fmt,
211 fmt, outkey, &prik, &pubk);
244 kmfrv = kmf_create_csr_file(&signedCsr, fmt, fullcsrpath);
267 KMF_ENCODE_FORMAT fmt, char *csrfile,
330 kmfrv = kmf_create_csr_file(&signedCsr, fmt, csrfile);
390 KMF_ENCODE_FORMAT fmt = KMF_FORMAT_ASN1; local
598 if (format && (fmt = Str2Format(format)) == KMF_FORMAT_UNDEF) {
603 if (format && fmt !
46 gencsr_pkcs11(KMF_HANDLE_T kmfhandle, char *token, char *subject, char *altname, KMF_GENERALNAMECHOICES alttype, int altcrit, char *certlabel, KMF_KEY_ALG keyAlg, int keylen, uint16_t kubits, int kucrit, KMF_ENCODE_FORMAT fmt, char *csrfile, KMF_CREDENTIAL *tokencred, EKU_LIST *ekulist, KMF_ALGORITHM_INDEX sigAlg, KMF_OID *curveoid) argument
168 gencsr_file(KMF_HANDLE_T kmfhandle, KMF_KEY_ALG keyAlg, int keylen, KMF_ENCODE_FORMAT fmt, char *subject, char *altname, KMF_GENERALNAMECHOICES alttype, int altcrit, uint16_t kubits, int kucrit, char *outcsr, char *outkey, EKU_LIST *ekulist, KMF_ALGORITHM_INDEX sigAlg) argument
261 gencsr_nss(KMF_HANDLE_T kmfhandle, char *token, char *subject, char *altname, KMF_GENERALNAMECHOICES alttype, int altcrit, char *nickname, char *dir, char *prefix, KMF_KEY_ALG keyAlg, int keylen, uint16_t kubits, int kucrit, KMF_ENCODE_FORMAT fmt, char *csrfile, KMF_CREDENTIAL *tokencred, EKU_LIST *ekulist, KMF_ALGORITHM_INDEX sigAlg, KMF_OID *curveoid) argument
[all...]
/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/
H A Dhpcsvc.c49 #define DEBUG0(fmt) \
50 debug(fmt, 0, 0, 0, 0, 0);
51 #define DEBUG1(fmt, a1) \
52 debug(fmt, (uintptr_t)(a1), 0, 0, 0, 0);
53 #define DEBUG2(fmt, a1, a2) \
54 debug(fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
55 #define DEBUG3(fmt, a1, a2, a3) \
56 debug(fmt, (uintptr_t)(a1), (uintptr_t)(a2), (uintptr_t)(a3), 0, 0);
58 #define DEBUG0(fmt)
59 #define DEBUG1(fmt, a
936 debug(char *fmt, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5) argument
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPservice.c294 ps_plog(const char *fmt, ...) argument
298 if (_libproc_debug && fmt != NULL && *fmt != '\0') {
299 va_start(ap, fmt);
300 (void) vfprintf(stderr, fmt, ap);
302 if (fmt[strlen(fmt) - 1] != '\n')
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dn2rng.h323 #define DBG0(vca, lvl, fmt)
324 #define DBG1(vca, lvl, fmt, arg1)
325 #define DBG2(vca, lvl, fmt, arg1, arg2)
326 #define DBG3(vca, lvl, fmt, arg1, arg2, arg3)
327 #define DBG4(vca, lvl, fmt, arg1, arg2, arg3, arg4)
328 #define DBG5(vca, lvl, fmt, arg1, arg2, arg3, arg4, arg5)
329 #define DBG6(vca, lvl, fmt, arg1, arg2, arg3, arg4, arg5, arg6)
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dglue.c408 CH_ALERT(const char *fmt, ...) argument
413 /* format buf using fmt and arguments contained in ap */
415 va_start(ap, fmt);
416 (void) vsprintf(buf, fmt, ap);
424 CH_WARN(const char *fmt, ...) argument
429 /* format buf using fmt and arguments contained in ap */
431 va_start(ap, fmt);
432 (void) vsprintf(buf, fmt, ap);
440 CH_ERR(const char *fmt, ...) argument
445 /* format buf using fmt an
[all...]

Completed in 101 milliseconds

<<11121314151617181920>>