Home
last modified time | relevance | path

Searched refs:fmt1 (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c37 static int fmt1(int t, char s, char **buf, size_t *buflen);
59 T(fmt1(weeks, 'W', &dst, &dstlen)); in ns_format_ttl()
63 T(fmt1(days, 'D', &dst, &dstlen)); in ns_format_ttl()
67 T(fmt1(hours, 'H', &dst, &dstlen)); in ns_format_ttl()
71 T(fmt1(mins, 'M', &dst, &dstlen)); in ns_format_ttl()
75 T(fmt1(secs, 'S', &dst, &dstlen)); in ns_format_ttl()
147 fmt1(int t, char s, char **buf, size_t *buflen) { in fmt1() function
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_debug.c144 char *s, *fmt, *fmt1; in ql_el_msg() local
166 fmt1 = &buf[0]; in ql_el_msg()
195 rval = snprintf(fmt1, (size_t)EL_BUFFER_RESERVE, in ql_el_msg()
204 fmt = fmt1 + rval; in ql_el_msg()
217 (void) strncpy(buf1, fmt1 + (QL_LOG_LENGTH - 1), left); in ql_el_msg()
219 (void) strncpy(entry->buf, fmt1, (QL_LOG_LENGTH - 1)); in ql_el_msg()
245 (void) strncpy(&entry->buf[0], fmt1, rval1); in ql_el_msg()
253 cmn_err(ce, fmt1); in ql_el_msg()
266 (void) strncpy(entry->buf, fmt1, sizeof (entry->buf)); in ql_el_msg()
272 cmn_err(ce, fmt1); in ql_el_msg()
/illumos-gate/usr/src/cmd/lp/include/
H A Doam.h136 fmt1((X), A), \
157 #define fmt1(X,A) (vsnp(_m_, MSGSIZ, agettxt((X),_f_,MSGSIZ), A), _m_) macro
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dprint.c920 const char *fmt1, *fmt2; in inspectconfig() local
938 fmt1 = MSG_INTL(MSG_DEF_NEWDLP_64); in inspectconfig()
941 fmt1 = MSG_INTL(MSG_DEF_NEWDLP); in inspectconfig()
944 (void) printf(fmt1); in inspectconfig()
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c1466 mode_t fmt1, fmt2; in compare() local
1485 fmt1 = stb1.st_mode & S_IFMT; in compare()
1488 if (fmt1 == S_IFREG) { in compare()
1507 if (fmt1 != S_IFREG || fmt2 != S_IFREG) { in compare()
1508 if (fmt1 == fmt2) { in compare()
1509 switch (fmt1) { in compare()
1580 file1, pfiletype(fmt1), in compare()
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymreport.pl469 my $fmt1 = gettext(
473 $output .= sprintf($fmt1, $n_passed, $n_checked);
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm119 my ($err1, $fmt1, @args1);
122 ($err1, $fmt1, @args1) = @$error1;
126 $newerror = [ $err1, $fmt1 . ', ' . $fmt2, @args1, @args2];
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dmain.c885 char fmt1[100]; in doRemove() local
889 (void) snprintf(fmt1, sizeof (fmt1), " %%-%d.%ds %%s", in doRemove()
902 echo(fmt1, pinfo->pkginst, pinfo->name); in doRemove()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c923 char *fmt1 = "%-10s %-7s %-4s %-4s %-7s %-4s\n"; in display_cpu_devices() local
937 log_printf(fmt1, "", "CPU ", "Run", " E$", "CPU", "CPU", 0); in display_cpu_devices()
939 log_printf(fmt1, "FRU Name", "ID ", "MHz", " MB", in display_cpu_devices()
942 log_printf(fmt1, "----------", "-------", "----", "----", in display_cpu_devices()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dtrap.c1918 const char fmt1[] = "%3d %016lx %12llx"; in dump_ttrace() local
1966 (void) snprintf(data1, sizeof (data1), fmt1, i, in dump_ttrace()
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c9378 char *s, *fmt = 0, *fmt1 = 0; in qlt_el_msg() local
9398 fmt1 = &buf[0]; in qlt_el_msg()
9426 rval = snprintf(fmt1, (size_t)EL_BUFFER_RESERVE, in qlt_el_msg()
9434 fmt = fmt1 + rval; in qlt_el_msg()
9444 (void) strncpy(buf1, fmt1 + (QL_LOG_LENGTH - 1), left); in qlt_el_msg()
9445 (void) strncpy(entry->buf, fmt1, (QL_LOG_LENGTH - 1)); in qlt_el_msg()
9470 (void) strncpy(&entry->buf[0], fmt1, rval1); in qlt_el_msg()
9478 cmn_err(ce, fmt1); in qlt_el_msg()
9495 (void) strncpy(entry->buf, fmt1, rval); in qlt_el_msg()
9501 cmn_err(ce, fmt1); in qlt_el_msg()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6.c4376 pr_addr_dbg(char *fmt1, int af, const void *addr) in pr_addr_dbg() argument
4380 if (fmt1 == NULL) { in pr_addr_dbg()
4392 printf(fmt1, inet_ntop(af, addr, buf, sizeof (buf))); in pr_addr_dbg()