/freebsd-10.1-release/lib/libthr/thread/ |
H A D | thr_clean.c | 53 struct pthread_cleanup *newbuf; local 55 newbuf = (void *)info; 56 newbuf->routine = routine; 57 newbuf->routine_arg = arg; 58 newbuf->onheap = 0; 59 newbuf->prev = curthread->cleanup; 60 curthread->cleanup = newbuf; 82 struct pthread_cleanup *newbuf; local 86 if ((newbuf = (struct pthread_cleanup *) 88 newbuf [all...] |
/freebsd-10.1-release/sbin/hastd/ |
H A D | hast_compression.c | 75 void *newbuf; local 80 newbuf = malloc(sizeof(size)); 81 if (newbuf == NULL) { 87 bcopy(&size, newbuf, sizeof(size)); 90 return (newbuf); 97 void *newbuf; local 108 newbuf = malloc(size); 109 if (newbuf == NULL) { 114 bzero(newbuf, size); 117 return (newbuf); 126 unsigned char *newbuf; local 158 unsigned char *newbuf; local 206 unsigned char *newbuf; local 254 unsigned char *newbuf; local [all...] |
/freebsd-10.1-release/lib/libedit/ |
H A D | hist.c | 194 char *newbuf; local 196 newbuf = realloc(el->el_history.buf, newsz); 197 if (!newbuf) 200 (void) memset(&newbuf[oldsz], '\0', newsz - oldsz); 202 el->el_history.last = newbuf + 204 el->el_history.buf = newbuf;
|
/freebsd-10.1-release/sys/dev/nxge/xgehal/ |
H A D | xge-queue.c | 329 void *newbuf, *oldbuf; local 336 newbuf = xge_os_malloc(queue->pdev, 338 if (newbuf == NULL) 341 xge_os_memcpy(newbuf, queue->start_ptr, 346 queue->start_ptr = newbuf; 347 queue->end_ptr = (char *)newbuf + 349 queue->tail_ptr = (char *)newbuf + ((char *)queue->tail_ptr - 351 queue->head_ptr = (char *)newbuf + ((char *)queue->head_ptr - 354 queue->list_head.next = (xge_list_t *) (void *)((char *)newbuf + 356 queue->list_head.prev = (xge_list_t *) (void *)((char *)newbuf [all...] |
/freebsd-10.1-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_irc_pxy.c | 257 char ctcpbuf[IPF_IRCBUFSZ], newbuf[IPF_IRCBUFSZ]; local 293 *newbuf = '\0'; 315 (void) strncpy(newbuf, ctcpbuf, i); 318 SNPRINTF(newbuf, sizeof(newbuf) - i, "%u %u\001\r\n", a1, a5); 320 (void) sprintf(newbuf, "%u %u\001\r\n", a1, a5); 323 nlen = strlen(newbuf); 360 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, " 1758 char newbuf[IPF_FTPBUFSZ]; local 1912 char newbuf[IPF_FTPBUFSZ]; local 1995 char newbuf[IPF_FTPBUFSZ]; local [all...] |
/freebsd-10.1-release/usr.bin/m4/ |
H A D | misc.c | 200 unsigned char *newbuf; local 204 newbuf = xrealloc(buf, bufsize, "too many characters pushed back"); 206 bbase[i] = (bbase[i]-buf)+newbuf; 207 bp = (bp-buf)+newbuf; 208 bufbase = (bufbase-buf)+newbuf; 209 buf = newbuf;
|
/freebsd-10.1-release/sys/dev/vxge/vxgehal/ |
H A D | vxge-queue.c | 407 void *newbuf, *oldbuf; local 424 newbuf = vxge_os_malloc(queue->pdev, 426 if (newbuf == NULL) { 432 vxge_os_memcpy(newbuf, queue->start_ptr, 437 queue->start_ptr = newbuf; 438 queue->end_ptr = (char *) newbuf + 440 queue->tail_ptr = (char *) newbuf + 443 queue->head_ptr = (char *) newbuf + 447 queue->list_head.next = (vxge_list_t *) (void *)((char *) newbuf + 450 queue->list_head.prev = (vxge_list_t *) (void *)((char *) newbuf [all...] |
/freebsd-10.1-release/contrib/tcsh/ |
H A D | ma.setp.c | 350 char newbuf[MAXPATHLEN+1];/*FIXBUF*/ local 353 new = newbuf; 393 char newbuf[MAXPATHLEN+1];/*FIXBUF*/ local 399 new = newbuf; 457 char newbuf[2000];/*FIXBUF*/ local 460 new = newbuf; 559 char newbuf[MAXPATHLEN+1];/*FIXBUF*/ local 562 new = newbuf;
|
/freebsd-10.1-release/lib/libipsec/ |
H A D | ipsec_dump_policy.c | 80 char *newbuf; local 158 newbuf = (char *)realloc(buf, buflen); 159 if (newbuf == NULL) { 164 buf = newbuf;
|
/freebsd-10.1-release/lib/libc/db/hash/ |
H A D | hash_buf.c | 52 * newbuf 71 static BUFHEAD *newbuf(HTAB *, u_int32_t, BUFHEAD *); 135 bp = newbuf(hashp, addr, prev_bp); 153 * If newbuf finds an error (returning NULL), it also sets errno. 156 newbuf(HTAB *hashp, u_int32_t addr, BUFHEAD *prev_bp) function
|
/freebsd-10.1-release/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-10.1-release/contrib/file/src/ |
H A D | compress.c | 103 unsigned char *newbuf = NULL; local 117 (nsz = uncompressbuf(ms, fd, i, buf, &newbuf, 121 if (file_buffer(ms, -1, name, newbuf, nsz) == -1) 140 free(newbuf);
|
/freebsd-10.1-release/sys/kern/ |
H A D | subr_sbuf.c | 154 char *newbuf; local 160 newbuf = SBMALLOC(newsize); 161 if (newbuf == NULL) 163 memcpy(newbuf, s->s_buf, s->s_size); 168 s->s_buf = newbuf;
|
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_dict_helpers.c | 872 struct wpabuf **newbuf; local 876 newbuf = os_realloc_array(entry->binarray_value, 878 if (!newbuf) 880 entry->binarray_value = newbuf;
|
/freebsd-10.1-release/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-10.1-release/lib/libc/rpc/ |
H A D | svc_dg.c | 605 char *newbuf; local 629 newbuf = victim->cache_reply; 637 newbuf = mem_alloc(su->su_iosz); 638 if (newbuf == NULL) { 662 rpc_buffer(xprt) = newbuf;
|
/freebsd-10.1-release/usr.sbin/dconschat/ |
H A D | dconschat.c | 397 off_t newbuf; local 401 newbuf = dc->paddr + ntohl(dbuf.ooffset[j]); 404 if (newbuf != o->buf) { 409 o->buf = newbuf;
|
/freebsd-10.1-release/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-10.1-release/contrib/sendmail/libmilter/ |
H A D | engine.c | 474 milter_addsymlist(ctx, buf, newbuf) 477 char **newbuf; 486 SM_ASSERT(newbuf != NULL); 536 *newbuf = buffer;
|
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_subr.c | 655 char *newbuf; local 663 if ((newbuf = realloc(dtp->dt_buffered_buf, 669 dtp->dt_buffered_buf = newbuf;
|
/freebsd-10.1-release/usr.sbin/makefs/ |
H A D | ffs.c | 1001 u_char *newbuf; local 1032 if ((newbuf = realloc(dbuf->buf, dbuf->size + DIRBLKSIZ)) == NULL) 1034 dbuf->buf = newbuf;
|
/freebsd-10.1-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII.c | 1188 u_char *buf, *newbuf; local 1210 if ((newbuf = realloc(buf, *lenp)) == NULL) { 1215 buf = newbuf;
|
/freebsd-10.1-release/contrib/binutils/bfd/ |
H A D | ecofflink.c | 268 char *newbuf; 279 newbuf = (char *) bfd_realloc (*buf, (bfd_size_type) have + want); 280 if (newbuf == NULL) 282 *buf = newbuf; 265 char *newbuf; local
|
/freebsd-10.1-release/contrib/binutils/libiberty/ |
H A D | cp-demangle.c | 2658 char *newbuf; local 2670 newbuf = (char *) realloc (dgs->buf, newalc); 2671 if (newbuf == NULL) 2680 dgs->buf = newbuf;
|