Home
last modified time | relevance | path

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

/hardware/intel/common/libwsbm/src/
Dwsbm_mallocpool.c59 struct _WsbmMallocBuffer *mBuf = malloc(size + sizeof(*mBuf) + 16); in pool_create() local
61 if (!mBuf) in pool_create()
64 wsbmBufStorageInit(&mBuf->buf, pool); in pool_create()
65 mBuf->size = size; in pool_create()
66 mBuf->mem = (void *)((unsigned long)mBuf + sizeof(*mBuf)); in pool_create()
70 return &mBuf->buf; in pool_create()
/hardware/intel/img/hwcomposer/common/utils/
DDump.cpp25 : mBuf(buf), in Dump()
40 if (!mBuf || !mLen) in append()
45 len = vsnprintf(mBuf, mLen, fmt, ap); in append()
49 mBuf += len; in append()
DDump.h29 char *mBuf;
/hardware/qcom/display/msm8974/liboverlay/
DoverlayWriteback.cpp38 if(mBuf.bufSz() == size) { in manageMem()
41 if(mBuf.valid()) { in manageMem()
42 if(!mBuf.close()) { in manageMem()
51 if(!mBuf.open(NUM_BUFS, size, isSecure)){ in alloc()
53 mBuf.close(); in alloc()
57 OVASSERT(MAP_FAILED != mBuf.addr(), "MAP failed"); in alloc()
58 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); in alloc()
69 if(mBuf.valid()) { in dealloc()
70 ret = mBuf.close(); in dealloc()
DoverlayWriteback.h49 int getDstFd() const { return mBuf.getFD(); } in getDstFd()
54 OvMem mBuf; variable
/hardware/qcom/display/msm8226/liboverlay/
DoverlayWriteback.cpp40 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()
DoverlayWriteback.h49 int getDstFd() const { return mBuf.getFD(); } in getDstFd()
54 OvMem mBuf; variable
/hardware/qcom/display/msm8084/liboverlay/
DoverlayWriteback.cpp40 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()
DoverlayWriteback.h49 int getDstFd() const { return mBuf.getFD(); } in getDstFd()
54 OvMem mBuf; variable
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_bufferqueue.h78 unsigned int slot = item.mBuf; in threadLoop()
87 graphic_buffer = mBufferSlots[item.mBuf].mGraphicBuffer; in threadLoop()
88 mDeferThread->add(graphic_buffer, item.mCrop, mCounter++, item.mBuf); in threadLoop()