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,
63 * we only want to look this up once, from the static initializer
68 static int getFD(JNIEnv *env, jobject this) {
69 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
77 static int getFD1(JNIEnv *env, jobject this) {
78 jobject fdObj = (*env)->GetObjectField(env, this, psi_fd1ID);
133 Java_java_net_TwoStacksPlainSocketImpl_socketCreate(JNIEnv *env, jobject this,
138 fdObj = (*env)->GetObjectField(env, this, psi_fdID);
155 fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
176 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
189 Java_java_net_TwoStacksPlainSocketImpl_socketConnect(JNIEnv *env, jobject this,
193 jint localport = (*env)->GetIntField(env, this, psi_localportID);
205 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
206 jobject fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
243 (*env)->SetObjectField(env, this, psi_fdID, fd1Obj);
244 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
259 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
318 * on NT is to allow winsock to be scheduled and this is done by
362 (*env)->SetObjectField(env, this, psi_addressID, iaObj);
363 (*env)->SetIntField(env, this, psi_portID, port);
387 (*env)->SetIntField(env, this, psi_localportID, (int) port);
397 Java_java_net_TwoStacksPlainSocketImpl_socketBind(JNIEnv *env, jobject this,
401 /* fdObj is the FileDescriptor field on this */
413 fdObj = (*env)->GetObjectField(env, this, psi_fdID);
414 fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
455 (*env)->SetObjectField(env, this, psi_fdID, NULL);
465 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
482 (*env)->SetObjectField(env, this, psi_addressID, iaObj);
499 (*env)->SetIntField(env, this, psi_localportID, (int) port);
501 (*env)->SetIntField(env, this, psi_localportID, localport);
511 Java_java_net_TwoStacksPlainSocketImpl_socketListen (JNIEnv *env, jobject this,
514 /* this FileDescriptor fd field */
515 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
516 jobject fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
535 address = (*env)->GetObjectField(env, this, psi_addressID);
552 (*env)->SetObjectField(env, this, psi_fdID, NULL);
563 (*env)->SetObjectField(env, this, psi_fd1ID, NULL);
574 Java_java_net_TwoStacksPlainSocketImpl_socketAccept(JNIEnv *env, jobject this,
577 /* fields on this */
579 jint timeout = (*env)->GetIntField(env, this, psi_timeoutID);
580 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
581 jobject fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
643 lastfd = (*env)->GetIntField(env, this, psi_lastfdID);
649 (*env)->SetIntField(env, this, psi_lastfdID, fd2);
763 port = (*env)->GetIntField(env, this, psi_localportID);
774 Java_java_net_TwoStacksPlainSocketImpl_socketAvailable(JNIEnv *env, jobject this) {
778 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
801 Java_java_net_TwoStacksPlainSocketImpl_socketClose0(JNIEnv *env, jobject this,
804 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
805 jobject fd1Obj = (*env)->GetObjectField(env, this, psi_fd1ID);
839 jobject this,
852 fd = getFD(env, this);
853 fd1 = getFD1(env, this);
863 * For Windows we special-case this and use the SOL_SOCKET/SO_RCVTIMEO
874 jobject ssObj = (*env)->GetObjectField(env, this, psi_serverSocketID);
1005 Java_java_net_TwoStacksPlainSocketImpl_socketGetOption(JNIEnv *env, jobject this,
1018 fd = getFD(env, this);
1019 fd1 = getFD1(env, this);
1048 fd = getFD1 (env, this);
1118 Java_java_net_TwoStacksPlainSocketImpl_socketShutdown(JNIEnv *env, jobject this,
1122 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
1145 Java_java_net_TwoStacksPlainSocketImpl_socketSendUrgentData(JNIEnv *env, jobject this,
1148 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
1157 /* Bug 4086704 - If the Socket associated with this file descriptor