Searched refs:current_buffer_size (Results 1 – 8 of 8) 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()
446 if (length != 0 && png_ptr->current_buffer_size != 0) in png_push_fill_buffer()450 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()454 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()458 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()482 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()489 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()494 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()512 if (png_ptr->current_buffer_size) in png_push_save_buffer()515 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()516 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 …]
36 void PrefetchAutotuner::RecordConsumption(size_t current_buffer_size) { in RecordConsumption() argument41 if (current_buffer_size == buffer_limit_) { in RecordConsumption()46 if (current_buffer_size == 0) { in RecordConsumption()
48 void RecordConsumption(size_t current_buffer_size);