/frameworks/rs/tests/lldb/cpp/Allocations/ |
D | Allocations.cpp | 79 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/ |
D | jniallocations.cpp | 83 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/ |
D | MainActivity.java | 92 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/ |
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()
|
/frameworks/av/media/libstagefright/foundation/ |
D | AString.cpp | 39 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/ |
D | slang_rs_export_type.h | 637 size_t mAllocSize; variable 649 mAllocSize(AllocSize) { in RSExportRecordType() 668 virtual size_t getAllocSize() const { return mAllocSize; } in getAllocSize()
|
/frameworks/av/media/libstagefright/include/foundation/ |
D | AString.h | 100 size_t mAllocSize; member
|