Home
last modified time | relevance | path

Searched refs:size_written (Results 1 – 15 of 15) sorted by relevance

/external/libbrillo/brillo/streams/
Dstream.cc140 size_t* size_written, 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()
161 size_t size_written = 0; in WriteAllBlocking() local
162 if (!WriteBlocking(buffer, size_to_write, &size_written, error)) in WriteAllBlocking()
165 if (size_written == 0) { in WriteAllBlocking()
171 size_to_write -= size_written; in WriteAllBlocking()
172 buffer = AdvancePointer(buffer, size_written); in WriteAllBlocking()
298 size_t size_written) { in OnWriteAsyncDone() argument
300 success_callback.Run(size_written); in OnWriteAsyncDone()
[all …]
Dstream.h318 size_t* size_written,
331 size_t* size_written,
460 size_t size_written);
484 size_t size_written);
Dmemory_containers.cc60 size_t* size_written, in Write() argument
70 if (size_written) in Write()
71 *size_written = size_to_write; in Write()
Dtls_stream.cc91 size_t* size_written,
183 size_t* size_written, in WriteNonBlocking() argument
189 *size_written = static_cast<size_t>(ret); in WriteNonBlocking()
203 *size_written = 0; in WriteNonBlocking()
502 size_t* size_written, in WriteNonBlocking() argument
506 return impl_->WriteNonBlocking(buffer, size_to_write, size_written, error); in WriteNonBlocking()
Dmemory_stream.cc159 size_t* size_written, in WriteNonBlocking() argument
163 if (!container_->Write(buffer, size_to_write, stream_position_, size_written, in WriteNonBlocking()
167 stream_position_ += *size_written; in WriteNonBlocking()
Dmemory_containers.h51 size_t* size_written,
81 size_t* size_written,
111 size_t* size_written,
Dfake_stream.cc264 size_t* size_written, in WriteNonBlocking() argument
274 *size_written = 0; in WriteNonBlocking()
314 *size_written = size_to_write; in WriteNonBlocking()
Dfile_stream.cc472 size_t* size_written, in WriteNonBlocking() argument
482 *size_written = 0; in WriteNonBlocking()
489 *size_written = written; in WriteNonBlocking()
Dtls_stream.h59 size_t* size_written,
Dinput_stream_set.h89 size_t* size_written,
Dfile_stream.h124 size_t* size_written,
Dfake_stream.h104 size_t* size_written,
Dmemory_stream.h172 size_t* size_written,
/external/libbrillo/brillo/http/
Dhttp_connection_curl_unittest.cc108 size_t size_written = callback( in WriteString() local
110 if (size_written == CURL_WRITEFUNC_PAUSE) in WriteString()
112 CHECK(size_written <= size_remaining) << "Unexpected size returned"; in WriteString()
113 size_remaining -= size_written; in WriteString()
114 pos += size_written; in WriteString()
/external/google-breakpad/src/processor/
Dmodule_serializer.cc120 unsigned int size_written = in Serialize() local
122 if (size_to_alloc != size_written) { in Serialize()
124 << size_to_alloc << " vs " << size_written; in Serialize()