Searched refs:newCount (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_ruleval.h | 46 __nis_rule_value_t *growRuleValue(int oldCount, int newCount,
|
H A D | ldap_ruleval.c | 102 * Grow 'old' from 'oldCount' to 'newCount' elements, initialize the 108 growRuleValue(int oldCount, int newCount, __nis_rule_value_t *old, argument 114 if (newCount <= 0 || newCount <= oldCount) 125 rv = realloc(old, newCount * sizeof (rv[0])); 129 myself, (oldCount+newCount) * sizeof (rv[0]), 130 oldCount, newCount, sizeof (rv[0])); 135 (void) memset(&rv[oldCount], 0, (newCount-oldCount)*sizeof (rv[0])); 137 for (i = oldCount; i < newCount; i++) {
|
Completed in 29 milliseconds