/osnet-11/usr/src/lib/libpkg/common/ |
H A D | isdir.c | 370 static char format[128] = {'\0'}; local 372 if (format[0] == '\0') { 373 /* create bounded format: %ns */ 374 (void) snprintf(format, sizeof (format), 378 (void) sscanf(line_buf, format, buf);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | date.c | 67 " Equivalent to \b--format=%s\b.]" 73 "[f:format?Output the date according to the \bstrftime\b(3) \aformat\a." 75 " \b+\b\aformat\a is equivalent to \b-f\b format." 87 " The fields are:]:[format]{" 98 " [+f?locale default override date format]" 99 " [+F?%ISO 8601:2000 standard date format; equivalent to Y-%m-%d]" 111 " [+L?locale default date format]" 119 " delimter character; \arecent\a format for recent" 120 " dates, \adistant\a format otherwise]" 149 " [+??alternate?use \aalternate\a format i 206 char* format; member in struct:Fmt 294 char* format = 0; /* tmxfmt() format */ local [all...] |
H A D | strings.c | 47 "[t:radix|format?Write each string preceded by its byte offset from the" 48 " start of the file. The offset radix is determined by:]:[format]{" 128 strings(Sfio_t* in, Sfio_t* out, register int width, char* format, register int flags) argument 140 if (format) 142 c = strlen(format) - 1; 144 sfsprintf(fmt, sizeof(fmt), "%%%.*sI*%c", c, format, format[c]); 146 sfsprintf(fmt, sizeof(fmt), "%%%.*sI*%c %%.*s\n", c, format, format[c]); 163 if (format) 209 register char* format = 0; local [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_map.c | 263 dt_format_lookup(dtrace_hdl_t *dtp, int format) argument 265 if (format == 0 || format > dtp->dt_maxformat) 271 return (dtp->dt_formats[format - 1]);
|
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_rcm.c | 267 static char format[MAX_FORMAT]; local 378 /* Construct the format string */ 379 (void) snprintf(format, MAX_FORMAT, "%%-%ds %%-%ds", 387 format, rcm_info_rsrc(tuple), infostr);
|
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_rcm.c | 199 static char format[MAX_FORMAT]; local 308 /* Construct the format string */ 309 (void) snprintf(format, MAX_FORMAT, "%%-%ds %%-%ds", 317 format, rcm_info_rsrc(tuple), infostr);
|
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_rcm.c | 266 static char format[MAX_FORMAT]; local 351 /* Construct the format string */ 352 (void) snprintf(format, MAX_FORMAT, "%%-%ds %%-%ds", 361 format, rcm_info_rsrc(tuple),
|
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_rcm.c | 219 static char format[MAX_FORMAT]; local 332 /* Construct the format string */ 333 (void) snprintf(format, MAX_FORMAT, "%%-%ds %%-%ds", 341 format, rcm_info_rsrc(tuple), infostr);
|
/osnet-11/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 48 void printf (const char *format, ...); 241 printf (const char *format, ...) argument 243 char **arg = (char **) &format; 249 while ((c = *format++) != 0) 257 c = *format++;
|
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mailstats.c | 298 char *format; local 301 format = "%2d %8ld %10ld %8ld %10ld %6ld %6ld"; 303 format = "%2d %8ld %10ldK %8ld %10ldK %6ld %6ld"; 305 format, i,
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | exc.c | 60 char format; local 80 format = '\0'; 83 format = *p++; 88 format); 109 format == 'o' ? "%o" 110 : format == 'x' ? "%x" 117 format == 'o' ? "%lo" 118 : format == 'x' ? "%lx" 130 if (format) 131 (void) sm_io_putc(stream, SM_TIME_DEFAULT, format); [all...] |
/osnet-11/usr/src/cmd/ast/msgcc/ |
H A D | msggen.c | 38 "[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...] |
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | logger.c | 133 * @param format Message format string, printf style 137 logger_emit (const char *format, ...) argument 152 va_start (args, format); 153 vsnprintf (buf, sizeof (buf), format, args); 210 logger_forward_debug (const char *format, ...) argument 226 va_start (args, format); 227 vsnprintf (buf, sizeof (buf), format, args);
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmxfmt.c | 36 * format n with padding p into s 88 char* format; member in struct:Stack_s 93 * format t into buf of length len 98 tmxfmt(char* buf, size_t len, const char* format, Time_t t) argument 127 if (!format || !*format) 128 format = tm_info.deformat; 129 oformat = format; 137 if ((c = *format++) == delimiter) 143 format [all...] |
/osnet-11/usr/src/lib/libumem/common/ |
H A D | misc.c | 173 log_message(const char *format, ...) argument 179 va_start(va, format); 180 (void) vsnprintf(buf, UMEM_MAX_ERROR_SIZE-1, format, va); 193 debug_printf(const char *format, ...) argument 199 va_start(va, format); 200 (void) vsnprintf(buf, UMEM_MAX_ERROR_SIZE-1, format, va); 208 umem_vprintf(const char *format, va_list va) argument 212 (void) vsnprintf(buf, UMEM_MAX_ERROR_SIZE-1, format, va); 218 umem_printf(const char *format, ...) argument 222 va_start(va, format); 229 umem_printf_warn(void *ignored, const char *format, ...) argument [all...] |
/osnet-11/usr/src/lib/libuutil/common/ |
H A D | uu_misc.c | 186 uu_panic(const char *format, ...) argument 190 va_start(args, format); 195 uu_panic_format = format; 200 (void) vfprintf(stderr, format, args);
|
/osnet-11/usr/src/lib/libwanbootutil/common/ |
H A D | key_util.c | 40 * only use RSA keys that are stored in PKCS12 format. 80 wbku_printerr(const char *format, ...) argument 92 va_start(ap, format); 93 (void) vfprintf(stderr, gettext(format), ap); 96 if (strchr(format, '\n') == NULL)
|
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | slk.c | 305 static short format[][8] = { local 345 i = format[__m_slk_format][index];
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | tparm.c | 66 * format. Often more complex operations are necessary. 140 char format[20]; local 152 (void) strcpy(format, "%"); 168 (void) strcat(format, "l"); 169 len = strlen(format); 170 format[len] = *string; 171 format[len+1] = '\0'; 173 format, npop()); 174 (void) strcpy(format, "%"); 177 (void) strcat(format, " [all...] |
/osnet-11/usr/src/lib/rad/libjniutil/common/ |
H A D | libjniutil.c | 126 vsimpleexception(JNIEnv *env, const char *classname, const char *format, argument 138 if (format != NULL) { 141 (void) vsnprintf(buffer, sizeof (buffer), format, alist); 166 simpleexception(JNIEnv *env, const char *classname, const char *format, ...) argument 170 va_start(alist, format); 171 vsimpleexception(env, classname, format, alist); 179 ioexception(JNIEnv *env, const char *format, ...) argument 183 va_start(alist, format); 184 vsimpleexception(env, "java/io/IOException", format, alist); 193 iaexception(JNIEnv *env, const char *format, argument 208 npexception(JNIEnv *env, const char *format, ...) argument 222 oomerror(JNIEnv *env, const char *format, ...) argument [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | expand.c | 277 char *format; local 336 format = endc; 342 format = "%d"; 423 sfsprintf(pat=tmp,sizeof(tmp),format,first);
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | logging.c | 302 * @format: printf-style formatting string 313 int line, u32 level, void *data, const char *format, ...) 322 va_start(args, format); 324 ret = ntfs_log.handler(function, file, line, level, data, format, args); 340 * @format: printf-style formatting string 352 const char *format, va_list args) 384 ret += vsnprintf(buffer + ret, sizeof(buffer) - ret, format, 406 * @format: printf-style formatting string 421 int line, u32 level, void *data, const char *format, va_list args) 480 ret += vfprintf(stream, format, arg 312 ntfs_log_redirect(const char *function, const char *file, int line, u32 level, void *data, const char *format, ...) argument 350 ntfs_log_handler_syslog(const char *function, const char *file, int line, u32 level, void *data __attribute__((unused)), const char *format, va_list args) argument 420 ntfs_log_handler_fprintf(const char *function, const char *file, int line, u32 level, void *data, const char *format, va_list args) argument 537 ntfs_log_handler_stdout(const char *function, const char *file, int line, u32 level, void *data, const char *format, va_list args) argument 568 ntfs_log_handler_outerr(const char *function, const char *file, int line, u32 level, void *data, const char *format, va_list args) argument 598 ntfs_log_handler_stderr(const char *function, const char *file, int line, u32 level, void *data, const char *format, va_list args) argument [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | tparm.c | 86 * enhancements to the format capabilities may 266 char *format; local 331 format = formatbuffer; 332 *format++ = '%'; 334 /* leading ':' to allow +/- in format */ 357 *format++ = c; 371 *format++ = c; 382 *format = '\0';
|
/osnet-11/usr/src/lib/libfuse/common/ |
H A D | options.c | 236 * Scan the input into the value, according to the format. If the 237 * format is %s, copy the string. 241 fuse_opt_scan(const char *input, const char *format, void *value) argument 243 if (format[1] == 's') { 249 if (sscanf(input, format, value) != 1) 281 * scan or strdup if a %-format is present, or to "apply" it as in
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mem.c | 195 const char *format; local 215 * PA then use that. Otherwise just format the unum element. 218 format = FM_FMRI_SCHEME_MEM ":///%1$s%2$s/" 221 format = FM_FMRI_SCHEME_MEM ":///%1$s%2$s/" 224 format = FM_FMRI_SCHEME_MEM ":///%1$s%2$s"; 256 len = snprintf(NULL, 0, format, prefix, escunum, val) + 1; 264 (void) snprintf(buf, len, format, prefix, escunum, val);
|