Lines Matching refs:jint
51 jint len = 0; \
54 jint relFlag = 0; \
96 _env->ReleaseIntArrayElements((jintArray)data, (jint *)ptr, relFlag); \
194 jint len = _env->GetArrayLength(str);
236 nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value)
243 nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, jint ct)
250 nContextCreateGL(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer,
251 jint colorMin, jint colorPref,
252 jint alphaMin, jint alphaPref,
253 jint depthMin, jint depthPref,
254 jint stencilMin, jint stencilPref,
255 jint samplesMin, jint samplesPref, jfloat samplesQ,
256 jint dpi)
274 nContextSetPriority(JNIEnv *_env, jobject _this, jlong con, jint p)
283 nContextSetSurface(JNIEnv *_env, jobject _this, jlong con, jint width, jint height, jobject wnd)
305 nContextDump(JNIEnv *_env, jobject _this, jlong con, jint bits)
344 static jint
347 jint len = _env->GetArrayLength(data);
349 jint *ptr = _env->GetIntArrayElements(data, NULL);
360 return (jint)id;
363 static jint
367 jint *auxDataPtr = _env->GetIntArrayElements(auxData, NULL);
372 auxDataPtr[0] = (jint)subID;
373 auxDataPtr[1] = (jint)receiveLen;
375 return (jint)id;
391 nContextSendMessage(JNIEnv *_env, jobject _this, jlong con, jint id, jintArray data)
393 jint *ptr = NULL;
394 jint len = 0;
409 nElementCreate(JNIEnv *_env, jobject _this, jlong con, jlong type, jint kind, jboolean norm, jint size)
423 jint *jArraySizes = _env->GetIntArrayElements(_arraySizes, NULL);
463 for(jint i = 0; i < dataSize; i ++) {
464 const jint data = (jint)elementData[i];
487 const jint arraySize = (jint)arraySizes[i];
502 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv)
523 for(jint i = 0; i < elementCount; i ++) {
532 nAllocationCreateTyped(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mips, jint usage, jlong pointer)
539 nAllocationSyncAll(JNIEnv *_env, jobject _this, jlong con, jlong a, jint bits)
595 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, jobject jbitmap, jint usage)
611 nAllocationCreateBitmapBackedAllocation(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, jobject jbitmap, jint usage)
627 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, jobject jbitmap, jint usage)
682 nAllocationData1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod,
683 jint count, jobject data, jint sizeBytes, jint dataType)
694 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint offset, jint lod, jint compIdx, jbyteArray data, jint sizeBytes)
696 jint len = _env->GetArrayLength(data);
705 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face,
706 jint w, jint h, jobject data, jint sizeBytes, jint dataType)
719 jlong dstAlloc, jint dstXoff, jint dstYoff,
720 jint dstMip, jint dstFace,
721 jint width, jint height,
722 jlong srcAlloc, jint srcXoff, jint srcYoff,
723 jint srcMip, jint srcFace)
743 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod,
744 jint w, jint h, jint d, jobject data, int sizeBytes, int dataType)
756 jlong dstAlloc, jint dstXoff, jint dstYoff, jint dstZoff,
757 jint dstMip,
758 jint width, jint height, jint depth,
759 jlong srcAlloc, jint srcXoff, jint srcYoff, jint srcZoff,
760 jint srcMip)
788 nAllocationRead1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod,
789 jint count, jobject data, int sizeBytes, int dataType)
799 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face,
800 jint w, jint h, jobject data, int sizeBytes, int dataType)
817 nAllocationResize1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint dimX)
862 static jint
867 return (jint)numEntries;
871 nFileA3DGetIndexEntries(JNIEnv *_env, jobject _this, jlong con, jlong fileA3D, jint numEntries, jintArray _ids, jobjectArray _entries)
878 for(jint i = 0; i < numEntries; i ++) {
880 _env->SetIntArrayRegion(_ids, i, 1, (const jint*)&fileEntries[i].classID);
887 nFileA3DGetEntryByIndex(JNIEnv *_env, jobject _this, jlong con, jlong fileA3D, jint index)
898 jstring fileName, jfloat fontSize, jint dpi)
910 jstring name, jfloat fontSize, jint dpi, jlong native_asset)
924 jfloat fontSize, jint dpi)
948 nScriptBindAllocation(JNIEnv *_env, jobject _this, jlong con, jlong script, jlong alloc, jint slot)
955 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val)
961 static jint
962 nScriptGetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot)
971 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val)
978 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val)
985 nScriptGetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot)
994 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val)
1001 nScriptGetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot)
1010 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val)
1017 nScriptGetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot)
1026 nScriptSetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data)
1029 jint len = _env->GetArrayLength(data);
1036 nScriptGetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data)
1039 jint len = _env->GetArrayLength(data);
1046 nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, jlong elem, jintArray dims)
1049 jint len = _env->GetArrayLength(data);
1051 jint dimsLen = _env->GetArrayLength(dims) * sizeof(int);
1052 jint *dimsPtr = _env->GetIntArrayElements(dims, NULL);
1065 jint length = _env->GetArrayLength(timeZone);
1077 nScriptInvoke(JNIEnv *_env, jobject _this, jlong con, jlong obj, jint slot)
1084 nScriptInvokeV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data)
1087 jint len = _env->GetArrayLength(data);
1095 jlong script, jint slot, jlong ain, jlong aout)
1102 jlong script, jint slot, jlong ain, jlong aout, jbyteArray params)
1105 jint len = _env->GetArrayLength(params);
1113 jlong script, jint slot, jlong ain, jlong aout,
1114 jint xstart, jint xend,
1115 jint ystart, jint yend, jint zstart, jint zend)
1133 jlong script, jint slot, jlong ain, jlong aout,
1134 jbyteArray params, jint xstart, jint xend,
1135 jint ystart, jint yend, jint zstart, jint zend)
1138 jint len = _env->GetArrayLength(params);
1156 jlong script, jint slot, jlongArray ains, jlong aout,
1157 jint xstart, jint xend,
1158 jint ystart, jint yend, jint zstart, jint zend)
1162 jint in_len = _env->GetArrayLength(ains);
1202 jlong script, jint slot, jlongArray ains, jlong aout,
1203 jbyteArray params, jint xstart, jint xend,
1204 jint ystart, jint yend, jint zstart, jint zend)
1208 jint in_len = _env->GetArrayLength(ains);
1226 jint param_len = _env->GetArrayLength(params);
1254 jbyteArray scriptRef, jint length)
1262 jint _exception = 0;
1263 jint remaining;
1301 nScriptIntrinsicCreate(JNIEnv *_env, jobject _this, jlong con, jint id, jlong eid)
1308 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig)
1315 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot)
1327 jint kernelsLen = _env->GetArrayLength(_kernels);
1334 jint srcLen = _env->GetArrayLength(_src);
1341 jint dstkLen = _env->GetArrayLength(_dstk);
1348 jint dstfLen = _env->GetArrayLength(_dstf);
1355 jint typesLen = _env->GetArrayLength(_types);
1411 jint srcFunc, jint destFunc,
1412 jint depthFunc)
1423 nProgramBindConstants(JNIEnv *_env, jobject _this, jlong con, jlong vpv, jint slot, jlong a)
1430 nProgramBindTexture(JNIEnv *_env, jobject _this, jlong con, jlong vpf, jint slot, jlong a)
1437 nProgramBindSampler(JNIEnv *_env, jobject _this, jlong con, jlong vpf, jint slot, jlong a)
1451 jint paramLen = _env->GetArrayLength(params);
1482 jint paramLen = _env->GetArrayLength(params);
1508 nProgramRasterCreate(JNIEnv *_env, jobject _this, jlong con, jboolean pointSprite, jint cull)
1556 nSamplerCreate(JNIEnv *_env, jobject _this, jlong con, jint magFilter, jint minFilter,
1557 jint wrapS, jint wrapT, jint wrapR, jfloat aniso)
1572 nPathCreate(JNIEnv *_env, jobject _this, jlong con, jint prim, jboolean isStatic, jlong _vtx, jlong _loop, jfloat q) {
1586 jint vtxLen = _env->GetArrayLength(_vtx);
1593 jint idxLen = _env->GetArrayLength(_idx);
1600 jint primLen = _env->GetArrayLength(_prim);
1601 jint *primPtr = _env->GetIntArrayElements(_prim, NULL);
1616 static jint
1620 jint vtxCount = 0;
1625 static jint
1629 jint idxCount = 0;
1635 nMeshGetVertices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _ids, jint numVtxIDs)
1642 for(jint i = 0; i < numVtxIDs; i ++) {
1651 nMeshGetIndices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _idxIds, jintArray _primitives, jint numIndices)
1660 for(jint
1662 const jint prim = (jint)prims[i];
1671 static jint
1673 return (jint)sizeof(void*);
1825 jint JNI_OnLoad(JavaVM* vm, void* reserved)
1828 jint result = -1;