Searched refs:fieldCount (Results 1 – 7 of 7) sorted by relevance
/frameworks/rs/ |
D | rsElement.cpp | 136 uint32_t fieldCount = stream->loadU32(); in createFromStream() local 137 if (!fieldCount) { in createFromStream() 145 const Element **subElems = new const Element *[fieldCount]; in createFromStream() 146 const char **subElemNames = new const char *[fieldCount]; in createFromStream() 147 size_t *subElemNamesLengths = new size_t[fieldCount]; in createFromStream() 148 uint32_t *arraySizes = new uint32_t[fieldCount]; in createFromStream() 150 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream() 157 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, in createFromStream() 159 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream()
|
D | rsAllocation.cpp | 381 uint32_t fieldCount = elem->getFieldCount(); in writePackedData() local 382 if (fieldCount == 0) { in writePackedData() 392 uint32_t *offsetsPadded = new uint32_t[fieldCount]; in writePackedData() 393 uint32_t *offsetsUnpadded = new uint32_t[fieldCount]; in writePackedData() 394 uint32_t *sizeUnpadded = new uint32_t[fieldCount]; in writePackedData() 396 for (uint32_t i = 0; i < fieldCount; i++) { in writePackedData() 407 for (uint32_t fI = 0; fI < fieldCount; fI++) { in writePackedData()
|
/frameworks/rs/cpp/ |
D | Element.cpp | 160 size_t fieldCount = mElementsCount; in updateVisibleSubElements() local 162 for (size_t ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements() 170 for (size_t ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements() 490 size_t fieldCount = mElementsCount; in create() local 491 void ** elementArray = (void **)calloc(fieldCount, sizeof(void *)); in create() 493 for (size_t ct = 0; ct < fieldCount; ct++) { in create() 498 (RsElement *)elementArray, fieldCount, in create() 499 … (const char **)mElementNames, fieldCount, mElementNameLengths, in create() 500 mArraySizes, fieldCount); in create()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Element.java | 80 int fieldCount = mElementNames.length; in updateVisibleSubElements() local 82 for (int ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements() 90 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 73 int fieldCount = mElementNames.length; in updateVisibleSubElements() local 75 for (int ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements() 83 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements()
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 947 int fieldCount = _env->GetArrayLength(_ids); in nElementCreate2() local 953 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); in nElementCreate2() 954 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); in nElementCreate2() 956 for(int i = 0; i < fieldCount; i ++) { in nElementCreate2() 961 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); in nElementCreate2() 967 fieldCount, nameArray, in nElementCreate2() 968 fieldCount * sizeof(size_t), sizeArray, in nElementCreate2() 969 … (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1072 int fieldCount = _env->GetArrayLength(_ids); in nElementCreate2() local 1088 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); in nElementCreate2() 1089 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); in nElementCreate2() 1091 for(int i = 0; i < fieldCount; i ++) { in nElementCreate2() 1096 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); in nElementCreate2() 1102 (const RsElement *)ids, fieldCount, in nElementCreate2() 1103 nameArray, fieldCount * sizeof(size_t), sizeArray, in nElementCreate2() 1104 (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
|