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

/frameworks/rs/cpp/
H A DElement.cpp135 size_t fieldCount = mElementNames.size(); local
137 for (size_t ct = 0; ct < fieldCount; ct ++) {
144 for (size_t ct = 0; ct < fieldCount; ct ++) {
409 size_t fieldCount = mElements.size(); local
410 const char ** nameArray = (const char **)calloc(fieldCount, sizeof(char *));
411 const Element ** elementArray = (const Element **)calloc(fieldCount, sizeof(Element *));
412 size_t* sizeArray = (size_t*)calloc(fieldCount, sizeof(size_t));
414 for (size_t ct = 0; ct < fieldCount; ct++) {
421 (RsElement *)elementArray, fieldCount,
422 nameArray, fieldCount * sizeo
[all...]
/frameworks/rs/
H A DrsElement.cpp85 ALOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes());
127 uint32_t fieldCount = stream->loadU32(); local
128 if (!fieldCount) {
136 const Element **subElems = new const Element *[fieldCount];
137 const char **subElemNames = new const char *[fieldCount];
138 size_t *subElemNamesLengths = new size_t[fieldCount];
139 uint32_t *arraySizes = new uint32_t[fieldCount];
142 for (uint32_t ct = 0; ct < fieldCount; ct ++) {
152 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames,
154 for (uint32_t ct = 0; ct < fieldCount; c
[all...]
H A DrsAllocation.cpp251 uint32_t fieldCount = elem->getFieldCount(); local
252 if (fieldCount == 0) {
262 uint32_t *offsetsPadded = new uint32_t[fieldCount];
263 uint32_t *offsetsUnpadded = new uint32_t[fieldCount];
264 uint32_t *sizeUnpadded = new uint32_t[fieldCount];
266 for (uint32_t i = 0; i < fieldCount; i++) {
277 for (uint32_t fI = 0; fI < fieldCount; fI++) {
/frameworks/support/renderscript/v8/rs_support/
H A DrsElement.cpp85 ALOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes());
127 uint32_t fieldCount = stream->loadU32(); local
128 if (!fieldCount) {
136 const Element **subElems = new const Element *[fieldCount];
137 const char **subElemNames = new const char *[fieldCount];
138 size_t *subElemNamesLengths = new size_t[fieldCount];
139 uint32_t *arraySizes = new uint32_t[fieldCount];
142 for (uint32_t ct = 0; ct < fieldCount; ct ++) {
152 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames,
154 for (uint32_t ct = 0; ct < fieldCount; c
[all...]
H A DrsAllocation.cpp232 uint32_t fieldCount = elem->getFieldCount(); local
233 if (fieldCount == 0) {
243 uint32_t *offsetsPadded = new uint32_t[fieldCount];
244 uint32_t *offsetsUnpadded = new uint32_t[fieldCount];
245 uint32_t *sizeUnpadded = new uint32_t[fieldCount];
247 for (uint32_t i = 0; i < fieldCount; i++) {
258 for (uint32_t fI = 0; fI < fieldCount; fI++) {
/frameworks/support/renderscript/v8/jni/
H A Dandroid_renderscript_RenderScript.cpp253 int fieldCount = _env->GetArrayLength(_ids); local
259 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount);
265 (RsElement *)ids, fieldCount,
266 nameArray, fieldCount * sizeof(size_t), sizeArray,
267 (const uint32_t *)arraySizes, fieldCount);
/frameworks/base/graphics/java/android/renderscript/
H A DElement.java70 int fieldCount = mElementNames.length;
72 for (int ct = 0; ct < fieldCount; ct ++) {
80 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) {
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DElement.java86 int fieldCount = mElementNames.length;
88 for (int ct = 0; ct < fieldCount; ct ++) {
96 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) {
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp361 int fieldCount = _env->GetArrayLength(_ids); local
367 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount);
373 (RsElement *)ids, fieldCount,
374 nameArray, fieldCount * sizeof(size_t), sizeArray,
375 (const uint32_t *)arraySizes, fieldCount);

Completed in 627 milliseconds