Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bio/
Dbuffer.c86 int obuf_len; /* how many bytes are in it */ member
222 i = ctx->obuf_size - (ctx->obuf_off + ctx->obuf_len); in buffer_write()
225 memcpy(&ctx->obuf[ctx->obuf_off + ctx->obuf_len], in, inl); in buffer_write()
226 ctx->obuf_len += inl; in buffer_write()
231 if (ctx->obuf_len != 0) { in buffer_write()
233 memcpy(&ctx->obuf[ctx->obuf_off + ctx->obuf_len], in, i); in buffer_write()
237 ctx->obuf_len += i; in buffer_write()
242 i = BIO_write(b->next_bio, &ctx->obuf[ctx->obuf_off], ctx->obuf_len); in buffer_write()
252 ctx->obuf_len -= i; in buffer_write()
253 if (ctx->obuf_len == 0) { in buffer_write()
[all …]