Searched refs:size_to_write (Results 1 – 13 of 13) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | stream.cc | 103 size_t size_to_write, in WriteAsync() argument 115 return WriteAsyncImpl(buffer, size_to_write, success_callback, error_callback, in WriteAsync() 120 size_t size_to_write, in WriteAllAsync() argument 133 size_to_write, success_callback, error_callback); in WriteAllAsync() 134 return WriteAsyncImpl(buffer, size_to_write, callback, error_callback, error, in WriteAllAsync() 139 size_t size_to_write, in WriteBlocking() argument 143 if (!WriteNonBlocking(buffer, size_to_write, size_written, error)) in WriteBlocking() 146 if (*size_written > 0 || size_to_write == 0) in WriteBlocking() 158 size_t size_to_write, in WriteAllBlocking() argument 160 while (size_to_write > 0) { in WriteAllBlocking() [all …]
|
D | stream.h | 291 size_t size_to_write, 303 size_t size_to_write, 317 size_t size_to_write, 330 size_t size_to_write, 338 size_t size_to_write, 448 size_t size_to_write, 481 size_t size_to_write,
|
D | memory_containers.cc | 58 size_t size_to_write, in Write() argument 62 if (size_to_write) { in Write() 63 size_t new_size = offset + size_to_write; in Write() 69 CopyMemoryBlock(ptr, buffer, size_to_write); in Write() 71 *size_written = size_to_write; in Write()
|
D | fake_stream.cc | 263 size_t size_to_write, in WriteNonBlocking() argument 293 size_to_write = std::min(size_to_write, in WriteNonBlocking() 297 byte_ptr, byte_ptr + size_to_write); in WriteNonBlocking() 314 *size_written = size_to_write; in WriteNonBlocking()
|
D | memory_containers.h | 49 size_t size_to_write, 79 size_t size_to_write, 109 size_t size_to_write,
|
D | tls_stream.cc | 90 size_t size_to_write, 182 size_t size_to_write, in WriteNonBlocking() argument 186 int size_int = static_cast<int>(std::min(size_to_write, max_int)); in WriteNonBlocking() 501 size_t size_to_write, in WriteNonBlocking() argument 506 return impl_->WriteNonBlocking(buffer, size_to_write, size_written, error); in WriteNonBlocking()
|
D | memory_stream.cc | 158 size_t size_to_write, in WriteNonBlocking() argument 163 if (!container_->Write(buffer, size_to_write, stream_position_, size_written, in WriteNonBlocking()
|
D | tls_stream.h | 58 size_t size_to_write,
|
D | input_stream_set.h | 88 size_t size_to_write,
|
D | file_stream.h | 123 size_t size_to_write,
|
D | fake_stream.h | 103 size_t size_to_write,
|
D | memory_stream.h | 171 size_t size_to_write,
|
D | file_stream.cc | 471 size_t size_to_write, in WriteNonBlocking() argument 477 ssize_t written = fd_interface_->Write(buffer, size_to_write); in WriteNonBlocking()
|