Home
last modified time | relevance | path

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

/frameworks/rs/
DrsApiElement.cpp36 const char **names, size_t *arraySizes, uint32_t dataSize) { in rsaElementGetSubElements() argument
44 arraySizes[i] = e->getFieldArraySize(i); in rsaElementGetSubElements()
DrsElement.cpp148 uint32_t *arraySizes = new uint32_t[fieldCount]; in createFromStream() local
153 arraySizes[ct] = stream->loadU32(); in createFromStream()
158 subElemNamesLengths, arraySizes); in createFromStream()
167 delete[] arraySizes; in createFromStream()
429 const uint32_t * arraySizes, in rsi_ElementCreate2() argument
432 names, nameLengths, arraySizes); in rsi_ElementCreate2()
Drs.h54 uint32_t *arraySizes, uint32_t dataSize);
DrsHidlAdaptation.cpp248 …ontext, RsElement element, uintptr_t *ids, const char **names, size_t *arraySizes, uint32_t dataSi… in ElementGetSubElements() argument
253 uint64_t _arraySizes = (uint64_t)(uintptr_t)arraySizes; in ElementGetSubElements()
256 …[ids, names, arraySizes, dataSize] (const hidl_vec<uint64_t> &retIds, const hidl_vec<hidl_string> … in ElementGetSubElements()
260 arraySizes[i] = static_cast<size_t>(retArraySizes[i]); in ElementGetSubElements()
528 const uint32_t * arraySizes, in ElementCreate2() argument
542 _arraySizes[i] = (Size)arraySizes[i]; in ElementCreate2()
DrsHidlAdaptation.h72 …ents(RsContext, RsElement, uintptr_t *ids, const char **names, size_t *arraySizes, uint32_t dataSi…
DrsApiStubs.cpp306 size_t *arraySizes, uint32_t dataSize) in rsaElementGetSubElements() argument
308 RS_DISPATCH(ctxWrapper, ElementGetSubElements, elem, ids, names, arraySizes, dataSize); in rsaElementGetSubElements()
DrsApiStubs.h51 …ntext con, RsElement elem, uintptr_t *ids, const char **names, size_t *arraySizes, uint32_t dataSi…
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java358 native long rsnElementCreate2(long con, long[] elements, String[] names, int[] arraySizes); in rsnElementCreate2() argument
359 synchronized long nElementCreate2(long[] elements, String[] names, int[] arraySizes) { in nElementCreate2() argument
361 return rsnElementCreate2(mContext, elements, names, arraySizes); in nElementCreate2()
369 long[] IDs, String[] names, int[] arraySizes); in rsnElementGetSubElements() argument
370 … synchronized void nElementGetSubElements(long id, long[] IDs, String[] names, int[] arraySizes) { in nElementGetSubElements() argument
372 rsnElementGetSubElements(mContext, id, IDs, names, arraySizes); in nElementGetSubElements()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java417 native long rsnElementCreate2(long con, long[] elements, String[] names, int[] arraySizes); in rsnElementCreate2() argument
418 synchronized long nElementCreate2(long[] elements, String[] names, int[] arraySizes) { in nElementCreate2() argument
420 return rsnElementCreate2(mContext, elements, names, arraySizes); in nElementCreate2()
428 long[] IDs, String[] names, int[] arraySizes); in rsnElementGetSubElements() argument
429 … synchronized void nElementGetSubElements(long id, long[] IDs, String[] names, int[] arraySizes) { in nElementGetSubElements() argument
431 rsnElementGetSubElements(mContext, id, IDs, names, arraySizes); in nElementGetSubElements()
/frameworks/rs/cpp/
DElement.cpp182 uint32_t * arraySizes) : BaseObj(id, rs) { in Element() argument
196 memcpy(mArraySizes, arraySizes, mElementsCount * sizeof(uint32_t)); in Element()
DrsDispatch.h26 …Ptr)(RsContext, RsElement, uintptr_t *ids, const char **names, size_t *arraySizes, uint32_t dataSi…
DrsCppStructs.h1428 uint32_t * arraySizes);
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp956 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); in nElementCreate2() local
960 arraySizes[i] = (uint32_t)jArraySizes[i]; in nElementCreate2()
971 … (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
974 free(arraySizes); in nElementCreate2()
994 size_t *arraySizes = (size_t *)malloc(dataSize * sizeof(size_t)); in nElementGetSubElements() local
996 dispatchTab.ElementGetSubElements((RsContext)con, (RsElement)id, ids, names, arraySizes, in nElementGetSubElements()
1001 const jint arraySize = (jint)arraySizes[i]; in nElementGetSubElements()
1009 free(arraySizes); in nElementGetSubElements()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1102 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); in nElementCreate2() local
1106 arraySizes[i] = (uint32_t)jArraySizes[i]; in nElementCreate2()
1117 (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
1120 free(arraySizes); in nElementCreate2()
1161 size_t *arraySizes = (size_t *)malloc(dataSize * sizeof(size_t)); in nElementGetSubElements() local
1163 rsaElementGetSubElements((RsContext)con, (RsElement)id, ids, names, arraySizes, in nElementGetSubElements()
1168 const jint arraySize = (jint)arraySizes[i]; in nElementGetSubElements()
1176 free(arraySizes); in nElementGetSubElements()