Home
last modified time | relevance | path

Searched refs:mAllocSize (Results 1 – 9 of 9) 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.cpp39 mAllocSize(1) { in AString()
45 mAllocSize(1) { in AString()
57 mAllocSize(1) { in AString()
69 mAllocSize(1) { in AString()
76 mAllocSize(1) { in AString()
83 mAllocSize(1) { in AString()
135 mAllocSize = 1; in clear()
193 if (mSize + size + 1 > mAllocSize) { in append()
194 mAllocSize = (mAllocSize + size + 31) & -32; in append()
195 mData = (char *)realloc(mData, mAllocSize); in append()
[all …]
/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.h100 size_t mAllocSize; member