/titanic_41/usr/src/cmd/sh/ |
H A D | print.c | 41 #define BUFLEN 256 macro 45 static unsigned char buffer[BUFLEN]; 211 if (buffd != -1 && index + 1 >= BUFLEN) { in prc_buff() 227 if (buffd != -1 && index + len >= BUFLEN) { in prs_buff() 231 if (buffd != -1 && len >= BUFLEN) { in prs_buff() 295 if (buffd != -1 && ptr >= &bufp[BUFLEN-4]) { in prs_cntl()
|
/titanic_41/usr/src/cmd/fm/eversholt/common/ |
H A D | eftwrite.c | 104 #define BUFLEN 8192 in eftwrite() macro 105 char buf[BUFLEN]; in eftwrite() 129 buf[BUFLEN - 1] = '\0'; in eftwrite() 143 while ((cc = fread(buf, 1, BUFLEN, tfp)) > 0) { in eftwrite() 172 while ((cc = fread(buf, 1, BUFLEN, tfp)) > 0) { in eftwrite()
|
H A D | eftread.c | 81 #define BUFLEN 8192 in eftread_fopen() macro 82 char buf[BUFLEN]; in eftread_fopen() 171 while ((cc = fread(buf, 1, BUFLEN, fp)) > 0) { in eftread_fopen()
|
/titanic_41/usr/src/lib/fm/topo/libtopo/common/ |
H A D | pkg.c | 48 #define BUFLEN (2 * PATH_MAX) macro 137 char *tmpbuf = alloca(BUFLEN); in construct_fru_fmri() 143 while (fgets(tmpbuf, BUFLEN, fp) != NULL) { in construct_fru_fmri() 194 static char tmpbuf[BUFLEN]; in pkg_fmri_create() 200 (void) snprintf(tmpbuf, BUFLEN, PKGCHK_CMD, path); in pkg_fmri_create() 207 (void) fgets(tmpbuf, BUFLEN, pcout); in pkg_fmri_create() 215 (void) snprintf(tmpbuf, BUFLEN, PKGINFO_CMD, pkgname); in pkg_fmri_create()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_mip.c | 44 #define BUFLEN MAXLINE - 64 macro 635 char auth_prn_str[BUFLEN]; in spi_ext() 648 (this_ext_len*3 > BUFLEN ? BUFLEN : this_ext_len), in spi_ext() 658 char auth_prn_str[BUFLEN]; in key_ext() 702 (this_ext_len*3 > BUFLEN ? BUFLEN : this_ext_len), in key_ext() 750 char auth_prn_str[BUFLEN]; in chall_ext() 755 (this_ext_len*3 > BUFLEN ? BUFLEN / 3 : this_ext_len), in chall_ext() 861 char auth_prn_str[BUFLEN]; in unk_ext() 866 (this_ext_len*3 > BUFLEN ? BUFLEN : this_ext_len), in unk_ext()
|
H A D | snoop_sctp.c | 59 #define BUFLEN MAXLINE - 64 macro 291 char buf[BUFLEN]; in dumphex() 304 (void) strlcat(buf, " ...", BUFLEN); in dumphex() 307 (void) snprintf(get_line(0, 0), BUFLEN, msg, buf); in dumphex()
|
/titanic_41/usr/src/cmd/tcpd/ |
H A D | tcpdchk.c | 58 #define BUFLEN 2048 macro 199 char sv_list[BUFLEN]; /* becomes list of daemons */ 273 char buf[BUFLEN]; 294 char buf[BUFLEN]; 322 char buf[BUFLEN];
|
/titanic_41/usr/src/grub/grub-0.97/netboot/ |
H A D | davicom.c | 125 #define BUFLEN 1536 macro 141 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4))); 146 static unsigned char rxb[NRXD * BUFLEN] __attribute__ ((aligned(4))); 456 rxd[i].buf1addr = (void *)virt_to_bus(&rxb[i * BUFLEN]); in davicom_init_chain() 458 rxd[i].buf1sz = BUFLEN; in davicom_init_chain() 605 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen); in davicom_poll()
|
H A D | tulip.c | 364 #define BUFLEN 1536 macro 399 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4))); 403 static unsigned char rxb[RX_RING_SIZE * BUFLEN] __attribute__ ((aligned(4))); 909 rx_ring[i].length = cpu_to_le32(BUFLEN); in tulip_init_ring() 910 rx_ring[i].buffer1 = virt_to_le32desc(&rxb[i * BUFLEN]); in tulip_init_ring() 914 rx_ring[i-1].length = cpu_to_le32(DESC_RING_WRAP | BUFLEN); in tulip_init_ring() 931 tx_ring[1].length = cpu_to_le32(DESC_RING_WRAP | BUFLEN); in tulip_init_ring() 1158 memcpy(nic->packet, rxb + tp->cur_rx * BUFLEN, nic->packetlen); in tulip_poll()
|
/titanic_41/usr/src/lib/libgss/ |
H A D | g_utils.c | 40 #define BUFLEN 256 macro 60 char buf[BUFLEN]; /* one line from the file */ in __gss_read_qop_file() 91 line = fgets(buf, BUFLEN, fp); in __gss_read_qop_file()
|
/titanic_41/usr/src/cmd/lp/model/ |
H A D | lp.tsol_separator.c | 342 #define BUFLEN 1024 in EmitFile() macro 343 char buf[BUFLEN]; in EmitFile() 345 while ((len = fread(buf, 1, BUFLEN, file)) > 0) { in EmitFile()
|
/titanic_41/usr/src/cmd/fs.d/ |
H A D | fslib.c | 53 #define BUFLEN 256 macro 66 char buf[BUFLEN]; in fsgetmntlist() 69 (void) snprintf(buf, BUFLEN, "fsgetmntlist: fopen %s", MNTTAB); in fsgetmntlist()
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | secobj.c | 333 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s\t", sip->si_name); in process_secobj_set() 334 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s\t", in process_secobj_set() 337 ptr += snprintf(ptr, BUFLEN(lim, ptr), "0x"); in process_secobj_set() 339 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%02x", in process_secobj_set()
|
H A D | libdladm_impl.h | 39 #define BUFLEN(lim, ptr) (((lim) > (ptr)) ? ((lim) - (ptr)) : 0) macro
|
H A D | propfuncs.c | 83 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s\t", name); in generate_prop_line() 91 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s=", lip->li_name); in generate_prop_line() 93 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s%c", in generate_prop_line()
|
/titanic_41/usr/src/lib/libwrap/ |
H A D | hosts_access.c | 102 #define BUFLEN 2048 macro 145 char sv_list[BUFLEN]; /* becomes list of daemons */
|
/titanic_41/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 87 #define BUFLEN(lim, ptr) (((lim) > (ptr)) ? ((lim) - (ptr)) : 0) macro 1223 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s\t", linkp->ll_link); in generate_link_line() 1230 ptr += write_uint64(ptr, BUFLEN(lim, ptr), "linkid", &u64); in generate_link_line() 1233 ptr += write_uint64(ptr, BUFLEN(lim, ptr), "class", &u64); in generate_link_line() 1235 ptr += write_uint64(ptr, BUFLEN(lim, ptr), "media", &u64); in generate_link_line() 1245 BUFLEN(lim, ptr), cur_p->lp_name, cur_p->lp_val); in generate_link_line()
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 905 #define BUFLEN 64 macro 1054 char buf[BUFLEN]; /* to hold ip/mac addrs */ in setup_rarp_props() 1058 (void) snprintf(buf, BUFLEN, "%d.%d.%d.%d", in setup_rarp_props() 1063 (void) snprintf(buf, BUFLEN, "%d.%d.%d.%d", in setup_rarp_props() 1069 (void) snprintf(buf, BUFLEN, "%d.%d.%d.%d", in setup_rarp_props() 1076 (void) snprintf(buf, BUFLEN, "%d.%d.%d.%d", in setup_rarp_props() 1086 (void) snprintf(buf, BUFLEN, "%x:%x:%x:%x:%x:%x", in setup_rarp_props()
|
/titanic_41/usr/src/uts/common/io/efe/ |
H A D | efe.h | 336 #define BUFLEN(bp) ((bp)->b_len) macro
|
H A D | efe.c | 987 PUTDESC16(rp, &dp->d_buflen, BUFLEN(bp)); in efe_init_rx_ring() 1015 PUTDESC16(rp, &dp->d_buflen, BUFLEN(bp)); in efe_init_tx_ring()
|
/titanic_41/usr/src/cmd/dladm/ |
H A D | dladm.c | 80 #define BUFLEN(lim, ptr) (((lim) > (ptr)) ? ((lim) - (ptr)) : 0) macro
|