/freebsd-12-stable/lib/libthr/thread/ |
H A D | thr_clean.c | 63 struct pthread_cleanup *newbuf; local 65 newbuf = (void *)info; 66 newbuf->routine = routine; 67 newbuf->routine_arg = arg; 68 newbuf->onheap = 0; 69 newbuf->prev = curthread->cleanup; 70 curthread->cleanup = newbuf; 92 struct pthread_cleanup *newbuf; local 96 if ((newbuf = (struct pthread_cleanup *) 98 newbuf [all...] |
/freebsd-12-stable/sbin/hastd/ |
H A D | hast_compression.c | 77 void *newbuf; local 82 newbuf = malloc(sizeof(size)); 83 if (newbuf == NULL) { 89 bcopy(&size, newbuf, sizeof(size)); 92 return (newbuf); 99 void *newbuf; local 110 newbuf = malloc(size); 111 if (newbuf == NULL) { 116 bzero(newbuf, size); 119 return (newbuf); 128 unsigned char *newbuf; local 160 unsigned char *newbuf; local 208 unsigned char *newbuf; local 256 unsigned char *newbuf; local [all...] |
/freebsd-12-stable/contrib/libedit/ |
H A D | 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;
|
/freebsd-12-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_irc_pxy.c | 257 char ctcpbuf[IPF_IRCBUFSZ], newbuf[IPF_IRCBUFSZ]; local 289 *newbuf = '\0'; 311 (void) strncpy(newbuf, ctcpbuf, i); 314 SNPRINTF(newbuf, sizeof(newbuf) - i, "%u %u\001\r\n", a1, a5); 316 (void) sprintf(newbuf, "%u %u\001\r\n", a1, a5); 319 nlen = strlen(newbuf); 356 COPYBACK(m, off, nlen, newbuf);
|
H A D | ip_ftp_pxy.c | 297 char newbuf[IPF_FTPBUFSZ], *s; local 408 SNPRINTF(newbuf, sizeof(newbuf), "%s %u,%u,%u,%u,%u,%u\r\n", 411 (void) sprintf(newbuf, "%s %u,%u,%u,%u,%u,%u\r\n", 415 nlen = strlen(newbuf); 437 COPYBACK(m, off, nlen, newbuf); 710 char newbuf[IPF_FTPBUFSZ]; local 838 SNPRINTF(newbuf, sizeof(newbuf), "%s %s%u,%u,%u,%u,%u,%u%s\r\n", 842 (void) sprintf(newbuf, " 1750 char newbuf[IPF_FTPBUFSZ]; local 1904 char newbuf[IPF_FTPBUFSZ]; local 1983 char newbuf[IPF_FTPBUFSZ]; local [all...] |
/freebsd-12-stable/usr.bin/m4/ |
H A D | misc.c | 204 unsigned char *newbuf; local 208 newbuf = xrealloc(buf, bufsize, "too many characters pushed back"); 210 bbase[i] = (bbase[i]-buf)+newbuf; 211 bp = (bp-buf)+newbuf; 212 bufbase = (bufbase-buf)+newbuf; 213 buf = newbuf;
|
/freebsd-12-stable/contrib/tcsh/ |
H A D | ma.setp.c | 349 char newbuf[MAXPATHLEN+1];/*FIXBUF*/ local 352 new = newbuf; 392 char newbuf[MAXPATHLEN+1];/*FIXBUF*/ local 398 new = newbuf; 456 char newbuf[2000];/*FIXBUF*/ local 459 new = newbuf; 558 char newbuf[MAXPATHLEN+1];/*FIXBUF*/ local 561 new = newbuf;
|
/freebsd-12-stable/sys/dev/iicbus/ |
H A D | rtc8583.c | 102 uint8_t newbuf[MAX_TRANSFER]; local 106 newbuf[0] = regaddr; 107 memcpy(newbuf + 1, buffer, buflen); 111 msgs.buf = newbuf;
|
/freebsd-12-stable/lib/libipsec/ |
H A D | ipsec_dump_policy.c | 82 char *newbuf; local 160 newbuf = (char *)realloc(buf, buflen); 161 if (newbuf == NULL) { 166 buf = newbuf;
|
/freebsd-12-stable/usr.sbin/ctld/ |
H A D | isns.c | 96 void *newbuf; local 102 newbuf = realloc(req->ir_buf, newlen); 103 if (newbuf == NULL) { 107 req->ir_buf = newbuf;
|
/freebsd-12-stable/lib/libc/db/hash/ |
H A D | hash_buf.c | 54 * newbuf 73 static BUFHEAD *newbuf(HTAB *, u_int32_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, u_int32_t addr, BUFHEAD *prev_bp) function
|
/freebsd-12-stable/sys/netinet/libalias/ |
H A D | alias_nbt.c | 480 char newbuf[INET_ADDRSTRLEN]; local 495 inet_ntoa_r(nbtarg->newaddr, INET_NTOA_BUF(newbuf)), 504 printf("<%s>", inet_ntoa_r(nb->addr, INET_NTOA_BUF(newbuf))); 553 char newbuf[INET_ADDRSTRLEN]; local 569 inet_ntoa_r(nbtarg->newaddr, INET_NTOA_BUF(newbuf))); 575 printf("..%s", inet_ntoa_r(a->addr, INET_NTOA_BUF(newbuf)));
|
/freebsd-12-stable/sbin/sysctl/ |
H A D | sysctl.c | 228 * Parse a single numeric value, append it to 'newbuf', and update 237 void *newbuf; local 329 newbuf = realloc(*newbufp, *newsizep + valsize); 330 if (newbuf == NULL) 332 memcpy((char *)newbuf + *newsizep, newval, valsize); 333 *newbufp = newbuf; 350 void *newbuf; local 494 newbuf = NULL; 505 if (!parse_numeric(cp, fmt, kind, &newbuf, &newsize)) { 508 free(newbuf); [all...] |
/freebsd-12-stable/contrib/pf/libevent/ |
H A D | buffer.c | 273 void *newbuf; local 283 if ((newbuf = realloc(buf->buffer, length)) == NULL) 286 buf->orig_buffer = buf->buffer = newbuf;
|
/freebsd-12-stable/sys/kern/ |
H A D | subr_sbuf.c | 168 char *newbuf; local 174 newbuf = SBMALLOC(newsize); 175 if (newbuf == NULL) 177 memcpy(newbuf, s->s_buf, s->s_size); 182 s->s_buf = newbuf;
|
/freebsd-12-stable/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_dict_helpers.c | 777 struct wpabuf **newbuf; local 781 newbuf = os_realloc_array(entry->binarray_value, 783 if (!newbuf) 785 entry->binarray_value = newbuf;
|
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | regcache.c | 472 struct regcache *newbuf; local 474 newbuf = regcache_xmalloc (src->descr->gdbarch); 475 regcache_cpy (newbuf, src); 476 return newbuf; 482 struct regcache *newbuf; local 484 newbuf = regcache_xmalloc (src->descr->gdbarch); 485 regcache_cpy_no_passthrough (newbuf, src); 486 return newbuf;
|
/freebsd-12-stable/contrib/file/src/ |
H A D | compress.c | 248 unsigned char *newbuf = NULL; local 287 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); 289 (char *)newbuf, nsz); 295 prv = format_decompression_error(ms, i, newbuf); 297 prv = file_buffer(ms, -1, NULL, name, newbuf, nsz); 345 free(newbuf);
|
/freebsd-12-stable/lib/libc/rpc/ |
H A D | svc_dg.c | 583 char *newbuf; local 607 newbuf = victim->cache_reply; 615 newbuf = mem_alloc(su->su_iosz); 616 if (newbuf == NULL) { 640 rpc_buffer(xprt) = newbuf;
|
/freebsd-12-stable/usr.sbin/dconschat/ |
H A D | dconschat.c | 399 off_t newbuf; local 403 newbuf = dc->paddr + ntohl(dbuf.ooffset[j]); 406 if (newbuf != o->buf) { 411 o->buf = newbuf;
|
/freebsd-12-stable/gnu/usr.bin/grep/ |
H A D | grep.c | 372 char *newbuf; local 399 newbuf = bufalloc < newalloc ? xmalloc (bufalloc = newalloc) : buffer; 400 readbuf = ALIGN_TO (newbuf + 1 + save, pagesize); 404 if (newbuf != buffer) 407 buffer = newbuf;
|
/freebsd-12-stable/contrib/sendmail/libmilter/ |
H A D | engine.c | 478 milter_addsymlist(ctx, buf, newbuf) 481 char **newbuf; 490 SM_ASSERT(newbuf != NULL); 540 *newbuf = buffer;
|
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_subr.c | 661 char *newbuf; local 669 if ((newbuf = realloc(dtp->dt_buffered_buf, 675 dtp->dt_buffered_buf = newbuf;
|
/freebsd-12-stable/usr.sbin/makefs/ |
H A D | ffs.c | 1026 u_char *newbuf; local 1057 newbuf = erealloc(dbuf->buf, dbuf->size + DIRBLKSIZ); 1058 dbuf->buf = newbuf;
|
/freebsd-12-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII.c | 1256 u_char *buf, *newbuf; local 1278 if ((newbuf = realloc(buf, *lenp)) == NULL) { 1283 buf = newbuf;
|