Lines Matching refs:bufp
50 wchar_t **bufp; member
68 buf = reallocarray(*ms->bufp, newsize + 1, sizeof(wchar_t)); in wmemstream_grow()
75 *ms->bufp = buf; in wmemstream_grow()
144 charlen = mbrtowc(*ms->bufp + ms->offset, buf, len, in wmemstream_write()
237 open_wmemstream(wchar_t **bufp, size_t *sizep) in open_wmemstream() argument
243 if (bufp == NULL || sizep == NULL) { in open_wmemstream()
247 *bufp = calloc(1, sizeof(wchar_t)); in open_wmemstream()
248 if (*bufp == NULL) in open_wmemstream()
253 free(*bufp); in open_wmemstream()
254 *bufp = NULL; in open_wmemstream()
258 ms->bufp = bufp; in open_wmemstream()
269 free(*bufp); in open_wmemstream()
270 *bufp = NULL; in open_wmemstream()