/frameworks/base/core/jni/android/graphics/ |
Rasterizer.cpp | 30 // Rasterizer.java holds a pointer (jlong) to this guy 49 SkRasterizer* GraphicsJNI::refNativeRasterizer(jlong rasterizerHandle) { 60 static void finalizer(JNIEnv* env, jobject clazz, jlong objHandle) { 76 static jlong create(JNIEnv* env, jobject) { 77 return reinterpret_cast<jlong>(new NativeLayerRasterizer); 80 static void addLayer(JNIEnv* env, jobject, jlong layerHandle, jlong paintHandle, jfloat dx, jfloat dy) {
|
Matrix.cpp | 31 static void finalizer(JNIEnv* env, jobject clazz, jlong objHandle) { 36 static jlong create(JNIEnv* env, jobject clazz, jlong srcHandle) { 43 return reinterpret_cast<jlong>(obj); 46 static jboolean isIdentity(JNIEnv* env, jobject clazz, jlong objHandle) { 51 static jboolean isAffine(JNIEnv* env, jobject clazz, jlong objHandle) { 56 static jboolean rectStaysRect(JNIEnv* env, jobject clazz, jlong objHandle) { 61 static void reset(JNIEnv* env, jobject clazz, jlong objHandle) { 65 static void set(JNIEnv* env, jobject clazz, jlong objHandle, jlong otherHandle) [all...] |
Camera.cpp | 13 env->SetLongField(obj, gNativeInstanceFieldID, reinterpret_cast<jlong>(view)); 17 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 23 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 29 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 36 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 42 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 48 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 54 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 60 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 68 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID) [all...] |
/frameworks/base/core/jni/ |
android_view_RenderNodeAnimator.cpp | 108 static jlong createAnimator(JNIEnv* env, jobject clazz, 113 return reinterpret_cast<jlong>( animator ); 116 static jlong createCanvasPropertyFloatAnimator(JNIEnv* env, jobject clazz, 117 jlong canvasPropertyPtr, jfloat finalValue) { 121 return reinterpret_cast<jlong>( animator ); 124 static jlong createCanvasPropertyPaintAnimator(JNIEnv* env, jobject clazz, 125 jlong canvasPropertyPtr, jint paintFieldRaw, 132 return reinterpret_cast<jlong>( animator ); 135 static jlong createRevealAnimator(JNIEnv* env, jobject clazz, 139 return reinterpret_cast<jlong>( animator ) [all...] |
android_util_PathParser.cpp | 31 static void parseStringForPath(JNIEnv* env, jobject, jlong skPathHandle, jstring inputPathStr, 46 return reinterpret_cast<jlong>(pathData); 49 static long createPathData(JNIEnv*, jobject, jlong pathDataPtr) { 52 return reinterpret_cast<jlong>(newPathData); 62 return reinterpret_cast<jlong>(pathData); 70 static bool interpolatePathData(JNIEnv*, jobject, jlong outPathDataPtr, jlong fromPathDataPtr, 71 jlong toPathDataPtr, jfloat fraction) { 79 static void deletePathData(JNIEnv*, jobject, jlong pathDataHandle) { 84 static bool canMorphPathData(JNIEnv*, jobject, jlong fromPathDataPtr, jlong toPathDataPtr) [all...] |
android_backup_BackupDataOutput.cpp | 28 static jlong 33 return (jlong)NULL; 36 return (jlong)new BackupDataWriter(fd); 40 dtor_native(JNIEnv* env, jobject clazz, jlong w) 46 writeEntityHeader_native(JNIEnv* env, jobject clazz, jlong w, jstring key, jint dataSize) 63 writeEntityData_native(JNIEnv* env, jobject clazz, jlong w, jbyteArray data, jint size) 86 setKeyPrefix_native(JNIEnv* env, jobject clazz, jlong w, jstring keyPrefixObj)
|
android_view_HardwareLayer.cpp | 45 jlong layerUpdaterPtr, jint width, jint height, jboolean isOpaque) { 54 jlong layerUpdaterPtr, jlong paintPtr) { 63 jlong layerUpdaterPtr, jlong matrixPtr) { 70 jlong layerUpdaterPtr, jobject surface, jboolean isAlreadyAttached) { 77 jlong layerUpdaterPtr) {
|
android_util_XmlBlock.cpp | 34 static jlong android_content_XmlBlock_nativeCreate(JNIEnv* env, jobject clazz, 59 return reinterpret_cast<jlong>(osb); 62 static jlong android_content_XmlBlock_nativeGetStringBlock(JNIEnv* env, jobject clazz, 63 jlong token) 71 return reinterpret_cast<jlong>(&osb->getStrings()); 74 static jlong android_content_XmlBlock_nativeCreateParseState(JNIEnv* env, jobject clazz, 75 jlong token) 91 return reinterpret_cast<jlong>(st); 95 jlong token) 129 jlong token [all...] |
android_view_RenderNode.cpp | 99 jobject clazz, jlong renderNodePtr) { 105 jobject clazz, jlong renderNodePtr) { 110 static jlong android_view_RenderNode_create(JNIEnv* env, jobject thiz, 120 return reinterpret_cast<jlong>(renderNode); 124 jobject clazz, jlong renderNodePtr) { 130 jobject clazz, jlong renderNodePtr, jlong displayListPtr) { 154 jobject clazz, jlong renderNodePtr, jint jlayerType) { 160 jobject clazz, jlong renderNodePtr, jlong paintPtr) [all...] |
com_android_internal_util_VirtualRefBasePtr.cpp | 23 static void incStrong(JNIEnv* env, jobject clazz, jlong objPtr) { 28 static void decStrong(JNIEnv* env, jobject clazz, jlong objPtr) {
|
/packages/apps/TV/usbtuner/jni/ |
tunertvinput_jni.h | 34 (JNIEnv *, jobject, jlong); 42 (JNIEnv *, jobject, jlong, jint, jstring, jint); 50 (JNIEnv *, jobject, jlong, jint, jint); 58 (JNIEnv *, jobject, jlong); 66 (JNIEnv *, jobject, jlong); 74 (JNIEnv *, jobject, jlong, jbyteArray, jint);
|
tunertvinput_jni.cpp | 33 static std::map<jlong, DvbManager *> sDvbManagers; 42 (JNIEnv *, jobject, jlong deviceId) { 43 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); 57 (JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, jstring modulation, jint timeout_ms) { 58 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); 62 sDvbManagers.insert(std::pair<jlong, DvbManager *>(deviceId, dvbManager)); 77 (JNIEnv *, jobject, jlong deviceId) { 78 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); 91 (JNIEnv *, jobject, jlong deviceId) { 92 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId) [all...] |
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_DicTraverseSession.cpp | 29 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, 30 jlong dictSize) { 32 return reinterpret_cast<jlong>(traverseSession); 35 static void latinime_initDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession, 36 jlong dictionary, jintArray previousWord, jint previousWordLength) { 53 static void latinime_releaseDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession) {
|
/external/opencv3/modules/java/src/ |
imgcodecs.cpp | 53 JNIEXPORT jlong JNICALL Java_org_opencv_imgcodecs_Imgcodecs_imread_10 (JNIEnv*, jclass, jstring, jint); 55 JNIEXPORT jlong JNICALL Java_org_opencv_imgcodecs_Imgcodecs_imread_10 63 return (jlong) new ::Mat(_retval_); 74 JNIEXPORT jlong JNICALL Java_org_opencv_imgcodecs_Imgcodecs_imread_11 (JNIEnv*, jclass, jstring); 76 JNIEXPORT jlong JNICALL Java_org_opencv_imgcodecs_Imgcodecs_imread_11 84 return (jlong) new ::Mat(_retval_); 99 JNIEXPORT jboolean JNICALL Java_org_opencv_imgcodecs_Imgcodecs_imreadmulti_10 (JNIEnv*, jclass, jstring, jlong, jint); 102 (JNIEnv* env, jclass , jstring filename, jlong mats_mat_nativeObj, jint flags) 123 JNIEXPORT jboolean JNICALL Java_org_opencv_imgcodecs_Imgcodecs_imreadmulti_11 (JNIEnv*, jclass, jstring, jlong); 126 (JNIEnv* env, jclass , jstring filename, jlong mats_mat_nativeObj [all...] |
videoio.cpp | 53 JNIEXPORT jlong JNICALL Java_org_opencv_videoio_VideoCapture_VideoCapture_10 (JNIEnv*, jclass); 55 JNIEXPORT jlong JNICALL Java_org_opencv_videoio_VideoCapture_VideoCapture_10 63 return (jlong) _retval_; 78 JNIEXPORT jlong JNICALL Java_org_opencv_videoio_VideoCapture_VideoCapture_11 (JNIEnv*, jclass, jstring); 80 JNIEXPORT jlong JNICALL Java_org_opencv_videoio_VideoCapture_VideoCapture_11 88 return (jlong) _retval_; 103 JNIEXPORT jlong JNICALL Java_org_opencv_videoio_VideoCapture_VideoCapture_12 (JNIEnv*, jclass, jint); 105 JNIEXPORT jlong JNICALL Java_org_opencv_videoio_VideoCapture_VideoCapture_12 113 return (jlong) _retval_; 128 JNIEXPORT jboolean JNICALL Java_org_opencv_videoio_VideoCapture_open_10 (JNIEnv*, jclass, jlong, jstring) [all...] |
/frameworks/base/rs/jni/ |
android_renderscript_RenderScript.cpp | 241 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \ 343 nContextFinish(JNIEnv *_env, jobject _this, jlong con) 351 static jlong 352 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, 353 jlong returnValue, jlongArray fieldIDArray, 356 jlong ret = 0; 358 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); 365 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); 379 jlong* jDepClosures [all...] |
/libcore/luni/src/main/native/ |
java_math_NativeBN.cpp | 50 static BIGNUM* toBigNum(jlong address) { 74 static int isValidHandle(JNIEnv* env, jlong handle, const char* message) { 82 static int oneValidHandle(JNIEnv* env, jlong a) { 86 static int twoValidHandles(JNIEnv* env, jlong a, jlong b) { 91 static int threeValidHandles(JNIEnv* env, jlong a, jlong b, jlong c) { 96 static int fourValidHandles(JNIEnv* env, jlong a, jlong b, jlong c, jlong d) [all...] |
java_util_regex_Matcher.cpp | 32 static icu::RegexMatcher* toRegexMatcher(jlong address) { 44 MatcherAccessor(JNIEnv* env, jlong address, jstring javaInput, bool reset) { 65 MatcherAccessor(JNIEnv* env, jlong address) { 98 void init(JNIEnv* env, jlong address) { 123 static jlong Matcher_getNativeFinalizer(JNIEnv*, jclass) { 124 return reinterpret_cast<jlong>(&Matcher_free); 133 static jint Matcher_findImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint startIndex, jintArray offsets) { 142 static jint Matcher_findNextImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offsets) { 154 static jint Matcher_groupCountImpl(JNIEnv* env, jclass, jlong addr) { 159 static jint Matcher_hitEndImpl(JNIEnv* env, jclass, jlong addr) [all...] |
/libcore/ojluni/src/main/native/ |
zip_util.h | 68 #define LL(b, n) (((jlong)LG(b, n)) | (((jlong)LG(b, n+4)) << 32)) 161 jlong time; /* modification time */ 162 jlong size; /* size of uncompressed data */ 163 jlong csize; /* size of compressed data (zero if uncompressed) */ 167 jlong pos; /* position of LOC header or entry data */ 181 jlong cenpos; /* Offset of central directory file header */ 186 jlong pos; /* file offset of data */ 194 #define ZFILE jlong 210 jlong len; /* length (in bytes) of zip file * [all...] |
FileChannelImpl.c | 30 #include "jlong.h" 56 JNIEXPORT jlong JNICALL 59 jlong pageSize = sysconf(_SC_PAGESIZE); 64 static jlong 65 handle(JNIEnv *env, jlong rv, char *msg) 76 JNIEXPORT jlong JNICALL 78 jint prot, jlong off, jlong len) 113 return ((jlong) (unsigned long) mapAddress); 119 jlong address, jlong len [all...] |
MappedByteBuffer.c | 29 #include "jlong.h" 40 Java_java_nio_MappedByteBuffer_isLoaded0(JNIEnv *env, jobject obj, jlong address, 41 jlong len, jint numPages) 77 Java_java_nio_MappedByteBuffer_load0(JNIEnv *env, jobject obj, jlong address, 78 jlong len) 90 jlong address, jlong len)
|
/art/runtime/native/ |
sun_misc_Unsafe.cc | 33 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, 43 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, 44 jlong expectedValue, jlong newValue) { 53 static jboolean Unsafe_compareAndSwapObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, 76 static jint Unsafe_getInt(JNIEnv* env, jobject, jobject javaObj, jlong offset) { 82 static jint Unsafe_getIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { 88 static void Unsafe_putInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint newValue) { 95 static void Unsafe_putIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, 103 static void Unsafe_putOrderedInt(JNIEnv* env, jobject, jobject javaObj, jlong offset [all...] |
/frameworks/support/v8/renderscript/jni/ |
android_renderscript_RenderScript.cpp | 204 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \ 347 nContextFinish(JNIEnv *_env, jobject _this, jlong con) 353 static jlong 354 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, 355 jlong returnValue, jlongArray fieldIDArray, 358 jlong ret = 0; 360 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); 362 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); 366 jlong* jDepClosures [all...] |
/art/test/148-multithread-gc-annotations/ |
gc_coverage.cc | 36 extern "C" JNIEXPORT jlong JNICALL Java_MovingGCThread_objectAddress(JNIEnv* env, jclass, jobject object) { 38 return reinterpret_cast<jlong>(soa.Decode<mirror::Object*>(object));
|
/cts/tests/tests/renderscript/libcoremathtestcpp/ |
CoreMathTestJni.cpp | 301 extern "C" JNIEXPORT jlong JNICALL 302 Java_android_renderscript_cts_CoreMathVerifier_maxI64(JNIEnv*, jclass, jlong x, jlong y) { 306 extern "C" JNIEXPORT jlong JNICALL 307 Java_android_renderscript_cts_CoreMathVerifier_maxU64(JNIEnv*, jclass, jlong x, jlong y) { 341 extern "C" JNIEXPORT jlong JNICALL 342 Java_android_renderscript_cts_CoreMathVerifier_minI64(JNIEnv*, jclass, jlong x, jlong y) { 346 extern "C" JNIEXPORT jlong JNICAL [all...] |