| /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-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;
|
| osdep-freebsd.c | 88 struct kinfo_proc *buf, *newbuf, *bestp; local 104 if ((newbuf = realloc(buf, len)) == NULL) 106 buf = newbuf;
|
| /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/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/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/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/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;
|
| /src/regress/sys/kern/getcwd/ |
| 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;
|
| /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/mpl/bind/dist/lib/dns/ |
| private.c | 325 unsigned char newbuf[DNS_NSEC3PARAM_BUFFERSIZE]; local 356 isc_buffer_init(&b, newbuf, sizeof(newbuf));
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| private.c | 349 unsigned char newbuf[DNS_NSEC3PARAM_BUFFERSIZE]; local 380 isc_buffer_init(&b, newbuf, sizeof(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;
|
| /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);
|
| /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;
|
| /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/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/external/bsd/wpa/dist/wpa_supplicant/dbus/ |
| dbus_dict_helpers.c | 870 struct wpabuf **newbuf; local 874 newbuf = os_realloc_array(entry->binarray_value, 876 if (!newbuf) 878 entry->binarray_value = newbuf;
|
| /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/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...] |