Searched defs:fieldCount (Results 1 - 5 of 5) sorted by relevance
/frameworks/rs/cpp/ |
H A D | Element.cpp | 158 size_t fieldCount = mElementsCount; local 160 for (size_t ct = 0; ct < fieldCount; ct ++) { 168 for (size_t ct = 0; ct < fieldCount; ct ++) { 483 size_t fieldCount = mElementsCount; local 484 void ** elementArray = (void **)calloc(fieldCount, sizeof(void *)); 486 for (size_t ct = 0; ct < fieldCount; ct++) { 491 (RsElement *)elementArray, fieldCount, 492 (const char **)mElementNames, fieldCount, mElementNameLengths, 493 mArraySizes, fieldCount);
|
/frameworks/rs/ |
H A D | rsElement.cpp | 97 ALOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes()); 136 uint32_t fieldCount = stream->loadU32(); local 137 if (!fieldCount) { 145 const Element **subElems = new const Element *[fieldCount]; 146 const char **subElemNames = new const char *[fieldCount]; 147 size_t *subElemNamesLengths = new size_t[fieldCount]; 148 uint32_t *arraySizes = new uint32_t[fieldCount]; 150 for (uint32_t ct = 0; ct < fieldCount; ct ++) { 157 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, 159 for (uint32_t ct = 0; ct < fieldCount; c [all...] |
H A D | rsAllocation.cpp | 371 uint32_t fieldCount = elem->getFieldCount(); local 372 if (fieldCount == 0) { 382 uint32_t *offsetsPadded = new uint32_t[fieldCount]; 383 uint32_t *offsetsUnpadded = new uint32_t[fieldCount]; 384 uint32_t *sizeUnpadded = new uint32_t[fieldCount]; 386 for (uint32_t i = 0; i < fieldCount; i++) { 397 for (uint32_t fI = 0; fI < fieldCount; fI++) {
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 942 int fieldCount = _env->GetArrayLength(_ids); local 948 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); 949 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); 951 for(int i = 0; i < fieldCount; i ++) { 956 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); 962 fieldCount, nameArray, 963 fieldCount * sizeof(size_t), sizeArray, 964 (const uint32_t *)arraySizes, fieldCount);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1001 int fieldCount = _env->GetArrayLength(_ids); local 1009 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); 1010 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); 1012 for(int i = 0; i < fieldCount; i ++) { 1017 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); 1023 (const RsElement *)ids, fieldCount, 1024 nameArray, fieldCount * sizeof(size_t), sizeArray, 1025 (const uint32_t *)arraySizes, fieldCount);
|
Completed in 250 milliseconds