Lines Matching defs:bv
881 struct berval **bv = NULL;
1028 bv = ldap_get_values_len(ld, le, xauth_ldap_config.attr_addr->v);
1029 if (bv != NULL) {
1032 if ((bv[0]->bv_len < 7)||(bv[0]->bv_len > 15)) {
1035 ldap_value_free_len(bv);
1038 memcpy(tmpaddr,bv[0]->bv_val,bv[0]->bv_len);
1039 tmpaddr[bv[0]->bv_len]=0;
1044 ldap_value_free_len(bv);
1048 bv = ldap_get_values_len(ld, le, xauth_ldap_config.attr_mask->v);
1049 if (bv != NULL) {
1052 if ((bv[0]->bv_len < 7)||(bv[0]->bv_len > 15)) {
1055 ldap_value_free_len(bv);
1058 memcpy(tmpmask,bv[0]->bv_val,bv[0]->bv_len);
1059 tmpmask[bv[0]->bv_len]=0;
1064 ldap_value_free_len(bv);