Home
last modified time | relevance | path

Searched refs:jobject (Results 1 – 25 of 68) sorted by relevance

123

/libcore/luni/src/main/native/
Djava_lang_invoke_VarHandle.cpp31 static jobject VarHandle_compareAndExchange(JNIEnv* env, jobject, jobjectArray) { in VarHandle_compareAndExchange() argument
37 static jobject VarHandle_compareAndExchangeAcquire(JNIEnv* env, jobject, jobjectArray) { in VarHandle_compareAndExchangeAcquire() argument
43 static jobject VarHandle_compareAndExchangeRelease(JNIEnv* env, jobject, jobjectArray) { in VarHandle_compareAndExchangeRelease() argument
49 static jboolean VarHandle_compareAndSet(JNIEnv* env, jobject, jobjectArray) { in VarHandle_compareAndSet() argument
55 static jobject VarHandle_get(JNIEnv* env, jobject, jobjectArray) { in VarHandle_get() argument
61 static jobject VarHandle_getAcquire(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAcquire() argument
67 static jobject VarHandle_getAndAdd(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAndAdd() argument
73 static jobject VarHandle_getAndAddAcquire(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAndAddAcquire() argument
79 static jobject VarHandle_getAndAddRelease(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAndAddRelease() argument
85 static jobject VarHandle_getAndBitwiseAnd(JNIEnv* env, jobject, jobjectArray) { in VarHandle_getAndBitwiseAnd() argument
[all …]
Dlibcore_io_Linux.cpp249 jobject exception; in throwException()
317 jobject buffer = mEnv->GetObjectArrayElement(javaBuffers, i); // We keep this local ref. in init()
353 static jobject createFileDescriptorIfOpen(JNIEnv* env, int fd) { in createFileDescriptorIfOpen()
357 jobject jifd = jniCreateFileDescriptor(env, fd); in createFileDescriptorIfOpen()
397 static jobject makeSocketAddress(JNIEnv* env, const sockaddr_storage& ss, const socklen_t sa_len) { in makeSocketAddress()
400 jobject inetAddress = sockaddrToInetAddress(env, ss, &port); in makeSocketAddress()
444jobject packetSocketAddress = env->NewObject(JniConstants::GetPacketSocketAddressClass(env), ctor, in makeSocketAddress()
457 static jobject makeStructPasswd(JNIEnv* env, const struct passwd& pw) { in makeStructPasswd()
470 static jobject makeStructTimespec(JNIEnv* env, const struct timespec& ts) { in makeStructTimespec()
480 static jobject makeStructStat(JNIEnv* env, const struct stat64& sb) { in makeStructStat()
[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()
31 jobject result = env->CallStaticObjectMethod(c, valueOfMethod, 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()
Djava_lang_invoke_MethodHandle.cpp20 static jobject MethodHandle_invokeExact(JNIEnv* env, jobject, jobjectArray) { in MethodHandle_invokeExact() argument
26 static jobject MethodHandle_invoke(JNIEnv* env, jobject, jobjectArray) { in MethodHandle_invoke() argument
/libcore/ojluni/src/main/native/
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 …]
Dsun_nio_ch_Net.h89 (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);
128 JNIEXPORT jobject JNICALL Java_sun_nio_ch_Net_localInetAddress
129 (JNIEnv *, jclass, jobject);
137 (JNIEnv *, jclass, jobject);
144 JNIEXPORT jobject JNICALL Java_sun_nio_ch_Net_remoteInetAddress
145 (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);
90 JNIEXPORT jobject JNICALL
91 JVM_Clone(JNIEnv *env, jobject obj);
109 JVM_ArrayCopy(JNIEnv *env, jclass ignored, jobject src, jint src_pos,
110 jobject dst, jint dst_pos, jint length);
112 JNIEXPORT jobject JNICALL
113 JVM_InitProperties(JNIEnv *env, jobject p);
[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_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 …]
Dnet_util.c80 jobject getInet6Address_scopeifname(JNIEnv *env, jobject iaObj) { in getInet6Address_scopeifname()
81 jobject holder; in getInet6Address_scopeifname()
89 int setInet6Address_scopeifname(JNIEnv *env, jobject iaObj, jobject scopeifname) { in setInet6Address_scopeifname()
90 jobject holder; in setInet6Address_scopeifname()
99 int getInet6Address_scopeid_set(JNIEnv *env, jobject iaObj) { in getInet6Address_scopeid_set()
100 jobject holder; in getInet6Address_scopeid_set()
108 int getInet6Address_scopeid(JNIEnv *env, jobject iaObj) { in getInet6Address_scopeid()
109 jobject holder; in getInet6Address_scopeid()
117 int setInet6Address_scopeid(JNIEnv *env, jobject iaObj, int scopeid) { in setInet6Address_scopeid()
118 jobject holder; in setInet6Address_scopeid()
[all …]
DUnixAsynchronousServerSocketChannelImpl.c32 jobject this, jobject ssfdo, jobject newfdo, jobjectArray isaa);
43 jobject this, jobject ssfdo, jobject newfdo, jobjectArray isaa) in Java_sun_nio_ch_UnixAsynchronousServerSocketChannelImpl_accept0()
DFileDispatcherImpl.c67 jobject fdo, jlong address, jint len) in FileDispatcherImpl_read0()
76 FileDispatcherImpl_pread0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pread0()
87 jobject fdo, jlong address, jint len) in FileDispatcherImpl_readv0()
96 jobject fdo, jlong address, jint len) in FileDispatcherImpl_write0()
105 FileDispatcherImpl_pwrite0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pwrite0()
116 jobject fdo, jlong address, jint len) in FileDispatcherImpl_writev0()
135 FileDispatcherImpl_force0(JNIEnv *env, jobject this, in FileDispatcherImpl_force0()
136 jobject fdo, jboolean md) in FileDispatcherImpl_force0()
163 FileDispatcherImpl_truncate0(JNIEnv *env, jobject this, in FileDispatcherImpl_truncate0()
164 jobject fdo, jlong size) in FileDispatcherImpl_truncate0()
[all …]
Djni_util.h171 jobject obj,
179 jobject obj,
193 JNIEXPORT jobject JNICALL
204 JNU_IsInstanceOfByName(JNIEnv *env, jobject object, char *classname);
225 jobject obj,
231 jobject obj,
255 JNU_Equals(JNIEnv *env, jobject object1, jobject object2);
265 JNU_MonitorWait(JNIEnv *env, jobject object, jlong timeout);
268 JNU_Notify(JNIEnv *env, jobject object);
271 JNU_NotifyAll(JNIEnv *env, jobject object);
[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()
78 jobject javaLoader, jclass caller) in Runtime_nativeLoad()
DUnixFileSystem_md.c84 Java_java_io_UnixFileSystem_canonicalize0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_canonicalize0()
122 Java_java_io_UnixFileSystem_getBooleanAttributes0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_getBooleanAttributes0()
174 Java_java_io_UnixFileSystem_setPermission0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_setPermission0()
175 jobject file, in Java_java_io_UnixFileSystem_setPermission0()
222 Java_java_io_UnixFileSystem_getLastModifiedTime0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_getLastModifiedTime0()
223 jobject file) in Java_java_io_UnixFileSystem_getLastModifiedTime0()
304 Java_java_io_UnixFileSystem_list0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_list0()
305 jobject file) in Java_java_io_UnixFileSystem_list0()
387 Java_java_io_UnixFileSystem_createDirectory0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_createDirectory0()
388 jobject file) in Java_java_io_UnixFileSystem_createDirectory0()
[all …]
Dsun_nio_ch_FileChannelImpl.h53 (JNIEnv *, jobject, jint, jlong, jlong);
69 (JNIEnv *, jobject, jint, jlong, jlong, jint);
77 (JNIEnv *, jobject, jobject, jlong);
DNet.c315 Java_sun_nio_ch_Net_bind0(JNIEnv *env, jclass clazz, jobject fdo, jboolean preferIPv6, in Java_sun_nio_ch_Net_bind0()
316 jboolean useExclBind, jobject iao, int port) in Java_sun_nio_ch_Net_bind0()
333 Java_sun_nio_ch_Net_listen(JNIEnv *env, jclass cl, jobject fdo, jint backlog) in Java_sun_nio_ch_Net_listen()
341 jobject fdo, jobject iao, jint port) in Java_sun_nio_ch_Net_connect0()
366 Java_sun_nio_ch_Net_localPort(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_Net_localPort()
405 JNIEXPORT jobject JNICALL
406 Java_sun_nio_ch_Net_localInetAddress(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_Net_localInetAddress()
447 Java_sun_nio_ch_Net_getIntOption0(JNIEnv *env, jclass clazz, jobject fdo, in Java_sun_nio_ch_Net_getIntOption0()
498 Java_sun_nio_ch_Net_setIntOption0(JNIEnv *env, jclass clazz, jobject fdo, in Java_sun_nio_ch_Net_setIntOption0()
552 Java_sun_nio_ch_Net_joinOrDrop4(JNIEnv *env, jobject this, jboolean join, jobject fdo, in Java_sun_nio_ch_Net_joinOrDrop4()
[all …]
Dsun_nio_ch_UnixAsynchronousServerSocketChannelImpl.h24 (JNIEnv *, jobject, jobject, jobject, jobjectArray);
DFileChannelImpl.c84 FileChannelImpl_map0(JNIEnv *env, jobject this, in FileChannelImpl_map0()
88 jobject fdo = (*env)->GetObjectField(env, this, chan_fd); in FileChannelImpl_map0()
125 FileChannelImpl_unmap0(JNIEnv *env, jobject this, in FileChannelImpl_unmap0()
136 FileChannelImpl_position0(JNIEnv *env, jobject this, in FileChannelImpl_position0()
137 jobject fdo, jlong offset) in FileChannelImpl_position0()
152 FileChannelImpl_close0(JNIEnv *env, jobject this, jobject fdo) in FileChannelImpl_close0()
164 FileChannelImpl_transferTo0(JNIEnv *env, jobject this, in FileChannelImpl_transferTo0()
165 jobject srcFDO, in FileChannelImpl_transferTo0()
167 jobject dstFDO) in FileChannelImpl_transferTo0()
DDatagramChannelImpl.c89 Java_sun_nio_ch_DatagramChannelImpl_disconnect0(JNIEnv *env, jobject this, in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
90 jobject fdo, jboolean isIPv6) in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
152 Java_sun_nio_ch_DatagramChannelImpl_receive0(JNIEnv *env, jobject this, in Java_sun_nio_ch_DatagramChannelImpl_receive0()
153 jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_receive0()
162 jobject senderAddr; in Java_sun_nio_ch_DatagramChannelImpl_receive0()
221 jobject isa = NULL; in Java_sun_nio_ch_DatagramChannelImpl_receive0()
223 jobject ia = NET_SockaddrToInetAddress(env, (struct sockaddr *)&sa, &port); in Java_sun_nio_ch_DatagramChannelImpl_receive0()
242 Java_sun_nio_ch_DatagramChannelImpl_send0(JNIEnv *env, jobject this, in Java_sun_nio_ch_DatagramChannelImpl_send0()
243 jboolean preferIPv6, jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_send0()
244 jint len, jobject destAddress, jint destPort) in Java_sun_nio_ch_DatagramChannelImpl_send0()
Dsun_nio_ch_ServerSocketChannelImpl.h49 (JNIEnv *, jobject, jobject, jobject, jobjectArray);
/libcore/dalvik/src/main/native/
Dorg_apache_harmony_dalvik_NativeTestTarget.cpp33 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 …id NativeTestTarget_emptyJniStaticMethod6L(JNIEnv*, jclass, jobject, jarray, jarray, jobject, jarr… in NativeTestTarget_emptyJniStaticMethod6L() 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
52 …ic void NativeTestTarget_emptyJniMethod6L_Fast(JNIEnv*, jobject, jobject, jarray, jarray, jobject,… in NativeTestTarget_emptyJniMethod6L_Fast() argument
53 …tiveTestTarget_emptyJniStaticMethod6L_Fast(JNIEnv*, jclass, jobject, jarray, jarray, jobject, jarr… in NativeTestTarget_emptyJniStaticMethod6L_Fast() argument
/libcore/luni/src/test/native/
Dlibcore_dalvik_system_JniTest.cpp20 extern "C" jobject Java_libcore_dalvik_system_JniTest_returnThis(JNIEnv*, jobject obj) { in Java_libcore_dalvik_system_JniTest_returnThis()
28 extern "C" jobject Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16( in Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16() argument
29 JNIEnv*, jobject, int arg_no, in Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16()
30 jobject o1, jobject o2, jobject o3, jobject o4, jobject o5, in Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16()
31 jobject o6, jobject o7, jobject o8, jobject o9, jobject o10, in Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16()
32 jobject o11, jobject o12, jobject o13, jobject o14, jobject o15, in Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16()
33 jobject o16) { in Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16()
56 JNIEnv*, jobject, int arg_no, in Java_libcore_dalvik_system_JniTest_returnBooleanArgFrom16() argument
83 JNIEnv*, jobject, int arg_no, in Java_libcore_dalvik_system_JniTest_returnCharArgFrom16() argument
110 JNIEnv*, jobject, int arg_no, in Java_libcore_dalvik_system_JniTest_returnByteArgFrom16() argument
[all …]
Dlibcore_java_nio_BufferTest.cpp21 JNIEnv* env, jobject /* clazz */, jobject buffer) { in Java_libcore_java_nio_BufferTest_jniGetDirectBufferAddress() argument
26 JNIEnv* env, jobject /* clazz */, jobject buffer) { in Java_libcore_java_nio_BufferTest_jniGetDirectBufferCapacity() argument
30 extern "C" jobject Java_libcore_java_nio_BufferTest_jniNewDirectByteBuffer( in Java_libcore_java_nio_BufferTest_jniNewDirectByteBuffer() argument
31 JNIEnv* env, jobject /* clazz */) { in Java_libcore_java_nio_BufferTest_jniNewDirectByteBuffer()

123