Home | History | Annotate | Download | only in evp

Lines Matching full:buf_off

83 	int buf_off;
122 ctx->buf_off=0;
161 ctx->buf_off=0;
169 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
170 i=ctx->buf_len-ctx->buf_off;
172 OPENSSL_assert(ctx->buf_off+i < (int)sizeof(ctx->buf));
173 memcpy(out,&(ctx->buf[ctx->buf_off]),i);
177 ctx->buf_off+=i;
178 if (ctx->buf_len == ctx->buf_off)
181 ctx->buf_off=0;
344 ctx->buf_off=0;
359 ctx->buf_off=i;
360 if (ctx->buf_off == ctx->buf_len)
363 ctx->buf_off=0;
387 ctx->buf_off=0;
392 OPENSSL_assert(ctx->buf_off < (int)sizeof(ctx->buf));
394 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
395 n=ctx->buf_len-ctx->buf_off;
398 i=BIO_write(b->next_bio,&(ctx->buf[ctx->buf_off]),n);
405 ctx->buf_off+=i;
406 OPENSSL_assert(ctx->buf_off <= (int)sizeof(ctx->buf));
407 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
411 ctx->buf_off=0;
436 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
453 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
463 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
469 ctx->buf_off=0;
473 i=BIO_write(b->next_bio,&(ctx->buf[ctx->buf_off]),n);
481 ctx->buf_off+=i;
482 OPENSSL_assert(ctx->buf_off <= (int)sizeof(ctx->buf));
483 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
486 ctx->buf_off=0;
514 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
515 ret=ctx->buf_len-ctx->buf_off;
523 OPENSSL_assert(ctx->buf_len >= ctx->buf_off);
524 ret=ctx->buf_len-ctx->buf_off;
531 while (ctx->buf_len != ctx->buf_off)
545 ctx->buf_off=0;
552 ctx->buf_off=0;