Lines Matching refs:bvals
611 struct berval bv, *bvals;
622 for(rc = ldap_get_attribute_ber(li->ld, msg, ber, &bv, &bvals);
624 rc = ldap_get_attribute_ber(li->ld, msg, ber, &bv, &bvals)) {
630 if(bvals) {
631 for(i = 0; bvals[i].bv_val; i++) {
633 unsigned short mech = Curl_sasl_decode_mech((char *) bvals[i].bv_val,
634 bvals[i].bv_len, &llen);
635 if(bvals[i].bv_len == llen)
638 ber_memfree(bvals);
983 struct berval bv, *bvals;
1050 for(rc = ldap_get_attribute_ber(li->ld, msg, ber, &bv, &bvals);
1052 rc = ldap_get_attribute_ber(li->ld, msg, ber, &bv, &bvals)) {
1058 if(!bvals) {
1069 for(i = 0; bvals[i].bv_val != NULL; i++) {
1079 if(ISBLANK(bvals[i].bv_val[0]) ||
1080 ISBLANK(bvals[i].bv_val[bvals[i].bv_len - 1]))
1085 for(j = 0; j < bvals[i].bv_len; j++)
1086 if(!ISPRINT(bvals[i].bv_val[j])) {
1097 if(bvals[i].bv_len)
1098 result = Curl_base64_encode(bvals[i].bv_val, bvals[i].bv_len,
1107 bvals[i].bv_val, bvals[i].bv_len,
1113 ber_memfree(bvals);
1114 bvals = NULL;