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) __DEPRECATED_IN(31);
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.h68 const char** names, size_t* arraySizes, uint32_t dataSize)
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java363 native long rsnElementCreate2(long con, long[] elements, String[] names, int[] arraySizes); in rsnElementCreate2() argument
364 synchronized long nElementCreate2(long[] elements, String[] names, int[] arraySizes) { in nElementCreate2() argument
366 return rsnElementCreate2(mContext, elements, names, arraySizes); in nElementCreate2()
374 long[] IDs, String[] names, int[] arraySizes); in rsnElementGetSubElements() argument
375 … synchronized void nElementGetSubElements(long id, long[] IDs, String[] names, int[] arraySizes) { in nElementGetSubElements() argument
377 rsnElementGetSubElements(mContext, id, IDs, names, arraySizes); in nElementGetSubElements()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java422 native long rsnElementCreate2(long con, long[] elements, String[] names, int[] arraySizes); in rsnElementCreate2() argument
423 synchronized long nElementCreate2(long[] elements, String[] names, int[] arraySizes) { in nElementCreate2() argument
425 return rsnElementCreate2(mContext, elements, names, arraySizes); in nElementCreate2()
433 long[] IDs, String[] names, int[] arraySizes); in rsnElementGetSubElements() argument
434 … synchronized void nElementGetSubElements(long id, long[] IDs, String[] names, int[] arraySizes) { in nElementGetSubElements() argument
436 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.cpp1101 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); in nElementCreate2() local
1105 arraySizes[i] = (uint32_t)jArraySizes[i]; in nElementCreate2()
1116 (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
1119 free(arraySizes); in nElementCreate2()
1160 size_t *arraySizes = (size_t *)malloc(dataSize * sizeof(size_t)); in nElementGetSubElements() local
1162 rsaElementGetSubElements((RsContext)con, (RsElement)id, ids, names, arraySizes, in nElementGetSubElements()
1167 const jint arraySize = (jint)arraySizes[i]; in nElementGetSubElements()
1175 free(arraySizes); in nElementGetSubElements()