Lines Matching refs: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,
111 * Finally shutdown sv[0] (any reads to this fd will get
123 static int getFD(JNIEnv *env, jobject this) {
124 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
170 * socketCreate, we ensure that this is initialized. This is to
181 Java_java_net_PlainSocketImpl_socketCreate(JNIEnv *env, jobject this,
198 fdObj = (*env)->GetObjectField(env, this, psi_fdID);
228 * If this is a server socket then enable SO_REUSEADDR
231 ssObj = (*env)->GetObjectField(env, this, psi_serverSocketID);
255 Java_java_net_PlainSocketImpl_socketConnect(JNIEnv *env, jobject this,
259 jint localport = (*env)->GetIntField(env, this, psi_localportID);
262 /* fdObj is the FileDescriptor field on this */
263 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
265 jclass clazz = (*env)->GetObjectClass(env, this);
269 jint trafficClass = (*env)->GetIntField(env, this, psi_trafficClassID);
383 * this thread.
478 * returns the wrong error in this case - it returns EINVAL
479 * instead of EADDRNOTAVAIL. We handle this here so that
520 (*env)->SetObjectField(env, this, psi_addressID, iaObj);
521 (*env)->SetIntField(env, this, psi_portID, port);
538 (*env)->SetIntField(env, this, psi_localportID, localport);
549 Java_java_net_PlainSocketImpl_socketBind(JNIEnv *env, jobject this,
552 /* fdObj is the FileDescriptor field on this */
553 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
590 (*env)->SetObjectField(env, this, psi_addressID, iaObj);
603 (*env)->SetIntField(env, this, psi_localportID, localport);
605 (*env)->SetIntField(env, this, psi_localportID, localport);
615 Java_java_net_PlainSocketImpl_socketListen (JNIEnv *env, jobject this,
618 /* this FileDescriptor fd field */
619 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
650 Java_java_net_PlainSocketImpl_socketAccept(JNIEnv *env, jobject this,
653 /* fields on this */
655 jint timeout = (*env)->GetIntField(env, this, psi_timeoutID);
657 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
792 port = (*env)->GetIntField(env, this, psi_localportID);
803 Java_java_net_PlainSocketImpl_socketAvailable(JNIEnv *env, jobject this) {
806 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
834 Java_java_net_PlainSocketImpl_socketClose0(JNIEnv *env, jobject this,
837 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
863 Java_java_net_PlainSocketImpl_socketShutdown(JNIEnv *env, jobject this,
867 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
891 Java_java_net_PlainSocketImpl_socketSetOption(JNIEnv *env, jobject this,
904 fd = getFD(env, this);
987 Java_java_net_PlainSocketImpl_socketGetOption(JNIEnv *env, jobject this,
1000 fd = getFD(env, this);
1080 Java_java_net_PlainSocketImpl_socketSendUrgentData(JNIEnv *env, jobject this,
1083 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID);
1092 /* Bug 4086704 - If the Socket associated with this file descriptor