Home
last modified time | relevance | path

Searched refs:numItems (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c523 nitems = t->e->element.match.numItems; in addSplitFieldValues()
590 sf->e[k].element.match.numItems, in addSplitFieldValues()
649 int numItems, splitname, count, statP; in buildNISRuleValue() local
706 if (numItems == 1 && litem->repeat) in buildNISRuleValue()
708 else if (numItems > 1 && rval->repeat) in buildNISRuleValue()
716 for (i = 0; i < numItems; i++) { in buildNISRuleValue()
729 splitname = (i < numItems)?1:0; in buildNISRuleValue()
741 freeMappingItem(litem, numItems); in buildNISRuleValue()
765 freeMappingItem(litem, numItems); in buildNISRuleValue()
772 freeMappingItem(litem, numItems); in buildNISRuleValue()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_ruleval.c476 buildLvalue(__nis_mapping_rlhs_t *rl, __nis_value_t **rval, int *numItems) { in buildLvalue() argument
529 for (n = 0; n < e->element.match.numItems; in buildLvalue()
564 if (numItems != 0) in buildLvalue()
565 *numItems = ni; in buildLvalue()
618 int numItems; in addLdapRuleValue() local
665 litem = buildLvalue(&r->lhs, &rval, &numItems); in addLdapRuleValue()
673 for (i = 0; i < numItems; i++) { in addLdapRuleValue()
695 stat = storeLDAP(&litem[i], i, numItems, rval, in addLdapRuleValue()
720 freeMappingItem(litem, numItems); in addLdapRuleValue()
H A Dldap_val.c1564 for (i = 0; i < numItems; i++) { in freeMappingItem()
1578 if (old == 0 || numItems < 1) in concatenateMappingItem()
1585 for (i = 0; i < numItems; i++) { in concatenateMappingItem()
1594 freeMappingItem(new, numItems); in concatenateMappingItem()
2094 int i, n, ni, numItems, nf; in matchMappingItem() local
2112 numItems++; in matchMappingItem()
2115 numItems++; in matchMappingItem()
2125 if (numItems <= 0) { in matchMappingItem()
2146 for (n = 0; n < numItems; n++) { in matchMappingItem()
2204 *numVals = numItems; in matchMappingItem()
[all …]
H A Dnis_parse_ldap_map.c1330 e->element.match.numItems = nElements; in get_lhs_match()
1888 if (sub->element.print.numItems != 1) { in get_print_sub_element()
1953 int numItems = 0; in get_subElement() local
2091 if (numItems != 1 && e_type == me_extract) { in get_subElement()
2092 p_error = numItems == 0 ? in get_subElement()
2104 sub.element.print.numItems = numItems; in get_subElement()
2122 subelement->element.print.numItems = numItems; in get_subElement()
2136 for (n = 0; n < numItems; n++) in get_subElement()
2444 int *numItems, in get_mapping_format() argument
2476 if (numItems) in get_mapping_format()
[all …]
H A Dldap_parse.h345 int numItems; member
454 int numItems; member
H A Dldap_val.h103 int numItems);
105 int numItems, __nis_mapping_item_t *cat);
H A Dnis_parse_ldap_util.c225 e->element.match.numItems = 0; in free_mapping_element()
599 sub->element.print.numItems = 0; in free_mapping_sub_element()
943 k < e->element.match.numItems; in finish_parse()
1479 out->element.print.numItems = in dup_mapping_sub_element()
1480 in->element.print.numItems; in dup_mapping_sub_element()
1482 s_calloc(in->element.print.numItems, in dup_mapping_sub_element()
1491 if (i < in->element.print.numItems) in dup_mapping_sub_element()
1568 out->element.match.numItems = in dup_mapping_element()
1569 in->element.match.numItems; in dup_mapping_element()
1571 s_calloc(in->element.match.numItems, in dup_mapping_element()
[all …]
H A Dldap_ruleval.h66 __nis_value_t **rval, int *numItems);
H A Dldap_nisdbquery.c694 int numItems; in createNisPlusEntry() local
718 &numItems); in createNisPlusEntry()
726 for (i = 0; i < numItems; i++) { in createNisPlusEntry()
748 stat = storeLDAP(&litem[i], i, numItems, rval, in createNisPlusEntry()
772 freeMappingItem(litem, numItems); in createNisPlusEntry()
H A Dldap_print.c132 for (i = 0; i < e->element.print.numItems; i++) { in printMappingSubElement()
193 for (i = 0; i < e->element.match.numItems; i++) { in printMappingElement()
/illumos-gate/usr/src/common/lzma/
H A DLzFind.h69 void MatchFinder_Normalize3(UInt32 subValue, CLzRef *items, UInt32 numItems);
H A DLzFind.c285 void MatchFinder_Normalize3(UInt32 subValue, CLzRef *items, UInt32 numItems) in MatchFinder_Normalize3() argument
288 for (i = 0; i < numItems; i++) in MatchFinder_Normalize3()