/freebsd-10-stable/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-stable/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-stable/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-stable/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-stable/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 1991 char newbuf[IPF_FTPBUFSZ]; local [all...] |
/freebsd-10-stable/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-stable/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-stable/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-stable/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-stable/usr.sbin/ctld/ |
H A D | isns.c | 94 void *newbuf; local 100 newbuf = realloc(req->ir_buf, newlen); 101 if (newbuf == NULL) { 105 req->ir_buf = newbuf;
|
/freebsd-10-stable/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-stable/contrib/file/src/ |
H A D | compress.c | 190 unsigned char *newbuf = NULL; local 221 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); 222 DPRINTF("uncompressbuf = %d, %s, %zu\n", urv, (char *)newbuf, 231 methodname(i), newbuf); 233 prv = file_buffer(ms, -1, name, newbuf, nsz); 278 free(newbuf);
|
/freebsd-10-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-10-stable/sys/kern/ |
H A D | subr_sbuf.c | 164 char *newbuf; local 170 newbuf = SBMALLOC(newsize); 171 if (newbuf == NULL) 173 memcpy(newbuf, s->s_buf, s->s_size); 178 s->s_buf = newbuf;
|
/freebsd-10-stable/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-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-10-stable/lib/libc/rpc/ |
H A D | svc_dg.c | 581 char *newbuf; local 605 newbuf = victim->cache_reply; 613 newbuf = mem_alloc(su->su_iosz); 614 if (newbuf == NULL) { 638 rpc_buffer(xprt) = newbuf;
|
/freebsd-10-stable/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-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-10-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-10-stable/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-stable/usr.sbin/makefs/ |
H A D | ffs.c | 1005 u_char *newbuf; local 1036 if ((newbuf = realloc(dbuf->buf, dbuf->size + DIRBLKSIZ)) == NULL) 1038 dbuf->buf = newbuf;
|
/freebsd-10-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII.c | 1263 u_char *buf, *newbuf; local 1285 if ((newbuf = realloc(buf, *lenp)) == NULL) { 1290 buf = newbuf;
|
/freebsd-10-stable/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
|