Searched refs:WriteAll (Results 1 - 14 of 14) sorted by relevance

/external/bsdiff/
H A Dbuffer_file.cc36 if (!WriteAll(file_, buffer_.data(), buffer_.size()))
H A Dbspatch.cc76 if (!WriteAll(file, buf, bytes_to_output)) {
77 PLOG(ERROR) << "WriteAll() failed.";
101 bool WriteAll(const std::unique_ptr<FileInterface>& file, function in namespace:bsdiff
323 if (!WriteAll(new_file, new_buf.data(), read_bytes)) {
/external/bsdiff/include/bsdiff/
H A Dbspatch.h47 bool WriteAll(const std::unique_ptr<FileInterface>& file,
/external/webrtc/webrtc/base/
H A Dlogsinks.cc43 stream_->WriteAll(message.c_str(), message.size(), nullptr, nullptr);
H A Doptionsfile.cc78 res = stream.WriteAll(i->first.c_str(), i->first.length(), &written,
83 res = stream.WriteAll("=", 1, &written, &error);
87 res = stream.WriteAll(i->second.c_str(), i->second.length(), &written,
92 res = stream.WriteAll("\n", 1, &written, &error);
H A Dfilerotatingstream_unittest.cc50 EXPECT_EQ(SR_SUCCESS, stream_->WriteAll(data, data_len, nullptr, nullptr));
209 EXPECT_EQ(SR_SUCCESS, stream_->WriteAll(data, data_len, nullptr, nullptr));
273 stream_->WriteAll(buffer.get(), buffer_size, nullptr, nullptr));
300 stream_->WriteAll(buffer.get(), buffer_size, nullptr, nullptr));
H A Dlogging_unittest.cc32 static_cast<Base*>(this)->WriteAll(
H A Dstream.cc44 StreamResult StreamInterface::WriteAll(const void* data, size_t data_len, function in class:rtc::StreamInterface
275 tap_result_ = tap_->WriteAll(buffer, *read, NULL, &tap_error_);
289 tap_result_ = tap_->WriteAll(data, *written, NULL, &tap_error_);
H A Dstream.h205 // WriteAll is a helper function which repeatedly calls Write until all the
210 StreamResult WriteAll(const void* data, size_t data_len,
H A Dhttpclient.cc211 StreamResult result = output->WriteAll(formatted_header.data(),
218 if (output && (SR_SUCCESS != output->WriteAll("\r\n", 2, NULL, NULL))) {
/external/webrtc/talk/media/base/
H A Drtpdump_unittest.cc94 stream.WriteAll(new_line, strlen(new_line), NULL, NULL));
103 stream.WriteAll(new_line2, strlen(new_line2), NULL, NULL));
112 stream.WriteAll(new_line3, strlen(new_line3), NULL, NULL));
H A Drtpdump.cc417 stream_->WriteAll(data, data_len, NULL, NULL);
/external/boringssl/src/ssl/test/
H A Dbssl_shim.cc1496 // WriteAll writes |in_len| bytes from |in| to |ssl|, resolving any asynchronous
1498 static int WriteAll(SSL *ssl, const void *in_, size_t in_len) { function
2385 if (WriteAll(ssl, result.data(), result.size()) < 0) {
2401 if (WriteAll(ssl, result.data(), result.size()) < 0) {
2421 if (WriteAll(ssl, tls_unique, tls_unique_len) < 0) {
2451 if (WriteAll(ssl, buf.get(), len) < 0) {
2474 if (WriteAll(ssl, kInitialWrite, strlen(kInitialWrite)) < 0) {
2528 if (WriteAll(ssl, kInitialWrite, strlen(kInitialWrite)) < 0) {
2537 if (WriteAll(ssl, buf.get(), n) < 0) {
/external/webrtc/webrtc/p2p/base/
H A Ddtlstransportchannel.cc373 return (dtls_->WriteAll(data, size, NULL, NULL) == rtc::SR_SUCCESS)

Completed in 247 milliseconds