Home
last modified time | relevance | path

Searched refs:mCurrent (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/automotive/can/1.0/tools/libprotocan/
DMessageCounter.cpp29 CHECK(mCurrent.has_value()) << "Counter not initialized. Did you call isReady?"; in next()
30 return (*mCurrent + 1) % upperBound; in next()
36 if (!mCurrent.has_value()) { in read()
38 mCurrent = val; in read()
47 mCurrent = nextVal; in read()
53 bool MessageCounter::isReady() const { return mCurrent.has_value(); } in isReady()
57 mCurrent = newVal; in increment()
/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/
DBuffer.h108 iterator() : mCurrent(nullptr, size_t(0)) { in iterator()
111 iterator(const Buffer<T>& buf) : mCurrent(buf) {} in iterator()
115 mCurrent.mData = reinterpret_cast<const T*>( //
116 uintptr_t(mCurrent.mData) + impl::align(mCurrent.declaredLength()));
125 return uintptr_t(other.mCurrent.mData) == uintptr_t(mCurrent.mData);
128 const Buffer<T>& operator*() const { return mCurrent; }
130 bool isEnd() const { return !mCurrent.ok(); } in isEnd()
133 Buffer<T> mCurrent;
141 ++this->mCurrent.mData; // ignore alignment
144 const T& operator*() const { return *this->mCurrent.mData; }
DMessageMutator.h66 Buffer<nlmsghdr>::iterator mCurrent; variable
DSocket.h245 Buffer<nlmsghdr>::iterator mCurrent; variable
/hardware/interfaces/automotive/can/1.0/default/libnl++/
DMessageMutator.cpp76 : mContainer(container), mCurrent(current) {} in iterator()
79 ++mCurrent; in operator ++()
84 return other.mCurrent == mCurrent; in operator ==()
88 return mContainer.fragment(*mCurrent); in operator *()
DSocket.cpp211 ++mCurrent; in operator ++()
212 if (mCurrent.isEnd()) receive(); in operator ++()
219 return mCurrent == other.mCurrent; in operator ==()
224 return *mCurrent; in operator *()
229 CHECK(mCurrent.isEnd()) << "Trying to receive without draining previous read"; in receive()
233 mCurrent = buf->begin(); in receive()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.cpp28 mCurrent = mTree; in reset()
77 mCurrent = mCurrent->addChild( in processMainTag()
78 std::make_shared<HidTreeNode>(mCurrent, collectionType, fullUsage)); in processMainTag()
82 mCurrent = mCurrent->getParent(); in processMainTag()
83 if (!mCurrent) { in processMainTag()
119 std::shared_ptr<HidTreeNode> node(new HidReportNode(mCurrent, report)); in processMainTag()
120 mCurrent->addChild(node); in processMainTag()
DHidParser.h84 std::shared_ptr<HidTreeNode> mCurrent; variable
/hardware/interfaces/automotive/can/1.0/tools/libprotocan/include/libprotocan/
DMessageCounter.h50 std::optional<Signal::value> mCurrent = std::nullopt; variable
/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioCoreModuleTargetTest.cpp814 : mSteps(std::move(steps)), mCurrent(mSteps->front()) {} in StateSequenceFollower()
815 void rewind() override { mCurrent = mSteps->front(); } in rewind()
831 LOG(DEBUG) << __func__ << ": " << toString(mCurrent.get().datum().first) << " -> " in advance()
833 mCurrent = *it; in advance()
840 StateDag::const_reference current() const { return mCurrent.get(); } in current()
842 std::reference_wrapper<StateDag::value_type> mCurrent; member in StateSequenceFollower