Home
last modified time | relevance | path

Searched refs:current_buffer_size (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/lpng_v163/
Dpngpread.c580 if (png_ptr->skip_length && png_ptr->current_buffer_size) in png_push_crc_finish()
582 png_size_t save_size = png_ptr->current_buffer_size; in png_push_crc_finish()
598 png_ptr->current_buffer_size -= save_size; in png_push_crc_finish()
640 if (length && png_ptr->current_buffer_size) in png_push_fill_buffer()
644 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
648 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
652 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
676 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
683 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
688 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
[all …]
Dpngstruct.h330 png_size_t current_buffer_size; /* amount of data now in current_buffer */ member
/external/libpng/
Dpngpread.c443 if (length != 0 && png_ptr->current_buffer_size != 0) in png_push_fill_buffer()
447 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
451 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
455 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
479 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
486 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
491 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
506 if (png_ptr->current_buffer_size) in png_push_save_buffer()
509 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()
510 png_ptr->save_buffer_size += png_ptr->current_buffer_size; in png_push_save_buffer()
[all …]
Dpngstruct.h334 png_size_t current_buffer_size; /* amount of data now in current_buffer */ member
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.cc233 int current_buffer_size; in ReadRaw() local
234 while ((current_buffer_size = BufferSize()) < size) { in ReadRaw()
236 memcpy(buffer, buffer_, current_buffer_size); in ReadRaw()
237 buffer = reinterpret_cast<uint8*>(buffer) + current_buffer_size; in ReadRaw()
238 size -= current_buffer_size; in ReadRaw()
239 Advance(current_buffer_size); in ReadRaw()
267 int current_buffer_size; in ReadStringFallback() local
268 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()
270 if (current_buffer_size != 0) { in ReadStringFallback()
274 current_buffer_size); in ReadStringFallback()
[all …]