Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dcoded_stream_inl.h71 int current_buffer_size; in InternalReadRawInline() local
72 while ((current_buffer_size = BufferSize()) < size) { in InternalReadRawInline()
74 memcpy(buffer, buffer_, current_buffer_size); in InternalReadRawInline()
75 buffer = reinterpret_cast<uint8*>(buffer) + current_buffer_size; in InternalReadRawInline()
76 size -= current_buffer_size; in InternalReadRawInline()
77 Advance(current_buffer_size); in InternalReadRawInline()
Dcoded_stream.cc281 int current_buffer_size; in ReadStringFallback() local
282 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()
284 if (current_buffer_size != 0) { in ReadStringFallback()
288 current_buffer_size); in ReadStringFallback()
290 size -= current_buffer_size; in ReadStringFallback()
291 Advance(current_buffer_size); in ReadStringFallback()
/external/libpng/
Dpngpread.c445 if (length != 0 && png_ptr->current_buffer_size != 0) in png_push_fill_buffer()
449 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
453 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
457 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
481 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
488 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
493 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
511 if (png_ptr->current_buffer_size) in png_push_save_buffer()
514 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()
515 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/pdfium/third_party/libpng16/
Dpngpread.c445 if (length != 0 && png_ptr->current_buffer_size != 0) in png_push_fill_buffer()
449 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
453 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
457 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
481 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
488 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
493 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
508 if (png_ptr->current_buffer_size) in png_push_save_buffer()
511 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()
512 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/skia/third_party/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()
517 if (png_ptr->current_buffer_size) in png_push_save_buffer()
520 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()
521 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/syslinux/com32/lib/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 …]
/external/syslinux/com32/include/
Dpng.h1396 png_size_t current_buffer_size PNG_DEPSTRUCT; /* amount of data now in current_buffer */