Home
last modified time | relevance | path

Searched refs:newbuf (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_irc_pxy.c257 char ctcpbuf[IPF_IRCBUFSZ], newbuf[IPF_IRCBUFSZ]; local
289 *newbuf = '\0';
311 (void) strncpy(newbuf, ctcpbuf, i);
314 SNPRINTF(newbuf, sizeof(newbuf) - i, "%u %u\001\r\n", a1, a5);
316 (void) sprintf(newbuf, "%u %u\001\r\n", a1, a5);
319 nlen = strlen(newbuf);
356 COPYBACK(m, off, nlen, newbuf);
H A Dip_ftp_pxy.c408 SNPRINTF(newbuf, sizeof(newbuf), "%s %u,%u,%u,%u,%u,%u\r\n",
415 nlen = strlen(newbuf);
838 SNPRINTF(newbuf, sizeof(newbuf), "%s %s%u,%u,%u,%u,%u,%u%s\r\n",
847 newbuf, s);
1855 SNPRINTF(newbuf, sizeof(newbuf), "%s %c1%c%u.%u.%u.%u%c%u%c\r\n",
1863 nlen = strlen(newbuf);
1961 SNPRINTF(newbuf, sizeof(newbuf), "%s (|||%u|)\r\n",
1969 newbuf, s);
2109 s = newbuf;
2110 left = sizeof(newbuf);
[all …]
/f-stack/tools/sysctl/
H A Dsysctl.c392 void *newbuf; local
484 newbuf = realloc(*newbufp, *newsizep + valsize);
485 if (newbuf == NULL)
487 memcpy((char *)newbuf + *newsizep, newval, valsize);
488 *newbufp = newbuf;
505 void *newbuf; local
656 newbuf = NULL;
670 free(newbuf);
675 newval = newbuf;
685 free(newbuf);
[all …]
/f-stack/freebsd/netinet/libalias/
H A Dalias_nbt.c489 char newbuf[INET_ADDRSTRLEN]; in AliasHandleResourceNB() local
504 inet_ntoa_r(nbtarg->newaddr, INET_NTOA_BUF(newbuf)), in AliasHandleResourceNB()
513 printf("<%s>", inet_ntoa_r(nb->addr, INET_NTOA_BUF(newbuf))); in AliasHandleResourceNB()
562 char newbuf[INET_ADDRSTRLEN]; in AliasHandleResourceA() local
578 inet_ntoa_r(nbtarg->newaddr, INET_NTOA_BUF(newbuf))); in AliasHandleResourceA()
584 printf("..%s", inet_ntoa_r(a->addr, INET_NTOA_BUF(newbuf))); in AliasHandleResourceA()
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dread.c446 sds newbuf; in redisReaderFeed() local
464 newbuf = sdscatlen(r->buf,buf,len); in redisReaderFeed()
465 if (newbuf == NULL) { in redisReaderFeed()
470 r->buf = newbuf; in redisReaderFeed()
H A Dhiredis.c908 sds newbuf; in __redisAppendCommand() local
910 newbuf = sdscatlen(c->obuf,cmd,len); in __redisAppendCommand()
911 if (newbuf == NULL) { in __redisAppendCommand()
916 c->obuf = newbuf; in __redisAppendCommand()
/f-stack/freebsd/kern/
H A Dsubr_sbuf.c171 char *newbuf; in sbuf_extend() local
177 newbuf = SBMALLOC(newsize, SBUF_MALLOCFLAG(s)); in sbuf_extend()
178 if (newbuf == NULL) in sbuf_extend()
180 memcpy(newbuf, s->s_buf, s->s_size); in sbuf_extend()
185 s->s_buf = newbuf; in sbuf_extend()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddnode.c898 dnode_move(void *buf, void *newbuf, size_t size, void *arg) in dnode_move() argument
900 dnode_t *odn = buf, *ndn = newbuf; in dnode_move()