Home
last modified time | relevance | path

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

/freebsd/bin/sh/
H A Dexpand.c121 int newcapacity; in appendarglist() local
124 newcapacity = list->capacity * 2; in appendarglist()
125 if (newcapacity < 16) in appendarglist()
126 newcapacity = 16; in appendarglist()
127 if (newcapacity > INT_MAX / (int)sizeof(newargs[0])) in appendarglist()
129 newargs = stalloc(newcapacity * sizeof(newargs[0])); in appendarglist()
132 list->capacity = newcapacity; in appendarglist()