Home
last modified time | relevance | path

Searched refs:numVals (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/lib/libnisdb/
H A Dldap_ruleval.c60 for (j = 0; j < rv[n].colVal[i].numVals; j++) { in freeRuleValue()
63 if (rv[n].colVal[i].numVals > 0) in freeRuleValue()
77 for (j = 0; j < rv[n].attrVal[i].numVals; in freeRuleValue()
81 if (rv[n].attrVal[i].numVals > 0) in freeRuleValue()
179 for (j = 0; j < s->colVal[i].numVals; j++) { in mergeRuleValue()
189 for (j = 0; j < s->attrVal[i].numVals; j++) { in mergeRuleValue()
277 if (inVal[i].numVals < 0) { in addVal2RuleValue()
291 for (j = 0; j < inVal[i].numVals; j++) { in addVal2RuleValue()
296 inVal[i].numVals = -1; in addVal2RuleValue()
301 for (j = 0; j < inVal[i].numVals; j++) { in addVal2RuleValue()
[all …]
H A Dldap_val.c253 for (i = 0; i < val[c].numVals; i++) { in freeValue()
279 n[c].numVals = val[c].numVals; in cloneValue()
280 if (n[c].numVals > 0) { in cloneValue()
281 n[c].val = am(myself, n[c].numVals * in cloneValue()
290 for (i = 0; i < n[c].numVals; i++) { in cloneValue()
347 for (i = 0; i < val->numVals; i++) { in berEncode()
430 for (i = 0; i < val->numVals; i++) { in berDecode()
610 if (nameVal[i].numVals <= 0) in getMappingItemVal()
717 for (i = 0; i < val->numVals; ) { in getMappingItemVal()
718 for (j = 0; j < exVal->numVals; j++) { in getMappingItemVal()
[all …]
H A Dldap_nisdbquery.c224 __nis_rule_value_t **rvP, int *numVals) { in createQuery() argument
237 if (numVals == 0) in createQuery()
238 numVals = &nv; in createQuery()
239 *numVals = 0; in createQuery()
299 if (rvq->colVal[n].numVals > 1) in createQuery()
300 niv *= rvq->colVal[n].numVals; in createQuery()
303 *numVals = 1; in createQuery()
309 freeRuleValue(rvq, *numVals); in createQuery()
310 *numVals = 0; in createQuery()
341 if (niv > 1 && *numVals == 1) { in createQuery()
[all …]
H A Dldap_ldap.c82 if (eVal->type != vt_string || eVal->numVals <= 0) { in lookupLDAP()
89 eVal->numVals == 1 && in lookupLDAP()
246 val == 0 || val->numVals < -1 || val->numVals == 0) in storeLDAP()
308 eVal->numVals <= 0) { in storeLDAP()
347 if (val->numVals > 0) { in storeLDAP()
365 if (index < val->numVals) in storeLDAP()
368 six = val->numVals - 1; in storeLDAP()
370 nix = 1 + (six - (val->numVals - 1)); in storeLDAP()
385 rv->attrVal[0].numVals++; in storeLDAP()
H A Dldap_op.c316 for (j = 0; j < rv->attrVal[i].numVals; j++) { in createLdapRequest()
1350 int stat, numEntries, numVals, tnv, done, lprEc; in ldapSearch() local
1402 freeRuleValue(rv, numVals); in ldapSearch()
1421 freeRuleValue(rv, numVals); in ldapSearch()
1439 freeRuleValue(rv, numVals); in ldapSearch()
1449 numVals = 0; in ldapSearch()
1475 freeRuleValue(rv, numVals); in ldapSearch()
1500 freeRuleValue(rv, numVals); in ldapSearch()
1541 freeRuleValue(rv, numVals); in ldapSearch()
1553 freeRuleValue(rv, numVals); in ldapSearch()
[all …]
H A Dldap_map.c200 int n, numVals, numMatches = 0; in mapFromLDAP() local
228 for (numVals = 0, n = 0; n < numMatches; n++) { in mapFromLDAP()
263 for (i = 0; i < numVals; i++) in mapFromLDAP()
301 numVals = nqt; in mapFromLDAP()
308 (numVals+nqt) * sizeof (q[0])); in mapFromLDAP()
311 (numVals+nqt) * sizeof (attr[0])); in mapFromLDAP()
316 (numVals+nqt) * sizeof (q[0])); in mapFromLDAP()
317 for (i = 0; i < numVals; i++) in mapFromLDAP()
327 freeObjAttr(attr, numVals); in mapFromLDAP()
334 (void) memcpy(&q[numVals], qt, in mapFromLDAP()
[all …]
H A Dldap_print.c42 for (i = 0; i < val->numVals; i++) { in printMappingFormat()
59 for (i = 0; i < val->numVals; i++) { in printMappingFormatArray()
113 for (j = 0; j < val->numVals; j++) { in printMappingItem()
322 if (rv->colVal[i].numVals == 1) { in printRuleValue()
335 for (j = 0; j < rv->colVal[i].numVals; j++) { in printRuleValue()
357 if (rv->attrVal[i].numVals == 1) { in printRuleValue()
372 for (j = 0; j < rv->attrVal[i].numVals; j++) { in printRuleValue()
H A Dldap_structs.h62 int numVals; member
H A Dldap_nisdbquery.h51 __nis_rule_value_t **rvP, int *numVals);
H A Dldap_ruleval.h85 int *numVals);
H A Dldap_val.h118 __nis_value_t *inVal, int *numVals,
H A Dldap_util.c725 for (i = 0; i < val->numVals; i++) { in escapeSpecialChars()
768 for (i = 0; i < val->numVals; i++) { in removeEscapeChars()
H A Dldap_attr.c424 rv[irv].attrVal[iv].numVals >= 1 && in findDNs()
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c87 val->numVals = 1; in stringToValue()
129 int i, j, res, numVals, oldlen, count; in processSplitField() local
163 tempVal, &numVals, sepset, &str); in processSplitField()
178 for (j = 0; j < numVals; j++) in processSplitField()
188 for (j = 0; j < numVals; j++) { in processSplitField()
196 for (; j < numVals; j++) in processSplitField()
256 int valueLen, comLen, numVals, nr, count = 1; in datumToRuleValue() local
368 &numVals, 0, 0); in datumToRuleValue()
388 for (i = 0, *statP = SUCCESS; i < numVals; i++) { in datumToRuleValue()
446 for (i = 0; i < numVals; i++) in datumToRuleValue()
[all …]
H A Ddit_access_utils.h68 int numVals, char *domain);