/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 | 199 size_t size_to_read, in ReadNonBlocking() argument 228 size_to_read = std::min(size_to_read, input_buffer_.size() - input_ptr_); in ReadNonBlocking() 229 std::memcpy(buffer, input_buffer_.data() + input_ptr_, size_to_read); in ReadNonBlocking() 230 input_ptr_ += size_to_read; in ReadNonBlocking() 231 *size_read = size_to_read; in ReadNonBlocking()
|
D | stream_utils.cc | 73 size_t size_to_read = in PerformRead() local 75 if (size_to_read == 0) in PerformRead() 78 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 | 90 size_t size_to_read, 150 size_t size_to_read, in ReadNonBlocking() argument 155 int size_int = static_cast<int>(std::min(size_to_read, max_int)); in ReadNonBlocking() 496 size_t size_to_read, in ReadNonBlocking() argument 502 return impl_->ReadNonBlocking(buffer, size_to_read, size_read, end_of_stream, in ReadNonBlocking()
|
D | input_stream_set.cc | 112 size_t size_to_read, in ReadNonBlocking() argument 122 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadNonBlocking()
|
D | memory_containers.h | 39 size_t size_to_read, 74 size_t size_to_read,
|
D | tls_stream.h | 53 size_t size_to_read,
|
D | file_stream.cc | 433 size_t size_to_read, in ReadNonBlocking() argument 440 ssize_t read = fd_interface_->Read(buffer, size_to_read); in ReadNonBlocking() 455 *end_of_stream = (read == 0 && size_to_read != 0); in ReadNonBlocking()
|
D | input_stream_set.h | 81 size_t size_to_read,
|
D | file_stream.h | 118 size_t size_to_read,
|
D | fake_stream.h | 98 size_t size_to_read,
|
D | memory_stream.h | 166 size_t size_to_read,
|
D | fake_stream_test.cc | 39 bool ReadString(size_t size_to_read, std::string* out_buffer, bool* eos) { in ReadString() argument 41 data.resize(size_to_read); in ReadString()
|
/external/cpu_features/src/ |
D | stack_line_reader.c | 43 const size_t size_to_read = STACK_LINE_READER_BUFFER_SIZE - reader->view.size; in LoadMore() local 44 const int read = CpuFeatures_ReadFile(reader->fd, ptr, size_to_read); in LoadMore() 46 assert(read <= (int)size_to_read); in LoadMore()
|
/external/pdfium/third_party/libtiff/ |
D | tif_read.c | 574 tmsize_t size_to_read) in _TIFFReadEncodedStripAndAllocBuffer() argument 576 assert(size_to_read > 0); in _TIFFReadEncodedStripAndAllocBuffer() 583 return TIFFReadEncodedStrip(tif, strip, *buf, size_to_read); in _TIFFReadEncodedStripAndAllocBuffer() 590 if ((size_to_read!=(tmsize_t)(-1))&&(size_to_read<this_stripsize)) in _TIFFReadEncodedStripAndAllocBuffer() 591 this_stripsize=size_to_read; in _TIFFReadEncodedStripAndAllocBuffer() 1052 tmsize_t size_to_read) in _TIFFReadEncodedTileAndAllocBuffer() argument 1060 return TIFFReadEncodedTile(tif, tile, *buf, size_to_read); in _TIFFReadEncodedTileAndAllocBuffer() 1083 if (size_to_read == (tmsize_t)(-1)) in _TIFFReadEncodedTileAndAllocBuffer() 1084 size_to_read = tilesize; in _TIFFReadEncodedTileAndAllocBuffer() 1085 else if (size_to_read > tilesize) in _TIFFReadEncodedTileAndAllocBuffer() [all …]
|
D | 0031-safe_size_ingtStripContig.patch | 21 tmsize_t size_to_read) 23 + assert(size_to_read > 0);
|
D | tiffiop.h | 399 tmsize_t size_to_read); 403 tmsize_t size_to_read);
|
/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/llvm-project/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/ |
D | DynamicLoaderDarwinKernel.cpp | 662 size_t size_to_read = 512; in ReadMemoryModule() local 665 size_to_read = sizeof(llvm::MachO::mach_header) + mh.sizeofcmds; in ReadMemoryModule() 668 size_to_read = sizeof(llvm::MachO::mach_header_64) + mh.sizeofcmds; in ReadMemoryModule() 672 process->ReadModuleFromMemory(file_spec, m_load_address, size_to_read); in ReadMemoryModule()
|
/external/zlib/contrib/minizip/ |
D | unzip.c | 1953 ZPOS64_T size_to_read; in unzGetLocalExtrafield() local 1963 size_to_read = (pfile_in_zip_read_info->size_local_extrafield - in unzGetLocalExtrafield() 1967 return (int)size_to_read; in unzGetLocalExtrafield() 1969 if (len>size_to_read) in unzGetLocalExtrafield() 1970 read_now = (uInt)size_to_read; in unzGetLocalExtrafield()
|
/external/rust/crates/libz-sys/src/zlib/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()
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | Module.h | 610 size_t size_to_read = 512);
|