| /openbsd-src/regress/lib/libc/malloc/malloc_errs/ |
| H A D | malloc_errs.c | 193 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 D | recallocarray.c | 31 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 D | sshbuf.c | 207 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 D | xmalloc.c | 73 new_ptr = recallocarray(ptr, onmemb, nmemb, size); in xrecallocarray()
|
| /openbsd-src/lib/libc/stdio/ |
| H A D | asprintf.c | 53 unsigned char *_base = recallocarray(f._bf._base, in asprintf()
|
| H A D | vasprintf.c | 49 unsigned char *_base = recallocarray(f._bf._base, in vasprintf()
|
| H A D | getdelim.c | 106 newb = recallocarray(*buf, *buflen, newlen, 1); in getdelim()
|
| H A D | fgetln.c | 49 if ((p = recallocarray(fp->_lb._base, fp->_lb._size, newsize, 1)) == NULL) in __slbexpand()
|
| H A D | open_memstream.c | 53 p = recallocarray(st->string, st->size, sz, 1); in memstream_write()
|
| H A D | open_wmemstream.c | 55 p = recallocarray(st->string, st->size, sz, sizeof(wchar_t)); in wmemstream_write()
|
| H A D | fvwrite.c | 115 _base = recallocarray(fp->_bf._base, in __sfvwrite()
|
| /openbsd-src/usr.bin/rsync/ |
| H A D | misc.c | 57 args->list = recallocarray(args->list, args->nalloc, nalloc, in addargs()
|
| /openbsd-src/lib/libcrypto/buffer/ |
| H A D | buffer.c | 124 if ((ret = recallocarray(str->data, str->max, n, 1)) == NULL) { in BUF_MEM_grow_clean()
|
| /openbsd-src/usr.bin/mandoc/ |
| H A D | mandoc_aux.c | 87 ptr = recallocarray(ptr, oldnum, num, size); in mandoc_recallocarray()
|
| /openbsd-src/lib/libevent/ |
| H A D | kqueue.c | 143 newchange = recallocarray(kqop->changes, in kq_insert() 151 newresult = recallocarray(kqop->events, in kq_insert()
|
| H A D | min_heap.h | 143 if (!(p = recallocarray(s->p, s->a, a, sizeof *p))) in min_heap_reserve()
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | xmalloc.c | 81 new_ptr = recallocarray(ptr, oldnmemb, nmemb, size); in xrecallocarray()
|
| /openbsd-src/lib/libcrypto/bn/ |
| H A D | bn_ctx.c | 53 if ((bignums = recallocarray(bctx->bignums, bctx->len, len, in bn_ctx_grow()
|
| /openbsd-src/lib/libagentx/ |
| H A D | ax.c | 148 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 D | chared.c | 490 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 D | stdlib.h | 140 PROTO_NORMAL(recallocarray);
|
| /openbsd-src/usr.sbin/snmpd/ |
| H A D | application_blocklist.c | 60 if ((tmp = recallocarray(response, responsesz, nvarbind, in appl_blocklist_response()
|
| /openbsd-src/include/ |
| H A D | stdlib.h | 119 void *recallocarray(void *, size_t, size_t, size_t);
|
| /openbsd-src/usr.sbin/acme-client/ |
| H A D | keyproc.c | 205 pp = recallocarray(sans, sansz, sansz + strlen(san), 1); in keyproc()
|
| /openbsd-src/usr.bin/tail/ |
| H A D | read.c | 169 if ((lines = recallocarray(lines, lineno, nlineno, in lines()
|