/aosp12/frameworks/rs/tests/lldb/cpp/Allocations/ |
H A D | Allocations.cpp | 125 char *buffer_char = new char[mAllocSize]; in initSignedAllocations() 126 short *buffer_short = new short[mAllocSize]; in initSignedAllocations() 127 int *buffer_int = new int[mAllocSize]; in initSignedAllocations() 129 char *buffer_bool = new char[mAllocSize]; in initSignedAllocations() 131 for(int i = 0; i < mAllocSize; ++i) { in initSignedAllocations() 213 char *buffer_char = new char[mAllocSize]; in initUnsignedAllocations() 214 short *buffer_short = new short[mAllocSize]; in initUnsignedAllocations() 215 int *buffer_int = new int[mAllocSize]; in initUnsignedAllocations() 218 for(int i = 0; i < mAllocSize; ++i) { in initUnsignedAllocations() 297 float *buffer_float = new float[mAllocSize]; in initFloatAllocations() [all …]
|
/aosp12/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/ |
H A D | jniallocations.cpp | 129 char *buffer_char = new char[mAllocSize]; in initSignedAllocations() 130 short *buffer_short = new short[mAllocSize]; in initSignedAllocations() 131 int *buffer_int = new int[mAllocSize]; in initSignedAllocations() 133 char *buffer_bool = new char[mAllocSize]; in initSignedAllocations() 135 for(int i = 0; i < mAllocSize; ++i) { in initSignedAllocations() 217 char *buffer_char = new char[mAllocSize]; in initUnsignedAllocations() 218 short *buffer_short = new short[mAllocSize]; in initUnsignedAllocations() 219 int *buffer_int = new int[mAllocSize]; in initUnsignedAllocations() 222 for(int i = 0; i < mAllocSize; ++i) { in initUnsignedAllocations() 301 float *buffer_float = new float[mAllocSize]; in initFloatAllocations() [all …]
|
/aosp12/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/ |
H A D | MainActivity.java | 179 byte[] buffer_char = new byte[mAllocSize]; in initSignedAllocations() 181 int[] buffer_int = new int[mAllocSize]; in initSignedAllocations() 182 long[] buffer_long = new long[mAllocSize]; in initSignedAllocations() 183 byte[] buffer_bool = new byte[mAllocSize]; in initSignedAllocations() 185 for(int i = 0; i < mAllocSize; ++i) { in initSignedAllocations() 273 byte[] buffer_char = new byte[mAllocSize]; in initUnsignedAllocations() 275 int[] buffer_int = new int[mAllocSize]; in initUnsignedAllocations() 276 long[] buffer_long = new long[mAllocSize]; in initUnsignedAllocations() 278 for(int i = 0; i < mAllocSize; ++i) { in initUnsignedAllocations() 365 for(int i = 0; i < mAllocSize; ++i) { in initFloatAllocations() [all …]
|
/aosp12/frameworks/rs/tests/lldb/java/BranchingFunCalls/src/com/android/rs/branchingfuncalls/ |
H A D | MainActivity.java | 28 private int mAllocSize = 256; field in MainActivity 46 mInAllocation = Allocation.createSized(mRS, e, mAllocSize); in createScript() 47 mOutAllocation = Allocation.createSized(mRS, e, mAllocSize); in createScript() 55 int[] init = new int[mAllocSize]; in runScript() 56 for(int i = 0; i < mAllocSize; ++i) { in runScript() 57 init[i] = i - (mAllocSize / 2); in runScript() 59 mInAllocation.copy1DRangeFrom(0, mAllocSize, init); in runScript()
|
/aosp12/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 42 mAllocSize(1) { in AString() 48 mAllocSize(1) { in AString() 60 mAllocSize(1) { in AString() 72 mAllocSize(1) { in AString() 79 mAllocSize(1) { in AString() 86 mAllocSize(1) { in AString() 136 mAllocSize = 1; in clear() 194 if (mSize + size + 1 > mAllocSize) { in append() 195 mAllocSize = (mAllocSize + size + 31) & -32; in append() 298 if (mSize + size + 1 > mAllocSize) { in insert() [all …]
|
/aosp12/system/chre/apps/test/chqts/src/shared/ |
H A D | chunk_allocator.cc | 25 : mAllocSize(allocSize), in ChunkAllocatorBase() 33 memset(mRawMemory, 0xCD, mSlotCount * mAllocSize); in ChunkAllocatorBase() 37 if (bytes > mAllocSize) { in alloc() 53 return mRawMemory + (slot * mAllocSize); in alloc() 76 *slot = static_cast<size_t>(ptr - mRawMemory) / mAllocSize; in getSlot() 82 return ((mRawMemory + (*slot * mAllocSize)) == ptr); in getSlot()
|
H A D | chunk_allocator.h | 44 const size_t mAllocSize;
|
/aosp12/frameworks/av/media/bufferpool/2.0/ |
H A D | AccessorImpl.cpp | 55 const size_t mAllocSize; member 65 mAllocation(alloc), mAllocSize(allocSize), mConfig(allocConfig), in InternalBuffer() 463 mStats.onBufferUnused(iter->second->mAllocSize); in handleReleaseBuffer() 466 mStats.onBufferUnused(iter->second->mAllocSize); in handleReleaseBuffer() 467 mStats.onBufferEvicted(iter->second->mAllocSize); in handleReleaseBuffer() 552 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult() 555 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult() 556 mStats.onBufferEvicted(bufferIter->second->mAllocSize); in handleTransferResult() 692 mStats.onBufferRecycled(mBuffers[id]->mAllocSize); in getFreeBuffer() 752 mStats.onBufferEvicted(it->second->mAllocSize); in cleanUp() [all …]
|
/aosp12/frameworks/av/media/bufferpool/1.0/ |
H A D | AccessorImpl.cpp | 49 const size_t mAllocSize; member 58 mAllocation(alloc), mAllocSize(allocSize), mConfig(allocConfig) {} in InternalBuffer() 284 mStats.onBufferUnused(iter->second->mAllocSize); in handleReleaseBuffer() 366 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult() 434 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleClose() 457 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleClose() 482 mStats.onBufferRecycled(mBuffers[id]->mAllocSize); in getFreeBuffer() 539 mStats.onBufferEvicted(it->second->mAllocSize); in cleanUp()
|
/aosp12/frameworks/compile/slang/ |
H A D | slang_rs_reflection_state.h | 669 size_t mAllocSize; member 708 size_t mAllocSize; member 751 return Val32(true, mRecord->mAllocSize); in getRecordAllocSize()
|
H A D | slang_rs_export_type.h | 641 size_t mAllocSize; variable 654 mAllocSize(AllocSize) { in RSExportRecordType() 673 virtual size_t getAllocSize() const { return mAllocSize; } in getAllocSize()
|
H A D | slang_rs_reflection_state.cpp | 154 << " allocSize=" << Val.mAllocSize in dump() 174 << " allocSize=" << var.mAllocSize << std::endl; in dump() 755 record.mAllocSize = ERT->getAllocSize(); in declareRecord() 959 variable.mAllocSize = EV->getType()->getAllocSize(); in declareVariable() 1113 return Val32(true, variable.mAllocSize); in declareVariable()
|
/aosp12/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
H A D | AString.h | 102 size_t mAllocSize; member
|