Home | History | Annotate | Download | only in lib

Lines Matching refs:pn

95 /* If P is null, allocate a block of at least *PN such objects;
96 otherwise, reallocate P so that it contains more than *PN objects
97 each of S bytes. *PN must be nonzero unless P is null, and S must
98 be nonzero. Set *PN to the new number of objects, and return the
99 pointer to the new block. *PN is never set to zero, and the
128 To have finer-grained control over the initial size, set *PN to a
151 x2nrealloc_inline (void *p, size_t *pn, size_t s)
153 size_t n = *pn;
176 *pn = n;
181 x2nrealloc (void *p, size_t *pn, size_t s)
183 return x2nrealloc_inline (p, pn, s);
186 /* If P is null, allocate a block of at least *PN bytes; otherwise,
187 reallocate P so that it contains more than *PN bytes. *PN must be
188 nonzero unless P is null. Set *PN to the new block's size, and
189 return the pointer to the new block. *PN is never set to zero, and
193 x2realloc (void *p, size_t *pn)
195 return x2nrealloc_inline (p, pn, 1);