Searched refs:buf_size_ (Results 1 – 2 of 2) sorted by relevance
34 size_t buf_size_; // size of the buffer member111 if (size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()114 mem->end_ = mem->buf_size_ = size; in RemapMemBuffer()384 if (mem->buf_size_ > mem->riff_end_) { in ReadHeader()385 mem->buf_size_ = mem->end_ = mem->riff_end_; in ReadHeader()666 WebPGetFeatures(mem->buf_, mem->buf_size_, &features); in CreateRawImageDemuxer()678 SetFrameInfo(0, mem->buf_size_, 1 /*frame_num*/, 1 /*complete*/, &features, in CreateRawImageDemuxer()729 partial = (mem.buf_size_ < mem.riff_end_); in WebPDemuxInternal()
58 size_t buf_size_; // size of the allocated buffer member179 if (mem->end_ + data_size > mem->buf_size_) { // Need some free memory in AppendToMemBuffer()190 mem->buf_size_ = (size_t)extra_size; in AppendToMemBuffer()197 assert(mem->end_ <= mem->buf_size_); in AppendToMemBuffer()210 if (data_size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()213 mem->end_ = mem->buf_size_ = data_size; in RemapMemBuffer()222 mem->buf_size_ = 0; in InitMemBuffer()