Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DCLChoice.java434 int numItems = Math.min(items.size(), itemsVisible); in getMenuBounds() local
435 numItems = Math.max(numItems, 1); in getMenuBounds()
439 int prefHeight = numItems * lineHeight + hPad; in getMenuBounds()
453 numItems = Math.min(numItems, in getMenuBounds()
456 r.height = numItems * lineHeight + hPad; in getMenuBounds()
470 int numItems = Math.min(items.size(), itemsVisible); in getWindowMenuBounds() local
471 numItems = Math.max(numItems, 1); in getWindowMenuBounds()
474 int prefHeight = numItems * lineHeight + hPad; in getWindowMenuBounds()
/titanic_41/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
698 litem = buildLvalue(&rl->lhs, &rval, &numItems); in buildNISRuleValue()
706 if (numItems == 1 && litem->repeat) in buildNISRuleValue()
708 else if (numItems > 1 && rval->repeat) in buildNISRuleValue()
709 nrq = 1 + ((rval->numVals-1)/numItems); 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()
[all …]
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_ruleval.c480 buildLvalue(__nis_mapping_rlhs_t *rl, __nis_value_t **rval, int *numItems) { in buildLvalue() argument
533 for (n = 0; n < e->element.match.numItems; in buildLvalue()
568 if (numItems != 0) in buildLvalue()
569 *numItems = ni; in buildLvalue()
624 int numItems; in addLdapRuleValue() local
671 litem = buildLvalue(&r->lhs, &rval, &numItems); in addLdapRuleValue()
679 for (i = 0; i < numItems; i++) { in addLdapRuleValue()
701 stat = storeLDAP(&litem[i], i, numItems, rval, in addLdapRuleValue()
726 freeMappingItem(litem, numItems); in addLdapRuleValue()
H A Dldap_val.c1557 freeMappingItem(__nis_mapping_item_t *item, int numItems) { in freeMappingItem() argument
1563 for (i = 0; i < numItems; i++) { in freeMappingItem()
1571 concatenateMappingItem(__nis_mapping_item_t *old, int numItems, in concatenateMappingItem() argument
1577 if (old == 0 || numItems < 1) in concatenateMappingItem()
1580 new = am(myself, (numItems + 1) * sizeof (*new)); in concatenateMappingItem()
1584 for (i = 0; i < numItems; i++) { in concatenateMappingItem()
1591 copyItem(cat, &new[numItems], &err); in concatenateMappingItem()
1593 freeMappingItem(new, numItems); in concatenateMappingItem()
2093 int i, n, ni, numItems, nf, nv = 0; in matchMappingItem() local
2103 for (nf = numItems = 0, ftmp = f; ftmp->type != mmt_end; ftmp++) { in matchMappingItem()
[all …]
H A Dldap_parse.h347 int numItems; member
456 int numItems; member
H A Dldap_val.h105 int numItems);
107 int numItems, __nis_mapping_item_t *cat);
H A Dnis_parse_ldap_map.c70 __nis_mapping_format_t **fmt, int *nfmt, int *numItems,
733 elmnt[numSplits].element.match.numItems = nElements; in parse_name_fields()
1333 e->element.match.numItems = nElements; in get_lhs_match()
1891 if (sub->element.print.numItems != 1) { in get_print_sub_element()
1956 int numItems = 0; in get_subElement() local
2087 if (!get_mapping_format(fmt_string, &base, &n, &numItems, in get_subElement()
2094 if (numItems != 1 && e_type == me_extract) { in get_subElement()
2095 p_error = numItems == 0 ? in get_subElement()
2099 } else if (numItems > 0 && e_type == me_print) { in get_subElement()
2100 print_item = (__nis_mapping_item_t *)s_calloc(numItems, in get_subElement()
[all …]
H A Dnis_parse_ldap_util.c223 for (i = 0; i < e->element.match.numItems; i++) in free_mapping_element()
225 e->element.match.numItems = 0; in free_mapping_element()
597 for (i = 0; i < sub->element.print.numItems; i++) in free_mapping_sub_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()
1486 for (i = 0; i < in->element.print.numItems; i++) in dup_mapping_sub_element()
1491 if (i < in->element.print.numItems) in dup_mapping_sub_element()
[all …]
H A Dldap_ruleval.h68 __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.c134 for (i = 0; i < e->element.print.numItems; i++) { in printMappingSubElement()
195 for (i = 0; i < e->element.match.numItems; i++) { in printMappingElement()
/titanic_41/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()