Lines Matching refs:mBufferCount
68 mBufferCount = 0; in QCameraMemory()
111 if (index >= mBufferCount) { in cacheOpsInternal()
112 ALOGE("%s: index %d out of bound [0, %d)", __func__, index, mBufferCount); in cacheOpsInternal()
148 if (index >= mBufferCount) in getFd()
166 if (index >= mBufferCount) in getSize()
183 return mBufferCount; in getCnt()
201 if (!mBufferCount) { in getBufDef()
245 if (mBufferCount < 0) { in alloc()
246 mBufferCount = 0; in alloc()
249 int new_bufCnt = mBufferCount + count; in alloc()
257 for (int i = mBufferCount; i < new_bufCnt; i ++) { in alloc()
299 for (int i = 0; i < mBufferCount; i++) { in dealloc()
629 if (index >= mBufferCount) { in getPtr()
682 mBufferCount = count; in allocate()
707 for (int i = mBufferCount; i < count + mBufferCount; i ++) { in allocateMore()
714 for (int j = i-1; j >= mBufferCount; j --) { in allocateMore()
724 mBufferCount += count; in allocateMore()
739 for (int i = 0; i < mBufferCount; i++) { in deallocate()
744 mBufferCount = 0; in deallocate()
762 if (index >= mBufferCount) in cacheOps()
821 for (int i = 0; i < mBufferCount; i++) { in getMatchBufIndex()
893 mBufferCount = count; in allocate()
917 for (int i = mBufferCount; i < mBufferCount + count; i++) { in allocateMore()
920 mBufferCount += count; in allocateMore()
935 for (int i = 0; i < mBufferCount; i ++) { in deallocate()
941 mBufferCount = 0; in deallocate()
959 if (index >= mBufferCount) in cacheOps()
978 for (int i = 0; i < mBufferCount; i ++) in getRegFlags()
997 if (index >= mBufferCount || metadata) in getMemory()
1021 for (int i = 0; i < mBufferCount; i++) { in getMatchBufIndex()
1042 if (index >= mBufferCount) { in getPtr()
1123 mBufferCount = count; in allocate()
1146 for (int i = mBufferCount; i < count + mBufferCount; i ++) { in allocateMore()
1151 for (int j = mBufferCount; j <= i-1; j ++) { in allocateMore()
1168 mBufferCount += count; in allocateMore()
1183 for (int i = 0; i < mBufferCount; i ++) { in deallocate()
1204 mBufferCount = 0; in deallocate()
1221 if (index >= mBufferCount) in getMemory()
1245 for (int i = 0; i < mBufferCount; i++) { in getMatchBufIndex()
1362 for(i = 0; i < mBufferCount; i++) { in displayBuffer()
1545 mBufferCount = count; in allocate()
1591 for (int cnt = 0; cnt < mBufferCount; cnt++) { in deallocate()
1612 mBufferCount = 0; in deallocate()
1631 if (index >= mBufferCount) in cacheOps()
1653 for (; i < mBufferCount; i ++) in getRegFlags()
1672 if (index >= mBufferCount || metadata) in getMemory()
1696 for (int i = 0; i < mBufferCount; i++) { in getMatchBufIndex()
1717 if (index >= mBufferCount) { in getPtr()