Lines Matching refs:State
38 State::VALID : State::INVALID), in FenceTime()
40 mSignalTime(mState == State::INVALID ? in FenceTime()
46 State::VALID : State::INVALID), in FenceTime()
48 mSignalTime(mState == State::INVALID ? in FenceTime()
53 : mState(Fence::isValidTimestamp(signalTime) ? State::VALID : State::INVALID), in FenceTime()
63 if (CC_UNLIKELY(src.state != Snapshot::State::SIGNAL_TIME)) { in applyTrustedSnapshot()
71 if (src.state == Snapshot::State::EMPTY) { in applyTrustedSnapshot()
97 return mState != State::INVALID; in isValid()
129 if (CC_UNLIKELY(mState == State::FORCED_VALID_FOR_TEST)) { in getSignalTime()
172 State::FORCED_VALID_FOR_TEST : State::INVALID), in FenceTime()
174 mSignalTime(mState == State::INVALID ? in FenceTime()
191 : state(State::FENCE), fence(srcFence) { in Snapshot()
195 : state(State::SIGNAL_TIME), signalTime(srcSignalTime) { in Snapshot()
201 case State::EMPTY: in getFlattenedSize()
203 case State::FENCE: in getFlattenedSize()
205 case State::SIGNAL_TIME: in getFlattenedSize()
212 return state == State::FENCE ? fence->getFdCount() : 0u; in getFdCount()
223 case State::EMPTY: in flatten()
225 case State::FENCE: in flatten()
227 case State::SIGNAL_TIME: in flatten()
243 case State::EMPTY: in unflatten()
245 case State::FENCE: in unflatten()
248 case State::SIGNAL_TIME: in unflatten()