/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 | 264 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()
|
D | memory_containers.h | 50 size_t size_to_write, 80 size_t size_to_write, 110 size_t size_to_write,
|
D | tls_stream.cc | 96 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()
|
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 | 125 size_t size_to_write,
|
D | fake_stream.h | 103 size_t size_to_write,
|
D | memory_stream.h | 173 size_t size_to_write,
|
D | file_stream.cc | 461 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/ |
D | file-backed-vector.h | 610 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()
|