Home
last modified time | relevance | path

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

/titanic_41/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 …]
/titanic_41/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.h135 char *ber_buf; member
/titanic_41/usr/src/cmd/ldap/common/
H A Ddtest.c55 sb.sb_ber.ber_buf = NULL; in main()
H A Detest.c48 sb.sb_ber.ber_buf = NULL; in main()
/titanic_41/usr/src/lib/libkmf/ber_der/inc/
H A Dkmfber_int.h72 char *ber_buf; member
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c1207 p->ber_buf = (char*)p + sizeof(BerElement);
1210 p->ber_buf = (char*)NSLDAPI_CALLOC(1, p->ber_len);
1211 *pSize += (p->ber_buf ? p->ber_len : 0);
1214 if (p->ber_buf) {
1215 p->ber_ptr = p->ber_buf + (pBer->ber_ptr - pBer->ber_buf);
1216 p->ber_end = p->ber_buf + p->ber_len;
1217 memcpy(p->ber_buf, pBer->ber_buf, p->ber_len);
H A Drequest.c300 ber->ber_ptr = ber->ber_buf; in nsldapi_send_server_request()
H A Dresult.c426 lr->lr_ber->ber_ptr = lr->lr_ber->ber_buf;