Lines Matching refs:jint
53 jint len = 0; \
57 jint relFlag = 0; \
211 _env->ReleaseIntArrayElements((jintArray)data, (jint *)ptr, relFlag); \
372 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nClosureCreate()
508 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nInvokeClosureCreate()
556 jint index, jlong value, jint size) { in nClosureSetArg()
564 jlong fieldID, jlong value, jint size) { in nClosureSetGlobal()
619 nScriptIntrinsicBLAS_Single(JNIEnv *_env, jobject _this, jlong con, jlong id, jint func, jint Trans… in nScriptIntrinsicBLAS_Single()
620 jint TransB, jint Side, jint Uplo, jint Diag, jint M, jint N, jint K, in nScriptIntrinsicBLAS_Single()
621 … jfloat alpha, jlong A, jlong B, jfloat beta, jlong C, jint incX, jint incY, in nScriptIntrinsicBLAS_Single()
622 jint KL, jint KU) { in nScriptIntrinsicBLAS_Single()
652 nScriptIntrinsicBLAS_Double(JNIEnv *_env, jobject _this, jlong con, jlong id, jint func, jint Trans… in nScriptIntrinsicBLAS_Double()
653 jint TransB, jint Side, jint Uplo, jint Diag, jint M, jint N, jint K, in nScriptIntrinsicBLAS_Double()
654 … jdouble alpha, jlong A, jlong B, jdouble beta, jlong C, jint incX, jint incY, in nScriptIntrinsicBLAS_Double()
655 jint KL, jint KU) { in nScriptIntrinsicBLAS_Double()
685 nScriptIntrinsicBLAS_Complex(JNIEnv *_env, jobject _this, jlong con, jlong id, jint func, jint Tran… in nScriptIntrinsicBLAS_Complex()
686 jint TransB, jint Side, jint Uplo, jint Diag, jint M, jint N, jint K, 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()
721 jint TransB, jint Side, jint Uplo, jint Diag, jint M, jint N, jint K, 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()
758 jint c_mult_int) { in nScriptIntrinsicBLAS_BNNM()
787 jint len = _env->GetArrayLength(str); in nAssignName()
842 nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value) in nDeviceSetConfig()
851 nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint flags, jint sdkVer, jint contextType) in nContextCreate()
860 nContextCreateGL(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, in nContextCreateGL()
861 jint colorMin, jint colorPref, in nContextCreateGL()
862 jint alphaMin, jint alphaPref, in nContextCreateGL()
863 jint depthMin, jint depthPref, in nContextCreateGL()
864 jint stencilMin, jint stencilPref, in nContextCreateGL()
865 jint samplesMin, jint samplesPref, jfloat samplesQ, in nContextCreateGL()
866 jint dpi) in nContextCreateGL()
886 nContextSetPriority(JNIEnv *_env, jobject _this, jlong con, jint p) in nContextSetPriority()
908 nContextSetSurface(JNIEnv *_env, jobject _this, jlong con, jint width, jint height, jobject wnd) in nContextSetSurface()
935 nContextDump(JNIEnv *_env, jobject _this, jlong con, jint bits) in nContextDump()
982 static jint
985 jint len = _env->GetArrayLength(data); in nContextGetUserMessage()
989 jint *ptr = _env->GetIntArrayElements(data, nullptr); in nContextGetUserMessage()
1004 return (jint)id; in nContextGetUserMessage()
1007 static jint
1013 jint *auxDataPtr = _env->GetIntArrayElements(auxData, nullptr); in nContextPeekMessage()
1022 auxDataPtr[0] = (jint)subID; in nContextPeekMessage()
1023 auxDataPtr[1] = (jint)receiveLen; in nContextPeekMessage()
1025 return (jint)id; in nContextPeekMessage()
1045 nContextSendMessage(JNIEnv *_env, jobject _this, jlong con, jint id, jintArray data) in nContextSendMessage()
1047 jint *ptr = nullptr; in nContextSendMessage()
1048 jint len = 0; in nContextSendMessage()
1069 nElementCreate(JNIEnv *_env, jobject _this, jlong con, jlong type, jint kind, jboolean norm, in nElementCreate()
1070 jint size) in nElementCreate()
1094 jint *jArraySizes = _env->GetIntArrayElements(_arraySizes, nullptr); in nElementCreate2()
1140 for(jint i = 0; i < dataSize; i ++) { in nElementGetNativeData()
1141 const jint data = (jint)elementData[i]; in nElementGetNativeData()
1167 const jint arraySize = (jint)arraySizes[i]; in nElementGetSubElements()
1182 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nTypeCreate()
1208 for(jint i = 0; i < elementCount; i ++) { in nTypeGetNativeData()
1217 nAllocationCreateTyped(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mips, jint usage, 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()
1327 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, in nAllocationCreateFromBitmap()
1328 jobject jbitmap, jint usage) in nAllocationCreateFromBitmap()
1340 jint mip, jobject jbitmap, jint usage) in nAllocationCreateBitmapBackedAllocation()
1351 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, in nAllocationCubeCreateFromBitmap()
1352 jobject jbitmap, jint usage) in nAllocationCubeCreateFromBitmap()
1386 nAllocationData1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, in nAllocationData1D()
1387 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData1D()
1402 jint xoff, jint yoff, jint zoff, in nAllocationElementData()
1403 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementData()
1406 jint len = _env->GetArrayLength(data); in nAllocationElementData()
1425 …a2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _fa… in nAllocationData2D()
1426 jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData2D()
1444 jlong dstAlloc, jint dstXoff, jint dstYoff, in nAllocationData2D_alloc()
1445 jint dstMip, jint dstFace, in nAllocationData2D_alloc()
1446 jint width, jint height, in nAllocationData2D_alloc()
1447 jlong srcAlloc, jint srcXoff, jint srcYoff, in nAllocationData2D_alloc()
1448 jint srcMip, jint srcFace) in nAllocationData2D_alloc()
1470 …a3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lo… in nAllocationData3D()
1471 jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, in nAllocationData3D()
1472 jint mSize, jboolean usePadding) in nAllocationData3D()
1489 jlong dstAlloc, jint dstXoff, jint dstYoff, jint dstZoff, in nAllocationData3D_alloc()
1490 jint dstMip, in nAllocationData3D_alloc()
1491 jint width, jint height, jint depth, in nAllocationData3D_alloc()
1492 jlong srcAlloc, jint srcXoff, jint srcYoff, jint srcZoff, in nAllocationData3D_alloc()
1493 jint srcMip) in nAllocationData3D_alloc()
1514 nAllocationRead(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jobject data, jint dataType, in nAllocationRead()
1515 jint mSize, jboolean usePadding) in nAllocationRead()
1528 nAllocationRead1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, in nAllocationRead1D()
1529 jint count, jobject data, jint sizeBytes, jint dataType, in nAllocationRead1D()
1530 jint mSize, jboolean usePadding) in nAllocationRead1D()
1544 jint xoff, jint yoff, jint zoff, in nAllocationElementRead()
1545 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementRead()
1548 jint len = _env->GetArrayLength(data); in nAllocationElementRead()
1566 …d2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _fa… in nAllocationRead2D()
1567 jint w, jint h, jobject data, jint sizeBytes, jint dataType, in nAllocationRead2D()
1568 jint mSize, jboolean usePadding) in nAllocationRead2D()
1583 …d3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lo… in nAllocationRead3D()
1584 jint w, jint h, jint d, jobject data, int sizeBytes, int dataType, in nAllocationRead3D()
1585 jint mSize, jboolean usePadding) in nAllocationRead3D()
1608 nAllocationResize1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint dimX) in nAllocationResize1D()
1632 jint x, jint y, jint z, jint face, jint lod, in nAllocationAdapterOffset()
1633 jint a1, jint a2, jint a3, jint a4) in nAllocationAdapterOffset()
1691 static jint
1696 return (jint)numEntries; in nFileA3DGetNumIndexEntries()
1700 nFileA3DGetIndexEntries(JNIEnv *_env, jobject _this, jlong con, jlong fileA3D, jint numEntries, jin… in nFileA3DGetIndexEntries()
1707 for(jint i = 0; i < numEntries; i ++) { in nFileA3DGetIndexEntries()
1709 _env->SetIntArrayRegion(_ids, i, 1, (const jint*)&fileEntries[i].classID); in nFileA3DGetIndexEntries()
1716 nFileA3DGetEntryByIndex(JNIEnv *_env, jobject _this, jlong con, jlong fileA3D, jint index) in nFileA3DGetEntryByIndex()
1727 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile()
1739 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream()
1753 jfloat fontSize, jint dpi) 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()
1799 static jint
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()
1831 nScriptGetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) 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()
1889 jint len = _env->GetArrayLength(data); in nScriptSetVarV()
1900 nScriptGetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) in nScriptGetVarV()
1905 jint len = _env->GetArrayLength(data); in nScriptGetVarV()
1916 nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, in nScriptSetVarVE()
1922 jint len = _env->GetArrayLength(data); in nScriptSetVarVE()
1928 jint dimsLen = _env->GetArrayLength(dims) * sizeof(int); in nScriptSetVarVE()
1929 jint *dimsPtr = _env->GetIntArrayElements(dims, nullptr); in nScriptSetVarVE()
1948 jint length = _env->GetArrayLength(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()
1978 jint len = _env->GetArrayLength(data); in nScriptInvokeV()
1989 nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, in nScriptForEach()
1997 jint in_len = 0; in nScriptForEach()
2004 if (in_len > (jint)RS_KERNEL_MAX_ARGUMENTS) { in nScriptForEach()
2034 jint param_len = 0; in nScriptForEach()
2049 jint limit_len = 0; in nScriptForEach()
2050 jint *limit_ptr = nullptr; in nScriptForEach()
2102 nScriptReduce(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, in nScriptReduce()
2114 jint in_len = _env->GetArrayLength(ains); in nScriptReduce()
2115 if (in_len > (jint)RS_KERNEL_MAX_ARGUMENTS) { in nScriptReduce()
2150 jint limit_len = 0; in nScriptReduce()
2151 jint *limit_ptr = nullptr; in nScriptReduce()
2201 jbyteArray scriptRef, jint length) in nScriptCCreate()
2211 jint _exception = 0; in nScriptCCreate()
2212 jint remaining; in nScriptCCreate()
2254 nScriptIntrinsicCreate(JNIEnv *_env, jobject _this, jlong con, jint id, jlong eid) in nScriptIntrinsicCreate()
2264 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig) in nScriptKernelIDCreate()
2274 nScriptInvokeIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) in nScriptInvokeIDCreate()
2284 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) in nScriptFieldIDCreate()
2304 jint kernelsLen = _env->GetArrayLength(_kernels); in nScriptGroupCreate()
2308 jint srcLen = _env->GetArrayLength(_src); in nScriptGroupCreate()
2312 jint dstkLen = _env->GetArrayLength(_dstk); in nScriptGroupCreate()
2316 jint dstfLen = _env->GetArrayLength(_dstf); in nScriptGroupCreate()
2320 jint typesLen = _env->GetArrayLength(_types); in nScriptGroupCreate()
2437 jint srcFunc, jint destFunc, in nProgramStoreCreate()
2438 jint depthFunc) 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()
2488 jint paramLen = _env->GetArrayLength(params); in nProgramFragmentCreate()
2525 jint paramLen = _env->GetArrayLength(params); in nProgramVertexCreate()
2557 nProgramRasterCreate(JNIEnv *_env, jobject _this, jlong con, jboolean pointSprite, jint cull) in nProgramRasterCreate()
2619 nSamplerCreate(JNIEnv *_env, jobject _this, jlong con, jint magFilter, jint minFilter, in nSamplerCreate()
2620 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate()
2646 jint vtxLen = _env->GetArrayLength(_vtx); in nMeshCreate()
2650 jint idxLen = _env->GetArrayLength(_idx); in nMeshCreate()
2653 jint primLen = _env->GetArrayLength(_prim); in nMeshCreate()
2654 jint *primPtr = _env->GetIntArrayElements(_prim, nullptr); in nMeshCreate()
2701 static jint
2707 jint vtxCount = 0; in nMeshGetVertexBufferCount()
2712 static jint
2718 jint idxCount = 0; in nMeshGetIndexCount()
2724 nMeshGetVertices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _ids, jint numVtxID… in nMeshGetVertices()
2733 for(jint i = 0; i < numVtxIDs; i ++) { in nMeshGetVertices()
2742 …, jobject _this, jlong con, jlong mesh, jlongArray _idxIds, jintArray _primitives, jint numIndices) in nMeshGetIndices()
2753 for(jint i = 0; i < numIndices; i ++) { in nMeshGetIndices()
2755 const jint prim = (jint)prims[i]; in nMeshGetIndices()
2764 static jint
2766 return (jint)sizeof(void*); in nSystemGetPointerSize()
2771 jlongArray strideArr, jint xBytesSize, in nAllocationGetByteBuffer()
2772 jint dimY, jint dimZ) { in nAllocationGetByteBuffer()
2974 jint JNI_OnLoad(JavaVM* vm, void* reserved) in JNI_OnLoad()
2977 jint result = -1; in JNI_OnLoad()