Home
last modified time | relevance | path

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

12345

/libcore/luni/src/main/native/
DJniConstants.h27 static void Initialize(JNIEnv* env);
32 static jclass GetBooleanClass(JNIEnv* env);
33 static jclass GetByteBufferClass(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()
87 void EnsureJniConstantsInitialized(JNIEnv* env) { in EnsureJniConstantsInitialized()
138 void JniConstants::Initialize(JNIEnv* env) { in Initialize()
156 jclass JniConstants::GetBooleanClass(JNIEnv* env) { in GetBooleanClass()
161 jclass JniConstants::GetByteBufferClass(JNIEnv* env) { in GetByteBufferClass()
166 jclass JniConstants::GetDoubleClass(JNIEnv* env) { in GetDoubleClass()
171 jclass JniConstants::GetErrnoExceptionClass(JNIEnv* env) { in GetErrnoExceptionClass()
176 jclass JniConstants::GetFileDescriptorClass(JNIEnv* env) { in GetFileDescriptorClass()
181 jclass JniConstants::GetGaiExceptionClass(JNIEnv* env) { in GetGaiExceptionClass()
186 jclass JniConstants::GetInet6AddressClass(JNIEnv* env) { in GetInet6AddressClass()
[all …]
Dlibcore_icu_ICU.cpp41 static jstring ICU_getScript(JNIEnv* env, jclass, jstring javaLocaleName) { in ICU_getScript()
58 static jstring ICU_getISO3Country(JNIEnv* env, jclass, jstring javaLanguageTag) { in ICU_getISO3Country()
66 static jstring ICU_getISO3Language(JNIEnv* env, jclass, jstring javaLanguageTag) { in ICU_getISO3Language()
74 static jobjectArray ICU_getISOCountriesNative(JNIEnv* env, jclass) { in ICU_getISOCountriesNative()
78 static jobjectArray ICU_getISOLanguagesNative(JNIEnv* env, jclass) { in ICU_getISOLanguagesNative()
82 static jobjectArray ICU_getAvailableLocalesNative(JNIEnv* env, jclass) { in ICU_getAvailableLocalesNative()
86 static jstring ICU_getDefaultLocale(JNIEnv* env, jclass) { in ICU_getDefaultLocale()
90 static jstring versionString(JNIEnv* env, const UVersionInfo& version) { in versionString()
96 static jstring ICU_getCldrVersion(JNIEnv* env, jclass) { in ICU_getCldrVersion()
103 static jstring ICU_getIcuVersion(JNIEnv* env, jclass) { in ICU_getIcuVersion()
[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);
DvalueOf.cpp26 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { in valueOf()
38 jobject booleanValueOf(JNIEnv* env, jboolean value) { in booleanValueOf()
42 jobject doubleValueOf(JNIEnv* env, jdouble value) { in doubleValueOf()
46 jobject integerValueOf(JNIEnv* env, jint value) { in integerValueOf()
50 jobject longValueOf(JNIEnv* env, jlong value) { in longValueOf()
54 jboolean booleanValue(JNIEnv* env, jobject javaLangBoolean) { in booleanValue()
59 jint intValue(JNIEnv* env, jobject javaLangInteger) { in intValue()
/libcore/ojluni/src/main/native/
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 …]
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 …]
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 …]
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 …]
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_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);
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);
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 …]
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()
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);
Djni_util.c45 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg) in JNU_ThrowByName()
56 JNU_ThrowNullPointerException(JNIEnv *env, const char *msg) in JNU_ThrowNullPointerException()
62 JNU_ThrowArrayIndexOutOfBoundsException(JNIEnv *env, const char *msg) in JNU_ThrowArrayIndexOutOfBoundsException()
68 JNU_ThrowOutOfMemoryError(JNIEnv *env, const char *msg) in JNU_ThrowOutOfMemoryError()
74 JNU_ThrowIllegalArgumentException(JNIEnv *env, const char *msg) in JNU_ThrowIllegalArgumentException()
80 JNU_ThrowIllegalAccessError(JNIEnv *env, const char *msg) in JNU_ThrowIllegalAccessError()
86 JNU_ThrowIllegalAccessException(JNIEnv *env, const char *msg) in JNU_ThrowIllegalAccessException()
92 JNU_ThrowInternalError(JNIEnv *env, const char *msg) in JNU_ThrowInternalError()
98 JNU_ThrowNoSuchFieldException(JNIEnv *env, const char *msg) in JNU_ThrowNoSuchFieldException()
104 JNU_ThrowNoSuchMethodException(JNIEnv *env, const char *msg) in JNU_ThrowNoSuchMethodException()
[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()
73 Java_sun_nio_ch_EPoll_epollCtl(JNIEnv *env, jclass c, jint epfd, in Java_sun_nio_ch_EPoll_epollCtl()
88 Java_sun_nio_ch_EPoll_epollWait(JNIEnv *env, jclass c, in Java_sun_nio_ch_EPoll_epollWait()
102 Java_sun_nio_ch_EPoll_close0(JNIEnv *env, jclass c, jint epfd) { in Java_sun_nio_ch_EPoll_close0()

12345