Searched refs:abuf (Results 1 - 22 of 22) sorted by relevance

/osnet-11/usr/src/lib/libc/port/stdio/
H A Dsetbuffer.c43 setbuffer(FILE *iop, char *abuf, size_t asize) argument
45 if (abuf == NULL)
48 (void) setvbuf(iop, abuf, _IOFBF, asize);
H A Dsetbuf.c44 setbuf(FILE *iop, char *abuf) argument
46 Uchar *buf = (Uchar *)abuf;
H A Dsetvbuf.c43 setvbuf(FILE *iop, char *abuf, int type, size_t size) argument
46 Uchar *buf = (Uchar *)abuf;
/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c653 char *abuf = NULL, *abuf_start = NULL, *abuf_end; local
756 abuf = (char *)malloc(args->buf.buflen);
757 if (abuf == NULL) {
761 abuf_start = abuf;
763 (void) memcpy(abuf, h_name, h_namelen);
764 abuf += h_namelen;
765 *abuf = '\0';
766 abuf = do_aliases(hp, abuf, abuf_end);
767 if (abuf
913 do_aliases(struct hostent *hp, char *abuf, char *end) argument
[all...]
/osnet-11/usr/src/lib/libresolv/
H A Dres_query.c276 static char abuf[MAXDNAME]; local
292 abuf[sizeof (abuf) - 1] = *C2 = '\0';
293 (void) strncpy(abuf, C1, sizeof (abuf) - 1);
295 return (abuf);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dti_opts.c121 struct netbuf *abuf = (struct netbuf *)trans->xp_p2; local
126 if (abuf == NULL || abuf->buf == NULL) {
133 syslog(LOG_INFO, "find_ucred_opt %p %x", abuf->buf, abuf->len);
135 opth = (struct opthdr *)abuf->buf;
138 opth->len + sizeof (*opth) == abuf->len) {
152 bufp = abuf->buf;
153 maxbufp = bufp + abuf->len;
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_getrhent.c232 char abuf[INET6_ADDRSTRLEN]; local
247 (void) inet_ntop(AF_INET, &rhent.rh_address.ta_addr_v4, abuf,
248 sizeof (abuf));
252 (void) inet_ntop(AF_INET6, &in6, abuf, sizeof (abuf));
/osnet-11/usr/src/lib/libdhcpdu/common/
H A Drfc2136.c384 } abuf; local
410 alen = res_nquery(&res, domain, C_IN, T_NS, (uchar_t *)&abuf,
411 sizeof (abuf));
438 m_bound = ((unsigned char *)&abuf) + alen;
440 hp = (HEADER *)&abuf;
441 data = (unsigned char *)&hp[1]; /* a DNS paradigm - actually abuf.buf */
467 if ((dlen = dn_expand((unsigned char *) &abuf, m_bound,
518 if (dn_expand((unsigned char *) &abuf, m_bound, data,
537 if (dn_expand((unsigned char *) &abuf, m_bound, NS_data,
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_data.c298 static char abuf[MAXDNAME]; local
300 return (res_hostalias(&_res, name, abuf, sizeof abuf));
H A Dres_send.c314 char abuf[NI_MAXHOST]; local
475 getnameinfo(nsap, nsaplen, abuf,
476 sizeof(abuf), NULL, 0, niflags) == 0),
479 ns + 1, abuf));
529 getnameinfo(nsap, nsaplen, abuf, sizeof(abuf),
532 ns + 1, abuf));
/osnet-11/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.h198 #define VRRPADDR2STR(af, addr, abuf, size, append) { \
211 (void) strlcat(abuf, ap, size); \
213 (void) strlcpy(abuf, ap, size); \
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dhesiod.c351 u_char qbuf[MAX_HESRESP], abuf[MAX_HESRESP]; local
366 n = res_nsend(ctx->res, qbuf, n, abuf, MAX_HESRESP);
379 hp = (HEADER *) abuf;
382 cp = abuf + sizeof(HEADER);
383 eom = abuf + n;
/osnet-11/usr/src/lib/libdladm/common/
H A Dflowattr.c367 char *cp, abuf[INET6_ADDRSTRLEN]; local
371 (void) inet_ntop(AF_INET6, &fdesc.fd_local_addr, abuf,
373 cp = abuf;
385 (void) inet_ntop(AF_INET6, &fdesc.fd_remote_addr, abuf,
387 cp = abuf;
H A Dlibdlflow.c114 char abuf[INET6_ADDRSTRLEN], *ap; local
133 abuf, INET6_ADDRSTRLEN);
136 abuf, INET6_ADDRSTRLEN);
138 ap = abuf;
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_mbuf.c398 char *abuf; local
401 abuf = smbfs_convert_utf8_to_wincs(s);
402 if (abuf == NULL)
404 len = strlen(abuf) + 1;
405 err = smbfs_mb_put_mem(mbp, abuf, len, MB_MSYSTEM);
406 free(abuf);
/osnet-11/usr/src/lib/libsocket/inet/
H A Drcmd.c126 char abuf[INET6_ADDRSTRLEN]; local
242 abuf, sizeof (abuf)));
257 abuf, sizeof (abuf)));
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_config.c3048 char abuf[64], **cpp; local
3071 abuf[0] = '\0';
3080 (void) strlcpy(abuf, def->name, sizeof (abuf));
3081 (void) strlcat(abuf, EQUALSEP, sizeof (abuf));
3084 (void) strlcpy(abuf, def->name, sizeof (abuf));
3085 (void) strlcat(abuf, EQUSPSEP, sizeof (abuf));
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_map.c365 char abuf[2 * sizeof (obj->zo_access) + 1]; local
400 (void) memset(abuf, 0, sizeof (abuf));
403 sprintf(abuf, "%x", obj->zo_access);
406 if (addSCol2RuleValue("zo_access", abuf, rv) != 0) {
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c1525 char abuf[INET6_ADDRSTRLEN]; local
1534 (void *)&((struct sockaddr_in *)(&ss))->sin_addr), abuf,
1535 sizeof (abuf)));
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c2205 char abuf[INET6_ADDRSTRLEN]; local
2278 if (inet_ntop(AF_INET, (const void *)&in, abuf,
2287 if (inet_ntop(AF_INET6, (const void *)&in6, abuf,
2304 "%s+ipHostNumber=%s", hp->h_name, abuf);
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc1330 void setbuf(FILE *_RESTRICT_KYWD iop, char *_RESTRICT_KYWD abuf);
1333 int setvbuf(FILE *_RESTRICT_KYWD iop, char *_RESTRICT_KYWD abuf, int type,
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c996 unsigned char *digestInfo_buf = NULL, *abuf = NULL; local
1113 abuf = data;
1137 alen = ASN1_item_i2d((ASN1_VALUE *) sk, &abuf,
1139 if (abuf == NULL)
1160 EVP_DigestUpdate(&ctx2, abuf, alen);
1203 retval = pkinit_sign_data(context, id_cryptoctx, abuf, alen,
1210 free(abuf);

Completed in 88 milliseconds