Home
last modified time | relevance | path

Searched refs:recallocarray (Results 1 – 25 of 93) sorted by relevance

1234

/openbsd-src/regress/lib/libc/malloc/malloc_errs/
H A Dmalloc_errs.c193 char *p = recallocarray(NULL, 0, 16, 1); in t16()
194 char *q = recallocarray(p, 2, 3, 16); in t16()
201 char *p = recallocarray(NULL, 0, 15, 1); in t17()
202 char *q = recallocarray(p, 2, 3, 15); in t17()
209 char *p = recallocarray(NULL, 0, 1, getpagesize()); in t18()
210 char *q = recallocarray(p, 2, 3, getpagesize()); in t18()
217 char *p = recallocarray(NULL, 0, 1, 10 * getpagesize()); in t19()
218 char *q = recallocarray(p, 1, 2, 4 * getpagesize()); in t19()
/openbsd-src/lib/libc/stdlib/
H A Drecallocarray.c31 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray() function
81 DEF_WEAK(recallocarray);
/openbsd-src/usr.bin/ssh/
H A Dsshbuf.c207 if ((d = recallocarray(buf->d, buf->alloc, SSHBUF_SIZE_INIT, in sshbuf_reset()
266 if ((dp = recallocarray(buf->d, buf->alloc, rlen, 1)) == NULL) in sshbuf_set_max_size()
355 if ((dp = recallocarray(buf->d, buf->alloc, rlen, 1)) == NULL) { in sshbuf_allocate()
H A Dxmalloc.c73 new_ptr = recallocarray(ptr, onmemb, nmemb, size); in xrecallocarray()
/openbsd-src/lib/libc/stdio/
H A Dasprintf.c53 unsigned char *_base = recallocarray(f._bf._base, in asprintf()
H A Dvasprintf.c49 unsigned char *_base = recallocarray(f._bf._base, in vasprintf()
H A Dgetdelim.c106 newb = recallocarray(*buf, *buflen, newlen, 1); in getdelim()
H A Dfgetln.c49 if ((p = recallocarray(fp->_lb._base, fp->_lb._size, newsize, 1)) == NULL) in __slbexpand()
H A Dopen_memstream.c53 p = recallocarray(st->string, st->size, sz, 1); in memstream_write()
H A Dopen_wmemstream.c55 p = recallocarray(st->string, st->size, sz, sizeof(wchar_t)); in wmemstream_write()
H A Dfvwrite.c115 _base = recallocarray(fp->_bf._base, in __sfvwrite()
/openbsd-src/usr.bin/rsync/
H A Dmisc.c57 args->list = recallocarray(args->list, args->nalloc, nalloc, in addargs()
/openbsd-src/lib/libcrypto/buffer/
H A Dbuffer.c124 if ((ret = recallocarray(str->data, str->max, n, 1)) == NULL) { in BUF_MEM_grow_clean()
/openbsd-src/usr.bin/mandoc/
H A Dmandoc_aux.c87 ptr = recallocarray(ptr, oldnum, num, size); in mandoc_recallocarray()
/openbsd-src/lib/libevent/
H A Dkqueue.c143 newchange = recallocarray(kqop->changes, in kq_insert()
151 newresult = recallocarray(kqop->events, in kq_insert()
H A Dmin_heap.h143 if (!(p = recallocarray(s->p, s->a, a, sizeof *p))) in min_heap_reserve()
/openbsd-src/usr.bin/tmux/
H A Dxmalloc.c81 new_ptr = recallocarray(ptr, oldnmemb, nmemb, size); in xrecallocarray()
/openbsd-src/lib/libcrypto/bn/
H A Dbn_ctx.c53 if ((bignums = recallocarray(bctx->bignums, bctx->len, len, in bn_ctx_grow()
/openbsd-src/lib/libagentx/
H A Dax.c148 if ((rbuf = recallocarray(ax->ax_rbuf, ax->ax_rbsize, in ax_recv()
246 varbind = recallocarray(vbl->ap_varbind, in ax_recv()
301 varbind = recallocarray(response->ap_varbindlist, in ax_recv()
342 wbuf = recallocarray(ax->ax_wbuf, ax->ax_wbsize, wbsize, 1); in ax_pdu_need()
1024 packetids = recallocarray(ax->ax_packetids, ax->ax_packetidsize, in ax_packetid()
/openbsd-src/lib/libedit/
H A Dchared.c490 newbuffer = recallocarray(el->el_line.buffer, sz, newsz, in ch_enlargebufs()
506 newbuffer = recallocarray(el->el_chared.c_kill.buf, sz, newsz, in ch_enlargebufs()
522 newbuffer = recallocarray(el->el_chared.c_undo.buf, sz, newsz, in ch_enlargebufs()
/openbsd-src/lib/libc/hidden/
H A Dstdlib.h140 PROTO_NORMAL(recallocarray);
/openbsd-src/usr.sbin/snmpd/
H A Dapplication_blocklist.c60 if ((tmp = recallocarray(response, responsesz, nvarbind, in appl_blocklist_response()
/openbsd-src/include/
H A Dstdlib.h119 void *recallocarray(void *, size_t, size_t, size_t);
/openbsd-src/usr.sbin/acme-client/
H A Dkeyproc.c205 pp = recallocarray(sans, sansz, sansz + strlen(san), 1); in keyproc()
/openbsd-src/usr.bin/tail/
H A Dread.c169 if ((lines = recallocarray(lines, lineno, nlineno, in lines()

1234