| /src/external/mpl/dhcp/dist/omapip/ |
| array.c | 95 char **newbuf; local 110 newbuf = dmalloc ((array -> max + delta) * sizeof (char *), 112 if (!newbuf) 115 memset (&newbuf [array -> max], 0, (sizeof (char *)) * delta); 119 memcpy (newbuf, 123 array -> data = newbuf;
|
| /src/lib/libedit/ |
| hist.c | 228 wchar_t *newbuf; local 234 newbuf = el_realloc(el->el_history.buf, newsz * sizeof(*newbuf)); 235 if (!newbuf) 238 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf)); 240 el->el_history.last = newbuf + 242 el->el_history.buf = newbuf;
|
| /src/external/bsd/tmux/dist/ |
| osdep-dragonfly.c | 74 struct kinfo_proc *buf, *newbuf, *bestp; local 90 if ((newbuf = realloc(buf, len)) == NULL) 92 buf = newbuf;
|
| osdep-freebsd.c | 88 struct kinfo_proc *buf, *newbuf, *bestp; local 104 if ((newbuf = realloc(buf, len)) == NULL) 106 buf = newbuf;
|
| osdep-netbsd.c | 73 struct kinfo_proc2 *buf, *newbuf, *bestp; local 95 if ((newbuf = realloc(buf, len)) == NULL) 97 buf = newbuf;
|
| osdep-openbsd.c | 91 struct kinfo_proc *buf, *newbuf, *bestp; local 107 if ((newbuf = realloc(buf, len)) == NULL) 109 buf = newbuf;
|
| /src/external/bsd/ipf/dist/ |
| ip_irc_pxy.c | 259 char ctcpbuf[IPF_IRCBUFSZ], newbuf[IPF_IRCBUFSZ]; local 295 *newbuf = '\0'; 317 (void) strncpy(newbuf, ctcpbuf, i); 320 SNPRINTF(newbuf, sizeof(newbuf) - i, "%u %u\001\r\n", a1, a5); 322 (void) sprintf(newbuf, "%u %u\001\r\n", a1, a5); 325 nlen = strlen(newbuf); 362 COPYBACK(m, off, nlen, 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_ftp_pxy.c | 285 char newbuf[IPF_FTPBUFSZ], *s; local 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 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 1817 char newbuf[IPF_FTPBUFSZ]; local 1890 char newbuf[IPF_FTPBUFSZ]; local [all...] |
| /src/external/gpl2/xcvs/dist/src/ |
| zlib.c | 679 unsigned char *newbuf; local 682 newbuf = xrealloc (*buf, *size); 683 if (newbuf == NULL) 688 *buf = newbuf; 740 unsigned char *newbuf; local 745 newbuf = xrealloc (*buf, *size); 746 if (newbuf == NULL) 751 *buf = newbuf; 772 unsigned char *newbuf; local 777 newbuf = realloc (*buf, *size) [all...] |
| /src/external/gpl3/binutils/dist/libctf/ |
| ctf-decl.c | 184 char *newbuf; local 185 if ((newbuf = ctf_str_append (cd->cd_buf, str)) != NULL) 186 cd->cd_buf = newbuf;
|
| /src/external/gpl3/binutils.old/dist/libctf/ |
| ctf-decl.c | 181 char *newbuf; local 182 if ((newbuf = ctf_str_append (cd->cd_buf, str)) != NULL) 183 cd->cd_buf = newbuf;
|
| /src/external/gpl3/gdb.old/dist/libctf/ |
| ctf-decl.c | 181 char *newbuf; local 182 if ((newbuf = ctf_str_append (cd->cd_buf, str)) != NULL) 183 cd->cd_buf = newbuf;
|
| /src/external/gpl3/gdb/dist/libctf/ |
| ctf-decl.c | 181 char *newbuf; local 182 if ((newbuf = ctf_str_append (cd->cd_buf, str)) != NULL) 183 cd->cd_buf = newbuf;
|
| /src/usr.bin/m4/ |
| misc.c | 203 unsigned char *newbuf; local 207 newbuf = xrealloc(buf, bufsize, "too many characters pushed back"); 209 bbase[i] = (bbase[i]-buf)+newbuf; 210 bp = (bp-buf)+newbuf; 211 bufbase = (bufbase-buf)+newbuf; 212 buf = newbuf;
|
| /src/external/mpl/bind/dist/bin/dnssec/ |
| dnssec-ksr.c | 604 isc_buffer_t *newbuf = NULL; local 614 isc_buffer_allocate(mctx, &newbuf, r.length); 615 isc_buffer_putmem(newbuf, r.base, r.length); 616 isc_buffer_usedregion(newbuf, &r); 620 ISC_LIST_APPEND(cleanup_list, newbuf, link); 621 isc_buffer_clear(newbuf); 688 isc_buffer_t *newbuf = NULL; local 723 isc_buffer_allocate(mctx, &newbuf, rs.length); 724 isc_buffer_putmem(newbuf, rs.base, rs.length); 725 isc_buffer_usedregion(newbuf, &rs) 775 isc_buffer_t *newbuf; local 1285 isc_buffer_t *newbuf = NULL; local [all...] |
| /src/crypto/dist/ipsec-tools/src/libipsec/ |
| ipsec_dump_policy.c | 98 char *newbuf; local 256 newbuf = realloc(buf, buflen); 257 if (newbuf == NULL) { 262 buf = newbuf;
|
| /src/external/bsd/openldap/dist/contrib/slapd-modules/acl/ |
| gssacl.c | 285 char newbuf[ACL_BUF_SIZE]; local 289 bv.bv_len = sizeof( newbuf ) - 1; 290 bv.bv_val = newbuf; 297 rc = regcomp( &re, newbuf, REG_EXTENDED|REG_ICASE );
|
| /src/external/gpl2/lvm2/dist/lib/log/ |
| log.c | 175 char *newbuf; local 209 else if ((newbuf = dm_realloc(_lvm_errmsg, 212 _lvm_errmsg = strcat(newbuf, "\n"); 213 _lvm_errmsg = strcat(newbuf, message);
|
| /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;
|
| /src/external/apache2/mDNSResponder/dist/mDNSShared/ |
| dnssd_clientlib.c | 217 unsigned char *newbuf; local 220 newbuf = mdns_malloc((size_t)newlen); 221 if (!newbuf) return(kDNSServiceErr_NoMemory); 222 memcpy(newbuf, txtRec->buffer, txtRec->datalen); 224 txtRec->buffer = newbuf;
|
| /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
|
| /src/external/mpl/bind/dist/lib/dns/ |
| private.c | 325 unsigned char newbuf[DNS_NSEC3PARAM_BUFFERSIZE]; local 356 isc_buffer_init(&b, newbuf, sizeof(newbuf));
|
| /src/regress/sys/kern/getcwd/ |
| getcwd.c | 146 char newbuf[1024]; local 147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
|
| /src/external/gpl3/gdb.old/dist/sim/igen/ |
| lf.c | 117 char *newbuf = zalloc (len); local 127 while ((cnt = fread (newbuf + off, 1, len - off, file->stream)) > 0) 131 if (memcmp (oldbuf, newbuf, len) == 0)
|