Lines Matching refs:ber
45 bytes_remaining( BerElement *ber ) in bytes_remaining() argument
49 if ( ber_get_option( ber, LBER_OPT_REMAINING_BYTES, &len ) != 0 ) { in bytes_remaining()
58 ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **ber ) in ldap_first_attribute() argument
70 if ( ber == NULL || !NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )) { in ldap_first_attribute()
75 if ( nsldapi_alloc_ber_with_options( ld, ber ) != LDAP_SUCCESS ) { in ldap_first_attribute()
79 **ber = *entry->lm_ber; in ldap_first_attribute()
89 if ( ber_scanf( *ber, "{xl{", &seqlength ) != LBER_ERROR && in ldap_first_attribute()
90 ber_set_option( *ber, LBER_OPT_REMAINING_BYTES, &seqlength ) in ldap_first_attribute()
96 if ( ber_scanf( *ber, "{ax}", &attr ) != LBER_ERROR || in ldap_first_attribute()
97 bytes_remaining( *ber ) == 0 ) { in ldap_first_attribute()
104 ber_free( *ber, 0 ); in ldap_first_attribute()
105 *ber = NULL; in ldap_first_attribute()
113 ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber ) in ldap_next_attribute() argument
124 if ( ber == NULL || !NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )) { in ldap_next_attribute()
133 if ( ber_scanf( ber, "{ax}", &attr ) != LBER_ERROR || in ldap_next_attribute()
134 bytes_remaining( ber ) == 0 ) { in ldap_next_attribute()