Home
last modified time | relevance | path

Searched refs:mNumOpenStructs (Results 1 – 4 of 4) sorted by relevance

/openthread-2.7.6/src/lib/spinel/
Dspinel_encoder.cpp44 mNumOpenStructs = 0; in BeginFrame()
106 while (mNumOpenStructs > 0) in EndFrame()
200 VerifyOrExit(mNumOpenStructs < kMaxNestedStructs, error = OT_ERROR_INVALID_STATE); in OpenStruct()
201 SuccessOrExit(error = mNcpBuffer.InFrameGetPosition(mStructPosition[mNumOpenStructs])); in OpenStruct()
207 mNumOpenStructs++; in OpenStruct()
219 VerifyOrExit(mNumOpenStructs > 0, error = OT_ERROR_INVALID_STATE); in CloseStruct()
221 mNumOpenStructs--; in CloseStruct()
223 len = mNcpBuffer.InFrameGetDistance(mStructPosition[mNumOpenStructs]); in CloseStruct()
231 …SuccessOrExit(error = mNcpBuffer.InFrameOverwrite(mStructPosition[mNumOpenStructs], buffer, sizeof… in CloseStruct()
242 mSavedNumOpenStructs = mNumOpenStructs; in SavePosition()
[all …]
Dspinel_decoder.cpp46 , mNumOpenStructs(0) in Decoder()
66 mNumOpenStructs = 0; in Reset()
337 VerifyOrExit(mNumOpenStructs < kMaxNestedStructs, error = OT_ERROR_INVALID_STATE); in OpenStruct()
342 mPrevEnd[mNumOpenStructs] = mEnd; in OpenStruct()
344 mNumOpenStructs++; in OpenStruct()
354 VerifyOrExit(mNumOpenStructs > 0, error = OT_ERROR_INVALID_STATE); in CloseStruct()
361 if (IsSavedPositionValid() && (mNumOpenStructs == mSavedNumOpenStructs)) in CloseStruct()
366 mNumOpenStructs--; in CloseStruct()
368 mEnd = mPrevEnd[mNumOpenStructs]; in CloseStruct()
378 mSavedNumOpenStructs = mNumOpenStructs; in SavePosition()
[all …]
Dspinel_encoder.hpp63 , mNumOpenStructs(0) in Encoder()
688 uint8_t mNumOpenStructs; member in ot::Spinel::Encoder
Dspinel_decoder.hpp579 uint8_t mNumOpenStructs; // Number of open structs. member in ot::Spinel::Decoder