Home
last modified time | relevance | path

Searched refs:WriteAll (Results 1 – 25 of 33) sorted by relevance

12

/external/webrtc/webrtc/base/
Doptionsfile.cc78 res = stream.WriteAll(i->first.c_str(), i->first.length(), &written, in Save()
83 res = stream.WriteAll("=", 1, &written, &error); in Save()
87 res = stream.WriteAll(i->second.c_str(), i->second.length(), &written, in Save()
92 res = stream.WriteAll("\n", 1, &written, &error); in Save()
Dfilerotatingstream_unittest.cc50 EXPECT_EQ(SR_SUCCESS, stream_->WriteAll(data, data_len, nullptr, nullptr)); in WriteAndFlush()
209 EXPECT_EQ(SR_SUCCESS, stream_->WriteAll(data, data_len, nullptr, nullptr)); in WriteAndFlush()
273 stream_->WriteAll(buffer.get(), buffer_size, nullptr, nullptr)); in TEST_F()
300 stream_->WriteAll(buffer.get(), buffer_size, nullptr, nullptr)); in TEST_F()
Dlogsinks.cc43 stream_->WriteAll(message.c_str(), message.size(), nullptr, nullptr); in OnLogMessage()
Dlogging_unittest.cc32 static_cast<Base*>(this)->WriteAll( in OnLogMessage()
Dstream.cc44 StreamResult StreamInterface::WriteAll(const void* data, size_t data_len, in WriteAll() function in rtc::StreamInterface
275 tap_result_ = tap_->WriteAll(buffer, *read, NULL, &tap_error_); in Read()
289 tap_result_ = tap_->WriteAll(data, *written, NULL, &tap_error_); in Write()
Dhttpclient.cc211 StreamResult result = output->WriteAll(formatted_header.data(), in HttpWriteCacheHeaders()
218 if (output && (SR_SUCCESS != output->WriteAll("\r\n", 2, NULL, NULL))) { in HttpWriteCacheHeaders()
/external/perfetto/src/base/
Ddebug_crash_stack_trace.cc69 perfetto::base::WriteAll(STDERR_FILENO, str, sizeof(str)); in Print()
77 perfetto::base::WriteAll(STDERR_FILENO, &c, 1); in PrintHex()
201 perfetto::base::WriteAll(STDERR_FILENO, sym.sym_name, in SignalHandler()
209 perfetto::base::WriteAll(STDERR_FILENO, sym.file_name, in SignalHandler()
Dmetatrace.cc59 ignore_result(WriteAll(fd, json, static_cast<size_t>(len))); in WriteEvent()
Dfile_utils.cc74 ssize_t WriteAll(int fd, const void* buf, size_t count) { in WriteAll() function
Dutils_unittest.cc86 ignore_result(WriteAll(*pipe.wr, "foo\0", 4)); in TEST()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc234 static int WriteAll(SSL *ssl, const void *in_, size_t in_len) { in WriteAll() function
818 if (WriteAll(ssl, result.data(), result.size()) < 0) { in DoExchange()
834 if (WriteAll(ssl, result.data(), result.size()) < 0) { in DoExchange()
849 if (WriteAll(ssl, &secret_len, sizeof(secret_len)) < 0 || in DoExchange()
850 WriteAll(ssl, read_secret.data(), read_secret.size()) < 0 || in DoExchange()
851 WriteAll(ssl, write_secret.data(), write_secret.size()) < 0) { in DoExchange()
871 if (WriteAll(ssl, tls_unique, tls_unique_len) < 0) { in DoExchange()
901 if (WriteAll(ssl, buf.get(), len) < 0) { in DoExchange()
924 if (WriteAll(ssl, kInitialWrite, strlen(kInitialWrite)) < 0) { in DoExchange()
978 if (WriteAll(ssl, kInitialWrite, strlen(kInitialWrite)) < 0) { in DoExchange()
[all …]
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer_fuzzer.cc70 PERFETTO_CHECK(base::WriteAll(*fd, &header, sizeof(header)) != -1); in FuzzRingBuffer()
72 PERFETTO_CHECK(base::WriteAll(*fd, payload, payload_size) != -1); in FuzzRingBuffer()
Dshared_ring_buffer_write_fuzzer.cc75 PERFETTO_CHECK(base::WriteAll(*fd, &metadata_page, sizeof(metadata_page)) != in FuzzRingBufferWrite()
78 PERFETTO_CHECK(base::WriteAll(*fd, payload, payload_size) != -1); in FuzzRingBufferWrite()
/external/bsdiff/
Dbspatch.cc76 if (!WriteAll(file, buf, bytes_to_output)) { in ReadStreamAndWriteAll()
101 bool WriteAll(const std::unique_ptr<FileInterface>& file, in WriteAll() function
323 if (!WriteAll(new_file, new_buf.data(), read_bytes)) { in bspatch()
Dbuffer_file.cc36 if (!WriteAll(file_, buffer_.data(), buffer_.size())) in Close()
/external/webrtc/talk/media/base/
Drtpdump_unittest.cc94 stream.WriteAll(new_line, strlen(new_line), NULL, NULL)); in TEST()
103 stream.WriteAll(new_line2, strlen(new_line2), NULL, NULL)); in TEST()
112 stream.WriteAll(new_line3, strlen(new_line3), NULL, NULL)); in TEST()
Drtpdump.cc417 stream_->WriteAll(data, data_len, NULL, NULL); in WriteToStream()
/external/perfetto/include/perfetto/base/
Dfile_utils.h40 ssize_t WriteAll(int fd, const void* buf, size_t count);
/external/bsdiff/include/bsdiff/
Dbspatch.h47 bool WriteAll(const std::unique_ptr<FileInterface>& file,
/external/perfetto/src/traced/probes/filesystem/
Dfs_mount_unittest.cc56 ASSERT_EQ(base::WriteAll(tmp_file.fd(), kMounts, sizeof(kMounts)), in TEST()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_procfs.cc49 base::ignore_result(base::WriteAll(FtraceProcfs::g_kmesg_fd, s, strlen(s))); in KernelLogWrite()
58 ssize_t written = base::WriteAll(fd.get(), str.c_str(), str.length()); in WriteFileInternal()
/external/perfetto/src/tracing/ipc/
Dposix_shared_memory_unittest.cc73 ASSERT_EQ(7, base::WriteAll(fd_num, "foobar", 7)); in TEST()
/external/perfetto/src/perfetto_cmd/
Drate_limiter.cc214 ssize_t written = base::WriteAll(out_fd.get(), &buf, size); in SaveState()
/external/perfetto/src/ipc/
Dhost_impl_unittest.cc334 ASSERT_EQ(static_cast<size_t>(base::WriteAll(tx_file.fd(), kFileContent, in TEST_F()
376 ASSERT_EQ(static_cast<size_t>(base::WriteAll(tx_file.fd(), kFileContent, in TEST_F()
Dclient_impl_unittest.cc353 ASSERT_EQ(static_cast<size_t>(base::WriteAll(tx_file.fd(), kFileContent, in TEST_F()
399 ASSERT_EQ(static_cast<size_t>(base::WriteAll(tx_file.fd(), kFileContent, in TEST_F()

12