Home
last modified time | relevance | path

Searched refs:arraySizes (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/
DrsElement.cpp139 uint32_t *arraySizes = new uint32_t[fieldCount]; in createFromStream() local
148 arraySizes[ct] = stream->loadU32(); in createFromStream()
153 subElemNamesLengths, arraySizes); in createFromStream()
161 delete[] arraySizes; in createFromStream()
401 const uint32_t * arraySizes, in rsi_ElementCreate2() argument
404 names, nameLengths, arraySizes); in rsi_ElementCreate2()
424 const char **names, uint32_t *arraySizes, uint32_t dataSize) { in rsaElementGetSubElements() argument
432 arraySizes[i] = e->getFieldArraySize(i); in rsaElementGetSubElements()
Drs.h49 uint32_t *arraySizes, uint32_t dataSize);
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java226 native int rsnElementCreate2(int con, int[] elements, String[] names, int[] arraySizes); in rsnElementCreate2() argument
227 synchronized int nElementCreate2(int[] elements, String[] names, int[] arraySizes) { in nElementCreate2() argument
229 return rsnElementCreate2(mContext, elements, names, arraySizes); in nElementCreate2()
237 int[] IDs, String[] names, int[] arraySizes); in rsnElementGetSubElements() argument
238 synchronized void nElementGetSubElements(int id, int[] IDs, String[] names, int[] arraySizes) { in nElementGetSubElements() argument
240 rsnElementGetSubElements(mContext, id, IDs, names, arraySizes); in nElementGetSubElements()
/frameworks/rs/cpp/
DElement.cpp154 android::Vector<uint32_t> &arraySizes) : BaseObj(id, rs) { in Element() argument
158 mArraySizes = arraySizes; in Element()
DElement.h160 android::Vector<uint32_t> &arraySizes);
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp365 jint *arraySizes = _env->GetIntArrayElements(_arraySizes, NULL); in nElementCreate2() local
375 (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
378 _env->ReleaseIntArrayElements(_arraySizes, arraySizes, JNI_ABORT); in nElementCreate2()
411 uint32_t *arraySizes = (uint32_t *)malloc((uint32_t)dataSize * sizeof(uint32_t)); in nElementGetSubElements() local
413 rsaElementGetSubElements(con, (RsElement)id, ids, names, arraySizes, (uint32_t)dataSize); in nElementGetSubElements()
418 _env->SetIntArrayRegion(_arraySizes, i, 1, (const jint*)&arraySizes[i]); in nElementGetSubElements()
423 free(arraySizes); in nElementGetSubElements()