Home
last modified time | relevance | path

Searched refs:format (Results 51 – 75 of 773) sorted by relevance

12345678910>>...31

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_debug.c76 mdb_dprintf(uint_t mode, const char *format, ...) in mdb_dprintf() argument
82 va_start(alist, format); in mdb_dprintf()
83 mdb_iob_vprintf(mdb.m_err, format, alist); in mdb_dprintf()
89 mdb_dvprintf(uint_t mode, const char *format, va_list alist) in mdb_dvprintf() argument
91 if ((mdb.m_debug & mode) == mode && format != NULL && *format != '\0' && in mdb_dvprintf()
94 mdb_iob_vprintf(mdb.m_err, format, alist); in mdb_dvprintf()
95 if (format[strlen(format) - 1] != '\n') in mdb_dvprintf()
/illumos-gate/usr/src/lib/libnvme/common/
H A Dlibnvme_format.c148 nvme_ioctl_format_t format; in nvme_format_req_exec() local
156 (void) memset(&format, 0, sizeof (format)); in nvme_format_req_exec()
157 format.nif_common.nioc_nsid = req->nfr_nsid; in nvme_format_req_exec()
158 format.nif_lbaf = req->nfr_lbaf; in nvme_format_req_exec()
159 format.nif_ses = req->nfr_ses; in nvme_format_req_exec()
161 if (ioctl(ctrl->nc_fd, NVME_IOC_FORMAT, &format) != 0) { in nvme_format_req_exec()
166 if (format.nif_common.nioc_drv_err != NVME_IOCTL_E_OK) { in nvme_format_req_exec()
167 return (nvme_ioctl_error(ctrl, &format.nif_common, "format")); in nvme_format_req_exec()
/illumos-gate/usr/src/lib/libc/port/print/
H A Dsprintf.c43 sprintf(char *string, const char *format, ...) in sprintf() argument
52 va_start(ap, format); in sprintf()
54 count = _ndoprnt(format, ap, &siop, 0); in sprintf()
83 _sprintf_c89(char *string, const char *format, ...) in _sprintf_c89() argument
88 va_start(ap, format); in _sprintf_c89()
89 count = _vsprintf_c89(string, format, ap); in _sprintf_c89()
H A Dprintf.c44 printf(const char *format, ...) in printf() argument
50 va_start(ap, format); in printf()
69 count = _ndoprnt(format, ap, stdout, 0); in printf()
102 _printf_c89(const char *format, ...) in _printf_c89() argument
107 va_start(ap, format); in _printf_c89()
108 count = _vprintf_c89(format, ap); in _printf_c89()
H A Dfprintf.c50 fprintf(FILE *iop, const char *format, ...) in fprintf() argument
56 va_start(ap, format); in fprintf()
75 count = _ndoprnt(format, ap, iop, 0); in fprintf()
106 _fprintf_c89(FILE *iop, const char *format, ...) in _fprintf_c89() argument
111 va_start(ap, format); in _fprintf_c89()
112 count = _vfprintf_c89(iop, format, ap); in _fprintf_c89()
H A Dasprintf.c37 vasprintf(char **str, const char *format, va_list ap) in vasprintf() argument
45 ret = vsnprintf(string, INIT_SZ, format, ap); in vasprintf()
75 ret = vsnprintf(newstr, len, format, ap); in vasprintf()
89 asprintf(char **str, const char *format, ...) in asprintf() argument
95 va_start(ap, format); in asprintf()
96 ret = vasprintf(str, format, ap); in asprintf()
H A Dsnprintf.c43 snprintf(char *string, size_t n, const char *format, ...) in snprintf() argument
79 va_start(ap, format); in snprintf()
80 count = _ndoprnt(format, ap, &siop, 0); in snprintf()
110 _snprintf_c89(char *string, size_t n, const char *format, ...) in _snprintf_c89() argument
115 va_start(ap, format); in _snprintf_c89()
116 count = _vsnprintf_c89(string, n, format, ap); in _snprintf_c89()
/illumos-gate/usr/src/cmd/zic/
H A Dscheck.c8 scheck(string, format) in scheck() argument
10 const char * const format;
20 if (string == NULL || format == NULL)
22 fbuf = imalloc((int)(2 * strlen(format) + 4));
25 fp = format;
51 result = (char *)format;
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Derrtext.c48 __errtext(int severity, char *format, va_list ap) in __errtext() argument
54 errbefore(Err.severity, format, ap); in __errtext()
86 if (Err.vsyserr && ((int)format == EERRNO)) { in __errtext()
91 (void) vfprintf(stderr, format, ap); in __errtext()
96 if ((errno && ((int)format != EERRNO)) && in __errtext()
123 erraction(errafter(Err.severity, format, ap)); in __errtext()
132 errtext(int severity, char *format, ...) in errtext() argument
136 va_start(ap, format); in errtext()
137 __errtext(severity, format, ap); in errtext()
152 va_start(ap, format); in _errmsg()
[all …]
H A Derrmsg.h44 int errafter(int severity, char *format, ...);
45 void errbefore(int severity, char *format, ...);
47 void _errmsg(char *tag, int severity, char *format, ...);
51 void errtext(int severity, char *format, ...);
53 void errusage(char *format, ...);
/illumos-gate/usr/src/cmd/sendmail/cf/mailer/
H A Duucp.m443 R<@ $- . UUCP > : $+ $1 ! $2 convert to UUCP format
44 R<@ $+ > : $+ $1 ! $2 convert to UUCP format
45 R$* < @ $- . UUCP > $2 ! $1 convert to UUCP format
46 R$* < @ $+ > $2 ! $1 convert to UUCP format
63 R<@ $+ > : $+ $1 ! $2 convert to UUCP format
64 R$* < @ $- . UUCP > $2 ! $1 convert to UUCP format
65 R$* < @ $+ > $2 ! $1 convert to UUCP format
78 R<@ $+ > : $+ $1 ! $2 convert to UUCP format
80 R$* < @ $+ > $2 ! $1 convert to UUCP format
112 R<@ $+ > : $+ $@ $1 ! $2 convert to UUCP format
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrftime.c76 p = _fmt(loc, ((format == NULL) ? "%c" : format), t, s, s + maxsize); in strftime_l()
87 return (strftime_l(s, maxsize, format, t, uselocale(NULL))); in strftime()
99 for (; *format; ++format) { in _fmt()
100 if (*format == '%') { in _fmt()
105 switch (*++format) { in _fmt()
107 --format; in _fmt()
355 if (*format == 'V') in _fmt()
359 else if (*format == 'g') { in _fmt()
483 *pt++ = *format; in _fmt()
489 _conv(const int n, const char *format, char *const pt, in _conv() argument
[all …]
/illumos-gate/usr/src/cmd/newtask/
H A Dutils.c45 warn(const char *format, ...) in warn() argument
53 va_start(alist, format); in warn()
54 (void) vfprintf(stderr, format, alist); in warn()
57 if (strrchr(format, '\n') == NULL) in warn()
63 die(const char *format, ...) in die() argument
71 va_start(alist, format); in die()
72 (void) vfprintf(stderr, format, alist); in die()
75 if (strrchr(format, '\n') == NULL) in die()
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Ddebug_subr.c37 sunFm_vpanic(const char *format, va_list ap) in sunFm_vpanic() argument
39 (void) snmp_vlog(LOG_ERR, format, ap); in sunFm_vpanic()
46 sunFm_panic(const char *format, ...) in sunFm_panic() argument
50 va_start(ap, format); in sunFm_panic()
51 sunFm_vpanic(format, ap); in sunFm_panic()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DmDNSDebug.h106 #define IS_A_PRINTF_STYLE_FUNCTION(F,A) __attribute__ ((format(printf,F,A)))
173 extern void LogMsg_(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2);
174 extern void LogOperation_(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2);
175 extern void LogSPS_(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2);
176 extern void LogInfo_(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2);
177 extern void LogDebug_(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2);
183 extern void debugf_(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2);
190 extern void verbosedebugf_(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2);
208 extern void LogFatalError(const char *format, ...);
218 extern void LogMemCorruption(const char *format, ...);
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dpids.c97 char* format = 0; in b_pids() local
105 format = opt_info.arg; in b_pids()
119 if (!format) in b_pids()
120 format = FORMAT; in b_pids()
121 sfkeyprintf(sfstdout, format, format, key, NiL); in b_pids()
/illumos-gate/usr/src/test/util-tests/tests/cpio/
H A Dcpio_test.ksh121 if { $GTAR --format=$f -cf - $FILES 2>&4 | \
131 set -- $($GTAR --format=$f -cf - $DEVICE 2>&4 | \
209 format=${f%.*}
210 format=${format##*.}
211 [[ $format == pax || $format == ustar ]] && flags="-H ustar" || flags=
214 pass "freebsd->cpio($format)"
216 fail "freebsd->cpio($format) $@ [$(<$stderr)]"
/illumos-gate/usr/src/cmd/bhyve/
H A Daudio.c129 int format, channels, rate; in audio_set_params() local
156 format = params->format; in audio_set_params()
157 err = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &format); in audio_set_params()
160 params->format, errno); in audio_set_params()
165 if (format != params->format) { in audio_set_params()
167 format, params->format); in audio_set_params()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfcvt.c103 int* decpt, int* sign, int* len, int format) in _sfcvt() argument
105 char* _sfcvt(vp,buf,size,n_digit,decpt,sign,len,format) in _sfcvt()
113 int format; /* conversion format */
128 if(format&SFFMT_LDOUBLE)
196 if(format & SFFMT_AFORMAT)
199 ep = (format & SFFMT_UPPER) ? ux : lx;
281 if((format&SFFMT_EFORMAT) && *decpt == 0 && f > 0.)
370 if(format & SFFMT_AFORMAT)
373 ep = (format & SFFMT_UPPER) ? ux : lx;
453 if((format&SFFMT_EFORMAT) && *decpt == 0 && f > 0.)
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_sprintf_overflow.c27 char *format; in match_sprintf() local
37 format = expr_to_var(format_string); in match_sprintf()
38 if (!format) in match_sprintf()
40 if (strcmp(format, "\"%s\"")) in match_sprintf()
51 free_string(format); in match_sprintf()
H A Dcheck_snprintf_overflow.c29 char *format; in match_snprintf() local
43 format = expr_to_var(format_string); in match_snprintf()
44 if (!format) in match_snprintf()
46 if (strcmp(format, "\"%s\"")) in match_snprintf()
57 free_string(format); in match_snprintf()
/illumos-gate/usr/src/test/os-tests/tests/sigqueue/
H A Dsigqueue_queue_size.c33 test_start(const char *test_name, const char *format, ...) in test_start() argument
39 va_start(args, format); in test_start()
40 (void) vprintf(format, args); in test_start()
46 test_failed(const char *test_name, const char *format, ...) in test_failed() argument
52 va_start(args, format); in test_failed()
53 (void) vprintf(format, args); in test_failed()
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c52 warn(const char *format, ...) in warn() argument
58 va_start(alist, format); in warn()
59 (void) vfprintf(stderr, format, alist); in warn()
61 if (strchr(format, '\n') == NULL) in warn()
67 die(char *format, ...) in die() argument
74 va_start(alist, format); in die()
75 (void) vfprintf(stderr, format, alist); in die()
77 if (strchr(format, '\n') == NULL) in die()
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Din.lpd.c140 char *format = NULL; in parse_cf() local
226 format = "text/plain"; in parse_cf()
239 format = "application/x-pr"; in parse_cf()
244 format = "application/x-troff"; in parse_cf()
250 format = "application/x-dvi"; in parse_cf()
253 format = "application/x-plot"; in parse_cf()
256 format = "application/x-cif"; in parse_cf()
259 format = "application/x-raster"; in parse_cf()
356 if (format != NULL) in parse_cf()
358 "document-format", format); in parse_cf()
[all …]
/illumos-gate/usr/src/tools/lintdump/
H A Dlintdump.c554 info(const char *format, ...) in info() argument
562 va_start(alist, format); in info()
563 (void) vprintf(format, alist); in info()
579 va_start(alist, format); in infohdr()
580 (void) vprintf(format, alist); in infohdr()
588 warn(const char *format, ...) in warn() argument
595 va_start(alist, format); in warn()
599 if (strrchr(format, '\n') == NULL) in warn()
605 die(const char *format, ...) in die() argument
612 va_start(alist, format); in die()
[all …]

12345678910>>...31