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

/frameworks/rs/tests/lldb/cpp/Allocations/
H A 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);
90 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4);
91 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4);
98 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize);
100 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4);
101 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4);
107 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize);
108 mInt2Allocation = Allocation::createSized(mRS, Element::I32_2(mRS), mAllocSize / 2);
110 mInt4Allocation = Allocation::createSized(mRS, Element::I32_4(mRS), mAllocSize /
[all...]
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
H A 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);
94 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4);
95 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4);
102 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize);
104 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4);
105 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4);
111 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize);
112 mInt2Allocation = Allocation::createSized(mRS, Element::I32_2(mRS), mAllocSize / 2);
114 mInt4Allocation = Allocation::createSized(mRS, Element::I32_4(mRS), mAllocSize /
[all...]
/frameworks/rs/tests/lldb/java/BranchingFunCalls/src/com/android/rs/branchingfuncalls/
H A DMainActivity.java28 private int mAllocSize = 256; field in class:MainActivity
46 mInAllocation = Allocation.createSized(mRS, e, mAllocSize);
47 mOutAllocation = Allocation.createSized(mRS, e, mAllocSize);
55 int[] init = new int[mAllocSize];
56 for(int i = 0; i < mAllocSize; ++i) {
57 init[i] = i - (mAllocSize / 2);
59 mInAllocation.copy1DRangeFrom(0, mAllocSize, init);
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/
H A DMainActivity.java92 private int mAllocSize = 24; // Chosen as allocation size since it's easily divisible field in class:MainActivity
127 mChar2Allocation = Allocation.createSized(mRS, Element.I8_2(mRS), mAllocSize / 2);
129 mChar3Allocation = Allocation.createSized(mRS, Element.I8_3(mRS), mAllocSize / 4);
131 mChar4Allocation = Allocation.createSized(mRS, Element.I8_4(mRS), mAllocSize / 4);
139 mShortAllocation = Allocation.createSized(mRS, Element.I16(mRS), mAllocSize);
143 mShort3Allocation = Allocation.createSized(mRS, Element.I16_3(mRS), mAllocSize / 4);
145 mShort4Allocation = Allocation.createSized(mRS, Element.I16_4(mRS), mAllocSize / 4);
152 mIntAllocation = Allocation.createSized(mRS, Element.I32(mRS), mAllocSize);
154 mInt2Allocation = Allocation.createSized(mRS, Element.I32_2(mRS), mAllocSize / 2);
158 mInt4Allocation = Allocation.createSized(mRS, Element.I32_4(mRS), mAllocSize /
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp39 mAllocSize(1) {
45 mAllocSize(1) {
57 mAllocSize(1) {
69 mAllocSize(1) {
76 mAllocSize(1) {
83 mAllocSize(1) {
135 mAllocSize = 1;
193 if (mSize + size + 1 > mAllocSize) {
194 mAllocSize = (mAllocSize
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAString.h100 size_t mAllocSize; member in struct:android::AString
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DAString.h100 size_t mAllocSize; member in struct:android::AString
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DAString.h100 size_t mAllocSize; member in struct:android::AString
/frameworks/compile/slang/
H A Dslang_rs_export_type.h641 size_t mAllocSize; member in class:slang::RSExportRecordType
654 mAllocSize(AllocSize) {
673 virtual size_t getAllocSize() const { return mAllocSize; }
H A Dslang_rs_reflection_state.h669 size_t mAllocSize;
708 size_t mAllocSize;
751 return Val32(true, mRecord->mAllocSize);
H A Dslang_rs_reflection_state.cpp154 << " allocSize=" << Val.mAllocSize
174 << " allocSize=" << var.mAllocSize << std::endl;
755 record.mAllocSize = ERT->getAllocSize();
959 variable.mAllocSize = EV->getType()->getAllocSize();
1113 return Val32(true, variable.mAllocSize);

Completed in 1046 milliseconds