Searched refs:buf_off (Results 1 – 4 of 4) sorted by relevance
/external/openssl/crypto/evp/ |
D | bio_b64.c | 83 int buf_off; member 122 ctx->buf_off=0; in b64_new() 161 ctx->buf_off=0; in b64_read() 169 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_read() 170 i=ctx->buf_len-ctx->buf_off; in b64_read() 172 OPENSSL_assert(ctx->buf_off+i < (int)sizeof(ctx->buf)); in b64_read() 173 memcpy(out,&(ctx->buf[ctx->buf_off]),i); in b64_read() 177 ctx->buf_off+=i; in b64_read() 178 if (ctx->buf_len == ctx->buf_off) in b64_read() 181 ctx->buf_off=0; in b64_read() [all …]
|
D | bio_enc.c | 79 int buf_off; member 117 ctx->buf_off=0; in enc_new() 156 i=ctx->buf_len-ctx->buf_off; in enc_read() 158 memcpy(out,&(ctx->buf[ctx->buf_off]),i); in enc_read() 162 ctx->buf_off+=i; in enc_read() 163 if (ctx->buf_len == ctx->buf_off) in enc_read() 166 ctx->buf_off=0; in enc_read() 191 ctx->buf_off=0; in enc_read() 221 ctx->buf_off=i; in enc_read() 240 n=ctx->buf_len-ctx->buf_off; in enc_write() [all …]
|
D | bio_ok.c | 148 size_t buf_off; member 185 ctx->buf_off=0; in ok_new() 229 i=ctx->buf_len-ctx->buf_off; in ok_read() 231 memcpy(out,&(ctx->buf[ctx->buf_off]),i); in ok_read() 235 ctx->buf_off+=i; in ok_read() 238 if (ctx->buf_len == ctx->buf_off) in ok_read() 240 ctx->buf_off=0; in ok_read() 300 n=ctx->buf_len-ctx->buf_off; in ok_write() 303 i=BIO_write(b->next_bio,&(ctx->buf[ctx->buf_off]),n); in ok_write() 311 ctx->buf_off+=i; in ok_write() [all …]
|
/external/openssl/crypto/pkcs7/ |
D | bio_ber.c | 105 int buf_off; member 170 if (ctx->buf_off != 0) in bio_ber_get_header() 173 j=ctx->buf_off; in bio_ber_get_header() 181 ctx->buf_off=0; in bio_ber_get_header() 282 n=ctx->buf_len-ctx->buf_off; in ber_write() 285 i=BIO_write(b->next_bio,&(ctx->buf[ctx->buf_off]),n); in ber_write() 291 ctx->buf_off+=i; in ber_write() 298 ctx->buf_off=0; in ber_write() 308 ctx->buf_off=0; in ber_write() 312 i=BIO_write(b->next_bio,&(ctx->buf[ctx->buf_off]),n); in ber_write() [all …]
|