Home
last modified time | relevance | path

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

/third_party/openssl/crypto/bio/
Dbf_lbuf.c53 int obuf_len; /* how many bytes are in it */ member
71 ctx->obuf_len = 0; in linebuffer_new()
136 while ((foundnl || p - in > ctx->obuf_size - ctx->obuf_len) in linebuffer_write()
137 && ctx->obuf_len > 0) { in linebuffer_write()
138 int orig_olen = ctx->obuf_len; in linebuffer_write()
140 i = ctx->obuf_size - ctx->obuf_len; in linebuffer_write()
143 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); in linebuffer_write()
144 ctx->obuf_len += p - in; in linebuffer_write()
149 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); in linebuffer_write()
150 ctx->obuf_len += i; in linebuffer_write()
[all …]
Dbf_buff.c171 i = ctx->obuf_size - (ctx->obuf_len + ctx->obuf_off); in buffer_write()
174 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, inl); in buffer_write()
175 ctx->obuf_len += inl; in buffer_write()
180 if (ctx->obuf_len != 0) { in buffer_write()
182 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, i); in buffer_write()
186 ctx->obuf_len += i; in buffer_write()
191 ctx->obuf_len); in buffer_write()
201 ctx->obuf_len -= i; in buffer_write()
202 if (ctx->obuf_len == 0) in buffer_write()
251 ctx->obuf_len = 0; in buffer_ctrl()
[all …]
Dbio_local.h111 int obuf_len; /* how many bytes are in it */ member
/third_party/node/deps/openssl/openssl/crypto/bio/
Dbf_lbuf.c53 int obuf_len; /* how many bytes are in it */ member
71 ctx->obuf_len = 0; in linebuffer_new()
136 while ((foundnl || p - in > ctx->obuf_size - ctx->obuf_len) in linebuffer_write()
137 && ctx->obuf_len > 0) { in linebuffer_write()
138 int orig_olen = ctx->obuf_len; in linebuffer_write()
140 i = ctx->obuf_size - ctx->obuf_len; in linebuffer_write()
143 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); in linebuffer_write()
144 ctx->obuf_len += p - in; in linebuffer_write()
149 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); in linebuffer_write()
150 ctx->obuf_len += i; in linebuffer_write()
[all …]
Dbf_buff.c171 i = ctx->obuf_size - (ctx->obuf_len + ctx->obuf_off); in buffer_write()
174 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, inl); in buffer_write()
175 ctx->obuf_len += inl; in buffer_write()
180 if (ctx->obuf_len != 0) { in buffer_write()
182 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, i); in buffer_write()
186 ctx->obuf_len += i; in buffer_write()
191 ctx->obuf_len); in buffer_write()
201 ctx->obuf_len -= i; in buffer_write()
202 if (ctx->obuf_len == 0) in buffer_write()
251 ctx->obuf_len = 0; in buffer_ctrl()
[all …]
Dbio_local.h111 int obuf_len; /* how many bytes are in it */ member