HomeSort by: relevance | last modified time | path
    Searched defs:newbuf (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/lib/libc/db/hash/
hash_buf.c 55 * newbuf
72 static BUFHEAD *newbuf(HTAB *, uint32_t, BUFHEAD *);
137 bp = newbuf(hashp, addr, prev_bp);
155 * If newbuf finds an error (returning NULL), it also sets errno.
158 newbuf(HTAB *hashp, uint32_t addr, BUFHEAD *prev_bp) function in typeref:typename:BUFHEAD *
hash_buf.c 55 * newbuf
72 static BUFHEAD *newbuf(HTAB *, uint32_t, BUFHEAD *);
137 bp = newbuf(hashp, addr, prev_bp);
155 * If newbuf finds an error (returning NULL), it also sets errno.
158 newbuf(HTAB *hashp, uint32_t addr, BUFHEAD *prev_bp) function in typeref:typename:BUFHEAD *
hash_buf.c 55 * newbuf
72 static BUFHEAD *newbuf(HTAB *, uint32_t, BUFHEAD *);
137 bp = newbuf(hashp, addr, prev_bp);
155 * If newbuf finds an error (returning NULL), it also sets errno.
158 newbuf(HTAB *hashp, uint32_t addr, BUFHEAD *prev_bp) function in typeref:typename:BUFHEAD *
  /src/lib/libedit/
hist.c 228 wchar_t *newbuf; local in function:hist_enlargebuf
230 newbuf = el_realloc(el->el_history.buf, newsz * sizeof(*newbuf));
231 if (!newbuf)
234 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf));
236 el->el_history.last = newbuf +
238 el->el_history.buf = newbuf;
hist.c 228 wchar_t *newbuf; local in function:hist_enlargebuf
230 newbuf = el_realloc(el->el_history.buf, newsz * sizeof(*newbuf));
231 if (!newbuf)
234 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf));
236 el->el_history.last = newbuf +
238 el->el_history.buf = newbuf;
hist.c 228 wchar_t *newbuf; local in function:hist_enlargebuf
230 newbuf = el_realloc(el->el_history.buf, newsz * sizeof(*newbuf));
231 if (!newbuf)
234 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf));
236 el->el_history.last = newbuf +
238 el->el_history.buf = newbuf;
  /src/regress/sys/kern/getcwd/
getcwd.c 146 char newbuf[1024]; local in function:check1
147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
getcwd.c 146 char newbuf[1024]; local in function:check1
147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
getcwd.c 146 char newbuf[1024]; local in function:check1
147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
  /src/sys/lib/libkern/
