Lines Matching refs:jlong
241 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \
343 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish()
351 static jlong
352 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate()
353 jlong returnValue, jlongArray fieldIDArray, in nClosureCreate()
356 jlong ret = 0; in nClosureCreate()
358 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); in nClosureCreate()
365 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate()
379 jlong* jDepClosures = in nClosureCreate()
387 jlong* jDepFieldIDs = in nClosureCreate()
463 ret = (jlong)(uintptr_t)rsClosureCreate( in nClosureCreate()
481 static jlong
482 nInvokeClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong invokeID, in nInvokeClosureCreate()
485 jlong ret = 0; in nInvokeClosureCreate()
494 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); in nInvokeClosureCreate()
501 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nInvokeClosureCreate()
539 ret = (jlong)(uintptr_t)rsInvokeClosureCreate( in nInvokeClosureCreate()
555 nClosureSetArg(JNIEnv *_env, jobject _this, jlong con, jlong closureID, in nClosureSetArg()
556 jint index, jlong value, jint size) { in nClosureSetArg()
563 nClosureSetGlobal(JNIEnv *_env, jobject _this, jlong con, jlong closureID, in nClosureSetGlobal()
564 jlong fieldID, jlong value, jint size) { in nClosureSetGlobal()
571 nScriptGroup2Create(JNIEnv *_env, jobject _this, jlong con, jstring name, in nScriptGroup2Create()
573 jlong ret = 0; in nScriptGroup2Create()
578 jlong* jClosures = _env->GetLongArrayElements(closureArray, nullptr); in nScriptGroup2Create()
601 ret = (jlong)(uintptr_t)rsScriptGroup2Create( in nScriptGroup2Create()
614 nScriptGroup2Execute(JNIEnv *_env, jobject _this, jlong con, jlong groupID) { in nScriptGroup2Execute()
619 nScriptIntrinsicBLAS_Single(JNIEnv *_env, jobject _this, jlong con, jlong id, jint func, jint Trans… in nScriptIntrinsicBLAS_Single()
621 … jfloat alpha, jlong A, jlong B, jfloat beta, jlong C, jint incX, jint incY, in nScriptIntrinsicBLAS_Single()
652 nScriptIntrinsicBLAS_Double(JNIEnv *_env, jobject _this, jlong con, jlong id, jint func, jint Trans… in nScriptIntrinsicBLAS_Double()
654 … jdouble alpha, jlong A, jlong B, jdouble beta, jlong C, jint incX, jint incY, in nScriptIntrinsicBLAS_Double()
685 nScriptIntrinsicBLAS_Complex(JNIEnv *_env, jobject _this, jlong con, jlong id, jint func, jint Tran… in nScriptIntrinsicBLAS_Complex()
687 jfloat alphaX, jfloat alphaY, jlong A, jlong B, jfloat betaX, in nScriptIntrinsicBLAS_Complex()
688 jfloat betaY, jlong C, jint incX, jint incY, jint KL, jint KU) { in nScriptIntrinsicBLAS_Complex()
720 nScriptIntrinsicBLAS_Z(JNIEnv *_env, jobject _this, jlong con, jlong id, jint func, jint TransA, in nScriptIntrinsicBLAS_Z()
722 jdouble alphaX, jdouble alphaY, jlong A, jlong B, jdouble betaX, in nScriptIntrinsicBLAS_Z()
723 jdouble betaY, jlong C, jint incX, jint incY, jint KL, jint KU) { in nScriptIntrinsicBLAS_Z()
756 nScriptIntrinsicBLAS_BNNM(JNIEnv *_env, jobject _this, jlong con, jlong id, jint M, jint N, jint K, in nScriptIntrinsicBLAS_BNNM()
757 … jlong A, jint a_offset, jlong B, jint b_offset, jlong C, jint c_offset, in nScriptIntrinsicBLAS_BNNM()
782 nAssignName(JNIEnv *_env, jobject _this, jlong con, jlong obj, jbyteArray str) in nAssignName()
799 nGetName(JNIEnv *_env, jobject _this, jlong con, jlong obj) in nGetName()
813 nObjDestroy(JNIEnv *_env, jobject _this, jlong con, jlong obj) in nObjDestroy()
823 static jlong
829 return (jlong)(uintptr_t)rsDeviceCreate(); in nDeviceCreate()
833 nDeviceDestroy(JNIEnv *_env, jobject _this, jlong dev) in nDeviceDestroy()
842 nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value) in nDeviceSetConfig()
850 static jlong
851 nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint flags, jint sdkVer, jint contextType) in nContextCreate()
856 …return (jlong)(uintptr_t)rsContextCreate((RsDevice)dev, 0, sdkVer, (RsContextType)contextType, fla… in nContextCreate()
859 static jlong
860 nContextCreateGL(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, in nContextCreateGL()
882 return (jlong)(uintptr_t)rsContextCreateGL((RsDevice)dev, ver, sdkVer, sc, dpi); in nContextCreateGL()
886 nContextSetPriority(JNIEnv *_env, jobject _this, jlong con, jint p) in nContextSetPriority()
895 nContextSetCacheDir(JNIEnv *_env, jobject _this, jlong con, jstring cacheDir) in nContextSetCacheDir()
908 nContextSetSurface(JNIEnv *_env, jobject _this, jlong con, jint width, jint height, jobject wnd) in nContextSetSurface()
926 nContextDestroy(JNIEnv *_env, jobject _this, jlong con) in nContextDestroy()
935 nContextDump(JNIEnv *_env, jobject _this, jlong con, jint bits) in nContextDump()
944 nContextPause(JNIEnv *_env, jobject _this, jlong con) in nContextPause()
953 nContextResume(JNIEnv *_env, jobject _this, jlong con) in nContextResume()
963 nContextGetErrorMessage(JNIEnv *_env, jobject _this, jlong con) in nContextGetErrorMessage()
983 nContextGetUserMessage(JNIEnv *_env, jobject _this, jlong con, jintArray data) in nContextGetUserMessage()
1008 nContextPeekMessage(JNIEnv *_env, jobject _this, jlong con, jintArray auxData) in nContextPeekMessage()
1028 static void nContextInitToClient(JNIEnv *_env, jobject _this, jlong con) in nContextInitToClient()
1036 static void nContextDeinitToClient(JNIEnv *_env, jobject _this, jlong con) in nContextDeinitToClient()
1045 nContextSendMessage(JNIEnv *_env, jobject _this, jlong con, jint id, jintArray data) in nContextSendMessage()
1068 static jlong
1069 nElementCreate(JNIEnv *_env, jobject _this, jlong con, jlong type, jint kind, jboolean norm, in nElementCreate()
1076 return (jlong)(uintptr_t)rsElementCreate((RsContext)con, (RsDataType)type, (RsDataKind)kind, in nElementCreate()
1080 static jlong
1081 nElementCreate2(JNIEnv *_env, jobject _this, jlong con, in nElementCreate2()
1089 jlong *jIds = _env->GetLongArrayElements(_ids, nullptr); in nElementCreate2()
1113 jlong id = (jlong)(uintptr_t)rsElementCreate2((RsContext)con, in nElementCreate2()
1123 return (jlong)(uintptr_t)id; in nElementCreate2()
1127 nElementGetNativeData(JNIEnv *_env, jobject _this, jlong con, jlong id, jintArray _elementData) in nElementGetNativeData()
1148 nElementGetSubElements(JNIEnv *_env, jobject _this, jlong con, jlong id, in nElementGetSubElements()
1166 const jlong id = (jlong)(uintptr_t)ids[i]; in nElementGetSubElements()
1180 static jlong
1181 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, in nTypeCreate()
1189 return (jlong)(uintptr_t)rsTypeCreate((RsContext)con, (RsElement)eid, dimx, dimy, dimz, mips, in nTypeCreate()
1194 nTypeGetNativeData(JNIEnv *_env, jobject _this, jlong con, jlong id, jlongArray _typeData) in nTypeGetNativeData()
1209 const jlong data = (jlong)(uintptr_t)typeData[i]; in nTypeGetNativeData()
1216 static jlong
1217 nAllocationCreateTyped(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mips, jint usage, in nAllocationCreateTyped()
1218 jlong pointer) in nAllocationCreateTyped()
1224 return (jlong)(uintptr_t) rsAllocationCreateTyped((RsContext)con, (RsType)type, in nAllocationCreateTyped()
1230 nAllocationSyncAll(JNIEnv *_env, jobject _this, jlong con, jlong a, jint bits) in nAllocationSyncAll()
1240 nAllocationSetupBufferQueue(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint numAlloc) in nAllocationSetupBufferQueue()
1250 nAllocationShareBufferQueue(JNIEnv *_env, jobject _this, jlong con, jlong alloc1, jlong alloc2) in nAllocationShareBufferQueue()
1261 nAllocationGetSurface(JNIEnv *_env, jobject _this, jlong con, jlong a) in nAllocationGetSurface()
1277 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface()
1295 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend()
1303 static jlong
1304 nAllocationIoReceive(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoReceive()
1309 return (jlong) rsAllocationIoReceive((RsContext)con, (RsAllocation)alloc); in nAllocationIoReceive()
1313 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps()
1326 static jlong
1327 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, in nAllocationCreateFromBitmap()
1332 jlong id = (jlong)(uintptr_t)rsAllocationCreateFromBitmap((RsContext)con, in nAllocationCreateFromBitmap()
1338 static jlong
1339 nAllocationCreateBitmapBackedAllocation(JNIEnv *_env, jobject _this, jlong con, jlong type, in nAllocationCreateBitmapBackedAllocation()
1344 jlong id = (jlong)(uintptr_t)rsAllocationCreateTyped((RsContext)con, in nAllocationCreateBitmapBackedAllocation()
1350 static jlong
1351 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, in nAllocationCubeCreateFromBitmap()
1356 jlong id = (jlong)(uintptr_t)rsAllocationCubeCreateFromBitmap((RsContext)con, in nAllocationCubeCreateFromBitmap()
1363 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
1376 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap()
1386 nAllocationData1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, in nAllocationData1D()
1401 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, in nAllocationElementData()
1425 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData2D()
1443 nAllocationData2D_alloc(JNIEnv *_env, jobject _this, jlong con, in nAllocationData2D_alloc()
1444 jlong dstAlloc, jint dstXoff, jint dstYoff, in nAllocationData2D_alloc()
1447 jlong srcAlloc, jint srcXoff, jint srcYoff, in nAllocationData2D_alloc()
1470 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData3D()
1488 nAllocationData3D_alloc(JNIEnv *_env, jobject _this, jlong con, in nAllocationData3D_alloc()
1489 jlong dstAlloc, jint dstXoff, jint dstYoff, jint dstZoff, in nAllocationData3D_alloc()
1492 jlong srcAlloc, jint srcXoff, jint srcYoff, jint srcZoff, in nAllocationData3D_alloc()
1514 nAllocationRead(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jobject data, jint dataType, in nAllocationRead()
1528 nAllocationRead1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, in nAllocationRead1D()
1543 nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong alloc, in nAllocationElementRead()
1566 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationRead2D()
1583 nAllocationRead3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationRead3D()
1598 static jlong
1599 nAllocationGetType(JNIEnv *_env, jobject _this, jlong con, jlong a) in nAllocationGetType()
1604 return (jlong)(uintptr_t) rsaAllocationGetType((RsContext)con, (RsAllocation)a); in nAllocationGetType()
1608 nAllocationResize1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint dimX) in nAllocationResize1D()
1618 static jlong
1619 nAllocationAdapterCreate(JNIEnv *_env, jobject _this, jlong con, jlong basealloc, jlong type) in nAllocationAdapterCreate()
1625 return (jlong)(uintptr_t) rsAllocationAdapterCreate((RsContext)con, (RsType)type, in nAllocationAdapterCreate()
1631 nAllocationAdapterOffset(JNIEnv *_env, jobject _this, jlong con, jlong alloc, in nAllocationAdapterOffset()
1650 static jlong
1651 nFileA3DCreateFromAssetStream(JNIEnv *_env, jobject _this, jlong con, jlong native_asset) in nFileA3DCreateFromAssetStream()
1656 …jlong id = (jlong)(uintptr_t)rsaFileA3DCreateFromMemory((RsContext)con, asset->getBuffer(false), a… in nFileA3DCreateFromAssetStream()
1660 static jlong
1661 nFileA3DCreateFromAsset(JNIEnv *_env, jobject _this, jlong con, jobject _assetMgr, jstring _path) in nFileA3DCreateFromAsset()
1678 jlong id = (jlong)(uintptr_t)rsaFileA3DCreateFromAsset((RsContext)con, asset.release()); in nFileA3DCreateFromAsset()
1682 static jlong
1683 nFileA3DCreateFromFile(JNIEnv *_env, jobject _this, jlong con, jstring fileName) in nFileA3DCreateFromFile()
1686 jlong id = (jlong)(uintptr_t)rsaFileA3DCreateFromFile((RsContext)con, fileNameUTF.c_str()); in nFileA3DCreateFromFile()
1692 nFileA3DGetNumIndexEntries(JNIEnv *_env, jobject _this, jlong con, jlong fileA3D) in nFileA3DGetNumIndexEntries()
1700 nFileA3DGetIndexEntries(JNIEnv *_env, jobject _this, jlong con, jlong fileA3D, jint numEntries, jin… in nFileA3DGetIndexEntries()
1715 static jlong
1716 nFileA3DGetEntryByIndex(JNIEnv *_env, jobject _this, jlong con, jlong fileA3D, jint index) in nFileA3DGetEntryByIndex()
1719 …jlong id = (jlong)(uintptr_t)rsaFileA3DGetEntryByIndex((RsContext)con, (uint32_t)index, (RsFile)fi… in nFileA3DGetEntryByIndex()
1725 static jlong
1726 nFontCreateFromFile(JNIEnv *_env, jobject _this, jlong con, in nFontCreateFromFile()
1730 jlong id = (jlong)(uintptr_t)rsFontCreateFromFile((RsContext)con, in nFontCreateFromFile()
1737 static jlong
1738 nFontCreateFromAssetStream(JNIEnv *_env, jobject _this, jlong con, in nFontCreateFromAssetStream()
1739 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream()
1744 jlong id = (jlong)(uintptr_t)rsFontCreateFromMemory((RsContext)con, in nFontCreateFromAssetStream()
1751 static jlong
1752 nFontCreateFromAsset(JNIEnv *_env, jobject _this, jlong con, jobject _assetMgr, jstring _path, in nFontCreateFromAsset()
1770 jlong id = (jlong)(uintptr_t)rsFontCreateFromMemory((RsContext)con, in nFontCreateFromAsset()
1780 nScriptBindAllocation(JNIEnv *_env, jobject _this, jlong con, jlong script, jlong alloc, jint slot) in nScriptBindAllocation()
1790 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val) in nScriptSetVarI()
1800 nScriptGetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) in nScriptGetVarI()
1811 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) in nScriptSetVarObj()
1821 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) in nScriptSetVarJ()
1830 static jlong
1831 nScriptGetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) in nScriptGetVarJ()
1836 jlong value = 0; in nScriptGetVarJ()
1842 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val) in nScriptSetVarF()
1852 nScriptGetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) in nScriptGetVarF()
1863 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val) in nScriptSetVarD()
1873 nScriptGetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) in nScriptGetVarD()
1884 nScriptSetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) in nScriptSetVarV()
1900 nScriptGetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) in nScriptGetVarV()
1916 nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, in nScriptSetVarVE()
1917 jlong elem, jintArray dims) in nScriptSetVarVE()
1942 nScriptSetTimeZone(JNIEnv *_env, jobject _this, jlong con, jlong script, jbyteArray timeZone) in nScriptSetTimeZone()
1964 nScriptInvoke(JNIEnv *_env, jobject _this, jlong con, jlong obj, jint slot) in nScriptInvoke()
1973 nScriptInvokeV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) in nScriptInvokeV()
1989 nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, in nScriptForEach()
1990 jlongArray ains, jlong aout, jbyteArray params, in nScriptForEach()
1998 jlong *in_ptr = nullptr; in nScriptForEach()
2016 if (sizeof(RsAllocation) == sizeof(jlong)) { in nScriptForEach()
2102 nScriptReduce(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, in nScriptReduce()
2103 jlongArray ains, jlong aout, jintArray limits) in nScriptReduce()
2121 jlong *in_ptr = _env->GetLongArrayElements(ains, nullptr); in nScriptReduce()
2129 if (sizeof(RsAllocation) == sizeof(jlong)) { in nScriptReduce()
2198 static jlong
2199 nScriptCCreate(JNIEnv *_env, jobject _this, jlong con, in nScriptCCreate()
2209 jlong ret = 0; in nScriptCCreate()
2239 ret = (jlong)(uintptr_t)rsScriptCCreate((RsContext)con, in nScriptCCreate()
2250 return (jlong)(uintptr_t)ret; in nScriptCCreate()
2253 static jlong
2254 nScriptIntrinsicCreate(JNIEnv *_env, jobject _this, jlong con, jint id, jlong eid) in nScriptIntrinsicCreate()
2260 return (jlong)(uintptr_t)rsScriptIntrinsicCreate((RsContext)con, id, (RsElement)eid); in nScriptIntrinsicCreate()
2263 static jlong
2264 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig) in nScriptKernelIDCreate()
2270 return (jlong)(uintptr_t)rsScriptKernelIDCreate((RsContext)con, (RsScript)sid, slot, sig); in nScriptKernelIDCreate()
2273 static jlong
2274 nScriptInvokeIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) in nScriptInvokeIDCreate()
2280 return (jlong)(uintptr_t)rsScriptInvokeIDCreate((RsContext)con, (RsScript)sid, slot); in nScriptInvokeIDCreate()
2283 static jlong
2284 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) in nScriptFieldIDCreate()
2290 return (jlong)(uintptr_t)rsScriptFieldIDCreate((RsContext)con, (RsScript)sid, slot); in nScriptFieldIDCreate()
2293 static jlong
2294 nScriptGroupCreate(JNIEnv *_env, jobject _this, jlong con, jlongArray _kernels, jlongArray _src, in nScriptGroupCreate()
2301 jlong id = 0; in nScriptGroupCreate()
2305 jlong *jKernelsPtr = _env->GetLongArrayElements(_kernels, nullptr); in nScriptGroupCreate()
2309 jlong *jSrcPtr = _env->GetLongArrayElements(_src, nullptr); in nScriptGroupCreate()
2313 jlong *jDstkPtr = _env->GetLongArrayElements(_dstk, nullptr); in nScriptGroupCreate()
2317 jlong *jDstfPtr = _env->GetLongArrayElements(_dstf, nullptr); in nScriptGroupCreate()
2321 jlong *jTypesPtr = _env->GetLongArrayElements(_types, nullptr); in nScriptGroupCreate()
2369 id = (jlong)(uintptr_t)rsScriptGroupCreate((RsContext)con, in nScriptGroupCreate()
2403 nScriptGroupSetInput(JNIEnv *_env, jobject _this, jlong con, jlong gid, jlong kid, jlong alloc) in nScriptGroupSetInput()
2413 nScriptGroupSetOutput(JNIEnv *_env, jobject _this, jlong con, jlong gid, jlong kid, jlong alloc) in nScriptGroupSetOutput()
2423 nScriptGroupExecute(JNIEnv *_env, jobject _this, jlong con, jlong gid) in nScriptGroupExecute()
2433 static jlong
2434 nProgramStoreCreate(JNIEnv *_env, jobject _this, jlong con, in nProgramStoreCreate()
2443 …return (jlong)(uintptr_t)rsProgramStoreCreate((RsContext)con, colorMaskR, colorMaskG, colorMaskB, … in nProgramStoreCreate()
2451 nProgramBindConstants(JNIEnv *_env, jobject _this, jlong con, jlong vpv, jint slot, jlong a) in nProgramBindConstants()
2461 nProgramBindTexture(JNIEnv *_env, jobject _this, jlong con, jlong vpf, jint slot, jlong a) in nProgramBindTexture()
2471 nProgramBindSampler(JNIEnv *_env, jobject _this, jlong con, jlong vpf, jint slot, jlong a) in nProgramBindSampler()
2482 static jlong
2483 nProgramFragmentCreate(JNIEnv *_env, jobject _this, jlong con, jstring shader, in nProgramFragmentCreate()
2487 jlong *jParamPtr = _env->GetLongArrayElements(params, nullptr); in nProgramFragmentCreate()
2507 …jlong ret = (jlong)(uintptr_t)rsProgramFragmentCreate((RsContext)con, shaderUTF.c_str(), shaderUTF… in nProgramFragmentCreate()
2519 static jlong
2520 nProgramVertexCreate(JNIEnv *_env, jobject _this, jlong con, jstring shader, in nProgramVertexCreate()
2524 jlong *jParamPtr = _env->GetLongArrayElements(params, nullptr); in nProgramVertexCreate()
2545 …jlong ret = (jlong)(uintptr_t)rsProgramVertexCreate((RsContext)con, shaderUTF.c_str(), shaderUTF.l… in nProgramVertexCreate()
2556 static jlong
2557 nProgramRasterCreate(JNIEnv *_env, jobject _this, jlong con, jboolean pointSprite, jint cull) in nProgramRasterCreate()
2563 return (jlong)(uintptr_t)rsProgramRasterCreate((RsContext)con, pointSprite, (RsCullMode)cull); in nProgramRasterCreate()
2570 nContextBindRootScript(JNIEnv *_env, jobject _this, jlong con, jlong script) in nContextBindRootScript()
2579 nContextBindProgramStore(JNIEnv *_env, jobject _this, jlong con, jlong pfs) in nContextBindProgramStore()
2588 nContextBindProgramFragment(JNIEnv *_env, jobject _this, jlong con, jlong pf) in nContextBindProgramFragment()
2598 nContextBindProgramVertex(JNIEnv *_env, jobject _this, jlong con, jlong pf) in nContextBindProgramVertex()
2607 nContextBindProgramRaster(JNIEnv *_env, jobject _this, jlong con, jlong pf) in nContextBindProgramRaster()
2618 static jlong
2619 nSamplerCreate(JNIEnv *_env, jobject _this, jlong con, jint magFilter, jint minFilter, in nSamplerCreate()
2625 return (jlong)(uintptr_t)rsSamplerCreate((RsContext)con, in nSamplerCreate()
2636 static jlong
2637 nMeshCreate(JNIEnv *_env, jobject _this, jlong con, jlongArray _vtx, jlongArray _idx, jintArray _pr… in nMeshCreate()
2643 jlong id = 0; in nMeshCreate()
2647 jlong *jVtxPtr = _env->GetLongArrayElements(_vtx, nullptr); in nMeshCreate()
2651 jlong *jIdxPtr = _env->GetLongArrayElements(_idx, nullptr); in nMeshCreate()
2679 id = (jlong)(uintptr_t)rsMeshCreate((RsContext)con, in nMeshCreate()
2702 nMeshGetVertexBufferCount(JNIEnv *_env, jobject _this, jlong con, jlong mesh) in nMeshGetVertexBufferCount()
2713 nMeshGetIndexCount(JNIEnv *_env, jobject _this, jlong con, jlong mesh) in nMeshGetIndexCount()
2724 nMeshGetVertices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _ids, jint numVtxID… in nMeshGetVertices()
2734 const jlong alloc = (jlong)(uintptr_t)allocs[i]; in nMeshGetVertices()
2742 nMeshGetIndices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _idxIds, jintArray _… in nMeshGetIndices()
2754 const jlong alloc = (jlong)(uintptr_t)allocs[i]; in nMeshGetIndices()
2770 nAllocationGetByteBuffer(JNIEnv *_env, jobject _this, jlong con, jlong alloc, in nAllocationGetByteBuffer()
2777 jlong *jStridePtr = _env->GetLongArrayElements(strideArr, nullptr); in nAllocationGetByteBuffer()
2801 byteBuffer = _env->NewDirectByteBuffer(ptr, (jlong) bufferSize); in nAllocationGetByteBuffer()