Lines Matching refs:oldCount
102 * Grow 'old' from 'oldCount' to 'newCount' elements, initialize the
108 growRuleValue(int oldCount, int newCount, __nis_rule_value_t *old,
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)*sizeof (rv[0]));
137 for (i = oldCount; i < newCount; i++) {