HomeSort by relevance Sort by last modified time
    Searched refs:WriteFully (Results 1 - 25 of 74) sorted by null

1 2 3

  /art/compiler/linker/
file_output_stream.cc 28 bool FileOutputStream::WriteFully(const void* buffer, size_t byte_count) {
29 return file_->WriteFully(buffer, byte_count);
buffered_output_stream.cc 32 bool BufferedOutputStream::WriteFully(const void* buffer, size_t byte_count) {
37 return out_->WriteFully(buffer, byte_count);
57 success = out_->WriteFully(&buffer_[0], used_);
file_output_stream.h 32 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE;
buffered_output_stream.h 34 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE;
output_stream.h 44 virtual bool WriteFully(const void* buffer, size_t byte_count) = 0;
51 * An OutputStream may delay reporting errors from WriteFully() or
error_delaying_output_stream.h 37 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE {
39 if (!output_->WriteFully(buffer, byte_count)) {
relative_patcher.cc 129 if (UNLIKELY(!out->WriteFully(kPadding, aligned_code_delta))) {
137 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) {
145 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) {
output_stream_test.cc 44 EXPECT_TRUE(output_stream_->WriteFully(buf, 2));
48 EXPECT_TRUE(output_stream_->WriteFully(buf, 4));
50 EXPECT_TRUE(output_stream_->WriteFully(buf, 6));
108 bool WriteFully(const void* buffer ATTRIBUTE_UNUSED,
vector_output_stream.h 34 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE {
relative_patcher_test.h 133 out_.WriteFully(dummy_trampoline, kTrampolineSize);
145 out_.WriteFully(kPadding, alignment_size);
148 out_.WriteFully(dummy_header, sizeof(OatQuickMethodHeader));
185 out_.WriteFully(&code[0], code.size());
  /system/core/qemu_pipe/
qemu_pipe.cpp 28 using android::base::WriteFully;
53 if (WriteFully(fd, pipeName, pipeNameLen + 1U)) {
61 if (WriteFully(fd, pipe_prefix, strlen(pipe_prefix)) &&
62 WriteFully(fd, pipeName, pipeNameLen + 1U)) {
74 if (!WriteFully(fd, header, 4)) {
78 if (!WriteFully(fd, buff, len)) {
  /device/generic/goldfish/include/
qemud.h 68 if (!WriteFully(fd, name, namelen)) {
98 if (!WriteFully(fd, header, 4)) {
103 if (!WriteFully(fd, msg, msglen)) {
qemu_pipe.h 45 static bool WriteFully(int fd, const void* data, size_t byte_count) {
104 if (!WriteFully(fd, buff, buffLen + 1)) {
  /device/generic/goldfish-opengl/system/OpenglSystemCommon/
qemu_pipe.h 33 static bool WriteFully(int fd, const void* data, size_t byte_count) {
92 if (!WriteFully(fd, buff, buffLen + 1)) {
  /device/google/dragon/crash_collector/
crash_dispatcher.cc 83 if (!android::base::WriteFully(pipe_fds[1], buf_head, sizeof(buf_head))) {
97 if (!android::base::WriteFully(pipe_fds[1], buf, rv)) {
coredump_writer.cc 83 if (fd_dest != -1 && !android::base::WriteFully(fd_dest, buf, rv))
187 if (!android::base::WriteFully(fd_dest, &elf_header, sizeof(elf_header))) {
196 !android::base::WriteFully(fd_dest, &program_header,
204 !android::base::WriteFully(fd_dest, note_buf.data(), note_buf.size())) {
383 return android::base::WriteFully(
422 !android::base::WriteFully(fd, buf, len)) {
  /art/runtime/base/unix_file/
fd_file_test.cc 150 ASSERT_TRUE(src.WriteFully(src_data, sizeof(src_data))); // Including the zero terminator.
213 EXPECT_TRUE(file.WriteFully(&buffer, sizeof(buffer)));
237 EXPECT_TRUE(tmp.GetFile()->WriteFully(&buffer[0], length));
241 EXPECT_TRUE(tmp2.GetFile()->WriteFully(&buffer[0], length));
253 EXPECT_TRUE(tmp3.GetFile()->WriteFully(&buffer[0], length));
260 EXPECT_TRUE(tmp4.GetFile()->WriteFully(&buffer[0], length));
267 EXPECT_TRUE(tmp5.GetFile()->WriteFully(&buffer[0], length));
273 EXPECT_TRUE(tmp6.GetFile()->WriteFully(&buffer[0], length));
282 ASSERT_TRUE(file.WriteFully("foo", 3));
  /system/core/init/
firmware_handler.cpp 34 using android::base::WriteFully;
42 WriteFully(loading_fd, "1", 1);
53 WriteFully(loading_fd, response, strlen(response));
  /device/generic/goldfish/keymaster/
trusty_keymaster_ipc.cpp 61 ssize_t rc = WriteFully(handle_, &pipe_command_length, sizeof(pipe_command_length));
68 rc = WriteFully(handle_, msg, pipe_command_length);
  /art/compiler/jit/
jit_logger.cc 66 bool res = perf_file_->WriteFully(str.c_str(), str.size());
244 bool res = jit_dump_file_->WriteFully(reinterpret_cast<const char*>(&header), sizeof(header));
292 UNUSED(jit_dump_file_->WriteFully(reinterpret_cast<const char*>(&jit_code), sizeof(jit_code)));
293 UNUSED(jit_dump_file_->WriteFully(method_name.c_str(), method_name.size() + 1));
294 UNUSED(jit_dump_file_->WriteFully(ptr, code_size));
  /bootable/recovery/tests/component/
uncrypt_test.cpp 105 ASSERT_TRUE(android::base::WriteFully(sockfd, &length_out, sizeof(int)))
107 ASSERT_TRUE(android::base::WriteFully(sockfd, message.data(), length))
118 ASSERT_TRUE(android::base::WriteFully(sockfd, &code, sizeof(int)));
  /system/core/base/include/android-base/
file.h 45 bool WriteFully(int fd, const void* data, size_t byte_count);
  /art/compiler/
elf_builder.h 203 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE {
206 return owner_->stream_.WriteFully(buffer, byte_count);
268 this->WriteFully(cache_.data(), cache_.size());
330 this->WriteFully(name.c_str(), name.length() + 1);
454 this->WriteFully(&abiflags_, sizeof(abiflags_));
487 this->WriteFully("GNU", 4); // name.
490 this->WriteFully(std::string(kBuildIdLen, '\0').c_str(), kBuildIdLen); // desc.
500 return this->WriteFully(&v, sizeof(v));
575 s->WriteFully(buffer.data(), buffer.size());
583 s->WriteFully(buffer->data(), buffer->size())
    [all...]
  /art/compiler/debug/
elf_debug_frame_writer.h 221 cfi_section->WriteFully(buffer.data(), buffer.size());
237 cfi_section->WriteFully(buffer.data(), buffer.size());
264 header_section->WriteFully(buffer.data(), buffer.size());
270 header_section->WriteFully(binary_search_table.data(), binary_search_table.size());
  /system/core/debuggerd/
debuggerd.cpp 51 if (!android::base::WriteFully(STDOUT_FILENO, buf, rc)) {

Completed in 401 milliseconds

1 2 3