/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 *
|
/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;
|
/src/regress/sys/kern/getcwd/ |
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;
|
/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_ftp_pxy.c | 285 char newbuf[IPF_FTPBUFSZ], *s; local in function:ipf_p_ftp_port 394 snprintf(newbuf, sizeof(newbuf), "%s %u,%u,%u,%u,%u,%u\r\n", 397 nlen = strlen(newbuf); 419 COPYBACK(m, off, nlen, newbuf); 677 char newbuf[IPF_FTPBUFSZ]; local in function:ipf_p_ftp_pasv 804 snprintf(newbuf, sizeof(newbuf), "%s %s%u,%u,%u,%u,%u,%u%s\r\n", 808 newbuf, s); 1675 char newbuf[IPF_FTPBUFSZ] local in function:ipf_p_ftp_eprt4 1817 char newbuf[IPF_FTPBUFSZ]; local in function:ipf_p_ftp_epsv 1890 char newbuf[IPF_FTPBUFSZ]; local in function:ipf_p_ftp_eprt6 [all...] |
/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;
|
/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;
|
/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 +
|
/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;
|
/src/usr.sbin/makefs/ |
ffs.c | 1011 u_char *newbuf; local in function:ffs_make_dirbuf 1042 newbuf = erealloc(dbuf->buf, dbuf->size + UFS_DIRBLKSIZ); 1043 dbuf->buf = newbuf;
|
/src/usr.sbin/installboot/ |
evboards.c | 1036 void *newbuf = realloc(buf, buflen); local in function:ofw_getprop 1037 if (newbuf == NULL) { 1041 buf = newbuf;
|
/src/usr.sbin/syslogd/ |
tls.c | 1581 char *newbuf; local in function:tls_split_messages 1628 newbuf = realloc(c->inbuf, MSG_END_OFFSET+1); 1629 if (newbuf) { 1632 c->inbuf = newbuf; 1684 newbuf = realloc(c->inbuf, TLS_LARGE_LINELENGTH); 1685 if (newbuf) { 1688 c->inbuf = newbuf;
|
syslogd.c | 4576 struct buf_msg *newbuf; local in function:buf_msg_new 4578 CALLOC(newbuf, sizeof(*newbuf)); 4581 MALLOC(newbuf->msg, len); 4582 newbuf->msgorig = newbuf->msg; 4583 newbuf->msgsize = len; 4585 return NEWREF(newbuf);
|
/src/sys/dev/pci/ |
if_et.c | 136 et_newbuf_t newbuf; member in struct:et_bsize 140 { .bufsize = 0, .newbuf = et_newbuf_hdr }, 141 { .bufsize = 0, .newbuf = et_newbuf_cluster }, 1060 sc->sc_rx_data[i].rbd_newbuf = et_bufsize[i].newbuf; 1423 aprint_error_dev(sc->sc_dev, "%d ring %d buf, newbuf failed: "
|
/src/sys/kern/ |
kern_sysctl.c | 1582 char *newbuf; local in function:sysctl_lookup 1594 newbuf = malloc(len, M_SYSCTLDATA, M_WAITOK); 1595 if (newbuf == NULL) { 1599 error = sysctl_copyin(l, newp, newbuf, len); 1601 free(newbuf, M_SYSCTLDATA); 1610 if (newbuf[len - 1] != '\0' && len == sz) { 1611 free(newbuf, M_SYSCTLDATA); 1620 memcpy(d, newbuf, len); 1625 free(newbuf, M_SYSCTLDATA);
|
/src/bin/ksh/ |
emacs.c | 1629 char newbuf [256+1]; local in function:x_game_of_life 1637 memmove(newbuf+1, xbuf, i); 1638 newbuf[0] = 'A'; 1639 newbuf[i] = 'A'; 1640 for (ip = newbuf+1, op = xbuf; --i >= 0; ip++, op++) {
|