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

/frameworks/rs/cpp/
H A DElement.cpp153 size_t fieldCount = mElementNames.size(); local
155 for (size_t ct = 0; ct < fieldCount; ct ++) {
162 for (size_t ct = 0; ct < fieldCount; ct ++) {
391 size_t fieldCount = mElements.size(); local
392 const char ** nameArray = (const char **)calloc(fieldCount, sizeof(char *));
393 const Element ** elementArray = (const Element **)calloc(fieldCount, sizeof(Element *));
394 size_t* sizeArray = (size_t*)calloc(fieldCount, sizeof(size_t));
396 for (size_t ct = 0; ct < fieldCount; ct++) {
403 (RsElement *)elementArray, fieldCount,
404 nameArray, fieldCount * sizeo
[all...]
/frameworks/rs/
H A DrsElement.cpp90 ALOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes());
129 uint32_t fieldCount = stream->loadU32(); local
130 if (!fieldCount) {
138 const Element **subElems = new const Element *[fieldCount];
139 const char **subElemNames = new const char *[fieldCount];
140 size_t *subElemNamesLengths = new size_t[fieldCount];
141 uint32_t *arraySizes = new uint32_t[fieldCount];
143 for (uint32_t ct = 0; ct < fieldCount; ct ++) {
150 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames,
152 for (uint32_t ct = 0; ct < fieldCount; c
[all...]
H A DrsAllocation.cpp274 uint32_t fieldCount = elem->getFieldCount(); local
275 if (fieldCount == 0) {
285 uint32_t *offsetsPadded = new uint32_t[fieldCount];
286 uint32_t *offsetsUnpadded = new uint32_t[fieldCount];
287 uint32_t *sizeUnpadded = new uint32_t[fieldCount];
289 for (uint32_t i = 0; i < fieldCount; i++) {
300 for (uint32_t fI = 0; fI < fieldCount; fI++) {
/frameworks/base/graphics/java/android/renderscript/
H A DElement.java76 int fieldCount = mElementNames.length;
78 for (int ct = 0; ct < fieldCount; ct ++) {
86 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/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp256 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);
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp360 int fieldCount = _env->GetArrayLength(_ids); local
366 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount);
372 (RsElement *)ids, fieldCount,
373 nameArray, fieldCount * sizeof(size_t), sizeArray,
374 (const uint32_t *)arraySizes, fieldCount);

Completed in 258 milliseconds