/art/runtime/native/ |
sun_misc_Unsafe.cc | 37 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, 48 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, 49 jlong expectedValue, jlong newValue) { 59 static jboolean Unsafe_compareAndSwapObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, 83 static jint Unsafe_getInt(JNIEnv* env, jobject, jobject javaObj, jlong offset) { 89 static jint Unsafe_getIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { 95 static void Unsafe_putInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint newValue) { 102 static void Unsafe_putIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, 110 static void Unsafe_putOrderedInt(JNIEnv* env, jobject, jobject javaObj, jlong offset [all...] |
/frameworks/rs/support/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...] |
/libcore/ojluni/src/main/native/ |
java_util_zip_ZipFile.c | 37 #include "jlong.h" 86 JNIEXPORT jlong JNICALL 88 jint mode, jlong lastModified, 93 jlong result = 0; 138 ZipFile_getTotal(JNIEnv *env, jclass cls, jlong zfile) 146 ZipFile_startsWithLOC(JNIEnv *env, jclass cls, jlong zfile) 154 ZipFile_close(JNIEnv *env, jclass cls, jlong zfile) 160 ZipFile_getFileDescriptor(JNIEnv *env, jclass cls, jlong zfile) { 165 JNIEXPORT jlong JNICALL 166 ZipFile_getEntry(JNIEnv *env, jclass cls, jlong zfile [all...] |
FileChannelImpl.c | 30 #include "jlong.h" 58 JNIEXPORT jlong JNICALL 61 jlong pageSize = sysconf(_SC_PAGESIZE); 66 static jlong 67 handle(JNIEnv *env, jlong rv, char *msg) 78 JNIEXPORT jlong JNICALL 80 jint prot, jlong off, jlong len) 115 return ((jlong) (unsigned long) mapAddress); 121 jlong address, jlong len [all...] |
FileDispatcherImpl.c | 29 #include "jlong.h" 65 jobject fdo, jlong address, jint len) 75 jlong address, jint len, jlong offset) 83 JNIEXPORT jlong JNICALL 85 jobject fdo, jlong address, jint len) 94 jobject fdo, jlong address, jint len) 104 jlong address, jint len, jlong offset) 112 JNIEXPORT jlong JNICAL [all...] |
sun_nio_fs_UnixCopyFile.h | 16 (JNIEnv *, jclass, jint, jint, jlong);
|
/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) {
|
/art/test/913-heaps/ |
heaps.cc | 60 jlong class_tag, 61 jlong referrer_class_tag, 62 jlong size, 63 jlong* tag_ptr, 64 jlong* referrer_tag_ptr, 71 jlong class_tag, 72 jlong referrer_class_tag, 73 jlong size, 74 jlong* tag_ptr, 75 jlong* referrer_tag_ptr [all...] |
/art/runtime/openjdkjvmti/ |
object_tagging.h | 48 class ObjectTagTable FINAL : public JvmtiWeakTable<jlong> { 53 bool Set(art::mirror::Object* obj, jlong tag) OVERRIDE 56 bool SetLocked(art::mirror::Object* obj, jlong tag) OVERRIDE 60 jlong GetTagOrZero(art::mirror::Object* obj) 63 jlong tmp = 0; 67 jlong GetTagOrZeroLocked(art::mirror::Object* obj) 70 jlong tmp = 0; 77 void HandleNullSweep(jlong tag) OVERRIDE;
|
/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...] |
/frameworks/base/core/jni/android/graphics/ |
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...] |
ColorFilter.cpp | 37 static jlong GetNativeFinalizer(JNIEnv*, jobject) { 38 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&SafeUnref)); 41 static jlong CreatePorterDuffFilter(JNIEnv* env, jobject, jint srcColor, jint modeHandle) { 43 return reinterpret_cast<jlong>(SkColorFilter::MakeModeFilter(srcColor, mode).release()); 46 static jlong CreateLightingFilter(JNIEnv* env, jobject, jint mul, jint add) { 47 return reinterpret_cast<jlong>(SkColorMatrixFilter::MakeLightingFilter(mul, add).release()); 50 static jlong CreateColorMatrixFilter(JNIEnv* env, jobject, jfloatArray jarray) { 55 return reinterpret_cast<jlong>(SkColorFilter::MakeMatrixFilterRowMajor255(src).release());
|
Paint.cpp | 82 static jlong getNativeFinalizer(JNIEnv*, jobject) { 83 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&deletePaint)); 86 static jlong init(JNIEnv* env, jobject) { 99 return reinterpret_cast<jlong>(obj); 102 static jlong initWithPaint(JNIEnv* env, jobject clazz, jlong paintHandle) { 105 return reinterpret_cast<jlong>(obj); 140 static jint breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, 170 static jint breakTextS(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring jtext [all...] |
Region.cpp | 37 jlong regionHandle = env->GetLongField(regionObject, gRegion_nativeInstanceFieldID); 43 static jlong Region_constructor(JNIEnv* env, jobject) { 44 return reinterpret_cast<jlong>(new SkRegion); 47 static void Region_destructor(JNIEnv* env, jobject, jlong regionHandle) { 53 static void Region_setRegion(JNIEnv* env, jobject, jlong dstHandle, jlong srcHandle) { 60 static jboolean Region_setRect(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom) { 66 static jboolean Region_setPath(JNIEnv* env, jobject, jlong dstHandle, 67 jlong pathHandle, jlong clipHandle) [all...] |
Interpolator.cpp | 7 static jlong Interpolator_constructor(JNIEnv* env, jobject clazz, jint valueCount, jint frameCount) 9 return reinterpret_cast<jlong>(new SkInterpolator(valueCount, frameCount)); 12 static void Interpolator_destructor(JNIEnv* env, jobject clazz, jlong interpHandle) 18 static void Interpolator_reset(JNIEnv* env, jobject clazz, jlong interpHandle, jint valueCount, jint frameCount) 24 static void Interpolator_setKeyFrame(JNIEnv* env, jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueArray, jfloatArray blendArray) 40 static void Interpolator_setRepeatMirror(JNIEnv* env, jobject clazz, jlong interpHandle, jfloat repeatCount, jboolean mirror) 50 static jint Interpolator_timeToValues(JNIEnv* env, jobject clazz, jlong interpHandle, jint msec, jfloatArray valueArray)
|
/frameworks/base/vr/ |
dvr_library_loader.cpp | 8 JNIEXPORT jlong JNICALL 21 return reinterpret_cast<jlong>(
|
/cts/tests/tests/media/libmediandkjni/ |
native-media-jni.cpp | 153 jclass /*clazz*/, int fd, jlong offset, jlong size) 223 jclass /*clazz*/, int fd, jlong offset, jlong size) { 374 jclass /*clazz*/, jobject surface, int fd, jlong offset, jlong size) { 461 jclass /*clazz*/, int infd, jlong inoffset, jlong insize, int outfd, jboolean webm) { 578 jclass /*clazz*/, int fd, jlong offset, jlong size) [all...] |
/libcore/luni/src/test/native/ |
libcore_io_Memory_test.cpp | 76 swap_align_test<jlong, 10> (swapLongs, [] (jlong* src, jlong* dst, uint64_t i) { 85 void memory_peek_test(T (*peek_func)(JNIEnv*, jclass, jlong), T value) { 90 jlong src_aligned = reinterpret_cast<jlong>(src) + i; 107 memory_peek_test<jlong>(Memory_peekLongNative, 0x01020405060708ULL); 111 void memory_poke_test(void (*poke_func)(JNIEnv*, jclass, jlong, T), T value) { 117 jlong dst_aligned = reinterpret_cast<jlong>(dst) + i [all...] |
libcore_java_nio_BufferTest.cpp | 20 extern "C" jlong Java_libcore_java_nio_BufferTest_jniGetDirectBufferAddress( 22 return reinterpret_cast<jlong>(env->GetDirectBufferAddress(buffer)); 25 extern "C" jlong Java_libcore_java_nio_BufferTest_jniGetDirectBufferCapacity( 27 return reinterpret_cast<jlong>(env->GetDirectBufferCapacity(buffer));
|
/frameworks/base/core/jni/ |
android_animation_PropertyValuesHolder.cpp | 32 static jlong android_animation_PropertyValuesHolder_getIntMethod( 38 return reinterpret_cast<jlong>(mid); 41 static jlong android_animation_PropertyValuesHolder_getFloatMethod( 47 return reinterpret_cast<jlong>(mid); 50 static jlong getMultiparameterMethod(JNIEnv* env, jclass targetClass, jstring methodName, 61 return reinterpret_cast<jlong>(mid); 64 static jlong android_animation_PropertyValuesHolder_getMultipleFloatMethod( 70 static jlong android_animation_PropertyValuesHolder_getMultipleIntMethod( 77 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jint arg) 83 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jfloat arg [all...] |
android_util_jar_StrictJarFile.cpp | 46 static_cast<jlong>(entry.crc32), 47 static_cast<jlong>(entry.compressed_length), 48 static_cast<jlong>(entry.uncompressed_length), 52 static_cast<jlong>(entry.offset)); 55 static jlong StrictJarFile_nativeOpenJarFile(JNIEnv* env, jobject, jstring name, jint fd) { 59 return static_cast<jlong>(-1); 68 return static_cast<jlong>(-1); 71 return reinterpret_cast<jlong>(handle); 93 static jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle [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_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...] |
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglGetDisplay.cpp | 4 (JNIEnv *_env, jobject _this, jlong display_id) {
|
/frameworks/base/services/core/jni/ |
com_android_server_GraphicsStatsService.cpp | 35 static jlong createDump(JNIEnv*, jobject, jint fd, jboolean isProto) { 38 return reinterpret_cast<jlong>(dump); 41 static void addToDump(JNIEnv* env, jobject, jlong dumpPtr, jstring jpath, jstring jpackage, 42 jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) { 67 static void addFileToDump(JNIEnv* env, jobject, jlong dumpPtr, jstring jpath) { 75 static void finishDump(JNIEnv*, jobject, jlong dumpPtr) { 81 jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) {
|