Searched refs:current_buffer_size (Results 1 – 10 of 10) sorted by relevance
71 int current_buffer_size; in InternalReadRawInline() local72 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()
281 int current_buffer_size; in ReadStringFallback() local282 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()
445 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 …]
334 png_size_t current_buffer_size; /* amount of data now in current_buffer */ member
445 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 …]
443 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 …]
601 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 …]
1396 png_size_t current_buffer_size PNG_DEPSTRUCT; /* amount of data now in current_buffer */