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_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.c446 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 …]
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/tensorflow/tensorflow/core/kernels/data/
Dprefetch_autotuner.cc36 void PrefetchAutotuner::RecordConsumption(size_t current_buffer_size) { in RecordConsumption() argument
41 if (current_buffer_size == buffer_limit_) { in RecordConsumption()
46 if (current_buffer_size == 0) { in RecordConsumption()
Dprefetch_autotuner.h48 void RecordConsumption(size_t current_buffer_size);