Searched refs:fd_ (Results 1 – 6 of 6) sorted by relevance
61 UniqueFence::UniqueFence(int fd) : fd_(fd) {} in UniqueFence()67 fd_.Reset(); in Reset()71 return UniqueFence(fd_.GetUnowned()); in Dup()75 return fd_.Get(); in Get()79 return fd_.GetUnowned(); in GetUnowned()83 return static_cast<bool>(fd_); in operator bool()88 struct sync_file_info* finfo = sync_file_info(fd_.Get()); in GetDebugStateDump()107 int err = sync_wait(fd_.Get(), kWarningTimeout); in Wait()112 LOG(WARNING) << "Waited on fence " << fd_.Get() in Wait()115 return sync_wait(fd_.Get(), wait_time_ms); in Wait()[all …]
30 UniqueFd::UniqueFd() : fd_(-1) {} in UniqueFd()32 UniqueFd::UniqueFd(int fd) : fd_(fd) { in UniqueFd()39 UniqueFd::UniqueFd(UniqueFd&& other) : fd_(other.fd_) { in UniqueFd()40 other.fd_ = -1; in UniqueFd()45 fd_ = other.fd_; in operator =()46 other.fd_ = -1; in operator =()52 fd_ = new_fd; in Reset()56 return (fd_ >= 0) ? UniqueFd(InternalDup()) : UniqueFd(fd_); in Dup()60 return fd_ >= 0; in operator bool()64 return fd_; in Get()[all …]
33 : fd_(sw_sync_timeline_create()), fence_counter_(offset) { in UniqueTimeline()34 if (!fd_) { in UniqueTimeline()55 UniqueFence fence(sw_sync_fence_create(fd_.Get(), name, fence_counter_)); in CreateFence()68 int err = sw_sync_timeline_inc(fd_.Get(), count); in BumpTimelineEventCounter()
78 UniqueFd fd_{-1};
64 int fd_; variable
68 UniqueFd fd_;