Lines Matching refs:mMem
131 OVASSERT(mMem.curr().m.numBufs(), "queueBuffer numbufs is 0");
134 mMem.curr().mRotOffset[mMem.curr().mCurrOffset];
135 mMem.curr().mCurrOffset =
136 (mMem.curr().mCurrOffset + 1) % mMem.curr().m.numBufs();
145 if(mMem.prev().valid()) {
149 if(!mMem.prev().close()) {
175 mMem.curr().m = mem;
183 if(opBufSize == mMem.curr().size()) {
189 OVASSERT(!mMem.prev().valid(), "Prev should not be valid");
191 // ++mMem will make curr to be prev, and prev will be curr
192 ++mMem;
198 mMem.curr().mRotOffset[i] = i * opBufSize;
217 if (!mMem.close()) {
230 ovutils::memset0(mMem.curr().mRotOffset);
231 ovutils::memset0(mMem.prev().mRotOffset);
232 mMem.curr().mCurrOffset = 0;
233 mMem.prev().mCurrOffset = 0;
240 mMem.curr().m.dump();