Home
last modified time | relevance | path

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

12345

/libcore/ojluni/src/main/native/
DRegister.cpp37 extern void register_java_io_Console(JNIEnv* env);
38 extern void register_java_io_FileDescriptor(JNIEnv*);
39 extern void register_java_io_FileInputStream(JNIEnv*);
40 extern void register_java_io_FileOutputStream(JNIEnv*);
41 extern void register_java_io_ObjectInputStream(JNIEnv*);
42 extern void register_java_io_ObjectOutputStream(JNIEnv*);
43 extern void register_java_io_ObjectStreamClass(JNIEnv*);
44 extern void register_java_io_UnixFileSystem(JNIEnv*);
45 extern void register_java_lang_Double(JNIEnv*);
46 extern void register_java_lang_Float(JNIEnv*);
[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.cpp31 Character_isLowerCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLowerCaseImpl()
36 Character_isUpperCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isUpperCaseImpl()
41 Character_isTitleCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isTitleCaseImpl()
46 Character_isDigitImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isDigitImpl()
51 Character_isLetterImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLetterImpl()
56 Character_isLetterOrDigitImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLetterOrDigitImpl()
61 Character_isAlphabeticImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isAlphabeticImpl()
66 Character_isIdeographicImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isIdeographicImpl()
71 Character_getTypeImpl(JNIEnv* env, jclass, jint codePoint) { in Character_getTypeImpl()
76 Character_isUnicodeIdentifierStartImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isUnicodeIdentifierStartImpl()
[all …]
DMath.c29 Math_cos(JNIEnv *env, jclass unused, jdouble d) { in Math_cos()
34 Math_sin(JNIEnv *env, jclass unused, jdouble d) { in Math_sin()
39 Math_tan(JNIEnv *env, jclass unused, jdouble d) { in Math_tan()
44 Math_asin(JNIEnv *env, jclass unused, jdouble d) { in Math_asin()
49 Math_acos(JNIEnv *env, jclass unused, jdouble d) { in Math_acos()
54 Math_atan(JNIEnv *env, jclass unused, jdouble d) { in Math_atan()
59 Math_exp(JNIEnv *env, jclass unused, jdouble d) { in Math_exp()
64 Math_log(JNIEnv *env, jclass unused, jdouble d) { in Math_log()
69 Math_log10(JNIEnv *env, jclass unused, jdouble d) { in Math_log10()
74 Math_sqrt(JNIEnv *env, jclass unused, jdouble d) { in Math_sqrt()
[all …]
Dnet_util.h63 extern jobject getInet6Address_scopeifname(JNIEnv *env, jobject ia6Obj);
64 extern int setInet6Address_scopeifname(JNIEnv *env, jobject ia6Obj, jobject scopeifname);
65 extern int getInet6Address_scopeid_set(JNIEnv *env, jobject ia6Obj);
66 extern int getInet6Address_scopeid(JNIEnv *env, jobject ia6Obj);
67 extern int setInet6Address_scopeid(JNIEnv *env, jobject ia6Obj, int scopeid);
68 extern int getInet6Address_ipaddress(JNIEnv *env, jobject ia6Obj, char *dest);
69 extern int setInet6Address_ipaddress(JNIEnv *env, jobject ia6Obj, char *address);
71 extern void setInetAddress_addr(JNIEnv *env, jobject iaObj, int address);
72 extern void setInetAddress_family(JNIEnv *env, jobject iaObj, int family);
73 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_gc(JNIEnv *env, jobject this) in Runtime_gc()
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 …]
Dnio_util.h45 jint fdval(JNIEnv *env, jobject fdo);
47 jint convertReturnVal(JNIEnv *env, jint n, jboolean reading);
48 jlong convertLongReturnVal(JNIEnv *env, jlong n, jboolean reading);
53 jint handleSocketError(JNIEnv *env, jint errorValue);
55 jint handleSocketErrorWithDefault(JNIEnv *env, jint errorValue,
DEPoll.c40 Java_sun_nio_ch_EPoll_eventSize(JNIEnv* env, jclass this) in Java_sun_nio_ch_EPoll_eventSize()
46 Java_sun_nio_ch_EPoll_eventsOffset(JNIEnv* env, jclass this) in Java_sun_nio_ch_EPoll_eventsOffset()
52 Java_sun_nio_ch_EPoll_dataOffset(JNIEnv* env, jclass this) in Java_sun_nio_ch_EPoll_dataOffset()
58 Java_sun_nio_ch_EPoll_epollCreate(JNIEnv *env, jclass c) { in Java_sun_nio_ch_EPoll_epollCreate()
71 Java_sun_nio_ch_EPoll_epollCtl(JNIEnv *env, jclass c, jint epfd, in Java_sun_nio_ch_EPoll_epollCtl()
86 Java_sun_nio_ch_EPoll_epollWait(JNIEnv *env, jclass c, in Java_sun_nio_ch_EPoll_epollWait()
100 Java_sun_nio_ch_EPoll_close0(JNIEnv *env, jclass c, jint epfd) { in Java_sun_nio_ch_EPoll_close0()
/libcore/dalvik/src/main/native/
Dorg_apache_harmony_dalvik_NativeTestTarget.cpp22 static void NativeTestTarget_emptyJniStaticSynchronizedMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniStaticSynchronizedMethod0() argument
23 static void NativeTestTarget_emptyJniSynchronizedMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniSynchronizedMethod0() argument
31 static void NativeTestTarget_emptyJniMethod0(JNIEnv*, jobject) { } in NativeTestTarget_emptyJniMethod0() argument
32 static void NativeTestTarget_emptyJniMethod6(JNIEnv*, jobject, int, int, int, int, int, int) { } in NativeTestTarget_emptyJniMethod6() argument
33 static void NativeTestTarget_emptyJniMethod6L(JNIEnv*, jobject, jobject, jarray, jarray, jobject, j… in NativeTestTarget_emptyJniMethod6L() argument
34 static void NativeTestTarget_emptyJniStaticMethod6L(JNIEnv*, jclass, jobject, jarray, jarray, jobje… in NativeTestTarget_emptyJniStaticMethod6L() argument
36 static void NativeTestTarget_emptyJniStaticMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniStaticMethod0() argument
37 static void NativeTestTarget_emptyJniStaticMethod6(JNIEnv*, jclass, int, int, int, int, int, int) {… in NativeTestTarget_emptyJniStaticMethod6() argument
48 static void NativeTestTarget_emptyJniMethod0_Fast(JNIEnv*, jobject) { } in NativeTestTarget_emptyJniMethod0_Fast() argument
49 static void NativeTestTarget_emptyJniMethod6_Fast(JNIEnv*, jobject, int, int, int, int, int, int) {… in NativeTestTarget_emptyJniMethod6_Fast() argument
[all …]
/libcore/luni/src/main/native/
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.cpp43 static void throwException(JNIEnv* env) { in throwException()
69 static int isValidHandle(JNIEnv* env, jlong handle, const char* message) { in isValidHandle()
77 static int oneValidHandle(JNIEnv* env, jlong a) { in oneValidHandle()
81 static int twoValidHandles(JNIEnv* env, jlong a, jlong b) { in twoValidHandles()
86 static int threeValidHandles(JNIEnv* env, jlong a, jlong b, jlong c) { in threeValidHandles()
91 static int fourValidHandles(JNIEnv* env, jlong a, jlong b, jlong c, jlong d) { in fourValidHandles()
96 static jlong NativeBN_BN_new(JNIEnv* env, jclass) { in NativeBN_BN_new()
104 static jlong NativeBN_getNativeFinalizer(JNIEnv*, jclass) { in NativeBN_getNativeFinalizer() argument
108 static void NativeBN_BN_free(JNIEnv* env, jclass, jlong a) { in NativeBN_BN_free()
113 static int NativeBN_BN_cmp(JNIEnv* env, jclass, jlong a, jlong b) { in NativeBN_BN_cmp()
[all …]
DvalueOf.cpp24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { in valueOf()
36 jobject booleanValueOf(JNIEnv* env, jboolean value) { in booleanValueOf()
40 jobject doubleValueOf(JNIEnv* env, jdouble value) { in doubleValueOf()
44 jobject integerValueOf(JNIEnv* env, jint value) { in integerValueOf()
48 jobject longValueOf(JNIEnv* env, jlong value) { in longValueOf()
52 jboolean booleanValue(JNIEnv* env, jobject javaLangBoolean) { in booleanValue()
57 jint intValue(JNIEnv* env, jobject javaLangInteger) { in intValue()

12345