Home
last modified time | relevance | path

Searched refs:size_to_write (Results 1 – 13 of 13) sorted by relevance

/external/libbrillo/brillo/streams/
Dstream.cc103 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 …]
Dstream.h291 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,
Dmemory_containers.cc58 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()
Dfake_stream.cc263 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()
Dmemory_containers.h49 size_t size_to_write,
79 size_t size_to_write,
109 size_t size_to_write,
Dtls_stream.cc90 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()
Dmemory_stream.cc158 size_t size_to_write, in WriteNonBlocking() argument
163 if (!container_->Write(buffer, size_to_write, stream_position_, size_written, in WriteNonBlocking()
Dtls_stream.h58 size_t size_to_write,
Dinput_stream_set.h88 size_t size_to_write,
Dfile_stream.h123 size_t size_to_write,
Dfake_stream.h103 size_t size_to_write,
Dmemory_stream.h171 size_t size_to_write,
Dfile_stream.cc471 size_t size_to_write, in WriteNonBlocking() argument
477 ssize_t written = fd_interface_->Write(buffer, size_to_write); in WriteNonBlocking()