Searched defs:fd_ (Results 1 - 23 of 23) sorted by relevance

/system/tpm/trunks/
H A Dtpm_handle.h56 int fd_; // A file descriptor for /dev/tpm0. member in class:trunks::TpmHandle
/system/bt/vendor_libs/test_vendor_lib/include/
H A Dtest_channel_transport.h37 // file descriptor gets stored in |fd_|.
68 std::unique_ptr<base::ScopedFD> fd_; member in class:test_vendor_lib::TestChannelTransport
/system/connectivity/shill/
H A Dprotobuf_lite_streams.h46 int fd_; member in class:shill::ProtobufLiteCopyingFileInputStream
H A Dasync_connection.h85 int fd_; member in class:shill::AsyncConnection
/system/core/libmemunreachable/
H A DLineBuffer.h29 int fd_; member in class:LineBuffer
H A DLeakPipe.h78 LeakPipeBase() : fd_(-1) {}
85 fd_ = fd;
89 close(fd_);
90 fd_ = -1;
94 int fd_; member in class:LeakPipe::LeakPipeBase
106 ssize_t ret = TEMP_FAILURE_RETRY(write(fd_, &value, sizeof(T)));
125 ssize_t ret = TEMP_FAILURE_RETRY(write(fd_, vector.data(), size));
144 ssize_t ret = TEMP_FAILURE_RETRY(read(fd_, reinterpret_cast<void*>(value), sizeof(T)));
167 ssize_t ret = TEMP_FAILURE_RETRY(read(fd_, ptr, size));
/system/extras/memory_replay/
H A DLineBuffer.h29 int fd_; member in class:LineBuffer
/system/connectivity/shill/net/
H A Dio_input_handler.h43 int fd_; member in class:shill::IOInputHandler
H A Dio_ready_handler.h46 int fd_; member in class:shill::IOReadyHandler
H A Dsockets.h144 int fd_; member in class:shill::ScopedSocketCloser
/system/update_engine/payload_consumer/
H A Dfile_descriptor.h118 EintrSafeFileDescriptor() : fd_(-1) {}
137 return (fd_ >= 0);
141 int fd_; member in class:chromeos_update_engine::EintrSafeFileDescriptor
H A Dbzip_extent_writer_unittest.cc44 fd_.reset(new EintrSafeFileDescriptor);
45 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDWR, 0600));
48 fd_->Close();
53 FileDescriptorPtr fd_; member in class:chromeos_update_engine::BzipExtentWriterTest
75 EXPECT_TRUE(bzip_writer.Init(fd_, extents, kBlockSize));
113 EXPECT_TRUE(bzip_writer.Init(fd_, extents, kBlockSize));
H A Dxz_extent_writer_unittest.cc96 EXPECT_TRUE(xz_writer_->Init(fd_, {}, 1024));
112 FileDescriptorPtr fd_; member in class:chromeos_update_engine::XzExtentWriterTest
143 EXPECT_TRUE(xz_writer_->Init(fd_, {}, 1024));
154 EXPECT_TRUE(xz_writer_->Init(fd_, {}, 1024));
H A Dextent_writer_unittest.cc49 fd_.reset(new EintrSafeFileDescriptor);
50 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDWR, 0600));
53 fd_->Close();
63 FileDescriptorPtr fd_; member in class:chromeos_update_engine::ExtentWriterTest
77 EXPECT_TRUE(direct_writer.Init(fd_, extents, kBlockSize));
101 EXPECT_TRUE(direct_writer.Init(fd_, extents, kBlockSize));
136 EXPECT_TRUE(direct_writer.Init(fd_, extents, kBlockSize));
190 EXPECT_TRUE(zero_pad_writer.Init(fd_, extents, kBlockSize));
194 fd_->Seek(kBlockSize - missing_bytes, SEEK_SET);
195 EXPECT_EQ(3, fd_
[all...]
/system/vold/
H A DUtils.h122 const int fd_; member in class:android::vold::ScopedFd
126 int get() const { return fd_; }
/system/core/adb/
H A Dadb_utils.h72 if (fd != fd_) {
74 adb_close(fd_);
76 fd_ = fd;
81 int temp = fd_;
82 fd_ = -1;
87 return fd_ >= 0;
91 return fd_;
95 int fd_ = -1; member in class:ScopedFd
H A Dshell_service.h115 int fd_; member in class:ShellProtocol
/system/core/libziparchive/
H A Dzip_writer_test.cc28 int fd_; member in struct:zipwriter
33 fd_ = temp_file_->fd;
34 file_ = fdopen(fd_, "w");
55 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET));
58 ASSERT_EQ(0, OpenArchiveFd(fd_, "temp", &handle, false));
92 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET));
95 ASSERT_EQ(0, OpenArchiveFd(fd_, "temp", &handle, false));
134 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET));
137 ASSERT_EQ(0, OpenArchiveFd(fd_, "temp", &handle, false));
179 ASSERT_GE(0, lseek(fd_,
[all...]
H A Dzip_archive.cc878 const bool result = android::base::WriteFully(fd_, buf, buf_size);
890 fd_(fd),
895 const int fd_; member in class:FileWriter
/system/extras/simpleperf/
H A Dutils.h65 fd_ = other.fd_;
66 other.fd_ = -1;
72 return fd_ != -1;
76 return fd_;
80 FileHelper(int fd) : fd_(fd) {}
81 int fd_; member in class:FileHelper
/system/update_engine/payload_generator/
H A Dfull_update_generator.cc57 fd_(fd),
78 int fd_; member in class:chromeos_update_engine::__anon2054::ChunkProcessor
98 TEST_AND_RETURN_FALSE(utils::PReadAll(fd_,
/system/extras/memtrack/
H A Dmemtrack.h42 int fd_; member in class:FileData
/system/update_engine/common/
H A Dutils.h377 explicit ScopedFdCloser(int* fd) : fd_(fd) {}
379 if (should_close_ && fd_ && (*fd_ >= 0) && !IGNORE_EINTR(close(*fd_)))
380 *fd_ = -1;
384 int* fd_; member in class:chromeos_update_engine::ScopedFdCloser

Completed in 537 milliseconds