Home
last modified time | relevance | path

Searched refs:mAllocSize (Results 1 – 11 of 11) sorted by relevance

/frameworks/rs/tests/lldb/cpp/Allocations/
DAllocations.cpp79 const int mAllocSize = 24; // Needs to be < CHAR_MAX and divisible by 4. variable
89 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2); in createSignedAllocations()
90 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4); in createSignedAllocations()
91 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4); in createSignedAllocations()
98 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize); in createSignedAllocations()
100 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4); in createSignedAllocations()
101 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4); in createSignedAllocations()
107 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize); in createSignedAllocations()
108 mInt2Allocation = Allocation::createSized(mRS, Element::I32_2(mRS), mAllocSize / 2); in createSignedAllocations()
110 mInt4Allocation = Allocation::createSized(mRS, Element::I32_4(mRS), mAllocSize / 4); in createSignedAllocations()
[all …]
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
Djniallocations.cpp83 const int mAllocSize = 24; // Needs to be < CHAR_MAX and divisible by 4. variable
93 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2); in createSignedAllocations()
94 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4); in createSignedAllocations()
95 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4); in createSignedAllocations()
102 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize); in createSignedAllocations()
104 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4); in createSignedAllocations()
105 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4); in createSignedAllocations()
111 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize); in createSignedAllocations()
112 mInt2Allocation = Allocation::createSized(mRS, Element::I32_2(mRS), mAllocSize / 2); in createSignedAllocations()
114 mInt4Allocation = Allocation::createSized(mRS, Element::I32_4(mRS), mAllocSize / 4); in createSignedAllocations()
[all …]
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/
DMainActivity.java92 private int mAllocSize = 24; // Chosen as allocation size since it's easily divisible field in MainActivity
127 mChar2Allocation = Allocation.createSized(mRS, Element.I8_2(mRS), mAllocSize / 2); in createSignedAllocations()
129 mChar3Allocation = Allocation.createSized(mRS, Element.I8_3(mRS), mAllocSize / 4); in createSignedAllocations()
131 mChar4Allocation = Allocation.createSized(mRS, Element.I8_4(mRS), mAllocSize / 4); in createSignedAllocations()
139 mShortAllocation = Allocation.createSized(mRS, Element.I16(mRS), mAllocSize); in createSignedAllocations()
143 mShort3Allocation = Allocation.createSized(mRS, Element.I16_3(mRS), mAllocSize / 4); in createSignedAllocations()
145 mShort4Allocation = Allocation.createSized(mRS, Element.I16_4(mRS), mAllocSize / 4); in createSignedAllocations()
152 mIntAllocation = Allocation.createSized(mRS, Element.I32(mRS), mAllocSize); in createSignedAllocations()
154 mInt2Allocation = Allocation.createSized(mRS, Element.I32_2(mRS), mAllocSize / 2); in createSignedAllocations()
158 mInt4Allocation = Allocation.createSized(mRS, Element.I32_4(mRS), mAllocSize / 4); in createSignedAllocations()
[all …]
/frameworks/rs/tests/lldb/java/BranchingFunCalls/src/com/android/rs/branchingfuncalls/
DMainActivity.java28 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()
/frameworks/av/media/libstagefright/foundation/
DAString.cpp42 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()
196 mData = (char *)realloc(mData, mAllocSize); in append()
[all …]
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp53 const size_t mAllocSize; member
63 mAllocation(alloc), mAllocSize(allocSize), mConfig(allocConfig), in InternalBuffer()
461 mStats.onBufferUnused(iter->second->mAllocSize); in handleReleaseBuffer()
464 mStats.onBufferUnused(iter->second->mAllocSize); in handleReleaseBuffer()
465 mStats.onBufferEvicted(iter->second->mAllocSize); in handleReleaseBuffer()
550 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult()
553 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult()
554 mStats.onBufferEvicted(bufferIter->second->mAllocSize); in handleTransferResult()
629 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleClose()
632 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleClose()
[all …]
/frameworks/av/media/bufferpool/1.0/
DAccessorImpl.cpp49 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()
/frameworks/compile/slang/
Dslang_rs_reflection_state.h669 size_t mAllocSize; member
708 size_t mAllocSize; member
751 return Val32(true, mRecord->mAllocSize); in getRecordAllocSize()
Dslang_rs_export_type.h641 size_t mAllocSize; variable
654 mAllocSize(AllocSize) { in RSExportRecordType()
673 virtual size_t getAllocSize() const { return mAllocSize; } in getAllocSize()
Dslang_rs_reflection_state.cpp154 << " 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()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAString.h102 size_t mAllocSize; member