Searched refs:fieldCount (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/rs/ |
D | rsElement.cpp | 107 uint32_t fieldCount = stream->loadU32(); in createFromStream() local 108 if (!fieldCount) { in createFromStream() 116 const Element **subElems = new const Element *[fieldCount]; in createFromStream() 117 const char **subElemNames = new const char *[fieldCount]; in createFromStream() 118 size_t *subElemNamesLengths = new size_t[fieldCount]; in createFromStream() 119 uint32_t *arraySizes = new uint32_t[fieldCount]; in createFromStream() 122 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream() 132 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, in createFromStream() 134 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream()
|
/frameworks/base/graphics/jni/ |
D | android_renderscript_RenderScript.cpp | 327 int fieldCount = _env->GetArrayLength(_ids); in nElementCreate2() local 332 const char ** nameArray = (const char **)calloc(fieldCount, sizeof(char *)); in nElementCreate2() 333 size_t* sizeArray = (size_t*)calloc(fieldCount, sizeof(size_t)); in nElementCreate2() 335 for (int ct=0; ct < fieldCount; ct++) { in nElementCreate2() 341 (RsElement *)ids, fieldCount, in nElementCreate2() 342 nameArray, fieldCount * sizeof(size_t), sizeArray, in nElementCreate2() 343 (const uint32_t *)arraySizes, fieldCount); in nElementCreate2() 344 for (int ct=0; ct < fieldCount; ct++) { in nElementCreate2()
|