Home
last modified time | relevance | path

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

/titanic_41/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()
126 rv = realloc(old, newCount * sizeof (rv[0])); in growRuleValue()
130 myself, (oldCount+newCount) * sizeof (rv[0]), in growRuleValue()
131 oldCount, newCount, sizeof (rv[0])); 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,