strlist.c 329 char * const newbuf = strlist_alloc(newsize); local in function:strlist_append
331 if (newbuf == NULL) {
336 memcpy(newbuf, sl, slsize);
339 memcpy(newbuf + slsize, str, addsize);
345 *slp = newbuf;
strlist.c 329 char * const newbuf = strlist_alloc(newsize); local in function:strlist_append
331 if (newbuf == NULL) {
336 memcpy(newbuf, sl, slsize);
339 memcpy(newbuf + slsize, str, addsize);
345 *slp = newbuf;
strlist.c 329 char * const newbuf = strlist_alloc(newsize); local in function:strlist_append
331 if (newbuf == NULL) {
336 memcpy(newbuf, sl, slsize);
339 memcpy(newbuf + slsize, str, addsize);
345 *slp = newbuf;
  /src/sys/external/bsd/ipf/netinet/
ip_irc_pxy.c 253 char ctcpbuf[IPF_IRCBUFSZ], newbuf[IPF_IRCBUFSZ]; local in function:ipf_p_irc_send
289 *newbuf = '\0';
311 (void) strncpy(newbuf, ctcpbuf, i);
312 snprintf(newbuf, sizeof(newbuf) - i, "%u %u\001\r\n", a1, a5);
314 nlen = strlen(newbuf);
351 COPYBACK(m, off, nlen, newbuf);
ip_irc_pxy.c 253 char ctcpbuf[IPF_IRCBUFSZ], newbuf[IPF_IRCBUFSZ]; local in function:ipf_p_irc_send
289 *newbuf = '\0';
311 (void) strncpy(newbuf, ctcpbuf, i);
312 snprintf(newbuf, sizeof(newbuf) - i, "%u %u\001\r\n", a1, a5);
314 nlen = strlen(newbuf);
351 COPYBACK(m, off, nlen, newbuf);
ip_irc_pxy.c 253 char ctcpbuf[IPF_IRCBUFSZ], newbuf[IPF_IRCBUFSZ]; local in function:ipf_p_irc_send
289 *newbuf = '\0';
311 (void) strncpy(newbuf, ctcpbuf, i);
312 snprintf(newbuf, sizeof(newbuf) - i, "%u %u\001\r\n", a1, a5);
314 nlen = strlen(newbuf);
351 COPYBACK(m, off, nlen, newbuf);
  /src/lib/libkvm/
kvm.c 175 void *newbuf; local in function:_kvm_pread
203 newbuf = realloc(kd->iobuf, dsize);
204 if (newbuf == NULL) {
208 kd->iobuf = newbuf;
819 void *newbuf; local in function:kvm_dump_inval
838 newbuf = realloc(kd->iobuf, dsize);
839 if (newbuf == NULL) {
843 kd->iobuf = newbuf;
kvm.c 175 void *newbuf; local in function:_kvm_pread
203 newbuf = realloc(kd->iobuf, dsize);
204 if (newbuf == NULL) {
208 kd->iobuf = newbuf;
819 void *newbuf; local in function:kvm_dump_inval
838 newbuf = realloc(kd->iobuf, dsize);
839 if (newbuf == NULL) {
843 kd->iobuf = newbuf;
kvm.c 175 void *newbuf; local in function:_kvm_pread
203 newbuf = realloc(kd->iobuf, dsize);
204 if (newbuf == NULL) {
208 kd->iobuf = newbuf;
819 void *newbuf; local in function:kvm_dump_inval
838 newbuf = realloc(kd->iobuf, dsize);
839 if (newbuf == NULL) {
843 kd->iobuf = newbuf;
  /src/usr.bin/m4/
misc.c 202 unsigned char *newbuf; local in function:enlarge_bufspace
206 newbuf = xrealloc(buf, bufsize, "too many characters pushed back");
208 bbase[i] = (bbase[i]-buf)+newbuf;
209 bp = (bp-buf)+newbuf;
210 bufbase = (bufbase-buf)+newbuf;
211 buf = newbuf;
misc.c 202 unsigned char *newbuf; local in function:enlarge_bufspace
206 newbuf = xrealloc(buf, bufsize, "too many characters pushed back");
208 bbase[i] = (bbase[i]-buf)+newbuf;
209 bp = (bp-buf)+newbuf;
210 bufbase = (bufbase-buf)+newbuf;
211 buf = newbuf;
misc.c 202 unsigned char *newbuf; local in function:enlarge_bufspace
206 newbuf = xrealloc(buf, bufsize, "too many characters pushed back");
208 bbase[i] = (bbase[i]-buf)+newbuf;
209 bp = (bp-buf)+newbuf;
210 bufbase = (bufbase-buf)+newbuf;
211 buf = newbuf;
  /src/sys/dev/
kloader.c 182 char *oldbuf, *newbuf; local in function:kloader_load
377 newbuf = (char *)(void *)kv
380 DPRINTF("argv: old %p -> new %p\n", oldbuf, newbuf);
383 nbi.argv = (void *)newbuf;
390 ap[i] = newbuf +
kloader.c 182 char *oldbuf, *newbuf; local in function:kloader_load
377 newbuf = (char *)(void *)kv
380 DPRINTF("argv: old %p -> new %p\n", oldbuf, newbuf);
383 nbi.argv = (void *)newbuf;
390 ap[i] = newbuf +
  /src/lib/libc/rpc/
svc_dg.c 483 char *newbuf; local in function:cache_set
512 newbuf = victim->cache_reply;
520 newbuf = mem_alloc(su->su_iosz);
521 if (newbuf == NULL) {
545 rpc_buffer(xprt) = newbuf;
svc_dg.c 483 char *newbuf; local in function:cache_set
512 newbuf = victim->cache_reply;
520 newbuf = mem_alloc(su->su_iosz);
521 if (newbuf == NULL) {
545 rpc_buffer(xprt) = newbuf;

Completed in 45 milliseconds

1 2 3