Home
last modified time | relevance | path

Searched refs:fds_ (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dnative_handle_wrapper.h33 fds_.emplace_back(FileHandleType::AsDuplicate(handle->data[i])); in NativeHandleWrapper()
41 size_t fd_count() const { return fds_.size(); } in fd_count()
42 bool IsValid() const { return ints_.size() != 0 || fds_.size() != 0; } in IsValid()
52 for (const auto& fd : fds_) { in DuplicateHandle()
68 return FromFdsAndInts(std::move(fds_), std::move(ints_)); in TakeHandle()
94 std::vector<FileHandleType> fds_; variable
96 PDX_SERIALIZABLE_MEMBERS(NativeHandleWrapper<FileHandleType>, ints_, fds_);
Dbufferhub_rpc.h35 fds_.emplace_back(FileHandleType::AsDuplicate(buffer.handle()->data[i])); in NativeBufferHandle()
49 for (const auto& fd : fds_) in Import()
61 for (auto& fd : fds_) in Import()
71 size_t FdCount() const { return fds_.size(); } in FdCount()
82 std::vector<FileHandleType> fds_; variable
91 opaque_ints_, fds_);
/frameworks/libs/binary_translation/kernel_api/
Dopen_emulation.cc45 explicit EmulatedFileDescriptors() : fds_(&arena_) {} in EmulatedFileDescriptors()
58 auto [unused_it, inserted] = fds_.insert(std::make_pair(fd, 0)); in Add()
67 return fds_.find(fd) != fds_.end(); in Contains()
72 auto it = fds_.find(fd); in Remove()
73 if (it != fds_.end()) { in Remove()
74 fds_.erase(it); in Remove()
82 ArenaMap<int, int> fds_; member in berberis::__anonb505d9860111::EmulatedFileDescriptors