Home
last modified time | relevance | path

Searched refs:JNIEnv (Results 1 – 25 of 125) sorted by relevance

12345

/libcore/ojluni/src/main/native/
DRegister.cpp38 extern void register_java_io_Console(JNIEnv* env);
39 extern void register_java_io_FileDescriptor(JNIEnv*);
40 extern void register_java_io_FileInputStream(JNIEnv*);
41 extern void register_java_io_FileOutputStream(JNIEnv*);
42 extern void register_java_io_ObjectInputStream(JNIEnv*);
43 extern void register_java_io_ObjectOutputStream(JNIEnv*);
44 extern void register_java_io_ObjectStreamClass(JNIEnv*);
45 extern void register_java_io_UnixFileSystem(JNIEnv*);
46 extern void register_java_lang_Double(JNIEnv*);
47 extern void register_java_lang_Float(JNIEnv*);
[all …]
DOnLoad.cpp25 extern "C" void register_java_util_zip_ZipFile(JNIEnv* env);
26 extern "C" void register_java_util_zip_Inflater(JNIEnv* env);
27 extern "C" void register_java_util_zip_Deflater(JNIEnv* env);
28 extern "C" void register_java_util_zip_CRC32(JNIEnv* env);
29 extern "C" void register_java_util_zip_Adler32(JNIEnv* env);
30 extern "C" void register_java_io_FileDescriptor(JNIEnv* env);
31 extern "C" void register_sun_nio_ch_DatagramChannelImpl(JNIEnv* env);
32 extern "C" void register_sun_nio_ch_DatagramDispatcher(JNIEnv* env);
33 extern "C" void register_java_io_Console(JNIEnv* env);
34 extern "C" void register_sun_nio_ch_IOUtil(JNIEnv* env);
[all …]
Dsun_nio_fs_UnixNativeDispatcher.h23 (JNIEnv *, jclass);
31 (JNIEnv *, jclass, jint);
39 (JNIEnv *, jclass, jlong, jint, jint);
47 (JNIEnv *, jclass, jint, jlong, jint, jint);
55 (JNIEnv *, jclass, jint);
63 (JNIEnv *, jclass, jlong, jlong);
71 (JNIEnv *, jclass, jlong);
79 (JNIEnv *, jclass, jlong, jlong);
87 (JNIEnv *, jclass, jlong);
95 (JNIEnv *, jclass, jint, jlong, jint);
[all …]
Djni_util.h49 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg);
53 JNU_ThrowNullPointerException(JNIEnv *env, const char *msg);
56 JNU_ThrowArrayIndexOutOfBoundsException(JNIEnv *env, const char *msg);
59 JNU_ThrowOutOfMemoryError(JNIEnv *env, const char *msg);
62 JNU_ThrowIllegalArgumentException(JNIEnv *env, const char *msg);
65 JNU_ThrowIllegalAccessError(JNIEnv *env, const char *msg);
68 JNU_ThrowIllegalAccessException(JNIEnv *env, const char *msg);
71 JNU_ThrowInternalError(JNIEnv *env, const char *msg);
74 JNU_ThrowIOException(JNIEnv *env, const char *msg);
77 JNU_ThrowNoSuchFieldException(JNIEnv *env, const char *msg);
[all …]
Dsun_nio_ch_Net.h49 (JNIEnv *, jclass);
57 (JNIEnv *, jclass);
65 (JNIEnv *, jclass);
73 (JNIEnv *, jclass);
81 (JNIEnv *, jclass, jboolean, jboolean, jboolean, jboolean);
89 (JNIEnv *, jclass, jobject, jboolean, jboolean, jobject, jint);
97 (JNIEnv *, jclass, jobject, jint);
105 (JNIEnv *, jclass, jboolean, jobject, jobject, jint);
113 (JNIEnv *, jclass, jobject, jint);
121 (JNIEnv *, jclass, jobject);
[all …]
Djava_net_PlainDatagramSocketImpl.h43 (JNIEnv *, jobject, jint, jobject);
51 (JNIEnv *, jobject, jobject);
59 (JNIEnv *, jobject, jobject);
67 (JNIEnv *, jobject, jobject);
75 (JNIEnv *, jobject, jobject);
83 (JNIEnv *, jobject, jint);
91 (JNIEnv *, jobject);
99 (JNIEnv *, jobject, jbyte);
107 (JNIEnv *, jobject);
115 (JNIEnv *, jobject, jobject, jobject);
[all …]
Djvm.h79 JVM_IHashCode(JNIEnv *env, jobject obj);
82 JVM_MonitorWait(JNIEnv *env, jobject obj, jlong ms);
85 JVM_MonitorNotify(JNIEnv *env, jobject obj);
88 JVM_MonitorNotifyAll(JNIEnv *env, jobject obj);
91 JVM_Clone(JNIEnv *env, jobject obj);
97 JVM_InternString(JNIEnv *env, jstring str);
103 JVM_CurrentTimeMillis(JNIEnv *env, jclass ignored);
106 JVM_NanoTime(JNIEnv *env, jclass ignored);
109 JVM_ArrayCopy(JNIEnv *env, jclass ignored, jobject src, jint src_pos,
113 JVM_InitProperties(JNIEnv *env, jobject p);
[all …]
Djava_util_zip_ZipFile.h58 (JNIEnv *, jclass, jlong, jbyteArray, jboolean);
66 (JNIEnv *, jclass, jlong, jlong);
74 (JNIEnv *, jclass, jlong, jint);
82 (JNIEnv *, jclass, jlong);
90 (JNIEnv *, jclass, jstring, jint, jlong, jboolean);
98 (JNIEnv *, jclass, jlong);
106 (JNIEnv *, jclass, jlong);
114 (JNIEnv *, jclass, jlong, jlong, jlong, jbyteArray, jint, jint);
122 (JNIEnv *, jclass, jlong);
130 (JNIEnv *, jclass, jlong);
[all …]
Dsun_nio_ch_FileDispatcherImpl.h51 (JNIEnv *, jclass, jobject, jlong, jint);
59 (JNIEnv *, jclass, jobject, jlong, jint, jlong);
67 (JNIEnv *, jclass, jobject, jlong, jint);
75 (JNIEnv *, jclass, jobject, jlong, jint);
83 (JNIEnv *, jclass, jobject, jlong, jint, jlong);
91 (JNIEnv *, jclass, jobject, jlong, jint);
99 (JNIEnv *, jclass, jobject, jboolean);
107 (JNIEnv *, jclass, jobject, jlong);
115 (JNIEnv *, jclass, jobject);
123 (JNIEnv *, jclass, jobject, jboolean, jlong, jlong, jboolean);
[all …]
Djava_io_UnixFileSystem.h63 (JNIEnv *, jobject, jstring);
71 (JNIEnv *, jobject, jobject);
79 (JNIEnv *, jobject, jobject, jint);
87 (JNIEnv *, jobject, jobject);
95 (JNIEnv *, jobject, jobject);
103 (JNIEnv *, jobject, jobject, jint, jboolean, jboolean);
111 (JNIEnv *, jobject, jstring);
119 (JNIEnv *, jobject, jobject);
127 (JNIEnv *, jobject, jobject);
135 (JNIEnv *, jobject, jobject);
[all …]
Djava_net_PlainSocketImpl.h47 (JNIEnv *, jobject, jboolean);
55 (JNIEnv *, jobject, jobject, jint, jint);
63 (JNIEnv *, jobject, jobject, jint);
71 (JNIEnv *, jobject, jint);
79 (JNIEnv *, jobject, jobject);
87 (JNIEnv *, jobject);
95 (JNIEnv *, jobject, jboolean);
103 (JNIEnv *, jobject, jint);
112 (JNIEnv *, jobject, jint, jboolean, jobject);
120 (JNIEnv *, jobject, jint, jobject);
[all …]
DCharacter.cpp32 Character_isLowerCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLowerCaseImpl()
37 Character_isUpperCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isUpperCaseImpl()
42 Character_isTitleCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isTitleCaseImpl()
47 Character_isDigitImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isDigitImpl()
52 Character_isLetterImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLetterImpl()
57 Character_isLetterOrDigitImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLetterOrDigitImpl()
62 Character_isAlphabeticImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isAlphabeticImpl()
67 Character_isIdeographicImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isIdeographicImpl()
72 Character_getTypeImpl(JNIEnv* env, jclass, jint codePoint) { in Character_getTypeImpl()
77 Character_isUnicodeIdentifierStartImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isUnicodeIdentifierStartImpl()
[all …]
Dnet_util.h64 extern jobject getInet6Address_scopeifname(JNIEnv *env, jobject ia6Obj);
65 extern int setInet6Address_scopeifname(JNIEnv *env, jobject ia6Obj, jobject scopeifname);
66 extern int getInet6Address_scopeid_set(JNIEnv *env, jobject ia6Obj);
67 extern int getInet6Address_scopeid(JNIEnv *env, jobject ia6Obj);
68 extern int setInet6Address_scopeid(JNIEnv *env, jobject ia6Obj, int scopeid);
69 extern int getInet6Address_ipaddress(JNIEnv *env, jobject ia6Obj, char *dest);
70 extern int setInet6Address_ipaddress(JNIEnv *env, jobject ia6Obj, char *address);
72 extern void setInetAddress_addr(JNIEnv *env, jobject iaObj, int address);
73 extern void setInetAddress_family(JNIEnv *env, jobject iaObj, int family);
74 extern void setInetAddress_hostName(JNIEnv *env, jobject iaObj, jobject h);
[all …]
Dsun_nio_fs_LinuxWatchService.h16 (JNIEnv *, jclass);
24 (JNIEnv *, jclass);
32 (JNIEnv *, jclass);
40 (JNIEnv *, jclass, jint, jlong, jint);
48 (JNIEnv *, jclass, jint, jint);
56 (JNIEnv *, jclass, jint, jboolean);
64 (JNIEnv *, jclass, jintArray);
72 (JNIEnv *, jclass, jint, jint);
DStrictMath.c36 StrictMath_cos(JNIEnv *env, jclass unused, jdouble d) in StrictMath_cos()
42 StrictMath_sin(JNIEnv *env, jclass unused, jdouble d) in StrictMath_sin()
48 StrictMath_tan(JNIEnv *env, jclass unused, jdouble d) in StrictMath_tan()
54 StrictMath_asin(JNIEnv *env, jclass unused, jdouble d) in StrictMath_asin()
60 StrictMath_acos(JNIEnv *env, jclass unused, jdouble d) in StrictMath_acos()
66 StrictMath_atan(JNIEnv *env, jclass unused, jdouble d) in StrictMath_atan()
72 StrictMath_exp(JNIEnv *env, jclass unused, jdouble d) in StrictMath_exp()
78 StrictMath_log(JNIEnv *env, jclass unused, jdouble d) in StrictMath_log()
84 StrictMath_log10(JNIEnv *env, jclass unused, jdouble d) in StrictMath_log10()
90 StrictMath_sqrt(JNIEnv *env, jclass unused, jdouble d) in StrictMath_sqrt()
[all …]
Dsun_nio_fs_LinuxNativeDispatcher.h23 (JNIEnv *, jclass, jlong, jlong);
31 (JNIEnv *, jclass, jlong, jobject);
39 (JNIEnv *, jclass, jlong);
47 (JNIEnv *, jclass, jint, jlong, jlong, jint);
55 (JNIEnv *, jclass, jint, jlong, jlong, jint);
63 (JNIEnv *, jclass, jint, jlong);
71 (JNIEnv *, jclass, jint, jlong, jint);
79 (JNIEnv *, jclass);
Dsun_nio_ch_EPoll.h24 (JNIEnv *, jclass);
32 (JNIEnv *, jclass);
40 (JNIEnv *, jclass);
48 (JNIEnv *, jclass);
56 (JNIEnv *, jclass, jint, jint, jint, jint);
64 (JNIEnv *, jclass, jint, jlong, jint);
DRuntime.c47 Runtime_freeMemory(JNIEnv *env, jobject this) in Runtime_freeMemory()
53 Runtime_totalMemory(JNIEnv *env, jobject this) in Runtime_totalMemory()
59 Runtime_maxMemory(JNIEnv *env, jobject this) in Runtime_maxMemory()
65 Runtime_nativeGc(JNIEnv *env, jobject this) in Runtime_nativeGc()
71 Runtime_nativeExit(JNIEnv *env, jclass this, jint status) in Runtime_nativeExit()
77 Runtime_nativeLoad(JNIEnv* env, jclass ignored, jstring javaFilename, in Runtime_nativeLoad()
94 void register_java_lang_Runtime(JNIEnv* env) { in register_java_lang_Runtime()
DIOUtil.c45 static void IOUtil_initIDs(JNIEnv *env) in IOUtil_initIDs()
54 IOUtil_randomBytes(JNIEnv *env, jclass clazz, in IOUtil_randomBytes()
62 IOUtil_fdVal(JNIEnv *env, jclass clazz, jobject fdo) in IOUtil_fdVal()
68 IOUtil_setfdVal(JNIEnv *env, jclass clazz, jobject fdo, jint val) in IOUtil_setfdVal()
83 IOUtil_configureBlocking(JNIEnv *env, jclass clazz, in IOUtil_configureBlocking()
91 IOUtil_makePipe(JNIEnv *env, jobject this, jboolean blocking) in IOUtil_makePipe()
112 IOUtil_drain(JNIEnv *env, jclass cl, jint fd) in IOUtil_drain()
129 IOUtil_fdLimit(JNIEnv *env, jclass this) in IOUtil_fdLimit()
145 IOUtil_iovMax(JNIEnv *env, jclass this) in IOUtil_iovMax()
156 convertReturnVal(JNIEnv *env, jint n, jboolean reading) in convertReturnVal()
[all …]
/libcore/luni/src/main/native/
DJniConstants.h27 static void Initialize(JNIEnv* env);
32 static jclass GetBooleanClass(JNIEnv* env);
33 static jclass GetCharsetICUClass(JNIEnv* env);
34 static jclass GetDoubleClass(JNIEnv* env);
35 static jclass GetErrnoExceptionClass(JNIEnv* env);
36 static jclass GetFileDescriptorClass(JNIEnv* env);
37 static jclass GetGaiExceptionClass(JNIEnv* env);
38 static jclass GetInet6AddressClass(JNIEnv* env);
39 static jclass GetInet6AddressHolderClass(JNIEnv* env);
40 static jclass GetInetAddressClass(JNIEnv* env);
[all …]
Djava_lang_invoke_VarHandle.cpp20 static void ThrowUnsupportedOperationForAccessMode(JNIEnv* env, const char* accessMode) { in ThrowUnsupportedOperationForAccessMode()
31 static jobject VarHandle_compareAndExchange(JNIEnv* env, jobject, jobjectArray) { in VarHandle_compareAndExchange()
37 static jobject VarHandle_compareAndExchangeAcquire(JNIEnv* env, jobject, jobjectArray) { in VarHandle_compareAndExchangeAcquire()
43 static jobject VarHandle_compareAndExchangeRelease(JNIEnv* env, jobject, jobjectArray) { in VarHandle_compareAndExchangeRelease()
49 static jboolean VarHandle_compareAndSet(JNIEnv* env, jobject, jobjectArray) { in VarHandle_compareAndSet()
55 static jobject VarHandle_get(JNIEnv* env, jobject, jobjectArray) { in VarHandle_get()
61 static jobject VarHandle_getAcquire(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAcquire()
67 static jobject VarHandle_getAndAdd(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAndAdd()
73 static jobject VarHandle_getAndAddAcquire(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAndAddAcquire()
79 static jobject VarHandle_getAndAddRelease(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAndAddRelease()
[all …]
DJniConstants.cpp30 jclass findClass(JNIEnv* env, const char* name) { in findClass()
85 void EnsureJniConstantsInitialized(JNIEnv* env) { in EnsureJniConstantsInitialized()
134 void JniConstants::Initialize(JNIEnv* env) { in Initialize()
143 jclass JniConstants::GetBooleanClass(JNIEnv* env) { in GetBooleanClass()
148 jclass JniConstants::GetCharsetICUClass(JNIEnv* env) { in GetCharsetICUClass()
153 jclass JniConstants::GetDoubleClass(JNIEnv* env) { in GetDoubleClass()
158 jclass JniConstants::GetErrnoExceptionClass(JNIEnv* env) { in GetErrnoExceptionClass()
163 jclass JniConstants::GetFileDescriptorClass(JNIEnv* env) { in GetFileDescriptorClass()
168 jclass JniConstants::GetGaiExceptionClass(JNIEnv* env) { in GetGaiExceptionClass()
173 jclass JniConstants::GetInet6AddressClass(JNIEnv* env) { in GetInet6AddressClass()
[all …]
DvalueOf.h22 jobject booleanValueOf(JNIEnv* env, jboolean b);
23 jobject doubleValueOf(JNIEnv* env, jdouble d);
24 jobject integerValueOf(JNIEnv* env, jint i);
25 jobject longValueOf(JNIEnv* env, jlong l);
29 jboolean booleanValue(JNIEnv* env, jobject javaLangBoolean);
30 jint intValue(JNIEnv* env, jobject javaLangInteger);
Djava_math_NativeBN.cpp45 static void throwException(JNIEnv* env) { in throwException()
71 static int isValidHandle(JNIEnv* env, jlong handle, const char* message) { in isValidHandle()
79 static int oneValidHandle(JNIEnv* env, jlong a) { in oneValidHandle()
83 static int twoValidHandles(JNIEnv* env, jlong a, jlong b) { in twoValidHandles()
88 static int threeValidHandles(JNIEnv* env, jlong a, jlong b, jlong c) { in threeValidHandles()
93 static int fourValidHandles(JNIEnv* env, jlong a, jlong b, jlong c, jlong d) { in fourValidHandles()
98 static jlong NativeBN_BN_new(JNIEnv* env, jclass) { in NativeBN_BN_new()
106 static jlong NativeBN_getNativeFinalizer(JNIEnv*, jclass) { in NativeBN_getNativeFinalizer() argument
110 static void NativeBN_BN_free(JNIEnv* env, jclass, jlong a) { in NativeBN_BN_free()
115 static int NativeBN_BN_cmp(JNIEnv* env, jclass, jlong a, jlong b) { in NativeBN_BN_cmp()
[all …]
/libcore/dalvik/src/main/native/
Dorg_apache_harmony_dalvik_NativeTestTarget.cpp24 static void NativeTestTarget_emptyJniStaticSynchronizedMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniStaticSynchronizedMethod0() argument
25 static void NativeTestTarget_emptyJniSynchronizedMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniSynchronizedMethod0() argument
33 static void NativeTestTarget_emptyJniMethod0(JNIEnv*, jobject) { } in NativeTestTarget_emptyJniMethod0() argument
34 static void NativeTestTarget_emptyJniMethod6(JNIEnv*, jobject, int, int, int, int, int, int) { } in NativeTestTarget_emptyJniMethod6() argument
35 static void NativeTestTarget_emptyJniMethod6L(JNIEnv*, jobject, jobject, jarray, jarray, jobject, j… in NativeTestTarget_emptyJniMethod6L() argument
36 static void NativeTestTarget_emptyJniStaticMethod6L(JNIEnv*, jclass, jobject, jarray, jarray, jobje… in NativeTestTarget_emptyJniStaticMethod6L() argument
38 static void NativeTestTarget_emptyJniStaticMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniStaticMethod0() argument
39 static void NativeTestTarget_emptyJniStaticMethod6(JNIEnv*, jclass, int, int, int, int, int, int) {… in NativeTestTarget_emptyJniStaticMethod6() argument
50 static void NativeTestTarget_emptyJniMethod0_Fast(JNIEnv*, jobject) { } in NativeTestTarget_emptyJniMethod0_Fast() argument
51 static void NativeTestTarget_emptyJniMethod6_Fast(JNIEnv*, jobject, int, int, int, int, int, int) {… in NativeTestTarget_emptyJniMethod6_Fast() argument
[all …]

12345