Lines Matching refs:bvals
602 struct berval bv, *bvals; in oldap_state_mechs_resp() local
613 for(rc = ldap_get_attribute_ber(li->ld, msg, ber, &bv, &bvals); in oldap_state_mechs_resp()
615 rc = ldap_get_attribute_ber(li->ld, msg, ber, &bv, &bvals)) { in oldap_state_mechs_resp()
621 if(bvals) { in oldap_state_mechs_resp()
622 for(i = 0; bvals[i].bv_val; i++) { in oldap_state_mechs_resp()
624 unsigned short mech = Curl_sasl_decode_mech((char *) bvals[i].bv_val, in oldap_state_mechs_resp()
625 bvals[i].bv_len, &llen); in oldap_state_mechs_resp()
626 if(bvals[i].bv_len == llen) in oldap_state_mechs_resp()
629 ber_memfree(bvals); in oldap_state_mechs_resp()
974 struct berval bv, *bvals; in oldap_recv() local
1041 for(rc = ldap_get_attribute_ber(li->ld, msg, ber, &bv, &bvals); in oldap_recv()
1043 rc = ldap_get_attribute_ber(li->ld, msg, ber, &bv, &bvals)) { in oldap_recv()
1049 if(!bvals) { in oldap_recv()
1060 for(i = 0; bvals[i].bv_val != NULL; i++) { in oldap_recv()
1070 if(ISBLANK(bvals[i].bv_val[0]) || in oldap_recv()
1071 ISBLANK(bvals[i].bv_val[bvals[i].bv_len - 1])) in oldap_recv()
1076 for(j = 0; j < bvals[i].bv_len; j++) in oldap_recv()
1077 if(!ISPRINT(bvals[i].bv_val[j])) { in oldap_recv()
1088 if(bvals[i].bv_len) in oldap_recv()
1089 result = Curl_base64_encode(bvals[i].bv_val, bvals[i].bv_len, in oldap_recv()
1098 bvals[i].bv_val, bvals[i].bv_len, in oldap_recv()
1104 ber_memfree(bvals); in oldap_recv()
1105 bvals = NULL; in oldap_recv()