Searched refs:mBuf (Results 1 – 9 of 9) sorted by relevance
/hardware/google/aemu/base/include/aemu/base/containers/ |
D | CircularBuffer.h | 38 mBuf(capacity), mSize(0), mFrontIdx(0), mBackIdx(0) { in CircularBuffer() 48 mBuf[mBackIdx] = std::forward<U>(value); in push_back() 56 return mBuf[mFrontIdx]; in front() 62 return mBuf[mFrontIdx]; in front() 69 return mBuf[(mFrontIdx + mSize - 1) % mBuf.size()]; in back() 75 return mBuf[(mFrontIdx + mSize - 1) % mBuf.size()]; in back() 83 mFrontIdx = (mFrontIdx + 1) % mBuf.size(); in pop_front() 92 if (mBackIdx < 0) mBackIdx = mBuf.size() - 1; in pop_back() 108 return mBuf[(mFrontIdx + idx) % mBuf.size()]; 113 return mBuf[(mFrontIdx + idx) % mBuf.size()]; [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayWriteback.cpp | 40 if(mBuf.bufSz() == size) { in manageMem() 43 if(mBuf.valid()) { in manageMem() 44 if(!mBuf.close()) { in manageMem() 53 if(!mBuf.open(NUM_BUFS, size, isSecure)){ in alloc() 55 mBuf.close(); in alloc() 59 OVASSERT(MAP_FAILED != mBuf.addr(), "MAP failed"); in alloc() 60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); in alloc() 71 if(mBuf.valid()) { in dealloc() 72 ret = mBuf.close(); in dealloc()
|
D | overlayWriteback.h | 49 int getDstFd() const { return mBuf.getFD(); } in getDstFd() 54 OvMem mBuf; variable
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayWriteback.cpp | 40 if(mBuf.bufSz() == size) { in manageMem() 43 if(mBuf.valid()) { in manageMem() 44 if(!mBuf.close()) { in manageMem() 53 if(!mBuf.open(NUM_BUFS, size, isSecure)){ in alloc() 55 mBuf.close(); in alloc() 59 OVASSERT(MAP_FAILED != mBuf.addr(), "MAP failed"); in alloc() 60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); in alloc() 71 if(mBuf.valid()) { in dealloc() 72 ret = mBuf.close(); in dealloc()
|
D | overlayWriteback.h | 49 int getDstFd() const { return mBuf.getFD(); } in getDstFd() 54 OvMem mBuf; variable
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayWriteback.cpp | 40 if(mBuf.bufSz() == size) { in manageMem() 43 if(mBuf.valid()) { in manageMem() 44 if(!mBuf.close()) { in manageMem() 53 if(!mBuf.open(NUM_BUFS, size, isSecure)){ in alloc() 55 mBuf.close(); in alloc() 59 OVASSERT(MAP_FAILED != mBuf.addr(), "MAP failed"); in alloc() 60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); in alloc() 71 if(mBuf.valid()) { in dealloc() 72 ret = mBuf.close(); in dealloc()
|
D | overlayWriteback.h | 49 int getDstFd() const { return mBuf.getFD(); } in getDstFd() 54 OvMem mBuf; variable
|
/hardware/google/graphics/common/hwc3/ |
D | Util.h | 97 constexpr FullMethodName(const std::string_view prettyName) : mBuf() { in FullMethodName() 109 auto len = std::min(end - start, mBuf.size()); in FullMethodName() 113 mBuf[i] = prettyName[start + i]; in FullMethodName() 118 return mBuf.data(); in get() 122 std::array<char, 256> mBuf;
|
/hardware/google/gfxstream/guest/GLESv2_enc/ |
D | GL2Encoder.cpp | 560 mBuf(bytes, 0), in ScopedQueryUpdate() 565 return (T*)&mBuf[0]; in hostStagingBuffer() 570 memcpy(mTarget, &mBuf[0], mBuf.size()); in ~ScopedQueryUpdate() 576 std::vector<char> mBuf; member in GL2Encoder::ScopedQueryUpdate
|