Symbol: pbuf
bin/ps/print.c
317
char pbuf[16];
bin/ps/print.c
319
snprintf(pbuf, sizeof pbuf, "/%llu", kp->p_cpuid);
bin/ps/print.c
321
strlcat(buf, pbuf, sizeof buf);
games/hack/hack.topl.c
212
char pbuf[BUFSZ];
games/hack/hack.topl.c
213
char *bp = pbuf, *tl;
games/hack/hack.topl.c
217
(void) vsnprintf(pbuf, sizeof pbuf, line, ap);
games/hack/hack.topl.c
218
if(flags.toplin == 1 && !strcmp(pbuf, toplines)) return;
lib/libc/gen/getcap.c
204
char pbuf[PATH_MAX];
lib/libc/gen/getcap.c
253
clen = snprintf(pbuf, sizeof(pbuf), "%s.db", *db_p);
lib/libc/gen/getcap.c
254
if (clen >= 0 && clen < sizeof(pbuf) && usedb &&
lib/libc/gen/getcap.c
255
(capdbp = __hash_open(pbuf, -1, O_RDONLY, 0, NULL, 0))) {
lib/libc/net/rcmd.c
101
error = getaddrinfo(*ahost, pbuf, &hints, &res);
lib/libc/net/rcmd.c
64
char pbuf[NI_MAXSERV];
lib/libc/net/rcmd.c
96
snprintf(pbuf, sizeof(pbuf), "%u", ntohs(rport));
lib/libc/net/ruserok.c
113
len = snprintf(pbuf, sizeof pbuf, "%s/.rhosts", pwd->pw_dir);
lib/libc/net/ruserok.c
114
if (len < 0 || len >= sizeof pbuf)
lib/libc/net/ruserok.c
124
hostf = fopen(pbuf, "re");
lib/libc/net/ruserok.c
134
if (lstat(pbuf, &sbuf) == -1)
lib/libc/net/ruserok.c
92
char pbuf[PATH_MAX], pwbuf[_PW_BUF_LEN];
lib/libc/regex/engine.c
1019
static char pbuf[10];
lib/libc/regex/engine.c
1027
(void)snprintf(pbuf, sizeof pbuf, "%c", ch);
lib/libc/regex/engine.c
1029
(void)snprintf(pbuf, sizeof pbuf, "\\%o", ch);
lib/libc/regex/engine.c
1030
return(pbuf);
lib/libc/stdio/open_memstream.c
113
open_memstream(char **pbuf, size_t *psize)
lib/libc/stdio/open_memstream.c
118
if (pbuf == NULL || psize == NULL) {
lib/libc/stdio/open_memstream.c
140
st->pbuf = pbuf;
lib/libc/stdio/open_memstream.c
143
*pbuf = st->string;
lib/libc/stdio/open_memstream.c
31
char **pbuf; /* point to the stream */
lib/libc/stdio/open_memstream.c
56
*st->pbuf = st->string = p;
lib/libc/stdio/open_wmemstream.c
123
open_wmemstream(wchar_t **pbuf, size_t *psize)
lib/libc/stdio/open_wmemstream.c
128
if (pbuf == NULL || psize == NULL) {
lib/libc/stdio/open_wmemstream.c
150
st->pbuf = pbuf;
lib/libc/stdio/open_wmemstream.c
154
*pbuf = st->string;
lib/libc/stdio/open_wmemstream.c
32
wchar_t **pbuf; /* point to the stream */
lib/libc/stdio/open_wmemstream.c
58
*st->pbuf = st->string = p;
lib/libcrypto/asn1/bio_ndef.c
100
static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
lib/libcrypto/asn1/bio_ndef.c
101
static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
lib/libcrypto/asn1/bio_ndef.c
102
static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
lib/libcrypto/asn1/bio_ndef.c
103
static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
lib/libcrypto/asn1/bio_ndef.c
174
ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg)
lib/libcrypto/asn1/bio_ndef.c
189
*pbuf = p;
lib/libcrypto/asn1/bio_ndef.c
194
*plen = *ndef_aux->boundary - *pbuf;
lib/libcrypto/asn1/bio_ndef.c
200
ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg)
lib/libcrypto/asn1/bio_ndef.c
210
*pbuf = NULL;
lib/libcrypto/asn1/bio_ndef.c
217
ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg)
lib/libcrypto/asn1/bio_ndef.c
224
if (!ndef_prefix_free(b, pbuf, plen, parg))
lib/libcrypto/asn1/bio_ndef.c
234
ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg)
lib/libcrypto/asn1/bio_ndef.c
261
*pbuf = p;
lib/libcrypto/asn1/bio_ndef.c
266
*pbuf = *ndef_aux->boundary;
lib/libcrypto/bio/bio.h
288
typedef int asn1_ps_func(BIO *b, unsigned char **pbuf, int *plen, void *parg);
lib/libcrypto/evp/evp_pbe.c
244
const unsigned char *pbuf;
lib/libcrypto/evp/evp_pbe.c
259
pbuf = param->value.sequence->data;
lib/libcrypto/evp/evp_pbe.c
260
if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
lib/libcrypto/evp/evp_pbe.c
422
const unsigned char *pbuf;
lib/libcrypto/evp/evp_pbe.c
434
pbuf = param->value.sequence->data;
lib/libcrypto/evp/evp_pbe.c
436
if (!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) {
lib/libcrypto/evp/evp_pbe.c
510
const unsigned char *pbuf;
lib/libcrypto/evp/evp_pbe.c
535
pbuf = param->value.sequence->data;
lib/libcrypto/evp/evp_pbe.c
538
if (!(kdf = d2i_PBKDF2PARAM(NULL, &pbuf, plen)) ) {
lib/libcrypto/evp/evp_pbe.c
605
const unsigned char *pbuf;
lib/libcrypto/evp/evp_pbe.c
615
pbuf = param->value.sequence->data;
lib/libcrypto/evp/evp_pbe.c
616
if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
lib/libskey/skeylogin.c
422
char secret[SKEY_MAX_SEED_LEN], pbuf[SKEY_MAX_PW_LEN+1], *p, *u;
lib/libskey/skeylogin.c
432
if (gethostname(pbuf, sizeof(pbuf)) == -1)
lib/libskey/skeylogin.c
433
*(p = pbuf) = '.';
lib/libskey/skeylogin.c
435
for (p = pbuf; isalnum((unsigned char)*p); p++)
lib/libskey/skeylogin.c
439
if (*p && p - pbuf < 4)
lib/libskey/skeylogin.c
440
(void)strncpy(p, "asjd", 4 - (p - pbuf));
lib/libskey/skeylogin.c
441
pbuf[4] = '\0';
lib/libskey/skeylogin.c
469
pbuf[i] = (ptr % 10) + '0';
lib/libskey/skeylogin.c
472
pbuf[i] = '\0';
lib/libskey/skeylogin.c
481
skey_get_algorithm(), ptr, SKEY_MAX_SEED_LEN, pbuf);
lib/libskey/skeylogin.c
486
p = &pbuf[4];
lib/libskey/skeylogin.c
497
pbuf[12] = '\0';
lib/libskey/skeylogin.c
501
skey_get_algorithm(), 99, SKEY_MAX_SEED_LEN, pbuf);
lib/libskey/skeylogin.c
517
char pbuf[SKEY_MAX_PW_LEN+1], skeyprompt[SKEY_MAX_CHALLENGE+1];
lib/libskey/skeylogin.c
527
tgetline(fileno(stdin), pbuf, sizeof(pbuf), 120);
lib/libskey/skeylogin.c
528
sevenbit(pbuf);
lib/libskey/skeylogin.c
532
if (i == 0 && skeyverify(&skey, pbuf) == 0) {
libexec/ftpd/ftpd.c
1422
char hbuf[HOST_NAME_MAX+1], pbuf[10];
libexec/ftpd/ftpd.c
1425
data_source.su_len, hbuf, sizeof(hbuf), pbuf,
libexec/ftpd/ftpd.c
1426
sizeof(pbuf), NI_NUMERICHOST | NI_NUMERICSERV);
libexec/ftpd/ftpd.c
1433
hbuf, pbuf, strerror(errno));
libexec/ftpd/ftpd.c
1861
char pbuf[10];
libexec/ftpd/ftpd.c
1867
hbuf, sizeof(hbuf), pbuf, sizeof(pbuf),
libexec/ftpd/ftpd.c
1874
af, hbuf, pbuf);
libexec/login_passwd/login_passwd.c
150
pass = readpassphrase("Password:", pbuf, sizeof(pbuf),
libexec/login_passwd/login_passwd.c
58
char response[1024], pbuf[1024], *pass = "";
libexec/login_radius/raddauth.c
155
char pbuf[AUTH_PASS_LEN+1];
libexec/login_radius/raddauth.c
199
passwd = readpassphrase("Password:", pbuf, sizeof(pbuf),
libexec/login_radius/raddauth.c
325
if ((passwd = readpassphrase("", pbuf, sizeof(pbuf),
libexec/login_yubikey/login_yubikey.c
128
if ((password = readpassphrase("Password:", pbuf, sizeof(pbuf),
libexec/login_yubikey/login_yubikey.c
70
char pbuf[1024];
regress/lib/libcrypto/bio/bio_mem.c
34
BUF_MEM *pbuf;
regress/lib/libcrypto/bio/bio_mem.c
72
if (!BIO_get_mem_ptr(bio, &pbuf)) {
regress/lib/libcrypto/bio/bio_mem.c
76
if (pbuf->length != data_len) {
regress/lib/libcrypto/bio/bio_mem.c
78
pbuf->length, data_len);
regress/lib/libcrypto/bio/bio_mem.c
81
if (memcmp(pbuf->data, data, data_len) != 0) {
regress/lib/libcrypto/bio/bio_mem.c
85
pbuf = NULL;
sbin/dhcp6leased/engine.c
1638
char *pbuf;
sbin/dhcp6leased/engine.c
1643
pbuf = buf;
sbin/dhcp6leased/engine.c
1645
for (i = 0; i < len && rem > 0; i++, pbuf += 2, rem -=2)
sbin/dhcp6leased/engine.c
1646
snprintf(pbuf, rem, "%02x", p[i]);
sbin/iked/util.c
652
char pbuf[7];
sbin/iked/util.c
680
snprintf(pbuf, sizeof(pbuf), ":%d", port);
sbin/iked/util.c
681
(void)strlcat(buf, pbuf, len);
sbin/init/init.c
503
char pbuf[1024];
sbin/init/init.c
535
clear = readpassphrase("Password:", pbuf,
sbin/init/init.c
536
sizeof(pbuf), RPP_ECHO_OFF);
sbin/init/init.c
541
explicit_bzero(pbuf, sizeof(pbuf));
sbin/isakmpd/dpd.c
109
vlen = GET_ISAKMP_GEN_LENGTH(pbuf) - ISAKMP_GEN_SZ;
sbin/isakmpd/dpd.c
117
if (memcmp(dpd_vendor_id, pbuf + ISAKMP_GEN_SZ, vlen) == 0) {
sbin/isakmpd/dpd.c
99
u_int8_t *pbuf = p->p;
sbin/isakmpd/nat_traversal.c
184
u_int8_t *pbuf = p->p;
sbin/isakmpd/nat_traversal.c
191
vlen = GET_ISAKMP_GEN_LENGTH(pbuf) - ISAKMP_GEN_SZ;
sbin/isakmpd/nat_traversal.c
197
if (memcmp(isakmp_nat_t_cap[i].hash, pbuf + ISAKMP_GEN_SZ,
sbin/isakmpd/vendor.c
112
u_int8_t *pbuf = p->p;
sbin/isakmpd/vendor.c
121
vlen = GET_ISAKMP_GEN_LENGTH(pbuf) - ISAKMP_GEN_SZ;
sbin/isakmpd/vendor.c
131
if (memcmp(openbsd_vendor_cap[i].hash, pbuf + ISAKMP_GEN_SZ,
sys/dev/ic/dwhdmi.c
270
uint8_t *pbuf = buf;
sys/dev/ic/dwhdmi.c
318
pbuf[n] = dwhdmi_read(sc, HDMI_I2CM_DATAI);
sys/dev/ic/ne2000.c
171
int8_t pbuf0[ED_PAGE_SIZE], pbuf[ED_PAGE_SIZE],
sys/dev/ic/ne2000.c
185
pbuf[i] = 255 - x;
sys/dev/ic/ne2000.c
187
pbuf, x << ED_PAGE_SHIFT, ED_PAGE_SIZE,
sys/dev/ic/ne2000.c
192
if (bcmp(pbuf, tbuf, ED_PAGE_SIZE) == 0) {
sys/dev/ic/ne2000.c
213
pbuf[i] = 255 - x;
sys/dev/ic/ne2000.c
215
pbuf, x << ED_PAGE_SHIFT, ED_PAGE_SIZE,
sys/dev/ic/ne2000.c
220
if (bcmp(pbuf, tbuf, ED_PAGE_SIZE) == 0)
sys/dev/pci/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c
49
unsigned int snprintf_count(char *pbuf, unsigned int bufsize, const char *fmt, ...)
sys/dev/pci/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c
57
ret_vsnprintf = vsnprintf(pbuf, bufsize, fmt, args);
sys/dev/pci/neo.c
138
u_int32_t buftop, pbuf, rbuf, cbuf, acbuf;
sys/dev/pci/neo.c
396
return (nm_rd(sc, NM_PBUFFER_CURRP, 4) - sc->pbuf);
sys/dev/pci/neo.c
419
nm_wr(sc, NM_PBUFFER_WMARK, sc->pbuf + sc->pwmark, 4);
sys/dev/pci/neo.c
514
sc->pbuf = sc->rbuf - NM_BUFFSIZE;
sys/dev/pci/neo.c
515
sc->acbuf = sc->pbuf - (NM_TOTAL_COEFF_COUNT * 4);
sys/dev/pci/neo.c
800
nm_wr(sc, NM_PBUFFER_START, sc->pbuf, 4);
sys/dev/pci/neo.c
801
nm_wr(sc, NM_PBUFFER_END, sc->pbuf + sc->pbufsize - ssz, 4);
sys/dev/pci/neo.c
802
nm_wr(sc, NM_PBUFFER_CURRP, sc->pbuf, 4);
sys/dev/pci/neo.c
803
nm_wr(sc, NM_PBUFFER_WMARK, sc->pbuf + sc->pwmark, 4);
sys/dev/pci/neo.c
900
rv = (char *)sc->bufioh + sc->pbuf;
sys/dev/pv/xbf.c
950
char pbuf[sizeof("ring-refXX")];
sys/dev/pv/xbf.c
992
snprintf(pbuf, sizeof(pbuf), "ring-ref");
sys/dev/pv/xbf.c
994
snprintf(pbuf, sizeof(pbuf), "ring-ref%d", i);
sys/dev/pv/xbf.c
995
prop = pbuf;
sys/dev/softraid_raid6.c
382
void *pbuf, *data, *qbuf;
sys/dev/softraid_raid6.c
567
pbuf = sr_block_get(sd, length);
sys/dev/softraid_raid6.c
568
if (pbuf == NULL)
sys/dev/softraid_raid6.c
574
sr_raid6_xorp(pbuf, data, length);
sys/dev/softraid_raid6.c
579
SCSI_DATA_IN, 0, pbuf, qbuf, gf_pow[chunk]))
sys/dev/softraid_raid6.c
584
SCSI_DATA_IN, 0, pbuf, NULL, 0))
sys/dev/softraid_raid6.c
598
if (sr_raid6_addio(wu, pchunk, lba, length, pbuf,
sys/dev/softraid_raid6.c
656
if (pq->pbuf)
sys/dev/softraid_raid6.c
658
sr_raid6_xorp(pq->pbuf, ccb->ccb_buf.b_data,
sys/dev/softraid_raid6.c
714
long len, void *data, int xsflags, int ccbflags, void *pbuf,
sys/dev/softraid_raid6.c
723
(long long)blkno, len, pbuf, qbuf);
sys/dev/softraid_raid6.c
739
if (pbuf || qbuf) {
sys/dev/softraid_raid6.c
751
pqbuf->pbuf = pbuf;
sys/dev/softraid_raid6.c
766
uint32_t *pbuf = p, *data = d;
sys/dev/softraid_raid6.c
770
*pbuf++ ^= *data++;
sys/dev/softraid_raid6.c
80
void *pbuf;
usr.bin/aucat/aucat.c
907
slot_list_mix(unsigned int round, unsigned int pchan, adata_t *pbuf)
usr.bin/aucat/aucat.c
912
memset(pbuf, 0, pchan * round * sizeof(adata_t));
usr.bin/awk/b.c
864
bool fnematch(fa *pfa, FILE *f, char **pbuf, int *pbufsize, int quantum)
usr.bin/awk/b.c
866
char *i, *j, *k, *buf = *pbuf;
usr.bin/awk/b.c
901
*pbuf = buf;
usr.bin/awk/lex.c
112
static int gettok(char **pbuf, int *psz) /* get next input token */
usr.bin/awk/lex.c
115
char *buf = *pbuf;
usr.bin/awk/lex.c
170
*pbuf = buf;
usr.bin/awk/lib.c
139
int getrec(char **pbuf, int *pbufsize, bool isrecord) /* get next input record */
usr.bin/awk/lib.c
142
char *buf = *pbuf;
usr.bin/awk/lib.c
197
*pbuf = buf;
usr.bin/awk/lib.c
208
*pbuf = buf;
usr.bin/awk/lib.c
221
extern int readcsvrec(char **pbuf, int *pbufsize, FILE *inf, bool newflag);
usr.bin/awk/lib.c
223
int readrec(char **pbuf, int *pbufsize, FILE *inf, bool newflag) /* read one record into buf */
usr.bin/awk/lib.c
226
char *rr = *pbuf, *buf = *pbuf;
usr.bin/awk/lib.c
280
*pbuf = buf;
usr.bin/awk/lib.c
294
int readcsvrec(char **pbuf, int *pbufsize, FILE *inf, bool newflag) /* csv can have \n's */
usr.bin/awk/lib.c
297
char *rr = *pbuf, *buf = *pbuf;
usr.bin/awk/lib.c
325
*pbuf = buf;
usr.bin/awk/run.c
105
int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr,
usr.bin/awk/run.c
1074
int format(char **pbuf, int *pbufsize, const char *s, Node *a) /* printf-like conversions */
usr.bin/awk/run.c
1083
char *buf = *pbuf;
usr.bin/awk/run.c
120
int boff = pbptr ? *pbptr - *pbuf : 0;
usr.bin/awk/run.c
124
tbuf = (char *) realloc(*pbuf, minlen);
usr.bin/awk/run.c
125
DPRINTF("adjbuf %s: %d %d (pbuf=%p, tbuf=%p)\n", whatrtn, *psiz, minlen, (void*)*pbuf, (void*)tbuf);
usr.bin/awk/run.c
131
*pbuf = tbuf;
usr.bin/awk/run.c
1382
*pbuf = buf;
usr.bin/awk/run.c
1979
char *pbuf = NULL;
usr.bin/awk/run.c
1988
for (pbuf = buf; *pbuf; pbuf++)
usr.bin/awk/run.c
1989
*pbuf = fun_c((uschar)*pbuf);
usr.bin/awk/run.c
2001
pbuf = buf;
usr.bin/awk/run.c
2007
n = wctomb(pbuf, fun_wc(wc));
usr.bin/awk/run.c
2011
pbuf += n;
usr.bin/awk/run.c
2014
*pbuf = '\0';
usr.bin/dig/lib/isc/sockaddr.c
109
char pbuf[sizeof("65000")];
usr.bin/dig/lib/isc/sockaddr.c
123
snprintf(pbuf, sizeof(pbuf), "%u", ntohs(sin->sin_port));
usr.bin/dig/lib/isc/sockaddr.c
127
snprintf(pbuf, sizeof(pbuf), "%u", ntohs(sin6->sin6_port));
usr.bin/dig/lib/isc/sockaddr.c
133
plen = strlen(pbuf);
usr.bin/dig/lib/isc/sockaddr.c
134
INSIST(plen < sizeof(pbuf));
usr.bin/dig/lib/isc/sockaddr.c
147
isc_buffer_putmem(target, (const unsigned char *)pbuf, plen);
usr.bin/finger/util.c
331
static char pbuf[15];
usr.bin/finger/util.c
338
p = pbuf;
usr.bin/finger/util.c
372
return (pbuf);
usr.bin/ftp/fetch.c
308
char pbuf[NI_MAXSERV], hbuf[NI_MAXHOST], *cp, *portnum, *path, ststr[4];
usr.bin/ftp/fetch.c
537
snprintf(pbuf, sizeof(pbuf), "%d", HTTP_PORT);
usr.bin/ftp/fetch.c
538
error = getaddrinfo(host, pbuf, &hints, &res0);
usr.bin/ftp/fetch.c
541
snprintf(pbuf, sizeof(pbuf), "%d", HTTPS_PORT);
usr.bin/ftp/fetch.c
542
error = getaddrinfo(host, pbuf, &hints, &res0);
usr.bin/ftp/fetch.c
612
pbuf, sizeof(pbuf), NI_NUMERICSERV) == 0)
usr.bin/ftp/fetch.c
613
port = pbuf;
usr.bin/ftp/ftp.c
131
char pbuf[NI_MAXSERV];
usr.bin/ftp/ftp.c
133
pbuf[0] = '\0';
usr.bin/ftp/ftp.c
135
snprintf(pbuf, sizeof(pbuf), "%d", FTP_PORT);
usr.bin/ftp/ftp.c
137
snprintf(pbuf, sizeof(pbuf), "%d", GATE_PORT);
usr.bin/ftp/ftp.c
139
snprintf(pbuf, sizeof(pbuf), "%d", HTTP_PORT);
usr.bin/ftp/ftp.c
142
snprintf(pbuf, sizeof(pbuf), "%d", HTTPS_PORT);
usr.bin/ftp/ftp.c
144
if (pbuf[0])
usr.bin/ftp/ftp.c
145
error = getaddrinfo(host, pbuf, &hints, &res0);
usr.bin/ftp/ftp.c
1584
char hname[NI_MAXHOST], pbuf[NI_MAXSERV];
usr.bin/ftp/ftp.c
1601
sizeof(hname), pbuf, sizeof(pbuf),
usr.bin/ftp/ftp.c
1606
af_tmp, hname, pbuf);
usr.bin/mail/cmd1.c
186
char pbuf[LINESIZE];
usr.bin/mail/cmd1.c
215
parse(headline, &hl, pbuf);
usr.bin/mail/head.c
100
sp = pbuf;
usr.bin/mail/head.c
91
parse(char *line, struct headline *hl, char *pbuf)
usr.bin/mg/buffer.c
516
char pbuf[NFILEN + 11];
usr.bin/mg/buffer.c
520
ret = snprintf(pbuf, sizeof(pbuf), "Save file %s",
usr.bin/mg/buffer.c
522
if (ret < 0 || ret >= sizeof(pbuf)) {
usr.bin/mg/buffer.c
526
if ((f == TRUE || (save = eyorn(pbuf)) == TRUE) &&
usr.bin/openssl/ca.c
2702
char buf[25], *pbuf;
usr.bin/openssl/ca.c
2706
pbuf = buf;
usr.bin/openssl/ca.c
2708
*(pbuf++) = ' ';
usr.bin/openssl/ca.c
2709
*(pbuf++) = ':';
usr.bin/openssl/ca.c
2710
*(pbuf++) = '\0';
usr.bin/openssl/s_client.c
1510
k = p = SSL_peek(con, pbuf, 1024 /* BUFSIZZ */ );
usr.bin/openssl/s_client.c
1543
(memcmp(sbuf, pbuf, p) != 0)) {
usr.bin/openssl/s_client.c
1648
freezero(pbuf, BUFSIZZ);
usr.bin/openssl/s_client.c
868
char *cbuf = NULL, *sbuf = NULL, *mbuf = NULL, *pbuf = NULL;
usr.bin/openssl/s_client.c
907
((pbuf = malloc(BUFSIZZ)) == NULL) ||
usr.bin/sndiod/dev.c
504
cmap_do(&s->sub.cmap_mon, d->pbuf + moffs * d->pchan, cmap_out,
usr.bin/sndiod/dev.c
836
d->pbuf = xmalloc(d->psize * d->pchan * sizeof(adata_t));
usr.bin/sndiod/dev.c
945
xfree(d->pbuf);
usr.bin/sndiod/dev.h
226
adata_t *pbuf; /* array of play buffers */
usr.bin/sndiod/dev.h
227
#define DEV_PBUF(d) ((d)->pbuf + (d)->poffs * (d)->pchan)
usr.bin/tcpbench/tcpbench.c
250
char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV];
usr.bin/tcpbench/tcpbench.c
259
pbuf, sizeof(pbuf), NI_NUMERICHOST|NI_NUMERICSERV)) != 0) {
usr.bin/tcpbench/tcpbench.c
265
snprintf(buf, len, "[%s]:%s", hbuf, pbuf);
usr.sbin/bgpd/mrt.c
685
struct ibuf *hbuf = NULL, *nbuf = NULL, *apbuf = NULL, *pbuf;
usr.sbin/bgpd/mrt.c
690
if ((pbuf = ibuf_dynamic(0, UINT_MAX)) == NULL) {
usr.sbin/bgpd/mrt.c
715
ibuf_free(pbuf);
usr.sbin/bgpd/mrt.c
721
if (ibuf_add_n16(pbuf, afi) == -1)
usr.sbin/bgpd/mrt.c
723
if (ibuf_add_n8(pbuf, safi) == -1)
usr.sbin/bgpd/mrt.c
728
if (pt_writebuf(pbuf, re->prefix, 0, 0, 0) == -1)
usr.sbin/bgpd/mrt.c
731
hlen = sizeof(snum) + sizeof(nump) + ibuf_size(pbuf);
usr.sbin/bgpd/mrt.c
744
if (ibuf_add_ibuf(hbuf, pbuf) == -1)
usr.sbin/bgpd/mrt.c
763
if (ibuf_add_ibuf(hbuf, pbuf) == -1)
usr.sbin/bgpd/mrt.c
774
ibuf_free(pbuf);
usr.sbin/bgpd/mrt.c
781
ibuf_free(pbuf);
usr.sbin/btrace/bt_parse.y
1148
strlcpy(line, &pbuf[pindex - yylval.colno], sizeof(line));
usr.sbin/btrace/bt_parse.y
1183
pbuf = str;
usr.sbin/btrace/bt_parse.y
792
if (pbuf != NULL) {
usr.sbin/btrace/bt_parse.y
794
return pbuf[pindex];
usr.sbin/btrace/bt_parse.y
802
if (pbuf != NULL) {
usr.sbin/btrace/bt_parse.y
805
return pbuf[pindex++];
usr.sbin/btrace/bt_parse.y
814
if (pbuf != NULL && pindex > 0) {
usr.sbin/btrace/bt_parse.y
91
const char *pbuf;
usr.sbin/dhcpd/inet.c
157
static char pbuf[32];
usr.sbin/dhcpd/inet.c
161
strlcpy(pbuf, "<null address>", sizeof(pbuf));
usr.sbin/dhcpd/inet.c
163
s = inet_ntop(AF_INET, &addr.iabuf, pbuf, sizeof pbuf);
usr.sbin/dhcpd/inet.c
165
strlcpy(pbuf, "<invalid address>", sizeof(pbuf));
usr.sbin/dhcpd/inet.c
167
return (pbuf);
usr.sbin/eigrpd/eigrpe.h
37
struct pbuf *pbuf;
usr.sbin/eigrpd/rtp.c
120
send_packet(pkt->nbr->ei, pkt->nbr, 0, pkt->pbuf->buf);
usr.sbin/eigrpd/rtp.c
149
struct pbuf *pbuf;
usr.sbin/eigrpd/rtp.c
151
pbuf = rtp_buf_new(buf);
usr.sbin/eigrpd/rtp.c
152
pkt = rtp_packet_new(nbr, eigrp->seq_num, pbuf);
usr.sbin/eigrpd/rtp.c
164
struct pbuf *pbuf;
usr.sbin/eigrpd/rtp.c
209
pbuf = rtp_buf_new(buf);
usr.sbin/eigrpd/rtp.c
211
pkt = rtp_packet_new(nbr, eigrp->seq_num, pbuf);
usr.sbin/eigrpd/rtp.c
29
static struct pbuf *rtp_buf_new(struct ibuf *);
usr.sbin/eigrpd/rtp.c
30
static struct pbuf *rtp_buf_hold(struct pbuf *);
usr.sbin/eigrpd/rtp.c
31
static void rtp_buf_release(struct pbuf *);
usr.sbin/eigrpd/rtp.c
32
static struct packet *rtp_packet_new(struct nbr *, uint32_t, struct pbuf *);
usr.sbin/eigrpd/rtp.c
40
static struct pbuf *
usr.sbin/eigrpd/rtp.c
43
struct pbuf *pbuf;
usr.sbin/eigrpd/rtp.c
45
if ((pbuf = calloc(1, sizeof(*pbuf))) == NULL)
usr.sbin/eigrpd/rtp.c
47
pbuf->buf = buf;
usr.sbin/eigrpd/rtp.c
49
return (pbuf);
usr.sbin/eigrpd/rtp.c
52
static struct pbuf *
usr.sbin/eigrpd/rtp.c
53
rtp_buf_hold(struct pbuf *pbuf)
usr.sbin/eigrpd/rtp.c
55
pbuf->refcnt++;
usr.sbin/eigrpd/rtp.c
56
return (pbuf);
usr.sbin/eigrpd/rtp.c
60
rtp_buf_release(struct pbuf *pbuf)
usr.sbin/eigrpd/rtp.c
62
if (--pbuf->refcnt == 0) {
usr.sbin/eigrpd/rtp.c
63
ibuf_free(pbuf->buf);
usr.sbin/eigrpd/rtp.c
64
free(pbuf);
usr.sbin/eigrpd/rtp.c
69
rtp_packet_new(struct nbr *nbr, uint32_t seq_num, struct pbuf *pbuf)
usr.sbin/eigrpd/rtp.c
78
pkt->pbuf = rtp_buf_hold(pbuf);
usr.sbin/eigrpd/rtp.c
90
rtp_buf_release(pkt->pbuf);
usr.sbin/lpr/common_source/common.c
119
char pbuf[NI_MAXSERV];
usr.sbin/lpr/common_source/common.c
130
snprintf(pbuf, sizeof(pbuf), "%d", rport);
usr.sbin/lpr/common_source/common.c
132
snprintf(pbuf, sizeof(pbuf), "printer");
usr.sbin/lpr/common_source/common.c
134
error = getaddrinfo(rhost, pbuf, &hints, &res);
usr.sbin/makefs/msdos.c
170
char pbuf[PATH_MAX];
usr.sbin/makefs/msdos.c
177
if ((size_t)snprintf(pbuf, sizeof(pbuf), "%s/%s", path,
usr.sbin/makefs/msdos.c
178
cur->name) >= sizeof(pbuf)) {
usr.sbin/makefs/msdos.c
179
warnx("path %s too long", pbuf);
usr.sbin/makefs/msdos.c
199
if ((de = msdosfs_mkdire(pbuf, dir, cur)) == NULL) {
usr.sbin/makefs/msdos.c
200
warn("msdosfs_mkdire %s", pbuf);
usr.sbin/makefs/msdos.c
203
if (msdos_populate_dir(pbuf, de, cur->child, cur,
usr.sbin/makefs/msdos.c
205
warn("msdos_populate_dir %s", pbuf);
usr.sbin/makefs/msdos.c
214
if (msdosfs_mkfile(pbuf, dir, cur) == NULL) {
usr.sbin/makefs/msdos.c
215
warn("msdosfs_mkfile %s", pbuf);
usr.sbin/mopd/otherOS/pf-snit.c
317
struct strbuf pbuf, dbuf;
usr.sbin/mopd/otherOS/pf-snit.c
324
pbuf.len = sizeof(struct sockaddr);
usr.sbin/mopd/otherOS/pf-snit.c
325
pbuf.buf = (char *) &sa;
usr.sbin/mopd/otherOS/pf-snit.c
331
if (putmsg(fd, &pbuf, &dbuf, 0) == 0)
usr.sbin/npppd/npppd/mppe.c
293
char obuf[128], pbuf[128];
usr.sbin/npppd/npppd/mppe.c
297
strlcpy(pbuf, mppe_bits_to_string(peer_bits), sizeof(pbuf));
usr.sbin/npppd/npppd/mppe.c
299
"mismatch our=%s peer=%s", obuf, pbuf);
usr.sbin/rpki-client/cert.c
989
char pbuf[128], cbuf[128];
usr.sbin/rpki-client/cert.c
991
OBJ_obj2txt(pbuf, sizeof(pbuf), policy->policyid, 1);
usr.sbin/rpki-client/cert.c
994
"unexpected OID: %s, want %s", fn, pbuf, cbuf);
usr.sbin/sasyncd/net.c
349
u_int8_t *pbuf;
usr.sbin/sasyncd/net.c
351
pbuf = realloc(buf, len + i);
usr.sbin/sasyncd/net.c
352
if (!pbuf) {
usr.sbin/sasyncd/net.c
360
pbuf[len++] = (u_int8_t)i--;
usr.sbin/sasyncd/net.c
361
buf = pbuf;
usr.sbin/smtpd/aliases.c
106
pbuf = strchr(user, *env->sc_subaddressing_delim);
usr.sbin/smtpd/aliases.c
107
if (pbuf) {
usr.sbin/smtpd/aliases.c
108
if (!bsnprintf(tag, sizeof(tag), "%s", pbuf + 1))
usr.sbin/smtpd/aliases.c
111
*pbuf = '\0';
usr.sbin/smtpd/aliases.c
38
char *pbuf;
usr.sbin/smtpd/aliases.c
46
pbuf = strchr(buf, *env->sc_subaddressing_delim);
usr.sbin/smtpd/aliases.c
47
if (pbuf) {
usr.sbin/smtpd/aliases.c
53
*pbuf = '\0';
usr.sbin/smtpd/aliases.c
89
char *pbuf;
usr.sbin/smtpd/mda_variables.c
243
char tmpbuf[EXPAND_BUFFER], *ptmp, *pbuf, *ebuf;
usr.sbin/smtpd/mda_variables.c
255
pbuf = buf;
usr.sbin/smtpd/mda_variables.c
260
if (strncmp(pbuf, "~/", 2) == 0) {
usr.sbin/smtpd/mda_variables.c
269
pbuf += 2;
usr.sbin/smtpd/mda_variables.c
273
for (; *pbuf && ret < sizeof tmpbuf; ret += tmpret) {
usr.sbin/smtpd/mda_variables.c
274
if (*pbuf == '%' && *(pbuf + 1) == '%') {
usr.sbin/smtpd/mda_variables.c
275
*ptmp++ = *pbuf++;
usr.sbin/smtpd/mda_variables.c
276
pbuf += 1;
usr.sbin/smtpd/mda_variables.c
281
if (*pbuf != '%' || *(pbuf + 1) != '{') {
usr.sbin/smtpd/mda_variables.c
282
*ptmp++ = *pbuf++;
usr.sbin/smtpd/mda_variables.c
288
if ((ebuf = strchr(pbuf+2, '}')) == NULL)
usr.sbin/smtpd/mda_variables.c
292
toklen = ebuf - (pbuf+2);
usr.sbin/smtpd/mda_variables.c
296
memcpy(token, pbuf+2, toklen);
usr.sbin/smtpd/mda_variables.c
309
pbuf = ebuf + 1;
usr.sbin/smtpd/mta_session.c
884
char *pbuf;
usr.sbin/smtpd/mta_session.c
898
pbuf = "";
usr.sbin/smtpd/mta_session.c
901
if ((pbuf = strchr(buf, ' ')))
usr.sbin/smtpd/mta_session.c
902
*pbuf = '\0';
usr.sbin/smtpd/mta_session.c
903
pbuf = valid_domainpart(buf) ? buf : "";
usr.sbin/smtpd/mta_session.c
905
mta_report_link_greeting(s, pbuf);
usr.sbin/tcpdump/print-etherip.c
102
ether_print(pbuf, len);
usr.sbin/tcpdump/print-etherip.c
103
eh = (struct ether_header *)pbuf;
usr.sbin/tcpdump/print-etherip.c
108
etype = EXTRACT_16BITS(pbuf + offsetof(struct ether_header, ether_type));
usr.sbin/tcpdump/print-etherip.c
109
pbuf += sizeof(struct ether_header);
usr.sbin/tcpdump/print-etherip.c
116
if (llc_print(pbuf, len, plen, ESRC(eh), EDST(eh)) == 0) {
usr.sbin/tcpdump/print-etherip.c
124
default_print(pbuf, plen);
usr.sbin/tcpdump/print-etherip.c
126
} else if (ether_encap_print(etype, pbuf, len, plen) == 0) {
usr.sbin/tcpdump/print-etherip.c
130
default_print(pbuf, plen);
usr.sbin/tcpdump/print-etherip.c
62
const u_char *pbuf = bp;
usr.sbin/tcpdump/print-etherip.c
73
switch (*pbuf >> 4) {
usr.sbin/tcpdump/print-etherip.c
97
pbuf += hlen;