/netbsd-current/external/mpl/dhcp/dist/omapip/ |
H A D | 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;
|
/netbsd-current/lib/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;
|
/netbsd-current/external/bsd/tmux/dist/ |
H A D | osdep-dragonfly.c | 74 struct kinfo_proc *buf, *newbuf, *bestp; local 90 if ((newbuf = realloc(buf, len)) == NULL) 92 buf = newbuf;
|
H A D | osdep-freebsd.c | 88 struct kinfo_proc *buf, *newbuf, *bestp; local 104 if ((newbuf = realloc(buf, len)) == NULL) 106 buf = newbuf;
|
H A D | osdep-netbsd.c | 73 struct kinfo_proc2 *buf, *newbuf, *bestp; local 95 if ((newbuf = realloc(buf, len)) == NULL) 97 buf = newbuf;
|
H A D | osdep-openbsd.c | 91 struct kinfo_proc *buf, *newbuf, *bestp; local 107 if ((newbuf = realloc(buf, len)) == NULL) 109 buf = newbuf;
|
/netbsd-current/external/bsd/ipf/dist/ |
H A D | 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);
|
/netbsd-current/usr.bin/m4/ |
H A D | 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;
|
/netbsd-current/sys/external/bsd/ipf/netinet/ |
H A D | 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);
|
H A D | 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_FTPBUFS local 1817 char newbuf[IPF_FTPBUFSZ]; local 1890 char newbuf[IPF_FTPBUFSZ]; local [all...] |
/netbsd-current/external/gpl2/xcvs/dist/src/ |
H A D | 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 [all...] |
/netbsd-current/external/gpl3/binutils/dist/libctf/ |
H A D | ctf-decl.c | 181 char *newbuf; local 182 if ((newbuf = ctf_str_append (cd->cd_buf, str)) != NULL) 183 cd->cd_buf = newbuf;
|
/netbsd-current/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-decl.c | 180 char *newbuf; local 181 if ((newbuf = ctf_str_append (cd->cd_buf, str)) != NULL) 182 cd->cd_buf = newbuf;
|
/netbsd-current/external/gpl3/gdb.old/dist/libctf/ |
H A D | ctf-decl.c | 181 char *newbuf; local 182 if ((newbuf = ctf_str_append (cd->cd_buf, str)) != NULL) 183 cd->cd_buf = newbuf;
|
/netbsd-current/external/gpl3/gdb/dist/libctf/ |
H A D | ctf-decl.c | 181 char *newbuf; local 182 if ((newbuf = ctf_str_append (cd->cd_buf, str)) != NULL) 183 cd->cd_buf = newbuf;
|
/netbsd-current/external/gpl2/lvm2/dist/lib/log/ |
H A D | 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);
|
/netbsd-current/crypto/dist/ipsec-tools/src/libipsec/ |
H A D | ipsec_dump_policy.c | 98 char *newbuf; local 255 newbuf = (char *)realloc(buf, buflen); 256 if (newbuf == NULL) { 261 buf = newbuf;
|
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/acl/ |
H A D | 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 );
|
/netbsd-current/external/apache2/mDNSResponder/dist/mDNSShared/ |
H A D | dnssd_clientlib.c | 220 unsigned char *newbuf; local 223 newbuf = malloc((size_t)newlen); 224 if (!newbuf) return(kDNSServiceErr_NoMemory); 225 memcpy(newbuf, txtRec->buffer, txtRec->datalen); 227 txtRec->buffer = newbuf;
|
/netbsd-current/sys/lib/libkern/ |
H A D | 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;
|
/netbsd-current/lib/libc/db/hash/ |
H A D | 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
|
/netbsd-current/regress/sys/kern/getcwd/ |
H A D | getcwd.c | 146 char newbuf[1024]; local 147 char *cp = old_getcwd(newbuf, sizeof(newbuf));
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | private.c | 349 unsigned char newbuf[DNS_NSEC3PARAM_BUFFERSIZE]; local 380 isc_buffer_init(&b, newbuf, sizeof(newbuf));
|
/netbsd-current/external/mpl/bind/dist/lib/dns/ |
H A D | private.c | 349 unsigned char newbuf[DNS_NSEC3PARAM_BUFFERSIZE]; local 380 isc_buffer_init(&b, newbuf, sizeof(newbuf));
|
/netbsd-current/lib/libkvm/ |
H A D | 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;
|