Home
last modified time | relevance | path

Searched refs:litem (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_ruleval.c617 __nis_mapping_item_t *litem; in addLdapRuleValue() local
665 litem = buildLvalue(&r->lhs, &rval, &numItems); in addLdapRuleValue()
666 if (litem == 0) { in addLdapRuleValue()
676 tmpval = getMappingItem(&litem[i], lnative, 0, 0, NULL); in addLdapRuleValue()
682 if (doAssign && litem[i].type == mit_ldap && in addLdapRuleValue()
683 litem[i].searchSpec.triple.scope != in addLdapRuleValue()
685 slen(litem[i].searchSpec.triple.base) > 0 && in addLdapRuleValue()
686 (slen(litem[i].searchSpec.triple.attrs) > 0 || in addLdapRuleValue()
687 litem[i].searchSpec.triple.element != 0)) { in addLdapRuleValue()
695 stat = storeLDAP(&litem[i], i, numItems, rval, in addLdapRuleValue()
[all …]
H A Dldap_nisdbquery.c693 __nis_mapping_item_t *litem; in createNisPlusEntry() local
717 litem = buildLvalue(&t->ruleFromLDAP[r]->lhs, &rval, in createNisPlusEntry()
719 if (litem == 0) { in createNisPlusEntry()
729 tmpval = getMappingItem(&litem[i], in createNisPlusEntry()
740 if (litem[i].type == mit_ldap) { in createNisPlusEntry()
748 stat = storeLDAP(&litem[i], i, numItems, rval, in createNisPlusEntry()
772 freeMappingItem(litem, numItems); in createNisPlusEntry()
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c651 __nis_mapping_item_t *litem; in buildNISRuleValue() local
699 if (litem == 0) { in buildNISRuleValue()
706 if (numItems == 1 && litem->repeat) in buildNISRuleValue()
718 strcasecmp(litem[i].name, N2LIPKEY) == 0 || in buildNISRuleValue()
719 strcasecmp(litem[i].name, N2LCOMMENT) == 0) in buildNISRuleValue()
741 freeMappingItem(litem, numItems); in buildNISRuleValue()
757 vt_string, litem[l].name, value, in buildNISRuleValue()
761 litem[l].name, value, len, rv); in buildNISRuleValue()
765 freeMappingItem(litem, numItems); in buildNISRuleValue()
772 freeMappingItem(litem, numItems); in buildNISRuleValue()
[all …]