Searched refs:current_buffer_size (Results 1 – 8 of 8) sorted by relevance
200 int current_buffer_size; in ReadRaw() local201 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() local227 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()229 if (current_buffer_size != 0) { in ReadStringFallback()233 current_buffer_size); in ReadStringFallback()[all …]
224 int current_buffer_size; in ReadRaw() local225 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() local251 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()253 if (current_buffer_size != 0) { in ReadStringFallback()257 current_buffer_size); in ReadStringFallback()[all …]
532 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 …]
1268 png_size_t current_buffer_size; /* amount of data now in current_buffer */ member
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 …]
1454 png_size_t current_buffer_size PNG_DEPSTRUCT; /* amount of data now in current_buffer */
1401 png_size_t current_buffer_size PNG_DEPSTRUCT; /* amount of data now in current_buffer */