Searched refs:oldCount (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) 117 if (oldCount <= 0) { 118 oldCount = 0; 129 myself, (oldCount+newCount) * sizeof (rv[0]), 130 oldCount, newCount, sizeof (rv[0])); 131 freeRuleValue(old, oldCount); 135 (void) memset(&rv[oldCount], 0, (newCount-oldCount)*sizeo [all...] |
Completed in 15 milliseconds