Searched refs:format (Results 176 - 200 of 578) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c200 grub_vprintf (const char *format, int *dataptr) argument
206 while ((c = *(format++)) != 0)
212 while ((c = *(format++)) != 0) {
923 grub_vsprintf (char *buffer, const char *format, int *dataptr) argument
933 while ((c = *format++) != 0)
941 while (c = *(format++)) {
1000 grub_sprintf (char *buffer, const char *format, ...) argument
1002 int *dataptr = (int *) &format;
1005 return (grub_vsprintf (buffer, format, dataptr));
1011 noisy_printf (const char *format, argument
1024 grub_printf(const char *format,...) argument
[all...]
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_misc.c186 uu_panic(const char *format, ...) argument
190 va_start(args, format);
195 uu_panic_format = format;
200 (void) vfprintf(stderr, format, args);
/illumos-gate/usr/src/cmd/zic/
H A Dprivate.h57 const char *scheck(const char *string, const char *format);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inuse/
H A Dinuse_004_pos.ksh37 # format will disallow modification of a mounted zfs disk partition or a spare
43 # 3. Attempt to format the disk and the spare device.
65 # mini_format function. If the modify option is reached, then we know format
76 format -e -s -d $disk -f $format_file
82 log_assert "format will disallow modification of a mounted zfs disk partition"\
89 log_note "Attempt to format a ZFS disk"
91 log_note "Attempt to format a ZFS spare device"
94 log_pass "Unable to format a disk in use by ZFS"
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/
H A D_BSMparse.pm108 my $format = 'none';
176 # type: case, comment, note, format
207 push(@case, [$case, $format, $comment, $note]);
215 $format = $description = $title = 'none';
239 elsif (/^\s*format\s*=\s*(.*)/i) {
240 $format = $1;
241 $lastAttr = chkBslash("format", \$1);
253 push(@case, [$case, $format, $comment, $note]);
254 $format = 'none';
264 push(@case, [$case, $format,
[all...]
/illumos-gate/usr/src/tools/stabs/
H A Dmain.c271 chp->format = uc(chp->name);
273 chp->format = w;
296 * can use format and format2 any way they'd like.
299 np->format = w;
317 * the format of a "as"
429 convert_format(char *format, char *dfault) argument
433 if (format == NULL)
435 else if (strlen(format) == 1) {
436 dot[1] = *format;
439 return (format);
[all...]
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmdata.c34 * default format strings -- must agree with TM_* indices
37 static char* format[] = variable
101 * format[] lex type classes
163 * output format digits
282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
/illumos-gate/usr/src/cmd/prstat/
H A Dprutil.c66 Warn(char *format, ...) argument
73 va_start(alist, format);
74 (void) vfprintf(stderr, format, alist);
76 if (strchr(format, '\n') == NULL)
82 Die(char *format, ...) argument
89 va_start(alist, format);
90 (void) vfprintf(stderr, format, alist);
92 if (strchr(format, '\n') == NULL)
/illumos-gate/usr/src/cmd/format/
H A DMakefile28 PROG= format
45 DATA= format.dat
82 # Install format as /usr/sbin/format, with link from /etc/format
H A Dadd_definition.c31 * definitions to a format data file.
65 static int add_entry(int col, FILE *fd, char *format, ...);
76 * Add new definitions for the current disk/partition to a format data file.
140 (void) strcpy(x.deflt_str, "./format.dat");
322 #error No VTOC format defined.
374 add_entry(int col, FILE *fd, char *format, ...) argument
377 va_start(ap, format);
386 col += vfprintf(fd, format, ap);
/illumos-gate/usr/src/cmd/praudit/
H A DMakefile32 SRCS = format.c main.c token.c toktable.c printaudit.c prio.c $(XLATEDIR)/adt_xlate.c
33 OBJS = format.o main.o token.o toktable.o printaudit.o prio.o adt_xlate.o
H A Dprintaudit.c341 context->format = flags;
376 if ((retstat == 0) && (context->format & PRF_XMLM) &&
413 if (context->format & PRF_XMLM) {
416 if (!(context->format & PRF_RAWM) &&
435 if ((retstat == 0) && (context->format & PRF_XMLM)) {
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dmem.c188 const char *format; local
208 * PA then use that. Otherwise just format the unum element.
211 format = FM_FMRI_SCHEME_MEM ":///%1$s%2$s/"
214 format = FM_FMRI_SCHEME_MEM ":///%1$s%2$s/"
217 format = FM_FMRI_SCHEME_MEM ":///%1$s%2$s";
249 len = snprintf(NULL, 0, format, prefix, escunum, val) + 1;
257 (void) snprintf(buf, len, format, prefix, escunum, val);
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen1.c61 #define PTR_HEX 0 /* emit hex pointer format char */
62 #define LONG_DEC 1 /* emit decimal long format char */
63 #define LONG_OCT 2 /* emit octal unsigned long format char */
64 #define ULONG_DEC 3 /* emit decimal unsigned long format char */
65 #define ULONG_HEX 4 /* emit hexadecimal long format char */
66 #define ULONG_OCT 5 /* emit octal unsigned long format char */
68 #define FMT_ENTRIES 6 /* number of adbgen format specifier strings */
70 #define PRINT 6 /* print member name with format */
90 char format[STRLEN]; /* adb format spe variable
[all...]
/illumos-gate/usr/src/lib/libdisasm/common/
H A Dlibdisasm.c310 dis_vsnprintf(char *restrict s, size_t n, const char *restrict format, argument
314 return (mdb_iob_vsnprintf(s, n, format, args));
316 return (vsnprintf(s, n, format, args));
321 dis_snprintf(char *restrict s, size_t n, const char *restrict format, ...) argument
325 va_start(args, format);
326 n = dis_vsnprintf(s, n, format, args);
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dgenkeypair.c145 KMF_ENCODE_FORMAT format; local
165 format = fmt;
190 KMF_ENCODE_FORMAT_ATTR, &format,
191 sizeof (format));
332 char *format = NULL; local
344 "l:(label)K:(outkey)F:(format)C:(curve)"
397 if (format)
399 format = optarg_av;
436 if (format && (fmt = Str2Format(format))
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dparser.c49 usb_parse_data(char *format, const uchar_t *data, size_t datalen, argument
59 if ((format == NULL) || (data == NULL) || (structure == NULL)) {
64 while ((fmt = *format) != '\0') {
67 * Could some one pass a "format" that is greater than
69 * that is less than the "format" length.
91 format++;
110 format++;
131 format++;
154 format++;
158 format
171 usb_parse_CV_descr(char *format, const uchar_t *data, size_t datalen, void *structure, size_t structlen) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/
H A Dipmpstat.c57 * output format and requested fields aren't known until run-time, three sets
76 * a given output format, along with output formatting information
147 * Indices for the FLAGS field of the `-i' output format.
208 die("only one output format may be specified\n");
1148 warn(const char *format, ...) argument
1153 format = gettext(format);
1156 va_start(alist, format);
1157 (void) vfprintf(stderr, format, alist);
1160 if (strchr(format, '\
1166 warn_ipmperr(int ipmperr, const char *format, ...) argument
1182 die(const char *format, ...) argument
1202 die_ipmperr(int ipmperr, const char *format, ...) argument
[all...]
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c870 warn(const char *format, ...) argument
874 format = gettext(format);
877 va_start(alist, format);
878 (void) vfprintf(stderr, format, alist);
886 warn_dlerr(dladm_status_t err, const char *format, ...) argument
891 format = gettext(format);
894 va_start(alist, format);
895 (void) vfprintf(stderr, format, alis
902 die(const char *format, ...) argument
944 die_dlerr(dladm_status_t err, const char *format, ...) argument
965 print_flowprop(const char *flowname, show_flowprop_state_t *statep, const char *propname, dladm_prop_type_t type, const char *format, char **pptr) argument
[all...]
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c87 #define DOTSEEN 64 /* dot appeared in format specification */
156 _doprnt(char *format, va_list in_args, FILE *iop) argument
186 /* and FSHARP are set if corresponding character is in format */
236 char *sformat = format; /* save the beginning of the format */
250 int starflg = 0; /* set to 1 if * format specifier seen */
276 * for each string of ordinary characters or format specification.
281 if ((fcode = *format) != '\0' && fcode != '%') {
282 bp = format;
284 format
[all...]
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsggen.c38 "[f:format?List the \bprintf\b(3) format signature for each message in"
39 " \acatfile\a. A format signature is one line containing one character"
40 " per format specification:]{"
59 " format, defined as follows. Note that the fields of a message text"
184 ccsfprintf(int from, int to, Sfio_t* sp, const char* format, ...) argument
191 va_start(ap, format);
193 n = sfvprintf(sp, format, ap);
196 n = sfvprintf(tp, format, ap);
228 int format local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc_v4l2.c160 switch (fmtgrp->format->bDescriptorSubType) {
177 "Unknown format",
184 (void) strncpy(fmtdesc.description, "Unknown format",
725 * Convert GUID in uncompressed format descriptor to the pixelformat element
791 /* Implement ioctl VIDIOC_S_FMT, set a video format */
793 usbvc_v4l2_set_format(usbvc_state_t *usbvcp, struct v4l2_format *format) argument
814 /* Find the proper format group according to compress type and guid */
820 * a parsed format in format_group[i].
829 type = fmtgrp->format->bDescriptorSubType;
835 if (format
1031 usbvc_v4l2_get_format(usbvc_state_t *usbvcp, struct v4l2_format *format) argument
[all...]
/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem.c74 char format[64]; local
94 * then use that. Otherwise just format the unum element.
97 (void) snprintf(format, sizeof (format),
101 (void) snprintf(format, sizeof (format),
105 (void) snprintf(format, sizeof (format),
120 /* LINTED: variable format specifier */
121 size = snprintf(buf, buflen, format, rawunu
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_callbacks.c159 * format (input) - printf style format.
160 * ... (input) - format arguments.
168 ndmpd_api_log_v2(void *cookie, char *format, ...) argument
178 va_start(ap, format);
180 /*LINTED variable format specifier */
181 (void) vsnprintf(buf, sizeof (buf), format, ap);
437 * format (input) - printf style format.
438 * ... (input) - format argument
446 ndmpd_api_log_v3(void *cookie, ndmp_log_type type, ulong_t msg_id, char *format, ...) argument
734 ndmpd_api_log_v4(void *cookie, ndmp_log_type type, ulong_t msg_id, char *format, ...) argument
[all...]
/illumos-gate/usr/src/cmd/nl/
H A Dnl.c45 "[-h type] [-i incr] [-l num] [-n format]\n" \
66 static char format = 'n'; /* Declare the format of numbers to be rt just */ variable
253 format = 'l';
260 format = *(optarg+1);
265 format = 'n';
452 format = 'l';
461 format = argv[j][i+3];
468 format = 'n';
667 if (format
[all...]

Completed in 81 milliseconds

1234567891011>>