/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() 315 n=ctx->buf_len-ctx->buf_off; in ok_write() 318 i=BIO_write(b->next_bio,&(ctx->buf[ctx->buf_off]),n); in ok_write() 326 ctx->buf_off+=i; in ok_write() [all …]
|
/external/chromium_org/third_party/openssl/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() 315 n=ctx->buf_len-ctx->buf_off; in ok_write() 318 i=BIO_write(b->next_bio,&(ctx->buf[ctx->buf_off]),n); in ok_write() 326 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 …]
|
/external/chromium_org/third_party/openssl/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 …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/ |
D | lc3bbc.c | 175 unsigned long buf_off = (unsigned long)(*bufp - bufstart); in lc3b_bc_insn_tobytes() local 186 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) in lc3b_bc_insn_tobytes() 192 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) in lc3b_bc_insn_tobytes() 197 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) in lc3b_bc_insn_tobytes() 203 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) in lc3b_bc_insn_tobytes() 208 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) in lc3b_bc_insn_tobytes() 225 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) in lc3b_bc_insn_tobytes() 230 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) in lc3b_bc_insn_tobytes()
|