Searched refs:fieldCount (Results 1 - 7 of 7) sorted by relevance

/frameworks/rs/cpp/
H A DElement.cpp158 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 DrsElement.cpp97 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 DrsAllocation.cpp371 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/base/rs/java/android/renderscript/
H A DElement.java73 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 DElement.java80 int fieldCount = mElementNames.length;
82 for (int ct = 0; ct < fieldCount; ct ++) {
90 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) {
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1001 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);
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp942 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);

Completed in 210 milliseconds