Searched refs:buf1 (Results 1 - 25 of 65) sorted by relevance

123

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dif.c73 char buf1[INET6_ADDRSTRLEN]; local
117 inet_ntop(AF_INET6, (void *)&ifp->int_addr, buf1,
118 sizeof (buf1)));
120 inet_ntop(AF_INET6, (void *)&ifp->int_dstaddr, buf1,
121 sizeof (buf1)));
124 inet_ntop(AF_INET6, (void *)&ifp->int_addr, buf1,
125 sizeof (buf1)),
H A Dinput.c42 static char buf1[INET6_ADDRSTRLEN]; variable
100 (void) inet_ntop(from.sin6_family, &from.sin6_addr, buf1,
101 sizeof (buf1));
109 rmsg.msg_flags, buf1);
117 buf1);
146 buf1, sizeof (buf1));
167 msg->rip6_vers, buf1);
177 buf1);
222 n->rip6_prefix_length, buf1);
[all...]
H A Dtables.c86 char buf1[INET6_ADDRSTRLEN]; local
90 (void) inet_ntop(AF_INET6, (void *) &new->rt_dst, buf1, sizeof (buf1)); local
97 buf1, buf2,
108 char buf1[INET6_ADDRSTRLEN]; local
111 (void) inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1, sizeof (buf1)); local
115 buf1, buf2,
529 char buf1[INET6_ADDRSTRLEN]; local
553 inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1, sizeo
[all...]
H A Dtrace.c170 char buf1[INET6_ADDRSTRLEN]; local
173 inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1,
174 sizeof (buf1)),
177 inet_ntop(AF_INET6, (void *)&rt->rt_router, buf1,
178 sizeof (buf1)),
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dump.c921 char buf1[256]; local
937 buf1[0] = 0;
941 (void) snprintf(buf1, sizeof (buf1), "\n%04x:", j * 4);
942 (void) strlcat(buf2, buf1, sizeof (buf2));
945 (void) snprintf(buf1, sizeof (buf1), " %08x", ptr[j]);
946 (void) strlcat(buf2, buf1, sizeof (buf2));
1378 char *buf1; local
1381 buf1
1426 char buf1[512]; local
1461 char buf1[512]; local
1509 char buf1[512]; local
1540 char *buf1; local
1618 char *buf1; local
1689 char *buf1; /* text buffer */ local
1769 char *buf1; /* text buffer */ local
1901 char *buf1; /* string ops buffer */ local
2125 char *buf1; local
2167 char *buf1; local
2497 char *buf1; local
3239 char buf1[2048] = { 0 }; local
[all...]
H A Demlxs_dfc.c441 dfc1->buf1 = (void *)((uintptr_t)dfc32.buf1);
472 dfc2->buf1 = 0;
482 if (dfc1->buf1_size && dfc1->buf1) {
484 dfc2->buf1 = kmem_zalloc(dfc1->buf1_size, KM_SLEEP);
486 if (ddi_copyin(dfc1->buf1, dfc2->buf1, dfc1->buf1_size,
489 "%s: buf1 ddi_copyin failed. (size=%d)",
567 if (dfc2->buf1) {
568 if (ddi_copyout(dfc2->buf1, dfc
[all...]
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c44 char buf1[BUFSIZE], buf2[BUFSIZE]; variable
55 gets(buf1);
56 last = buf1;
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_proto.c116 int8_t buf1[100]; local
120 bzero(buf1, sizeof (buf1));
127 (void) strncat(buf1, buf2, sizeof (buf2));
130 (void) strncat(buf1, buf2, sizeof (buf2));
133 (void) strncat(buf1, buf2, sizeof (buf2));
138 (void) strncat(buf1, buf2, sizeof (buf2));
141 (void) strncat(buf1, buf2, sizeof (buf2));
144 (void) strncat(buf1, buf2, sizeof (buf2));
149 (void) strncat(buf1, buf
[all...]
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c63 int buf1[MAXBUF]; variable
242 r = pwrite(fd, buf1, bufsize, (off_t)(seekpos << SCTRSHFT));
285 gen_data(buf1, bufsize);
286 r = pwrite(fd, buf1, bufsize, (off_t)(seekpos << SCTRSHFT));
298 if (memcmp(buf1, buf2, bufsize)) {
323 gen_data(buf1, bufsize);
332 r = pwrite(fd, buf1, bufsize, (off_t)(seekpos[i] << SCTRSHFT));
347 if (memcmp(buf1, buf2, bufsize)) {
386 r = pwrite(fd, buf1, bufsize, (i*fba_num_bufsize) << SCTRSHFT);
400 r = pwrite(fd, buf1, bufsiz
[all...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent.c81 char *buf1, *buf2; local
128 buf1 = first_host;
159 len = snprintf(buf1, buflen1, "%s", ips[0]);
160 TEST_AND_ADJUST(len, buf1, buflen1, result_host2str);
193 len = snprintf(buf1, buflen1, " %s", cname);
196 len = snprintf(buf1, buflen1, " %s.%s", cname,
199 TEST_AND_ADJUST(len, buf1, buflen1, result_host2str);
213 len = snprintf(buf1, buflen1, " %s",
217 len = snprintf(buf1, buflen1, " %s.%s",
219 TEST_AND_ADJUST(len, buf1, buflen
[all...]
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c613 char buf1[32]; local
652 (void) snprintf(buf1, sizeof (buf1), "SO_LINGER(%d),",
654 (void) strlcat(buf, buf1, sizeof (buf));
659 (void) snprintf(buf1, sizeof (buf1), "SO_SNDBUF(%d),", val);
660 (void) strlcat(buf, buf1, sizeof (buf));
664 (void) snprintf(buf1, sizeof (buf1), "SO_RCVBUF(%d),", val);
665 (void) strlcat(buf, buf1, sizeo
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_misc.c40 char buf1[30]; local
83 (void) mi_sprintf(buf1, "SCTPUnkState(%d)", sctp->sctp_state);
84 cp = buf1;
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c547 char *buf1 = NULL; local
558 buf1 = malloc(SLOT_DESCRIPTION_SIZE);
559 if (buf1 == NULL) {
564 (void) strcpy(buf1, (const char *) puent->metaslot_ks_slot);
565 *objectstore_slot_info = buf1;
582 if (buf1 != NULL) {
583 free(buf1);
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Ddyn.c1401 Conv_dyn_posflag1_buf_t buf1, buf2; local
1413 &buf1));
1419 &buf1),
1429 Conv_dyn_flag_buf_t buf1, buf2; local
1441 &buf1));
1447 &buf1),
1457 Conv_dyn_flag1_buf_t buf1, buf2; local
1469 0, &buf1));
1475 0, &buf1),
1485 Conv_dyn_feature1_buf_t buf1, buf local
1535 Conv_inv_buf_t buf1, buf2; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dmech_rsa.c401 CK_ULONG buf1[16]; local
446 tmp = (CK_BYTE *)buf1;
531 CK_ULONG buf1[16]; local
574 tmp = (CK_BYTE *)buf1;
656 CK_ULONG buf1[16]; local
693 tmp = (CK_BYTE *)buf1;
738 CK_ULONG buf1[16]; local
773 tmp = (CK_BYTE *)buf1;
/illumos-gate/usr/src/cmd/refer/
H A Drefer6.c34 char buf1[BUFSIZ], buf2[50]; local
63 tx = caps(tx, buf1);
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dcorenote.c261 sl_fmtbuf_t buf1, buf2; local
276 fmt_num(state, fdesc1, fmt_type1, buf1),
900 sl_fmtbuf_t buf1, buf2; local
916 fmt_num(state, &fdesc1, SL_FMT_NUM_ZHEX, buf1));
932 fmt_num(state, &fdesc1, SL_FMT_NUM_ZHEX, buf1),
1289 sl_fmtbuf_t buf1, buf2; local
1298 prtpct_value(state, fdesc1, buf1),
1314 sl_fmtbuf_t buf1, buf2; local
1334 fmt_num(state, state_fdesc, SL_FMT_NUM_DEC, buf1),
1387 sl_fmtbuf_t buf1, buf local
1701 sl_fmtbuf_t buf1, buf2; local
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c243 char buf1[BUFSIZ]; local
246 tstostr(buf1, s1);
248 return (strcoll(buf1, buf2));
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c776 char buf1[15], buf2[15]; local
783 derive_str(f_start, buf1);
797 (void) strcat(f_newfile, buf1);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c1247 char buf1[3000], buf2[3000]; local
1294 (void) snprintf(buf1, sizeof (buf1), gettext(
1296 msg(buf1);
1297 broadcast(buf1);
1347 (void) snprintf(buf1, sizeof (buf1), gettext(
1349 msg(buf1);
1351 (void) snprintf(buf1, sizeof (buf1), gettex
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_format.c856 uint32_t *buf0, *buf1; local
859 buf1 = kmem_alloc(cnv_max, KM_NOSLEEP);
860 if ((buf0 == NULL) || (buf1 == NULL)) {
866 if (buf1)
867 kmem_free(buf1, cnv_max);
877 sp->s_cnv_buf1 = buf1;
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c1258 char *propname, *propval, *buf1, *buf2; local
1284 buf1 = kmem_alloc(OBP_MAXPROPNAME, KM_SLEEP);
1286 buf1[0] = '\0';
1287 while (propname = (char *)prom_nextprop(nodeid, buf1, buf2)) {
1290 (void) strcpy(buf1, propname);
1307 kmem_free(buf1, OBP_MAXPROPNAME);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c259 * in (buf1,eom1) and (buf2,eom2)?
270 res_queriesmatch(const u_char *buf1, const u_char *eom1, argument
273 const u_char *cp = buf1 + HFIXEDSZ;
274 int qdcount = ntohs(((const HEADER*)buf1)->qdcount);
276 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2)
283 if ((((const HEADER *)buf1)->opcode == ns_o_update) &&
293 n = dn_expand(buf1, eom1, cp, tname, sizeof tname);
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c224 char buf1[BUFSIZ], buf2[BUFSIZ]; local
419 i = fread(buf1, 1, BUFSIZ, input[0]);
436 while (i = fread(buf1, 1, BUFSIZ, input[0]))
437 (void) fwrite(buf1, 1, i, stdout);
445 if (buf1[j] != buf2[j])
1457 char buf1[BUFSIZ], buf2[BUFSIZ]; local
1519 if ((i = readlink(file1, buf1, BUFSIZ)) == -1) {
1532 if (strncmp(buf1, buf2, i) == 0)
1579 i = read(f1, buf1, BUFSIZ);
1593 if (buf1[
[all...]
/illumos-gate/usr/src/uts/sun/io/ttymux/
H A Dttymux_ioctl.c131 char *buf1; local
145 buf1 = kmem_alloc(OBP_MAXPROPNAME, KM_SLEEP);
147 buf1[0] = '\0';
149 while (propname = (char *)prom_nextprop(node, buf1, buf2)) {
153 (void) strcpy(buf1, propname);
163 kmem_free(buf1, OBP_MAXPROPNAME);
172 kmem_free(buf1, OBP_MAXPROPNAME);

Completed in 138 milliseconds

123