Searched defs:fieldCount (Results 1 - 5 of 5) sorted by relevance
/frameworks/rs/cpp/ |
H A D | Element.cpp | 160 size_t fieldCount = mElementsCount; local 162 for (size_t ct = 0; ct < fieldCount; ct ++) { 170 for (size_t ct = 0; ct < fieldCount; ct ++) { 490 size_t fieldCount = mElementsCount; local 491 void ** elementArray = (void **)calloc(fieldCount, sizeof(void *)); 493 for (size_t ct = 0; ct < fieldCount; ct++) { 498 (RsElement *)elementArray, fieldCount, 499 (const char **)mElementNames, fieldCount, mElementNameLengths, 500 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 | 381 uint32_t fieldCount = elem->getFieldCount(); local 382 if (fieldCount == 0) { 392 uint32_t *offsetsPadded = new uint32_t[fieldCount]; 393 uint32_t *offsetsUnpadded = new uint32_t[fieldCount]; 394 uint32_t *sizeUnpadded = new uint32_t[fieldCount]; 396 for (uint32_t i = 0; i < fieldCount; i++) { 407 for (uint32_t fI = 0; fI < fieldCount; fI++) {
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 934 int fieldCount = _env->GetArrayLength(_ids); local 940 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); 941 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); 943 for(int i = 0; i < fieldCount; i ++) { 948 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); 954 fieldCount, nameArray, 955 fieldCount * sizeof(size_t), sizeArray, 956 (const uint32_t *)arraySizes, fieldCount);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1072 int fieldCount = _env->GetArrayLength(_ids); local 1088 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); 1089 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); 1091 for(int i = 0; i < fieldCount; i ++) { 1096 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); 1102 (const RsElement *)ids, fieldCount, 1103 nameArray, fieldCount * sizeof(size_t), sizeArray, 1104 (const uint32_t *)arraySizes, fieldCount);
|
Completed in 272 milliseconds