/external/libbrillo/brillo/streams/ |
D | stream.cc | 28 size_t size_to_read, in ReadAsync() argument 42 return ReadAsyncImpl(buffer, size_to_read, callback, error_callback, error, in ReadAsync() 47 size_t size_to_read, in ReadAllAsync() argument 60 size_to_read, success_callback, error_callback); in ReadAllAsync() 61 return ReadAsyncImpl(buffer, size_to_read, callback, error_callback, error, in ReadAllAsync() 66 size_t size_to_read, in ReadBlocking() argument 71 if (!ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadBlocking() 86 size_t size_to_read, in ReadAllBlocking() argument 88 while (size_to_read > 0) { in ReadAllBlocking() 90 if (!ReadBlocking(buffer, size_to_read, &size_read, error)) in ReadAllBlocking() [all …]
|
D | stream.h | 205 size_t size_to_read, 217 size_t size_to_read, 236 size_t size_to_read, 256 size_t size_to_read, 264 size_t size_to_read, 414 size_t size_to_read, 433 size_t size_to_read, 474 size_t size_to_read,
|
D | memory_containers.cc | 34 size_t size_to_read, in Read() argument 41 if (size_to_read >= remaining) { in Read() 42 size_to_read = remaining; in Read() 48 CopyMemoryBlock(buffer, src_buffer, size_to_read); in Read() 50 size_to_read = 0; in Read() 53 *size_read = size_to_read; in Read()
|
D | fake_stream.cc | 198 size_t size_to_read, in ReadNonBlocking() argument 227 size_to_read = std::min(size_to_read, input_buffer_.size() - input_ptr_); in ReadNonBlocking() 228 std::memcpy(buffer, input_buffer_.data() + input_ptr_, size_to_read); in ReadNonBlocking() 229 input_ptr_ += size_to_read; in ReadNonBlocking() 230 *size_read = size_to_read; in ReadNonBlocking()
|
D | stream_utils.cc | 69 size_t size_to_read = in PerformRead() local 71 if (size_to_read == 0) in PerformRead() 74 state->buffer.data(), size_to_read, base::Bind(PerformWrite, state), in PerformRead()
|
D | memory_stream.cc | 141 size_t size_to_read, in ReadNonBlocking() argument 148 if (!container_->Read(buffer, size_to_read, stream_position_, &read, error)) in ReadNonBlocking() 153 *end_of_stream = (read == 0) && (size_to_read != 0); in ReadNonBlocking()
|
D | tls_stream.cc | 84 size_t size_to_read, 144 size_t size_to_read, in ReadNonBlocking() argument 149 int size_int = static_cast<int>(std::min(size_to_read, max_int)); in ReadNonBlocking() 490 size_t size_to_read, in ReadNonBlocking() argument 496 return impl_->ReadNonBlocking(buffer, size_to_read, size_read, end_of_stream, in ReadNonBlocking()
|
D | input_stream_set.cc | 110 size_t size_to_read, in ReadNonBlocking() argument 120 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadNonBlocking()
|
D | memory_containers.h | 38 size_t size_to_read, 73 size_t size_to_read,
|
D | file_stream.cc | 443 size_t size_to_read, in ReadNonBlocking() argument 450 ssize_t read = fd_interface_->Read(buffer, size_to_read); in ReadNonBlocking() 465 *end_of_stream = (read == 0 && size_to_read != 0); in ReadNonBlocking()
|
D | tls_stream.h | 53 size_t size_to_read,
|
D | input_stream_set.h | 81 size_t size_to_read,
|
D | file_stream.h | 116 size_t size_to_read,
|
D | fake_stream.h | 98 size_t size_to_read,
|
D | memory_stream.h | 164 size_t size_to_read,
|
D | fake_stream_unittest.cc | 38 bool ReadString(size_t size_to_read, std::string* out_buffer, bool* eos) { in ReadString() argument 40 data.resize(size_to_read); in ReadString()
|
/external/pdfium/third_party/libtiff/ |
D | 0025-upstream-OOM-gtTileContig.patch | 319 + tmsize_t size_to_read) 326 + return TIFFReadEncodedStrip(tif, strip, *buf, size_to_read); 333 + if ((size_to_read!=(tmsize_t)(-1))&&(size_to_read<this_stripsize)) 334 + this_stripsize=size_to_read; 389 + tmsize_t size_to_read) 397 + return TIFFReadEncodedTile(tif, tile, *buf, size_to_read); 420 + if (size_to_read == (tmsize_t)(-1)) 421 + size_to_read = tilesize; 422 + else if (size_to_read > tilesize) 423 + size_to_read = tilesize; [all …]
|
D | tif_read.c | 535 tmsize_t size_to_read) in _TIFFReadEncodedStripAndAllocBuffer() argument 542 return TIFFReadEncodedStrip(tif, strip, *buf, size_to_read); in _TIFFReadEncodedStripAndAllocBuffer() 549 if ((size_to_read!=(tmsize_t)(-1))&&(size_to_read<this_stripsize)) in _TIFFReadEncodedStripAndAllocBuffer() 550 this_stripsize=size_to_read; in _TIFFReadEncodedStripAndAllocBuffer() 1027 tmsize_t size_to_read) in _TIFFReadEncodedTileAndAllocBuffer() argument 1035 return TIFFReadEncodedTile(tif, tile, *buf, size_to_read); in _TIFFReadEncodedTileAndAllocBuffer() 1058 if (size_to_read == (tmsize_t)(-1)) in _TIFFReadEncodedTileAndAllocBuffer() 1059 size_to_read = tilesize; in _TIFFReadEncodedTileAndAllocBuffer() 1060 else if (size_to_read > tilesize) in _TIFFReadEncodedTileAndAllocBuffer() 1061 size_to_read = tilesize; in _TIFFReadEncodedTileAndAllocBuffer() [all …]
|
D | tiffiop.h | 370 tmsize_t size_to_read); 374 tmsize_t size_to_read);
|
/external/v4l2_codec2/vda/ |
D | vp9_bool_decoder.cc | 154 int size_to_read = in ConsumePaddingBits() local 156 reader_->ReadBits(size_to_read, &data); in ConsumePaddingBits()
|
/external/google-breakpad/src/client/mac/handler/ |
D | dynamic_images.cc | 165 mach_vm_size_t size_to_read = in ReadTaskString() local 169 if (ReadTaskMemory(target_task, address, (size_t)size_to_read, bytes) != in ReadTaskString()
|
/external/zlib/src/contrib/minizip/ |
D | unzip.c | 1961 ZPOS64_T size_to_read; in unzGetLocalExtrafield() local 1971 size_to_read = (pfile_in_zip_read_info->size_local_extrafield - in unzGetLocalExtrafield() 1975 return (int)size_to_read; in unzGetLocalExtrafield() 1977 if (len>size_to_read) in unzGetLocalExtrafield() 1978 read_now = (uInt)size_to_read; in unzGetLocalExtrafield()
|