bin/ed/ed.h
250
extern char *ibuf;
bin/ed/glbl.c
102
ibuf[n - 1] != '\n')
bin/ed/glbl.c
109
} else if (n == 1 && !strcmp(ibuf, "\n"))
bin/ed/glbl.c
111
else if (n == 2 && !strcmp(ibuf, "&\n")) {
bin/ed/io.c
230
else if (n == 0 || ibuf[n - 1] != '\n') {
bin/ed/io.c
235
memcpy(cvbuf + l, ibuf, n);
bin/ed/io.c
261
REALLOC(ibuf, ibufsz, i + 2, ERR);
bin/ed/io.c
262
if (!(ibuf[i++] = c)) isbinary = 1;
bin/ed/io.c
266
ibuf[i] = '\0';
bin/ed/io.c
267
ibufp = ibuf;
bin/ed/io.c
282
ibuf[i] = '\0';
bin/ed/io.c
283
ibufp = ibuf;
bin/ed/main.c
1013
const char *lp = ibuf;
bin/ed/main.c
1021
else if (l == 0 || ibuf[l - 1] != '\n') {
bin/ed/main.c
1025
lp = ibuf;
bin/ed/main.c
189
} else if (ibuf[n - 1] != '\n') {
bin/ed/main.c
66
char *ibuf; /* ed command-line buffer */
bin/ed/sub.c
96
(n > 0 && ibuf[n - 1] != '\n'))
crypto/heimdal/appl/telnet/telnet/network.c
49
void *obuf, *ibuf;
crypto/heimdal/appl/telnet/telnet/network.c
53
if ((ibuf = malloc(netibufsize)) == NULL)
crypto/heimdal/appl/telnet/telnet/network.c
59
if (ring_init(&netiring, ibuf, netibufsize) != 1) {
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1228
readstream(int p, char *ibuf, int bufsize)
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1245
strbufd.buf = ibuf+1;
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1246
ibuf[0] = 0;
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1269
if (ibuf[1] & FLUSHW)
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1270
ibuf[0] = TIOCPKT_FLUSHWRITE;
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1274
ip = (struct iocblk *) (ibuf+1);
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1282
(ibuf+1 + sizeof(struct iocblk));
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1292
tp = (struct termio *) (ibuf+1 + sizeof(struct iocblk));
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1306
ibuf[0] = newflow ? TIOCPKT_DOSTOP : TIOCPKT_NOSTOP;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
561
gss_buffer_desc ibuf;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
563
ibuf.length = ni->mechToken->length;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
564
ibuf.value = ni->mechToken->data;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
565
mech_input_token = &ibuf;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
742
gss_buffer_desc ibuf, obuf;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
748
ibuf.length = na->responseToken->length;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
749
ibuf.value = na->responseToken->data;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
750
mech_input_token = &ibuf;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
752
ibuf.value = NULL;
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
753
ibuf.length = 0;
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
196
AES_RETURN aes_ecb_encrypt(const unsigned char *ibuf, unsigned char *obuf,
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
199
AES_RETURN aes_ecb_decrypt(const unsigned char *ibuf, unsigned char *obuf,
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
202
AES_RETURN aes_cbc_encrypt(const unsigned char *ibuf, unsigned char *obuf,
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
205
AES_RETURN aes_cbc_decrypt(const unsigned char *ibuf, unsigned char *obuf,
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
210
AES_RETURN aes_cfb_encrypt(const unsigned char *ibuf, unsigned char *obuf,
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
213
AES_RETURN aes_cfb_decrypt(const unsigned char *ibuf, unsigned char *obuf,
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
219
AES_RETURN aes_ofb_crypt(const unsigned char *ibuf, unsigned char *obuf,
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
227
AES_RETURN aes_ctr_crypt(const unsigned char *ibuf, unsigned char *obuf,
crypto/krb5/src/lib/crypto/builtin/kdf.c
102
iov[1].data = make_data(ibuf, sizeof(ibuf));
crypto/krb5/src/lib/crypto/builtin/kdf.c
119
store_32_be(i, ibuf);
crypto/krb5/src/lib/crypto/builtin/kdf.c
40
unsigned char ibuf[4], lbuf[4];
crypto/krb5/src/lib/crypto/builtin/kdf.c
52
iov[0].data = make_data(ibuf, sizeof(ibuf));
crypto/krb5/src/lib/crypto/builtin/kdf.c
53
store_32_be(1, ibuf);
crypto/krb5/src/lib/crypto/builtin/kdf.c
84
unsigned char ibuf[4], Lbuf[4];
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
101
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) {
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
107
if (ibuf != KV5M_GSS_OID) {
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
156
krb5_int32 ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
165
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
168
if (ibuf != KV5M_GSS_QUEUE)
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
176
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) {
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
181
if (ibuf != KV5M_GSS_QUEUE) {
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
490
krb5_int32 ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
505
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
506
ibuf = 0;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
507
if (ibuf == KG_CONTEXT) {
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
518
ctx->magic = ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
521
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
522
ctx->initiate = (int) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
523
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
524
ctx->established = (int) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
525
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
526
ctx->have_acceptor_subkey = (int) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
527
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
528
ctx->seed_init = (int) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
529
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
530
ctx->gss_flags = (int) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
534
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
535
ctx->signalg = (int) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
536
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
537
ctx->cksum_size = (int) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
538
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
539
ctx->sealalg = (int) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
540
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
541
ctx->krb_times.authtime = (krb5_timestamp) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
542
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
543
ctx->krb_times.starttime = (krb5_timestamp) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
544
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
545
ctx->krb_times.endtime = (krb5_timestamp) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
546
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
547
ctx->krb_times.renew_till = (krb5_timestamp) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
548
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
549
ctx->krb_flags = (krb5_flags) ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
616
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
617
ctx->proto = ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
619
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
620
ctx->cksumtype = ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
627
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
628
ctx->acceptor_subkey_cksumtype = ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
630
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
631
ctx->cred_rcache = ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
634
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
636
krb5_int32 nadata = ibuf, i;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
66
krb5_int32 ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
668
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
669
if (!kret && ibuf != KG_CONTEXT)
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
74
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
77
if (ibuf != KV5M_GSS_OID)
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
83
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) {
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
87
oid->length = ibuf;
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
88
oid->elements = malloc((size_t)ibuf);
crypto/krb5/src/lib/krb5/krb/authdata.c
1215
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/authdata.c
1222
code = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/authdata.c
1226
if (ibuf != KV5M_AUTHDATA_CONTEXT)
crypto/krb5/src/lib/krb5/krb/authdata.c
1240
code = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/authdata.c
1244
if (ibuf != KV5M_AUTHDATA_CONTEXT) {
crypto/krb5/src/lib/krb5/krb/pac.c
1197
int32_t ibuf;
crypto/krb5/src/lib/krb5/krb/pac.c
1206
ret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/pac.c
1210
if (ibuf != 0) {
crypto/krb5/src/lib/krb5/krb/pac.c
1211
ret = krb5_pac_parse(context, bp, ibuf, &pac);
crypto/krb5/src/lib/krb5/krb/pac.c
1215
bp += ibuf;
crypto/krb5/src/lib/krb5/krb/pac.c
1216
remain -= ibuf;
crypto/krb5/src/lib/krb5/krb/pac.c
1220
ret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/pac.c
1227
pac->verified = (ibuf != 0);
crypto/krb5/src/lib/krb5/krb/ser_actx.c
256
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/ser_actx.c
266
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/krb5/krb/ser_actx.c
267
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_actx.c
268
if (ibuf == KV5M_AUTH_CONTEXT) {
crypto/krb5/src/lib/krb5/krb/ser_actx.c
277
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_actx.c
278
auth_context->auth_context_flags = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_actx.c
281
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_actx.c
282
auth_context->remote_seq_number = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_actx.c
285
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_actx.c
286
auth_context->local_seq_number = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_actx.c
289
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_actx.c
290
auth_context->req_cksumtype = (krb5_cksumtype) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_actx.c
293
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_actx.c
294
auth_context->safe_cksumtype = (krb5_cksumtype) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_actx.c
382
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_actx.c
383
if (!kret && (ibuf != KV5M_AUTH_CONTEXT))
crypto/krb5/src/lib/krb5/krb/ser_adata.c
103
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/ser_adata.c
111
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/krb5/krb/ser_adata.c
112
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_adata.c
113
if (ibuf == KV5M_AUTHDATA) {
crypto/krb5/src/lib/krb5/krb/ser_adata.c
121
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_adata.c
122
authdata->ad_type = (krb5_authdatatype) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_adata.c
125
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_adata.c
126
authdata->length = (int) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_adata.c
130
malloc((size_t) (ibuf))) &&
crypto/krb5/src/lib/krb5/krb/ser_adata.c
132
(size_t) ibuf,
crypto/krb5/src/lib/krb5/krb/ser_adata.c
134
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_adata.c
135
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_adata.c
136
if (ibuf == KV5M_AUTHDATA) {
crypto/krb5/src/lib/krb5/krb/ser_addr.c
104
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/ser_addr.c
112
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/krb5/krb/ser_addr.c
113
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_addr.c
114
if (ibuf == KV5M_ADDRESS) {
crypto/krb5/src/lib/krb5/krb/ser_addr.c
124
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_addr.c
125
address->addrtype = (krb5_addrtype) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_addr.c
128
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_addr.c
129
address->length = (int) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_addr.c
132
if ((address->contents = (krb5_octet *) malloc((size_t) (ibuf))) &&
crypto/krb5/src/lib/krb5/krb/ser_addr.c
134
(size_t) ibuf,
crypto/krb5/src/lib/krb5/krb/ser_addr.c
137
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_addr.c
138
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_addr.c
140
if (!kret && (ibuf == KV5M_ADDRESS)) {
crypto/krb5/src/lib/krb5/krb/ser_auth.c
169
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/ser_auth.c
180
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/krb5/krb/ser_auth.c
181
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_auth.c
182
if (ibuf == KV5M_AUTHENTICATOR) {
crypto/krb5/src/lib/krb5/krb/ser_auth.c
191
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_auth.c
192
authenticator->ctime = (krb5_timestamp) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_auth.c
195
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_auth.c
196
authenticator->cusec = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_auth.c
199
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_auth.c
200
authenticator->seq_number = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_auth.c
227
if (!(kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain))) {
crypto/krb5/src/lib/krb5/krb/ser_auth.c
228
nadata = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_auth.c
242
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_auth.c
243
if (!kret && (ibuf == KV5M_AUTHENTICATOR))
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
104
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
112
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
113
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
114
if (ibuf == KV5M_CHECKSUM) {
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
121
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
122
checksum->checksum_type = (krb5_cksumtype) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
125
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
126
checksum->length = (int) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
129
if (!ibuf ||
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
131
malloc((size_t) (ibuf))) &&
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
133
(size_t) ibuf,
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
137
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
138
if (!kret && (ibuf == KV5M_CHECKSUM)) {
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
212
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
221
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
224
if (ibuf != KV5M_CONTEXT)
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
233
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
236
if (ibuf) {
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
237
context->default_realm = (char *) malloc((size_t) ibuf+1);
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
244
(size_t) ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
248
context->default_realm[ibuf] = '\0';
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
252
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
254
count = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
262
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
264
context->tgs_etypes[i] = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
271
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
273
context->clockskew = (krb5_deltat) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
276
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
278
context->kdc_default_options = (krb5_flags) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
281
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
283
context->library_options = (krb5_flags) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
286
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
288
context->profile_secure = (krb5_boolean) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
291
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
293
context->fcc_default_format = (int) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
316
if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
319
if (ibuf != KV5M_CONTEXT) {
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
388
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
397
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
398
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
399
if (ibuf == KV5M_OS_CONTEXT) {
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
412
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
414
if (ibuf == KV5M_OS_CONTEXT) {
crypto/krb5/src/lib/krb5/krb/ser_key.c
100
krb5_int32 ibuf;
crypto/krb5/src/lib/krb5/krb/ser_key.c
108
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
crypto/krb5/src/lib/krb5/krb/ser_key.c
109
ibuf = 0;
crypto/krb5/src/lib/krb5/krb/ser_key.c
110
if (ibuf == KV5M_KEYBLOCK) {
crypto/krb5/src/lib/krb5/krb/ser_key.c
117
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_key.c
118
keyblock->enctype = (krb5_enctype) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_key.c
121
(void) krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_key.c
122
keyblock->length = (int) ibuf;
crypto/krb5/src/lib/krb5/krb/ser_key.c
125
if ((keyblock->contents = (krb5_octet *) malloc((size_t) (ibuf)))&&
crypto/krb5/src/lib/krb5/krb/ser_key.c
127
(size_t) ibuf,
crypto/krb5/src/lib/krb5/krb/ser_key.c
129
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_key.c
130
if (!kret && (ibuf == KV5M_KEYBLOCK)) {
crypto/krb5/src/lib/krb5/krb/ser_princ.c
103
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain) || ibuf != KV5M_PRINCIPAL)
crypto/krb5/src/lib/krb5/krb/ser_princ.c
107
kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ser_princ.c
110
tmpname = malloc(ibuf + 1);
crypto/krb5/src/lib/krb5/krb/ser_princ.c
111
kret = krb5_ser_unpack_bytes((krb5_octet *) tmpname, (size_t) ibuf,
crypto/krb5/src/lib/krb5/krb/ser_princ.c
115
tmpname[ibuf] = '\0';
crypto/krb5/src/lib/krb5/krb/ser_princ.c
125
if (krb5_ser_unpack_int32(&ibuf, &bp, &remain) || ibuf != KV5M_PRINCIPAL) {
crypto/krb5/src/lib/krb5/krb/ser_princ.c
93
krb5_int32 ibuf;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1006
t = ibuf + len;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1219
if(ibuf != NULL){
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1220
free(ibuf);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1229
if(ibuf != NULL){
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1230
free(ibuf);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
899
char *ibuf = NULL, *rec = NULL;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
947
ibuf = (char*)malloc(ibuflen);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
948
if (!ibuf) {
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
951
memset(ibuf, 0, ibuflen);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
959
while (read_string(fd, ibuf, &len) == 0) {
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
960
char *t, *s = ibuf;
crypto/openssl/crypto/bio/bf_buff.c
107
memcpy(out, &(ctx->ibuf[ctx->ibuf_off]), i);
crypto/openssl/crypto/bio/bf_buff.c
143
i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size);
crypto/openssl/crypto/bio/bf_buff.c
266
p1 = ctx->ibuf;
crypto/openssl/crypto/bio/bf_buff.c
295
OPENSSL_free(ctx->ibuf);
crypto/openssl/crypto/bio/bf_buff.c
296
ctx->ibuf = p1;
crypto/openssl/crypto/bio/bf_buff.c
300
memcpy(ctx->ibuf, ptr, (int)num);
crypto/openssl/crypto/bio/bf_buff.c
318
p1 = ctx->ibuf;
crypto/openssl/crypto/bio/bf_buff.c
330
if (p1 != ctx->ibuf)
crypto/openssl/crypto/bio/bf_buff.c
335
if (ctx->ibuf != p1) {
crypto/openssl/crypto/bio/bf_buff.c
336
OPENSSL_free(ctx->ibuf);
crypto/openssl/crypto/bio/bf_buff.c
337
ctx->ibuf = p1;
crypto/openssl/crypto/bio/bf_buff.c
399
memcpy(ptr, &(ctx->ibuf[ctx->ibuf_off]), num);
crypto/openssl/crypto/bio/bf_buff.c
430
p = &(ctx->ibuf[ctx->ibuf_off]);
crypto/openssl/crypto/bio/bf_buff.c
450
i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size);
crypto/openssl/crypto/bio/bf_buff.c
52
ctx->ibuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE);
crypto/openssl/crypto/bio/bf_buff.c
53
if (ctx->ibuf == NULL) {
crypto/openssl/crypto/bio/bf_buff.c
60
OPENSSL_free(ctx->ibuf);
crypto/openssl/crypto/bio/bf_buff.c
78
OPENSSL_free(b->ibuf);
crypto/openssl/crypto/bio/bf_readbuff.c
100
ctx->ibuf = tmp;
crypto/openssl/crypto/bio/bf_readbuff.c
125
memcpy(out, &(ctx->ibuf[ctx->ibuf_off]), i);
crypto/openssl/crypto/bio/bf_readbuff.c
141
i = BIO_read(b->next_bio, ctx->ibuf + ctx->ibuf_off, outl);
crypto/openssl/crypto/bio/bf_readbuff.c
236
p = ctx->ibuf + ctx->ibuf_off;
crypto/openssl/crypto/bio/bf_readbuff.c
274
p = ctx->ibuf + ctx->ibuf_off;
crypto/openssl/crypto/bio/bf_readbuff.c
60
ctx->ibuf = OPENSSL_zalloc(DEFAULT_BUFFER_SIZE);
crypto/openssl/crypto/bio/bf_readbuff.c
61
if (ctx->ibuf == NULL) {
crypto/openssl/crypto/bio/bf_readbuff.c
79
OPENSSL_free(b->ibuf);
crypto/openssl/crypto/bio/bf_readbuff.c
97
tmp = OPENSSL_realloc(ctx->ibuf, sz);
crypto/openssl/crypto/bio/bio_local.h
90
char *ibuf; /* the char array */
crypto/openssl/crypto/comp/c_zlib.c
347
unsigned char *ibuf; /* Input buffer */
crypto/openssl/crypto/comp/c_zlib.c
427
if (ctx->ibuf) {
crypto/openssl/crypto/comp/c_zlib.c
430
OPENSSL_free(ctx->ibuf);
crypto/openssl/crypto/comp/c_zlib.c
456
if (!ctx->ibuf) {
crypto/openssl/crypto/comp/c_zlib.c
457
ctx->ibuf = OPENSSL_malloc(ctx->ibufsize);
crypto/openssl/crypto/comp/c_zlib.c
458
if (ctx->ibuf == NULL)
crypto/openssl/crypto/comp/c_zlib.c
465
zin->next_in = ctx->ibuf;
crypto/openssl/crypto/comp/c_zlib.c
490
ret = BIO_read(next, ctx->ibuf, ctx->ibufsize);
crypto/openssl/crypto/comp/c_zlib.c
500
zin->next_in = ctx->ibuf;
crypto/openssl/crypto/comp/c_zlib.c
663
OPENSSL_free(ctx->ibuf);
crypto/openssl/crypto/comp/c_zlib.c
664
ctx->ibuf = NULL;
lib/libkiconv/xlat16_iconv.c
341
my_iconv_char(iconv_t cd, u_char **ibuf, size_t * ilen, u_char **obuf,
lib/libkiconv/xlat16_iconv.c
349
sp = *ibuf;
lib/libkiconv/xlat16_iconv.c
359
if (*ilen == ir - 1 && (*ibuf)[1] == '\0' && (c1 || c2))
lib/libkiconv/xlat16_iconv.c
373
memcpy(ilocal, *ibuf, sizeof(ilocal));
lib/libkiconv/xlat16_iconv.c
381
if (olocal[1] == c2 && (*ibuf)[1] == '\0') {
lib/libopenbsd/imsg-buffer.c
103
ibuf_reserve(struct ibuf *buf, size_t len)
lib/libopenbsd/imsg-buffer.c
117
ibuf_seek(struct ibuf *buf, size_t pos, size_t len)
lib/libopenbsd/imsg-buffer.c
127
ibuf_size(struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
133
ibuf_left(struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
139
ibuf_close(struct msgbuf *msgbuf, struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
148
struct ibuf *buf;
lib/libopenbsd/imsg-buffer.c
181
ibuf_free(struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
198
struct ibuf *buf, *next;
lib/libopenbsd/imsg-buffer.c
216
struct ibuf *buf;
lib/libopenbsd/imsg-buffer.c
226
struct ibuf *buf;
lib/libopenbsd/imsg-buffer.c
291
ibuf_enqueue(struct msgbuf *msgbuf, struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
298
ibuf_dequeue(struct msgbuf *msgbuf, struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
32
int ibuf_realloc(struct ibuf *, size_t);
lib/libopenbsd/imsg-buffer.c
33
void ibuf_enqueue(struct msgbuf *, struct ibuf *);
lib/libopenbsd/imsg-buffer.c
34
void ibuf_dequeue(struct msgbuf *, struct ibuf *);
lib/libopenbsd/imsg-buffer.c
36
struct ibuf *
lib/libopenbsd/imsg-buffer.c
39
struct ibuf *buf;
lib/libopenbsd/imsg-buffer.c
41
if ((buf = calloc(1, sizeof(struct ibuf))) == NULL)
lib/libopenbsd/imsg-buffer.c
53
struct ibuf *
lib/libopenbsd/imsg-buffer.c
56
struct ibuf *buf;
lib/libopenbsd/imsg-buffer.c
71
ibuf_realloc(struct ibuf *buf, size_t len)
lib/libopenbsd/imsg-buffer.c
91
ibuf_add(struct ibuf *buf, const void *data, size_t len)
lib/libopenbsd/imsg.c
108
TAILQ_INSERT_TAIL(&ibuf->fds, ifd,
lib/libopenbsd/imsg.c
124
imsg_get(struct imsgbuf *ibuf, struct imsg *imsg)
lib/libopenbsd/imsg.c
128
av = ibuf->r.wpos;
lib/libopenbsd/imsg.c
133
memcpy(&imsg->hdr, ibuf->r.buf, sizeof(imsg->hdr));
lib/libopenbsd/imsg.c
142
ibuf->r.rptr = ibuf->r.buf + IMSG_HEADER_SIZE;
lib/libopenbsd/imsg.c
149
imsg->fd = imsg_get_fd(ibuf);
lib/libopenbsd/imsg.c
153
memcpy(imsg->data, ibuf->r.rptr, datalen);
lib/libopenbsd/imsg.c
157
memmove(&ibuf->r.buf, ibuf->r.buf + imsg->hdr.len, left);
lib/libopenbsd/imsg.c
158
ibuf->r.wpos = left;
lib/libopenbsd/imsg.c
160
ibuf->r.wpos = 0;
lib/libopenbsd/imsg.c
166
imsg_compose(struct imsgbuf *ibuf, u_int32_t type, u_int32_t peerid,
lib/libopenbsd/imsg.c
169
struct ibuf *wbuf;
lib/libopenbsd/imsg.c
171
if ((wbuf = imsg_create(ibuf, type, peerid, pid, datalen)) == NULL)
lib/libopenbsd/imsg.c
179
imsg_close(ibuf, wbuf);
lib/libopenbsd/imsg.c
185
imsg_composev(struct imsgbuf *ibuf, u_int32_t type, u_int32_t peerid,
lib/libopenbsd/imsg.c
188
struct ibuf *wbuf;
lib/libopenbsd/imsg.c
194
if ((wbuf = imsg_create(ibuf, type, peerid, pid, datalen)) == NULL)
lib/libopenbsd/imsg.c
203
imsg_close(ibuf, wbuf);
lib/libopenbsd/imsg.c
209
struct ibuf *
lib/libopenbsd/imsg.c
210
imsg_create(struct imsgbuf *ibuf, u_int32_t type, u_int32_t peerid,
lib/libopenbsd/imsg.c
213
struct ibuf *wbuf;
lib/libopenbsd/imsg.c
226
hdr.pid = ibuf->pid;
lib/libopenbsd/imsg.c
237
imsg_add(struct ibuf *msg, const void *data, u_int16_t datalen)
lib/libopenbsd/imsg.c
248
imsg_close(struct imsgbuf *ibuf, struct ibuf *msg)
lib/libopenbsd/imsg.c
260
ibuf_close(&ibuf->w, msg);
lib/libopenbsd/imsg.c
270
imsg_get_fd(struct imsgbuf *ibuf)
lib/libopenbsd/imsg.c
275
if ((ifd = TAILQ_FIRST(&ibuf->fds)) == NULL)
lib/libopenbsd/imsg.c
279
TAILQ_REMOVE(&ibuf->fds, ifd, entry);
lib/libopenbsd/imsg.c
286
imsg_flush(struct imsgbuf *ibuf)
lib/libopenbsd/imsg.c
288
while (ibuf->w.queued)
lib/libopenbsd/imsg.c
289
if (msgbuf_write(&ibuf->w) <= 0)
lib/libopenbsd/imsg.c
295
imsg_clear(struct imsgbuf *ibuf)
lib/libopenbsd/imsg.c
299
msgbuf_clear(&ibuf->w);
lib/libopenbsd/imsg.c
300
while ((fd = imsg_get_fd(ibuf)) != -1)
lib/libopenbsd/imsg.c
36
imsg_init(struct imsgbuf *ibuf, int fd)
lib/libopenbsd/imsg.c
38
msgbuf_init(&ibuf->w);
lib/libopenbsd/imsg.c
39
memset(&ibuf->r, 0, sizeof(ibuf->r));
lib/libopenbsd/imsg.c
40
ibuf->fd = fd;
lib/libopenbsd/imsg.c
41
ibuf->w.fd = fd;
lib/libopenbsd/imsg.c
42
ibuf->pid = getpid();
lib/libopenbsd/imsg.c
43
TAILQ_INIT(&ibuf->fds);
lib/libopenbsd/imsg.c
47
imsg_read(struct imsgbuf *ibuf)
lib/libopenbsd/imsg.c
63
iov.iov_base = ibuf->r.buf + ibuf->r.wpos;
lib/libopenbsd/imsg.c
64
iov.iov_len = sizeof(ibuf->r.buf) - ibuf->r.wpos;
lib/libopenbsd/imsg.c
82
if ((n = recvmsg(ibuf->fd, &msg, 0)) == -1) {
lib/libopenbsd/imsg.c
88
ibuf->r.wpos += n;
lib/libopenbsd/imsg.h
104
struct ibuf *imsg_create(struct imsgbuf *, u_int32_t, u_int32_t, pid_t,
lib/libopenbsd/imsg.h
106
int imsg_add(struct ibuf *, const void *, u_int16_t);
lib/libopenbsd/imsg.h
107
void imsg_close(struct imsgbuf *, struct ibuf *);
lib/libopenbsd/imsg.h
29
TAILQ_ENTRY(ibuf) entry;
lib/libopenbsd/imsg.h
39
TAILQ_HEAD(, ibuf) bufs;
lib/libopenbsd/imsg.h
81
struct ibuf *ibuf_open(size_t);
lib/libopenbsd/imsg.h
82
struct ibuf *ibuf_dynamic(size_t, size_t);
lib/libopenbsd/imsg.h
83
int ibuf_add(struct ibuf *, const void *, size_t);
lib/libopenbsd/imsg.h
84
void *ibuf_reserve(struct ibuf *, size_t);
lib/libopenbsd/imsg.h
85
void *ibuf_seek(struct ibuf *, size_t, size_t);
lib/libopenbsd/imsg.h
86
size_t ibuf_size(struct ibuf *);
lib/libopenbsd/imsg.h
87
size_t ibuf_left(struct ibuf *);
lib/libopenbsd/imsg.h
88
void ibuf_close(struct msgbuf *, struct ibuf *);
lib/libopenbsd/imsg.h
90
void ibuf_free(struct ibuf *);
libexec/bootpd/getether.c
124
struct ifreq ibuf[16];
libexec/bootpd/getether.c
134
ifc.ifc_len = sizeof(ibuf);
libexec/bootpd/getether.c
135
ifc.ifc_buf = (caddr_t) ibuf;
libexec/bootpd/getether.c
142
ifrp = ibuf;
libexec/bootpd/getether.c
143
ifend = (struct ifreq *) ((char *) ibuf + ifc.ifc_len);
libexec/rbootd/bpf.c
210
struct ifreq ibuf[8], *ifrp, *ifend, *mp;
libexec/rbootd/bpf.c
225
ifc.ifc_len = sizeof ibuf;
libexec/rbootd/bpf.c
226
ifc.ifc_buf = (caddr_t)ibuf;
libexec/rbootd/bpf.c
233
ifrp = ibuf;
libexec/rbootd/bpf.c
234
ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
sbin/dhclient/convert.c
54
u_int32_t ibuf;
sbin/dhclient/convert.c
56
memcpy(&ibuf, buf, sizeof(ibuf));
sbin/dhclient/convert.c
57
return (ntohl(ibuf));
sbin/dhclient/convert.c
63
int32_t ibuf;
sbin/dhclient/convert.c
65
memcpy(&ibuf, buf, sizeof(ibuf));
sbin/dhclient/convert.c
66
return (ntohl(ibuf));
sbin/dhclient/convert.c
72
u_int16_t ibuf;
sbin/dhclient/convert.c
74
memcpy(&ibuf, buf, sizeof(ibuf));
sbin/dhclient/convert.c
75
return (ntohs(ibuf));
sbin/dhclient/convert.c
81
int16_t ibuf;
sbin/dhclient/convert.c
83
memcpy(&ibuf, buf, sizeof(ibuf));
sbin/dhclient/convert.c
84
return (ntohs(ibuf));
sbin/dhclient/errwarn.c
173
do_percentm(char *obuf, size_t size, const char *ibuf)
sbin/dhclient/errwarn.c
176
const char *s = ibuf;
sbin/dhclient/errwarn.c
50
static void do_percentm(char *obuf, size_t size, const char *ibuf);
sys/amd64/amd64/bpf_jit_machdep.c
603
stream.ibuf = malloc_exec(*size, M_BPFJIT, M_NOWAIT);
sys/amd64/amd64/bpf_jit_machdep.c
604
if (stream.ibuf == NULL)
sys/amd64/amd64/bpf_jit_machdep.c
607
stream.ibuf = mmap(NULL, *size, PROT_READ | PROT_WRITE,
sys/amd64/amd64/bpf_jit_machdep.c
609
if (stream.ibuf == MAP_FAILED) {
sys/amd64/amd64/bpf_jit_machdep.c
610
stream.ibuf = NULL;
sys/amd64/amd64/bpf_jit_machdep.c
643
if (stream.ibuf != NULL &&
sys/amd64/amd64/bpf_jit_machdep.c
644
mprotect(stream.ibuf, *size, PROT_READ | PROT_EXEC) != 0) {
sys/amd64/amd64/bpf_jit_machdep.c
645
munmap(stream.ibuf, *size);
sys/amd64/amd64/bpf_jit_machdep.c
646
stream.ibuf = NULL;
sys/amd64/amd64/bpf_jit_machdep.c
650
return ((bpf_filter_func)(void *)stream.ibuf);
sys/amd64/amd64/bpf_jit_machdep.c
80
stream->ibuf[stream->cur_ip] = (u_char)value;
sys/amd64/amd64/bpf_jit_machdep.c
85
*((u_short *)(void *)(stream->ibuf + stream->cur_ip)) =
sys/amd64/amd64/bpf_jit_machdep.c
91
*((u_int *)(void *)(stream->ibuf + stream->cur_ip)) = value;
sys/amd64/amd64/bpf_jit_machdep.h
110
char *ibuf;
sys/dev/qat_c2xxx/qat.c
1408
struct flat_buffer_desc *ibuf, *obuf;
sys/dev/qat_c2xxx/qat.c
1440
ibuf = &ibufs->flat_bufs[osegs];
sys/dev/qat_c2xxx/qat.c
1443
obuf->phy_buffer = ibuf->phy_buffer;
sys/dev/qat_c2xxx/qat.c
1444
buflen = imin(ibuf->data_len_in_bytes, tocopy);
sys/dev/sound/midi/midi.c
111
uint8_t *ibuf = NULL;
sys/dev/sound/midi/midi.c
125
ibuf = malloc(inqsize, M_MIDI, M_WAITOK);
sys/dev/sound/midi/midi.c
133
MIDIQ_INIT(m->inq, ibuf, inqsize);
sys/dev/xdma/controller/pl330.c
389
chan->ibuf = (void *)kmem_alloc_contig(PAGE_SIZE * 8,
sys/dev/xdma/controller/pl330.c
392
chan->ibuf_phys = vtophys(chan->ibuf);
sys/dev/xdma/controller/pl330.c
479
uint8_t *ibuf;
sys/dev/xdma/controller/pl330.c
491
ibuf = chan->ibuf;
sys/dev/xdma/controller/pl330.c
509
offs += emit_mov(&chan->ibuf[offs], R_CCR, reg);
sys/dev/xdma/controller/pl330.c
518
offs += emit_mov(&ibuf[offs], R_SAR, src_addr_lo);
sys/dev/xdma/controller/pl330.c
519
offs += emit_mov(&ibuf[offs], R_DAR, dst_addr_lo);
sys/dev/xdma/controller/pl330.c
526
offs += emit_lp(&ibuf[offs], 0, cnt / 128);
sys/dev/xdma/controller/pl330.c
528
offs += emit_lp(&ibuf[offs], 1, 128);
sys/dev/xdma/controller/pl330.c
531
offs += emit_lp(&ibuf[offs], 0, cnt);
sys/dev/xdma/controller/pl330.c
534
offs += emit_wfp(&ibuf[offs], data->periph_id);
sys/dev/xdma/controller/pl330.c
535
offs += emit_ld(&ibuf[offs], 1);
sys/dev/xdma/controller/pl330.c
536
offs += emit_st(&ibuf[offs], 1);
sys/dev/xdma/controller/pl330.c
539
offs += emit_lpend(&ibuf[offs], 1, 1, (offs - offs1));
sys/dev/xdma/controller/pl330.c
541
offs += emit_lpend(&ibuf[offs], 0, 1, (offs - offs0));
sys/dev/xdma/controller/pl330.c
544
offs += emit_sev(&ibuf[offs], chan->index);
sys/dev/xdma/controller/pl330.c
545
offs += emit_end(&ibuf[offs]);
sys/dev/xdma/controller/pl330.c
88
uint8_t *ibuf;
sys/fs/smbfs/smbfs_subr.c
158
char *ibuf = name;
sys/fs/smbfs/smbfs_subr.c
173
__DECONST(const char **, &ibuf), &ilen, &obuf, &olen, copt);
sys/fs/tarfs/tarfs_io.c
320
void *ibuf = NULL, *obuf = NULL, *rl = NULL;
sys/fs/tarfs/tarfs_io.c
375
ibuf = malloc(bsize, M_TEMP, M_WAITOK);
sys/fs/tarfs/tarfs_io.c
419
aiov.iov_base = ibuf;
sys/fs/tarfs/tarfs_io.c
435
zib.src = ibuf;
sys/fs/tarfs/tarfs_io.c
503
if (ibuf != NULL)
sys/fs/tarfs/tarfs_io.c
504
free(ibuf, M_TEMP);
sys/i386/i386/bpf_jit_machdep.c
633
stream.ibuf = malloc_exec(*size, M_BPFJIT, M_NOWAIT);
sys/i386/i386/bpf_jit_machdep.c
634
if (stream.ibuf == NULL)
sys/i386/i386/bpf_jit_machdep.c
637
stream.ibuf = mmap(NULL, *size, PROT_READ | PROT_WRITE,
sys/i386/i386/bpf_jit_machdep.c
639
if (stream.ibuf == MAP_FAILED) {
sys/i386/i386/bpf_jit_machdep.c
640
stream.ibuf = NULL;
sys/i386/i386/bpf_jit_machdep.c
673
if (stream.ibuf != NULL &&
sys/i386/i386/bpf_jit_machdep.c
674
mprotect(stream.ibuf, *size, PROT_READ | PROT_EXEC) != 0) {
sys/i386/i386/bpf_jit_machdep.c
675
munmap(stream.ibuf, *size);
sys/i386/i386/bpf_jit_machdep.c
676
stream.ibuf = NULL;
sys/i386/i386/bpf_jit_machdep.c
680
return ((bpf_filter_func)(void *)stream.ibuf);
sys/i386/i386/bpf_jit_machdep.c
80
stream->ibuf[stream->cur_ip] = (u_char)value;
sys/i386/i386/bpf_jit_machdep.c
85
*((u_short *)(void *)(stream->ibuf + stream->cur_ip)) =
sys/i386/i386/bpf_jit_machdep.c
91
*((u_int *)(void *)(stream->ibuf + stream->cur_ip)) = value;
sys/i386/i386/bpf_jit_machdep.h
85
char *ibuf;
sys/kern/subr_scanf.c
86
sscanf(const char *ibuf, const char *fmt, ...)
sys/kern/subr_scanf.c
92
ret = vsscanf(ibuf, fmt, ap);
sys/ofed/drivers/infiniband/core/uverbs.h
62
const void __user *ibuf,
sys/ofed/drivers/infiniband/core/uverbs.h
66
udata->inbuf = ibuf;
sys/ofed/drivers/infiniband/core/uverbs.h
74
const void __user *ibuf,
sys/ofed/drivers/infiniband/core/uverbs.h
79
ilen ? ibuf : NULL, olen ? obuf : NULL,
tools/diag/prtblknos/main.c
47
char ibuf[64];
tools/diag/prtblknos/main.c
60
sprintf(ibuf, "%jd", (intmax_t)sb.st_ino);
tools/diag/prtblknos/main.c
61
xargv[2] = ibuf;
usr.bin/gzip/unxz.c
113
if (strm.avail_in != 0 || read(i, ibuf, 1))
usr.bin/gzip/unxz.c
48
uint8_t ibuf[BUFSIZ];
usr.bin/gzip/unxz.c
54
strm.next_in = ibuf;
usr.bin/gzip/unxz.c
55
memcpy(ibuf, pre, prelen);
usr.bin/gzip/unxz.c
56
strm.avail_in = read(i, ibuf + prelen, sizeof(ibuf) - prelen);
usr.bin/gzip/unxz.c
78
strm.next_in = ibuf;
usr.bin/gzip/unxz.c
79
strm.avail_in = read(i, ibuf, sizeof(ibuf));
usr.bin/gzip/unzstd.c
33
static char *ibuf, *obuf;
usr.bin/gzip/unzstd.c
42
if (ibuf == NULL)
usr.bin/gzip/unzstd.c
43
ibuf = malloc(BUFLEN);
usr.bin/gzip/unzstd.c
46
if (ibuf == NULL || obuf == NULL)
usr.bin/gzip/unzstd.c
63
res = read(in, ibuf, BUFLEN);
usr.bin/gzip/unzstd.c
69
zib.src = ibuf;
usr.bin/mail/cmd1.c
365
FILE *ibuf;
usr.bin/mail/cmd1.c
381
ibuf = setinput(mp);
usr.bin/mail/cmd1.c
386
if (readline(ibuf, linebuf, sizeof(linebuf)) < 0)
usr.bin/mail/fio.c
179
readline(FILE *ibuf, char *linebuf, int linesize)
usr.bin/mail/fio.c
183
clearerr(ibuf);
usr.bin/mail/fio.c
184
if (fgets(linebuf, linesize, ibuf) == NULL)
usr.bin/mail/fio.c
53
setptr(FILE *ibuf, off_t offset)
usr.bin/mail/fio.c
73
(void)fseeko(ibuf, offset, SEEK_SET);
usr.bin/mail/fio.c
92
if (fgets(linebuf, sizeof(linebuf), ibuf) == NULL) {
usr.bin/mail/lex.c
123
mailsize = fsize(ibuf);
usr.bin/mail/lex.c
133
setptr(ibuf, 0);
usr.bin/mail/lex.c
140
mailsize = ftello(ibuf);
usr.bin/mail/lex.c
141
(void)Fclose(ibuf);
usr.bin/mail/lex.c
165
FILE *ibuf;
usr.bin/mail/lex.c
167
ibuf = Fopen(mailname, "r");
usr.bin/mail/lex.c
168
if (ibuf == NULL)
usr.bin/mail/lex.c
171
newsize = fsize(ibuf);
usr.bin/mail/lex.c
178
setptr(ibuf, mailsize);
usr.bin/mail/lex.c
180
mailsize = ftello(ibuf);
usr.bin/mail/lex.c
181
(void)Fclose(ibuf);
usr.bin/mail/lex.c
61
FILE *ibuf;
usr.bin/mail/lex.c
73
if ((ibuf = Fopen(name, "r")) == NULL) {
usr.bin/mail/lex.c
80
if (fstat(fileno(ibuf), &stb) < 0) {
usr.bin/mail/lex.c
82
(void)Fclose(ibuf);
usr.bin/mail/lex.c
87
(void)Fclose(ibuf);
usr.bin/mail/quit.c
204
if ((ibuf = Fopen(tempname, "r")) == NULL) {
usr.bin/mail/quit.c
219
(void)Fclose(ibuf);
usr.bin/mail/quit.c
229
(void)Fclose(ibuf);
usr.bin/mail/quit.c
246
(void)Fclose(ibuf);
usr.bin/mail/quit.c
259
rewind(ibuf);
usr.bin/mail/quit.c
260
c = getc(ibuf);
usr.bin/mail/quit.c
265
c = getc(ibuf);
usr.bin/mail/quit.c
267
(void)Fclose(ibuf);
usr.bin/mail/quit.c
387
FILE *obuf, *ibuf, *readstat;
usr.bin/mail/quit.c
416
ibuf = NULL;
usr.bin/mail/quit.c
428
if ((ibuf = Fopen(mailname, "r")) == NULL) {
usr.bin/mail/quit.c
435
(void)fseeko(ibuf, mailsize, SEEK_SET);
usr.bin/mail/quit.c
436
while ((c = getc(ibuf)) != EOF)
usr.bin/mail/quit.c
438
(void)Fclose(ibuf);
usr.bin/mail/quit.c
440
if ((ibuf = Fopen(tempname, "r")) == NULL) {
usr.bin/mail/quit.c
467
gotcha = (c == 0 && ibuf == NULL);
usr.bin/mail/quit.c
468
if (ibuf != NULL) {
usr.bin/mail/quit.c
469
while ((c = getc(ibuf)) != EOF)
usr.bin/mail/quit.c
471
(void)Fclose(ibuf);
usr.bin/mail/quit.c
66
FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf;
usr.bin/mail/send.c
183
if (fgets(line, sizeof(line), ibuf) == NULL) {
usr.bin/mail/send.c
204
if ((c = fread(line, sizeof(*line), c, ibuf)) <= 0)
usr.bin/mail/send.c
212
if ((c = getc(ibuf)) != EOF && putc(c, obuf) == EOF)
usr.bin/mail/send.c
53
FILE *ibuf;
usr.bin/mail/send.c
68
ibuf = setinput(mp);
usr.bin/mail/send.c
78
if (fgets(line, sizeof(line), ibuf) == NULL)
usr.bin/mail/util.c
129
FILE *ibuf;
usr.bin/mail/util.c
135
ibuf = setinput(mp);
usr.bin/mail/util.c
138
if (readline(ibuf, linebuf, sizeof(linebuf)) < 0)
usr.bin/mail/util.c
141
if ((lc = gethfield(ibuf, linebuf, lc, &colon)) < 0)
usr.bin/mail/util.c
497
FILE *ibuf;
usr.bin/mail/util.c
504
ibuf = setinput(mp);
usr.bin/mail/util.c
506
if (readline(ibuf, linebuf, sizeof(linebuf)) < 0)
usr.bin/mail/util.c
518
if (readline(ibuf, linebuf, sizeof(linebuf)) < 0)
usr.bin/rs/rs.cc
292
static char ibuf[BSIZE];
usr.bin/rs/rs.cc
298
static char *endblock = ibuf + BSIZE;
usr.bin/rs/rs.cc
303
curline = ibuf;
usr.bin/rs/rs.cc
310
curline = ibuf;
usr.bin/script/script.c
108
char ibuf[BUFSIZ];
usr.bin/script/script.c
329
cc = read(STDIN_FILENO, ibuf, BUFSIZ);
usr.bin/script/script.c
341
record(fscript, ibuf, cc, 'i');
usr.bin/script/script.c
345
memcpy(be->ibuf, ibuf, cc);
usr.bin/script/script.c
351
cc = write(master, be->ibuf + be->rpos,
usr.bin/script/script.c
364
(void)fwrite(be->ibuf + be->rpos,
usr.bin/script/script.c
69
char ibuf[];
usr.bin/stdbuf/stdbuf.c
68
char *ibuf, *obuf, *ebuf;
usr.bin/stdbuf/stdbuf.c
71
ibuf = obuf = ebuf = NULL;
usr.bin/stdbuf/stdbuf.c
78
ibuf = optarg;
usr.bin/stdbuf/stdbuf.c
93
if (ibuf != NULL && setenv("_STDBUF_I", ibuf, 1) == -1)
usr.bin/stdbuf/stdbuf.c
95
"_STDBUF_I", ibuf);
usr.sbin/fifolog/lib/fifolog_write.h
61
u_char *ibuf;
usr.sbin/fifolog/lib/fifolog_write_poll.c
161
ALLOC(&f->ibuf, f->ibufsize);
usr.sbin/fifolog/lib/fifolog_write_poll.c
280
f->ff->zs->next_in = f->ibuf;
usr.sbin/fifolog/lib/fifolog_write_poll.c
366
memcpy(f->ibuf + f->ibufptr, buf, bufl);
usr.sbin/fifolog/lib/fifolog_write_poll.c
368
memcpy(f->ibuf + f->ibufptr, p, len);
usr.sbin/fifolog/lib/fifolog_write_poll.c
93
free(f->ibuf);
usr.sbin/rtadvd/advcap.c
113
char ibuf[BUFSIZ];
usr.sbin/rtadvd/advcap.c
138
cnt = read(tf, ibuf, BUFSIZ);
usr.sbin/rtadvd/advcap.c
145
c = ibuf[i++];
usr.sbin/smbmsg/smbmsg.c
201
c.rbuf = ibuf;
usr.sbin/smbmsg/smbmsg.c
208
printf(fmt, ibuf[i]);
usr.sbin/smbmsg/smbmsg.c
62
static unsigned char ibuf[SMB_MAXBLOCKSIZE];
usr.sbin/traceroute/ifaddrlist.c
71
struct ifreq ibuf[(32 * 1024) / sizeof(struct ifreq)], ifr;
usr.sbin/traceroute/ifaddrlist.c
72
#define MAX_IPADDR ((int)(sizeof(ibuf) / sizeof(ibuf[0])))
usr.sbin/traceroute/ifaddrlist.c
81
ifc.ifc_len = sizeof(ibuf);
usr.sbin/traceroute/ifaddrlist.c
82
ifc.ifc_buf = (caddr_t)ibuf;
usr.sbin/traceroute/ifaddrlist.c
89
sizeof(ibuf));
usr.sbin/traceroute/ifaddrlist.c
96
ifrp = ibuf;
usr.sbin/traceroute/ifaddrlist.c
97
ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
usr.sbin/ypldap/ldapclient.c
164
struct imsgbuf *ibuf = &iev->ibuf;
usr.sbin/ypldap/ldapclient.c
170
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
176
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
184
if ((n = imsg_get(ibuf, &imsg)) == -1)
usr.sbin/ypldap/ldapclient.c
260
struct imsgbuf *ibuf = &iev->ibuf;
usr.sbin/ypldap/ldapclient.c
266
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
272
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
280
if ((n = imsg_get(ibuf, &imsg)) == -1)
usr.sbin/ypldap/ldapclient.c
411
imsg_init(&env.sc_iev->ibuf, pipe_main2client[1]);
usr.sbin/ypldap/ldapclient.c
413
event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events,
usr.sbin/ypldap/ldapclient.c
419
imsg_init(&env.sc_iev_dns->ibuf, pipe_dns[0]);
usr.sbin/ypldap/ldapclient.c
421
event_set(&env.sc_iev_dns->ev, env.sc_iev_dns->ibuf.fd,
usr.sbin/ypldap/ypldap.c
356
struct imsgbuf *ibuf = &iev->ibuf;
usr.sbin/ypldap/ypldap.c
364
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap.c
370
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap.c
378
if ((n = imsg_get(ibuf, &imsg)) == -1)
usr.sbin/ypldap/ypldap.c
590
imsg_init(&env.sc_iev->ibuf, pipe_main2client[0]);
usr.sbin/ypldap/ypldap.c
595
event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events,
usr.sbin/ypldap/ypldap.c
628
imsg_flush(&iev->ibuf);
usr.sbin/ypldap/ypldap.c
633
if (iev->ibuf.w.queued)
usr.sbin/ypldap/ypldap.c
637
event_set(&iev->ev, iev->ibuf.fd, iev->events, iev->handler, iev->data);
usr.sbin/ypldap/ypldap.c
647
if ((ret = imsg_compose(&iev->ibuf, type, peerid,
usr.sbin/ypldap/ypldap.h
138
struct imsgbuf ibuf;
usr.sbin/ypldap/ypldap_dns.c
113
imsg_init(&env.sc_iev->ibuf, pipe_ntp[1]);
usr.sbin/ypldap/ypldap_dns.c
115
event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events,
usr.sbin/ypldap/ypldap_dns.c
133
struct ibuf *buf;
usr.sbin/ypldap/ypldap_dns.c
136
struct imsgbuf *ibuf = &iev->ibuf;
usr.sbin/ypldap/ypldap_dns.c
143
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap_dns.c
149
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap_dns.c
157
if ((n = imsg_get(ibuf, &imsg)) == -1)
usr.sbin/ypldap/ypldap_dns.c
173
buf = imsg_create(ibuf, IMSG_HOST_DNS,
usr.sbin/ypldap/ypldap_dns.c
187
imsg_close(ibuf, buf);