Home
last modified time | relevance | path

Searched refs:fd_ (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/evs/manager/1.1/sync/
Dunique_fence.cpp61 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 …]
Dunique_fd.cpp30 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 …]
Dunique_timeline.cpp33 : 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()
Dunique_timeline.h78 UniqueFd fd_{-1};
Dunique_fd.h64 int fd_; variable
Dunique_fence.h68 UniqueFd fd_;