Lines Matching +defs:val +defs:method

47 			char *cred, auth_method_t method);
322 rv->attrName[i], rv->attrVal[i].val[j].value);
393 auth_method_t method;
549 ldapBind(LDAP **ldP, char *who, char *cred, auth_method_t method,
558 if (method == none) {
561 } else if (method == simple) {
584 } else if (method == cram_md5) {
591 } else if (method == digest_md5) {
716 char *attr[2], *a, **val;
737 val = ldap_get_values(lc->ld, e, a);
738 if (val == 0) {
745 if (e == 0 || a == 0 || val == 0) {
755 for (i = 0; val[i] != 0; i++) {
756 if (strstr(val[i], *ctrl) != 0) {
769 ldap_value_free(val);
841 stat = lc->status = ldapBind(&lc->ld, lc->who, lc->cred, lc->method,
939 createCon(char *sp, char *who, char *cred, auth_method_t method, int port) {
995 lc->method = method;
1012 setupConList(char *serverList, char *who, char *cred, auth_method_t method) {
1051 lc = createCon(s, who, cred, method, 0);
1273 lc->method, lc->port);
1639 struct berval **val;
1642 val = ldap_get_values_len(lc->ld, m, nm);
1643 nv = (val == 0) ? 0 :
1644 ldap_count_values_len(val);
1654 val[i]->bv_val,
1655 val[i]->bv_len,
1659 ldap_value_free_len(val);
1667 if (val != 0)
1668 ldap_value_free_len(val);
1954 rv->attrVal[i].val[j].length + 1);
1960 rv->attrVal[i].val[j].value,
1961 rv->attrVal[i].val[j].length);
1980 rv->attrVal[i].val[j].length);
1986 rv->attrVal[i].val[j].length;
1988 rv->attrVal[i].val[j].value,
1999 * Remove 'value' from 'val'. If value==0, remove the entire
2000 * __nis_single_value_t array from 'val'.
2003 removeSingleValue(__nis_value_t *val, void *value, int length) {
2006 if (val == 0)
2010 for (i = 0; i < val->numVals; i++) {
2011 sfree(val->val[i].value);
2013 sfree(val->val);
2014 val->val = 0;
2015 val->numVals = 0;
2019 for (i = 0; i < val->numVals; i++) {
2020 if (val->val[i].value == 0 || (val->val[i].length != length))
2022 if (memcmp(val->val[i].value, value, length) != 0)
2024 sfree(val->val[i].value);
2025 if (i != (val->numVals - 1)) {
2026 (void) memmove(&val->val[i], &val->val[i+1],
2027 (val->numVals - 1 - i) * sizeof (val->val[0]));
2029 val->numVals -= 1;
2126 rvldap->attrVal[ocrvldap].val[i].value,
2127 rvldap->attrVal[ocrvldap].val[i].length);