Searched refs:fieldCount (Results 1 - 7 of 7) sorted by relevance
/frameworks/rs/cpp/ |
H A D | Element.cpp | 154 size_t fieldCount = mElementNames.size(); local 156 for (size_t ct = 0; ct < fieldCount; ct ++) { 163 for (size_t ct = 0; ct < fieldCount; ct ++) { 392 size_t fieldCount = mElements.size(); local 393 const char ** nameArray = (const char **)calloc(fieldCount, sizeof(char *)); 394 const Element ** elementArray = (const Element **)calloc(fieldCount, sizeof(Element *)); 395 size_t* sizeArray = (size_t*)calloc(fieldCount, sizeof(size_t)); 397 for (size_t ct = 0; ct < fieldCount; ct++) { 404 (RsElement *)elementArray, fieldCount, 405 nameArray, fieldCount * sizeo [all...] |
/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 | 290 uint32_t fieldCount = elem->getFieldCount(); local 291 if (fieldCount == 0) { 301 uint32_t *offsetsPadded = new uint32_t[fieldCount]; 302 uint32_t *offsetsUnpadded = new uint32_t[fieldCount]; 303 uint32_t *sizeUnpadded = new uint32_t[fieldCount]; 305 for (uint32_t i = 0; i < fieldCount; i++) { 316 for (uint32_t fI = 0; fI < fieldCount; fI++) {
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 419 int fieldCount = _env->GetArrayLength(_ids); local 425 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); 426 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); 428 for(int i = 0; i < fieldCount; i ++) { 433 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); 439 (const RsElement *)ids, fieldCount, 440 nameArray, fieldCount * sizeof(size_t), sizeArray, 441 (const uint32_t *)arraySizes, fieldCount);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Element.java | 73 int fieldCount = mElementNames.length; 75 for (int ct = 0; ct < fieldCount; ct ++) { 83 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) {
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Element.java | 80 int fieldCount = mElementNames.length; 82 for (int ct = 0; ct < fieldCount; ct ++) { 90 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) {
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 256 int fieldCount = _env->GetArrayLength(_ids); local 262 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); 268 (RsElement *)ids, fieldCount, 269 nameArray, fieldCount * sizeof(size_t), sizeArray, 270 (const uint32_t *)arraySizes, fieldCount);
|
Completed in 129 milliseconds