Home
last modified time | relevance | path

Searched refs:next_bio (Results 1 – 12 of 12) sorted by relevance

/third_party/openssl/crypto/bio/
Dbf_null.c53 if (b->next_bio == NULL) in nullf_read()
55 ret = BIO_read(b->next_bio, out, outl); in nullf_read()
67 if (b->next_bio == NULL) in nullf_write()
69 ret = BIO_write(b->next_bio, in, inl); in nullf_write()
79 if (b->next_bio == NULL) in nullf_ctrl()
84 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nullf_ctrl()
91 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nullf_ctrl()
100 if (b->next_bio == NULL) in nullf_callback_ctrl()
104 ret = BIO_callback_ctrl(b->next_bio, cmd, fp); in nullf_callback_ctrl()
112 if (bp->next_bio == NULL) in nullf_gets()
[all …]
Dbf_nbio.c90 if (b->next_bio == NULL) in nbiof_read()
105 ret = BIO_read(b->next_bio, out, outl); in nbiof_read()
121 if (b->next_bio == NULL) in nbiof_write()
143 ret = BIO_write(b->next_bio, in, inl); in nbiof_write()
156 if (b->next_bio == NULL) in nbiof_ctrl()
161 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nbiof_ctrl()
168 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nbiof_ctrl()
178 if (b->next_bio == NULL) in nbiof_callback_ctrl()
182 ret = BIO_callback_ctrl(b->next_bio, cmd, fp); in nbiof_callback_ctrl()
190 if (bp->next_bio == NULL) in nbiof_gets()
[all …]
Dbf_lbuf.c102 if (b->next_bio == NULL) in linebuffer_read()
104 ret = BIO_read(b->next_bio, out, outl); in linebuffer_read()
118 if ((ctx == NULL) || (b->next_bio == NULL)) in linebuffer_write()
158 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); in linebuffer_write()
178 i = BIO_write(b->next_bio, in, p - in); in linebuffer_write()
219 if (b->next_bio == NULL) in linebuffer_ctrl()
221 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in linebuffer_ctrl()
229 if (b->next_bio == NULL) in linebuffer_ctrl()
231 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in linebuffer_ctrl()
253 if (b->next_bio == NULL) in linebuffer_ctrl()
[all …]
Dbf_buff.c98 if ((ctx == NULL) || (b->next_bio == NULL)) in buffer_read()
127 i = BIO_read(b->next_bio, out, outl); in buffer_read()
145 i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size); in buffer_read()
168 if ((ctx == NULL) || (b->next_bio == NULL)) in buffer_write()
192 i = BIO_write(b->next_bio, &(ctx->obuf[ctx->obuf_off]), in buffer_write()
216 i = BIO_write(b->next_bio, in, inl); in buffer_write()
254 if (b->next_bio == NULL) in buffer_ctrl()
256 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
261 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
277 if (b->next_bio == NULL) in buffer_ctrl()
[all …]
Dbio_lib.c589 while (lb->next_bio != NULL) in BIO_push()
590 lb = lb->next_bio; in BIO_push()
591 lb->next_bio = bio; in BIO_push()
606 ret = b->next_bio; in BIO_pop()
611 b->prev_bio->next_bio = b->next_bio; in BIO_pop()
612 if (b->next_bio != NULL) in BIO_pop()
613 b->next_bio->prev_bio = b->prev_bio; in BIO_pop()
615 b->next_bio = NULL; in BIO_pop()
629 b = b->next_bio; in BIO_get_retry_BIO()
665 bio = bio->next_bio; in BIO_find_type()
[all …]
Dbss_acpt.c273 if (b->next_bio != NULL) { in acpt_state()
336 if (b->next_bio == NULL) { in acpt_state()
366 while (b->next_bio == NULL) { in acpt_read()
372 ret = BIO_read(b->next_bio, out, outl); in acpt_read()
385 while (b->next_bio == NULL) { in acpt_write()
391 ret = BIO_write(b->next_bio, in, inl); in acpt_write()
534 if (b->next_bio == NULL) in acpt_ctrl()
537 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in acpt_ctrl()
Dbio_local.h127 struct bio_st *next_bio; /* used by filter BIOs */ member
/third_party/boringssl/src/ssl/test/
Dpacketed_bio.cc75 if (bio->next_bio == NULL) { in PacketedWrite()
88 int ret = BIO_write(bio->next_bio, header, sizeof(header)); in PacketedWrite()
95 ret = BIO_write(bio->next_bio, in, inl); in PacketedWrite()
106 if (bio->next_bio == NULL) { in PacketedRead()
114 int ret = ReadAll(bio->next_bio, &opcode, sizeof(opcode)); in PacketedRead()
129 ret = ReadAll(bio->next_bio, buf, sizeof(buf)); in PacketedRead()
148 ret = BIO_write(bio->next_bio, &kOpcodeTimeoutAck, 1); in PacketedRead()
166 ret = ReadAll(bio->next_bio, len_bytes, sizeof(len_bytes)); in PacketedRead()
178 ret = ReadAll(bio->next_bio, buf, len); in PacketedRead()
193 if (bio->next_bio == NULL) { in PacketedCtrl()
[all …]
Dasync_bio.cc46 if (a == NULL || bio->next_bio == NULL) { in AsyncWrite()
51 return BIO_write(bio->next_bio, in, inl); in AsyncWrite()
65 int ret = BIO_write(bio->next_bio, in, inl); in AsyncWrite()
76 if (a == NULL || bio->next_bio == NULL) { in AsyncRead()
91 int ret = BIO_read(bio->next_bio, out, outl); in AsyncRead()
101 if (bio->next_bio == NULL) { in AsyncCtrl()
105 int ret = BIO_ctrl(bio->next_bio, cmd, num, ptr); in AsyncCtrl()
135 if (bio->next_bio == NULL) { in AsyncCallbackCtrl()
138 return BIO_callback_ctrl(bio->next_bio, cmd, fp); in AsyncCallbackCtrl()
/third_party/boringssl/src/decrepit/bio/
Dbase64_bio.c130 if (ctx == NULL || b->next_bio == NULL) { in b64_read()
172 i = BIO_read(b->next_bio, &(ctx->tmp[ctx->tmp_len]), in b64_read()
179 if (!BIO_should_retry(b->next_bio)) { in b64_read()
341 i = BIO_write(b->next_bio, &(ctx->buf[ctx->buf_off]), n); in b64_write()
414 i = BIO_write(b->next_bio, &(ctx->buf[ctx->buf_off]), n); in b64_write()
443 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in b64_ctrl()
450 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in b64_ctrl()
460 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in b64_ctrl()
468 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in b64_ctrl()
496 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in b64_ctrl()
[all …]
/third_party/boringssl/src/crypto/bio/
Dbio.c93 BIO *next_bio; in BIO_free() local
95 for (; bio != NULL; bio = next_bio) { in BIO_free()
100 next_bio = BIO_pop(bio); in BIO_free()
292 BIO_set_flags(bio, BIO_get_retry_flags(bio->next_bio)); in BIO_copy_next_retry()
293 bio->retry_reason = bio->next_bio->retry_reason; in BIO_copy_next_retry()
353 while (last_bio->next_bio != NULL) { in BIO_push()
354 last_bio = last_bio->next_bio; in BIO_push()
357 last_bio->next_bio = appended_bio; in BIO_push()
367 ret = bio->next_bio; in BIO_pop()
368 bio->next_bio = NULL; in BIO_pop()
[all …]
/third_party/boringssl/src/include/openssl/
Dbio.h837 BIO *next_bio; // used by filter BIOs member