Searched refs:output_fd_ (Results 1 – 4 of 4) sorted by relevance
/system/extras/partition_tools/ |
D | lpunpack.cc | 70 int output_fd_; member in SparseWriter 255 : output_fd_(output_fd), image_fd_(image_fd), block_size_(block_size) {} in SparseWriter() 300 if (lseek(output_fd_, hole_size_, SEEK_CUR) < 0) { in WriteBlock() 306 if (!android::base::WriteFully(output_fd_, data, block_size_)) { in WriteBlock() 315 off_t offset = lseek(output_fd_, 0, SEEK_CUR); in Finish() 320 if (ftruncate(output_fd_, offset + hole_size_) < 0) { in Finish()
|
D | lpadd.cc | 129 unique_fd output_fd_; member in SuperHelper 220 output_fd_.reset(open(actual_path.c_str(), O_RDWR | O_CLOEXEC)); in OpenSuperFile() 221 if (output_fd_ < 0) { in OpenSuperFile() 225 super_fd_ = output_fd_.get(); in OpenSuperFile() 405 if (!Truncate(output_fd_)) { in Finalize() 408 if (sparse_file_write(sf.get(), output_fd_, false, true, false)) { in Finalize()
|
/system/core/logcat/ |
D | logcat.cpp | 80 android::base::unique_fd output_fd_{dup(STDOUT_FILENO)}; member in Logcat 143 output_fd_.reset(); in RotateLogs() 178 output_fd_.reset(openLogFile(output_file_name_, log_rotate_size_kb_)); in RotateLogs() 180 if (!output_fd_.ok()) { in RotateLogs() 217 bytesWritten = android_log_printLogLine(logformat_.get(), output_fd_.get(), &entry); in ProcessBuffer() 237 if (dprintf(output_fd_.get(), "--------- %s %s\n", in PrintDividers() 267 output_fd_.reset(openLogFile(output_file_name_, log_rotate_size_kb_)); in SetupOutputAndSchedulingPolicy() 269 if (!output_fd_.ok()) { in SetupOutputAndSchedulingPolicy() 274 if (fstat(output_fd_.get(), &statbuf) == -1) { in SetupOutputAndSchedulingPolicy() 874 dup2(fd, output_fd_.get()); in Run() [all …]
|
/system/core/adb/client/ |
D | incremental_server.cpp | 201 : adb_fd_(std::move(adb_fd)), output_fd_(std::move(output_fd)), files_(std::move(files)) { in IncrementalServer() 253 unique_fd const output_fd_; member in incremental::IncrementalServer 288 (void)WriteFdExactly(output_fd_, buffer_.data(), bcur); in SkipToRequest() 304 (void)WriteFdExactly(output_fd_, buffer_.data(), buffer_.size()); in SkipToRequest() 332 WriteFdExactly(output_fd_, buffer_.data(), buffer_.size()); in SkipToRequest()
|