Home
last modified time | relevance | path

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

/third_party/openssl/crypto/evp/
Dbio_enc.c36 unsigned char *read_start, *read_end; member
80 ctx->read_end = ctx->read_start = &(ctx->buf[BUF_OFFSET]); in enc_new()
149 if (ctx->read_start == ctx->read_end) { /* time to read more data */ in enc_read()
150 ctx->read_end = ctx->read_start = &(ctx->buf[BUF_OFFSET]); in enc_read()
151 i = BIO_read(next, ctx->read_start, ENC_BLOCK_SIZE); in enc_read()
155 i = ctx->read_end - ctx->read_start; in enc_read()
181 ctx->read_start, i > j ? j : i)) { in enc_read()
190 ctx->read_start = ctx->read_end; in enc_read()
193 ctx->read_start += j; in enc_read()
199 ctx->read_start, i)) { in enc_read()
[all …]
/third_party/ffmpeg/libavcodec/
Dflac_parser.c523 const uint8_t *read_start = buf; in flac_parse() local
602 read_end = read_start + MAX_FRAME_HEADER_SIZE; in flac_parse()
621 if ( av_fifo_space(fpc->fifo_buf) < read_end - read_start in flac_parse()
622 … && av_fifo_realloc2(fpc->fifo_buf, (read_end - read_start) + 2*av_fifo_size(fpc->fifo_buf)) < 0) { in flac_parse()
625 (read_end - read_start) + av_fifo_size(fpc->fifo_buf)); in flac_parse()
630 av_fifo_generic_write(fpc->fifo_buf, (void*) read_start, in flac_parse()
631 read_end - read_start, NULL); in flac_parse()
639 ((read_end - read_start) + (MAX_FRAME_HEADER_SIZE - 1)); in flac_parse()
653 read_start = read_end; in flac_parse()
674 read_start = read_end = NULL; in flac_parse()