Home
last modified time | relevance | path

Searched refs:size_to_write (Results 1 – 14 of 14) 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.cc264 size_t size_to_write, in WriteNonBlocking() argument
294 size_to_write = std::min(size_to_write, in WriteNonBlocking()
298 byte_ptr, byte_ptr + size_to_write); in WriteNonBlocking()
315 *size_written = size_to_write; in WriteNonBlocking()
Dmemory_containers.h50 size_t size_to_write,
80 size_t size_to_write,
110 size_t size_to_write,
Dtls_stream.cc96 size_t size_to_write,
188 size_t size_to_write, in WriteNonBlocking() argument
192 int size_int = static_cast<int>(std::min(size_to_write, max_int)); in WriteNonBlocking()
507 size_t size_to_write, in WriteNonBlocking() argument
512 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.h125 size_t size_to_write,
Dfake_stream.h103 size_t size_to_write,
Dmemory_stream.h173 size_t size_to_write,
Dfile_stream.cc461 size_t size_to_write, in WriteNonBlocking() argument
467 ssize_t written = fd_interface_->Write(buffer, size_to_write); in WriteNonBlocking()
/external/icing/icing/file/
Dfile-backed-vector.h610 int64_t size_to_write = page_size - (current_file_size % page_size); in GrowIfNecessary() local
614 size_to_write)) { in GrowIfNecessary()
618 current_file_size += size_to_write; in GrowIfNecessary()
619 size_to_write = page_size - (current_file_size % page_size); in GrowIfNecessary()