| /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
|
| 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
|
| 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
|
| 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
|
| /src/lib/libedit/ |
| hist.c | 228 wchar_t *newbuf; local 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 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 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 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 147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
|
| getcwd.c | 146 char newbuf[1024]; local 147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
|
| getcwd.c | 146 char newbuf[1024]; local 147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
|
| getcwd.c | 146 char newbuf[1024]; local 147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
|
| /src/sys/lib/libkern/ |
| strlist.c | 329 char * const newbuf = strlist_alloc(newsize); local 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 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 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 331 if (newbuf == NULL) { 336 memcpy(newbuf, sl, slsize); 339 memcpy(newbuf + slsize, str, addsize); 345 *slp = newbuf;
|
| /src/lib/libkvm/ |
| kvm.c | 175 void *newbuf; local 203 newbuf = realloc(kd->iobuf, dsize); 204 if (newbuf == NULL) { 208 kd->iobuf = newbuf; 819 void *newbuf; local 838 newbuf = realloc(kd->iobuf, dsize); 839 if (newbuf == NULL) { 843 kd->iobuf = newbuf;
|
| kvm.c | 175 void *newbuf; local 203 newbuf = realloc(kd->iobuf, dsize); 204 if (newbuf == NULL) { 208 kd->iobuf = newbuf; 819 void *newbuf; local 838 newbuf = realloc(kd->iobuf, dsize); 839 if (newbuf == NULL) { 843 kd->iobuf = newbuf;
|
| kvm.c | 175 void *newbuf; local 203 newbuf = realloc(kd->iobuf, dsize); 204 if (newbuf == NULL) { 208 kd->iobuf = newbuf; 819 void *newbuf; local 838 newbuf = realloc(kd->iobuf, dsize); 839 if (newbuf == NULL) { 843 kd->iobuf = newbuf;
|
| /src/sys/external/bsd/ipf/netinet/ |
| ip_irc_pxy.c | 253 char ctcpbuf[IPF_IRCBUFSZ], newbuf[IPF_IRCBUFSZ]; local 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 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 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/usr.bin/m4/ |
| misc.c | 202 unsigned char *newbuf; local 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 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 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;
|