Lines Matching refs:ber
79 nsldapi_set_ber_options( LDAP *ld, BerElement *ber ) in nsldapi_set_ber_options() argument
81 ber->ber_options = ld->ld_lberoptions; in nsldapi_set_ber_options()
84 ber_set_string_translators( ber, in nsldapi_set_ber_options()
95 char *dn, BerElement *ber ) in nsldapi_send_initial_request() argument
105 ber_free( ber, 1 ); in nsldapi_send_initial_request()
138 return( nsldapi_send_server_request( ld, ber, msgid, NULL, in nsldapi_send_initial_request()
147 BerElement *ber, /* message to send */ in nsldapi_send_server_request() argument
172 ber_free( ber, 1 ); in nsldapi_send_server_request()
180 ber_free( ber, 1 ); in nsldapi_send_server_request()
220 ber_free( ber, 1 ); in nsldapi_send_server_request()
241 ber_free( ber, 1 ); in nsldapi_send_server_request()
253 lr->lr_ber = ber; in nsldapi_send_server_request()
279 if (( err = nsldapi_ber_flush( ld, lc->lconn_sb, ber, 0, 1 )) != 0 ) { in nsldapi_send_server_request()
297 ber->ber_end = ber->ber_ptr; in nsldapi_send_server_request()
298 ber->ber_ptr = ber->ber_buf; in nsldapi_send_server_request()
321 nsldapi_ber_flush( LDAP *ld, Sockbuf *sb, BerElement *ber, int freeit, in nsldapi_ber_flush() argument
333 if ( ber_flush( sb, ber, freeit ) == 0 ) { in nsldapi_ber_flush()
951 BerElement *ber; in chase_one_referral() local
984 ludp, &ber )) != LDAP_SUCCESS ) { in chase_one_referral()
991 ber_free( ber, 1 ); in chase_one_referral()
1016 ber_free(ber, 1); in chase_one_referral()
1053 if ( nsldapi_send_server_request( ld, ber, msgid, in chase_one_referral()
1115 BerElement *ber; in re_encode_request() local
1170 if (( rc = nsldapi_alloc_ber_with_options( ld, &ber )) in re_encode_request()
1179 rc = ber_printf( ber, "{it{is", msgid, tag, in re_encode_request()
1182 rc = ber_printf( ber, "{its}", msgid, tag, dn ); in re_encode_request()
1184 rc = ber_printf( ber, "{it{s", msgid, tag, dn ); in re_encode_request()
1195 ber_free( ber, 1 ); in re_encode_request()
1200 ( ber_write( ber, tmpber.ber_ptr, ( tmpber.ber_end - in re_encode_request()
1202 || ber_printf( ber, "}}" ) == -1 )) { in re_encode_request()
1203 ber_free( ber, 1 ); in re_encode_request()
1211 ber_dump( ber, 0 ); in re_encode_request()
1215 *berp = ber; in re_encode_request()