Lines Matching defs:this

7  * published by the Free Software Foundation.  Oracle designates this
9 * by Oracle in the LICENSE file that accompanied this code.
15 * accompanied this code).
18 * 2 along with this work; if not, write to the Free Software Foundation,
51 * we only want to look this up once, from the static initializer
56 static int getFD(JNIEnv *env, jobject this) {
57 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
65 static int getFD1(JNIEnv *env, jobject this) {
66 jobject fdObj = (*env)->GetObjectField(env, this, psi_fd1ID);
121 Java_java_net_TwoStacksPlainSocketImpl_socketCreate(JNIEnv *env, jobject this,
126 fdObj = (*env)->GetObjectField(env, this, psi_fdID);
143 fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
164 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
177 Java_java_net_TwoStacksPlainSocketImpl_socketConnect(JNIEnv *env, jobject this,
181 jint localport = (*env)->GetIntField(env, this, psi_localportID);
193 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
194 jobject fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
233 (*env)->SetObjectField(env, this, psi_fdID, fd1Obj);
234 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
249 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
308 * on NT is to allow winsock to be scheduled and this is done by
352 (*env)->SetObjectField(env, this, psi_addressID, iaObj);
353 (*env)->SetIntField(env, this, psi_portID, port);
376 (*env)->SetIntField(env, this, psi_localportID, (int) port);
386 Java_java_net_TwoStacksPlainSocketImpl_socketBind(JNIEnv *env, jobject this,
390 /* fdObj is the FileDescriptor field on this */
402 fdObj = (*env)->GetObjectField(env, this, psi_fdID);
403 fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
444 (*env)->SetObjectField(env, this, psi_fdID, NULL);
454 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
462 (*env)->SetObjectField(env, this, psi_fdID, NULL);
463 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
475 (*env)->SetObjectField(env, this, psi_addressID, iaObj);
491 (*env)->SetIntField(env, this, psi_localportID, (int)port);
493 (*env)->SetIntField(env, this, psi_localportID, localport);
504 (JNIEnv *env, jobject this, jint count)
506 /* this FileDescriptor fd field */
507 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
508 jobject fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
528 address = (*env)->GetObjectField(env, this, psi_addressID);
545 (*env)->SetObjectField(env, this, psi_fdID, NULL);
556 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
567 Java_java_net_TwoStacksPlainSocketImpl_socketAccept(JNIEnv *env, jobject this,
570 /* fields on this */
572 jint timeout = (*env)->GetIntField(env, this, psi_timeoutID);
573 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
574 jobject fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
636 lastfd = (*env)->GetIntField(env, this, psi_lastfdID);
642 (*env)->SetIntField(env, this, psi_lastfdID, fd2);
756 port = (*env)->GetIntField(env, this, psi_localportID);
767 Java_java_net_TwoStacksPlainSocketImpl_socketAvailable(JNIEnv *env, jobject this) {
771 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
794 Java_java_net_TwoStacksPlainSocketImpl_socketClose0(JNIEnv *env, jobject this,
797 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
798 jobject fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
832 (JNIEnv *env, jobject this, jint cmd, jboolean on, jobject value)
845 fd = getFD(env, this);
846 fd1 = getFD1(env, this);
856 * For Windows we special-case this and use the SOL_SOCKET/SO_RCVTIMEO
867 jobject ssObj = (*env)->GetObjectField(env, this, psi_serverSocketID);
999 (JNIEnv *env, jobject this, jint opt, jobject iaContainerObj)
1011 fd = getFD(env, this);
1012 fd1 = getFD1(env, this);
1042 fd = getFD1 (env, this);
1112 Java_java_net_TwoStacksPlainSocketImpl_socketShutdown(JNIEnv *env, jobject this,
1116 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
1139 Java_java_net_TwoStacksPlainSocketImpl_socketSendUrgentData(JNIEnv *env, jobject this,
1142 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
1151 /* Bug 4086704 - If the Socket associated with this file descriptor