Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dcoded_stream.cc200 int current_buffer_size; in ReadRaw() local
201 while ((current_buffer_size = BufferSize()) < size) { in ReadRaw()
203 memcpy(buffer, buffer_, current_buffer_size); in ReadRaw()
204 buffer = reinterpret_cast<uint8*>(buffer) + current_buffer_size; in ReadRaw()
205 size -= current_buffer_size; in ReadRaw()
206 Advance(current_buffer_size); in ReadRaw()
226 int current_buffer_size; in ReadStringFallback() local
227 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()
229 if (current_buffer_size != 0) { in ReadStringFallback()
233 current_buffer_size); in ReadStringFallback()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.cc224 int current_buffer_size; in ReadRaw() local
225 while ((current_buffer_size = BufferSize()) < size) { in ReadRaw()
227 memcpy(buffer, buffer_, current_buffer_size); in ReadRaw()
228 buffer = reinterpret_cast<uint8*>(buffer) + current_buffer_size; in ReadRaw()
229 size -= current_buffer_size; in ReadRaw()
230 Advance(current_buffer_size); in ReadRaw()
250 int current_buffer_size; in ReadStringFallback() local
251 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()
253 if (current_buffer_size != 0) { in ReadStringFallback()
257 current_buffer_size); in ReadStringFallback()
[all …]
/external/qemu/distrib/libpng-1.2.19/
Dpngpread.c532 if (png_ptr->skip_length && png_ptr->current_buffer_size) in png_push_crc_finish()
536 if (png_ptr->skip_length < (png_uint_32)png_ptr->current_buffer_size) in png_push_crc_finish()
539 save_size = png_ptr->current_buffer_size; in png_push_crc_finish()
545 png_ptr->current_buffer_size -= save_size; in png_push_crc_finish()
584 if (length && png_ptr->current_buffer_size) in png_push_fill_buffer()
588 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
591 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
595 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
619 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
626 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
[all …]
Dpng.h1268 png_size_t current_buffer_size; /* amount of data now in current_buffer */ member
/external/libpng/
Dpngpread.c601 if (png_ptr->skip_length && png_ptr->current_buffer_size) in png_push_crc_finish()
605 if (png_ptr->skip_length < (png_uint_32)png_ptr->current_buffer_size) in png_push_crc_finish()
608 save_size = png_ptr->current_buffer_size; in png_push_crc_finish()
614 png_ptr->current_buffer_size -= save_size; in png_push_crc_finish()
655 if (length && png_ptr->current_buffer_size) in png_push_fill_buffer()
659 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
663 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
667 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
691 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
698 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
[all …]
Dpng.h1454 png_size_t current_buffer_size PNG_DEPSTRUCT; /* amount of data now in current_buffer */
/external/chromium_org/third_party/libpng/
Dpngpread.c601 if (png_ptr->skip_length && png_ptr->current_buffer_size) in png_push_crc_finish()
605 if (png_ptr->skip_length < (png_uint_32)png_ptr->current_buffer_size) in png_push_crc_finish()
608 save_size = png_ptr->current_buffer_size; in png_push_crc_finish()
614 png_ptr->current_buffer_size -= save_size; in png_push_crc_finish()
655 if (length && png_ptr->current_buffer_size) in png_push_fill_buffer()
659 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
663 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
667 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
691 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
698 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
[all …]
Dpng.h1401 png_size_t current_buffer_size PNG_DEPSTRUCT; /* amount of data now in current_buffer */