Home
last modified time | relevance | path

Searched refs:oldCount (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libnisdb/
H A Dldap_ruleval.c109 growRuleValue(int oldCount, int newCount, __nis_rule_value_t *old, in growRuleValue() argument
115 if (newCount <= 0 || newCount <= oldCount) in growRuleValue()
118 if (oldCount <= 0) { in growRuleValue()
119 oldCount = 0; in growRuleValue()
130 myself, (oldCount+newCount) * sizeof (rv[0]), in growRuleValue()
131 oldCount, newCount, sizeof (rv[0])); in growRuleValue()
132 freeRuleValue(old, oldCount); in growRuleValue()
136 (void) memset(&rv[oldCount], 0, (newCount-oldCount)*sizeof (rv[0])); in growRuleValue()
138 for (i = oldCount; i < newCount; i++) { in growRuleValue()
H A Dldap_ruleval.h46 __nis_rule_value_t *growRuleValue(int oldCount, int newCount,