Home | History | Annotate | Download | only in lib

Lines Matching refs:pn

98 /* If P is null, allocate a block of at least *PN such objects;
99 otherwise, reallocate P so that it contains more than *PN objects
100 each of S bytes. *PN must be nonzero unless P is null, and S must
101 be nonzero. Set *PN to the new number of objects, and return the
102 pointer to the new block. *PN is never set to zero, and the
131 To have finer-grained control over the initial size, set *PN to a
154 x2nrealloc_inline (void *p, size_t *pn, size_t s)
156 size_t n = *pn;
179 *pn = n;
184 x2nrealloc (void *p, size_t *pn, size_t s)
186 return x2nrealloc_inline (p, pn, s);
189 /* If P is null, allocate a block of at least *PN bytes; otherwise,
190 reallocate P so that it contains more than *PN bytes. *PN must be
191 nonzero unless P is null. Set *PN to the new block's size, and
192 return the pointer to the new block. *PN is never set to zero, and
196 x2realloc (void *p, size_t *pn)
198 return x2nrealloc_inline (p, pn, 1);