Home
last modified time | relevance | path

Searched refs:ber_buf (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dio.c78 have_bytes = ber->ber_end - ber->ber_buf; in kmfber_realloc()
83 oldbuf = ber->ber_buf; in kmfber_realloc()
85 if (ber->ber_buf == NULL) { in kmfber_realloc()
86 if ((ber->ber_buf = (char *)malloc((size_t)total)) in kmfber_realloc()
94 if ((ber->ber_buf = (char *)malloc( in kmfber_realloc()
101 (void) memmove(ber->ber_buf, oldbuf, have_bytes); in kmfber_realloc()
103 if ((ber->ber_buf = (char *)realloc( in kmfber_realloc()
111 ber->ber_end = ber->ber_buf + total; in kmfber_realloc()
118 if (ber->ber_buf != oldbuf) { in kmfber_realloc()
119 ber->ber_ptr = ber->ber_buf + (ber->ber_ptr - oldbuf); in kmfber_realloc()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dio.c131 if ( sb->sb_ber.ber_buf == NULL ) { in ber_filbuf()
132 if ( (sb->sb_ber.ber_buf = (char *)NSLBERI_MALLOC( in ber_filbuf()
137 sb->sb_ber.ber_ptr = sb->sb_ber.ber_buf; in ber_filbuf()
138 sb->sb_ber.ber_end = sb->sb_ber.ber_buf; in ber_filbuf()
143 rc = udp_read(sb, sb->sb_ber.ber_buf, READBUFSIZ, addrlen ); in ber_filbuf()
151 lber_bprint( sb->sb_ber.ber_buf, rc ); in ber_filbuf()
160 sb->sb_sd, sb->sb_ber.ber_buf, in ber_filbuf()
165 rc = read( sb->sb_sd, sb->sb_ber.ber_buf, in ber_filbuf()
172 sb->sb_ber.ber_ptr = sb->sb_ber.ber_buf + 1; in ber_filbuf()
173 sb->sb_ber.ber_end = sb->sb_ber.ber_buf + rc; in ber_filbuf()
[all …]
H A Dlber-int.h131 char *ber_buf; member
/illumos-gate/usr/src/lib/libadutils/common/
H A Dldap_ping.c72 char *ber_buf; member
427 be_len = be->ber_end - be->ber_buf; in ldap_ping()
432 rbe_len = rbe->ber_end - rbe->ber_buf; in ldap_ping()
447 send_to_cds(send_ds, be->ber_buf, be_len, fd); in ldap_ping()
474 r = recvfrom(fd, rbe->ber_buf, rbe_len, 0, in ldap_ping()
518 send_to_cds(ad_disc_cds_t *send_cds, char *ber_buf, size_t be_len, int fd) in send_to_cds() argument
550 err = sendto(fd, ber_buf, be_len, 0, in send_to_cds()
/illumos-gate/usr/src/cmd/ldap/common/
H A Ddtest.c54 sb.sb_ber.ber_buf = NULL; in main()
H A Detest.c48 sb.sb_ber.ber_buf = NULL; in main()
/illumos-gate/usr/src/lib/libkmf/ber_der/inc/
H A Dkmfber_int.h68 char *ber_buf; member
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c1206 p->ber_buf = (char*)p + sizeof(BerElement);
1209 p->ber_buf = (char*)NSLDAPI_CALLOC(1, p->ber_len);
1210 *pSize += (p->ber_buf ? p->ber_len : 0);
1213 if (p->ber_buf) {
1214 p->ber_ptr = p->ber_buf + (pBer->ber_ptr - pBer->ber_buf);
1215 p->ber_end = p->ber_buf + p->ber_len;
1216 memcpy(p->ber_buf, pBer->ber_buf, p->ber_len);
H A Drequest.c298 ber->ber_ptr = ber->ber_buf; in nsldapi_send_server_request()
H A Dresult.c424 lr->lr_ber->ber_ptr = lr->lr_ber->ber_buf;