Searched defs:fdObj (Results 1 - 19 of 19) sorted by relevance

/openjdk7/jdk/src/windows/classes/sun/net/
H A DNetHooks.java41 public static void beforeTcpBind(FileDescriptor fdObj, argument
52 public static void beforeTcpConnect(FileDescriptor fdObj, argument
/openjdk7/jdk/src/solaris/native/java/net/
H A DSocketInputStream.c62 jobject fdObj, jbyteArray data,
69 if (IS_NULL(fdObj)) {
75 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID);
61 Java_java_net_SocketInputStream_socketRead0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len, jint timeout) argument
H A DSocketOutputStream.c63 jobject fdObj,
71 if (IS_NULL(fdObj)) {
75 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID);
62 Java_java_net_SocketOutputStream_socketWrite0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len) argument
H A DPlainSocketImpl.c124 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
125 CHECK_NULL_RETURN(fdObj, -1);
126 return (*env)->GetIntField(env, fdObj, IO_fd_fdID);
183 jobject fdObj, ssObj; local
198 fdObj = (*env)->GetObjectField(env, this, psi_fdID);
200 if (fdObj == NULL) {
243 (*env)->SetIntField(env, fdObj, IO_fd_fdID, fd);
262 /* fdObj is the FileDescriptor field on this */
263 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
278 if (IS_NULL(fdObj)) {
553 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
619 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
657 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
806 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
837 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
867 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
1083 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
[all...]
H A DPlainDatagramSocketImpl.c133 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
134 if (fdObj == NULL) {
137 return (*env)->GetIntField(env, fdObj, IO_fd_fdID);
222 /* fdObj is the FileDescriptor field on this */
223 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
224 /* fd is an int field on fdObj */
229 if (IS_NULL(fdObj)) {
234 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID);
288 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
289 /* The fdObj'f
335 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
413 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
549 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
637 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
814 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
1063 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
1151 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
2000 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
2052 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
2123 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
[all...]
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DUtil.java47 private static int fdVal(FileDescriptor fdObj) throws Exception { argument
48 Object fdVal = get("java.io.FileDescriptor", "fd", fdObj);
57 Object fdObj = get("sun.nio.ch.SocketChannelImpl", "fd", sc);
58 return fdVal((FileDescriptor)fdObj);
70 Object fdObj = get("sun.nio.ch.ServerSocketChannelImpl", "fd", ssc);
71 return fdVal((FileDescriptor)fdObj);
83 Object fdObj = get("sun.nio.ch.DatagramChannelImpl", "fd", dc);
84 return fdVal((FileDescriptor)fdObj);
/openjdk7/jdk/src/solaris/classes/sun/net/
H A DNetHooks.java57 public abstract void implBeforeTcpBind(FileDescriptor fdObj, argument
65 public abstract void implBeforeTcpConnect(FileDescriptor fdObj, argument
81 public static void beforeTcpBind(FileDescriptor fdObj, argument
86 provider.implBeforeTcpBind(fdObj, address, port);
92 public static void beforeTcpConnect(FileDescriptor fdObj, argument
97 provider.implBeforeTcpConnect(fdObj, address, port);
/openjdk7/jdk/src/windows/native/java/net/
H A DSocketInputStream.c62 jobject fdObj, jbyteArray data,
70 if (IS_NULL(fdObj)) {
74 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID);
121 newfd = (*env)->GetIntField(env, fdObj, IO_fd_fdID);
61 Java_java_net_SocketInputStream_socketRead0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len, jint timeout) argument
H A DSocketOutputStream.c61 jobject fdObj, jbyteArray data,
68 if (IS_NULL(fdObj)) {
72 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID);
60 Java_java_net_SocketOutputStream_socketWrite0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len) argument
H A DTwoStacksPlainSocketImpl.c69 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
71 if (fdObj == NULL) {
74 return (*env)->GetIntField(env, fdObj, IO_fd_fdID);
78 jobject fdObj = (*env)->GetObjectField(env, this, psi_fd1ID); local
80 if (fdObj == NULL) {
83 return (*env)->GetIntField(env, fdObj, IO_fd_fdID);
135 jobject fdObj, fd1Obj; local
138 fdObj = (*env)->GetObjectField(env, this, psi_fdID);
140 if (IS_NULL(fdObj)) {
152 (*env)->SetIntField(env, fdObj, IO_fd_fdI
205 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
402 jobject fdObj, fd1Obj; local
515 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
580 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
778 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
804 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
1122 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
1148 jobject fdObj = (*env)->GetObjectField(env, this, psi_fdID); local
[all...]
H A DTwoStacksPlainDatagramSocketImpl.c128 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
130 if (fdObj == NULL) {
133 return (*env)->GetIntField(env, fdObj, IO_fd_fdID);
137 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fd1ID); local
139 if (fdObj == NULL) {
142 return (*env)->GetIntField(env, fdObj, IO_fd_fdID);
426 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
443 if (IS_NULL(fdObj) || (ipv6_supported && IS_NULL(fd1Obj))) {
447 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID);
477 (*env)->SetIntField(env, fdObj, IO_fd_fdI
529 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
597 jobject fdObj; local
641 jobject fdObj; local
799 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
922 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
1193 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
1480 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
1540 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
2241 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
2294 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
2350 jobject fdObj = (*env)->GetObjectField(env, this, pdsi_fdID); local
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DFileOutputStream.java230 * method is called with the file descriptor <code>fdObj</code>
233 * If <code>fdObj</code> is null then a <code>NullPointerException</code>
236 * This constructor does not throw an exception if <code>fdObj</code>
241 * @param fdObj the file descriptor to be opened for writing
247 public FileOutputStream(FileDescriptor fdObj) { argument
249 if (fdObj == null) {
253 security.checkWrite(fdObj);
255 this.fd = fdObj;
H A DFileInputStream.java151 * <code>fdObj</code>, which represents an existing connection to an
155 * called with the file descriptor <code>fdObj</code> as its argument to
159 * If <code>fdObj</code> is null then a <code>NullPointerException</code>
162 * This constructor does not throw an exception if <code>fdObj</code>
167 * @param fdObj the file descriptor to be opened for reading.
173 public FileInputStream(FileDescriptor fdObj) { argument
175 if (fdObj == null) {
179 security.checkRead(fdObj);
181 fd = fdObj;
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAsynchronousFileChannelImpl.java48 protected final FileDescriptor fdObj; field in class:AsynchronousFileChannelImpl
57 protected AsynchronousFileChannelImpl(FileDescriptor fdObj, argument
62 this.fdObj = fdObj;
139 fileLockTable = FileLockTable.newSharedFileLockTable(this, fdObj);
H A DSimpleAsynchronousFileChannelImpl.java57 SimpleAsynchronousFileChannelImpl(FileDescriptor fdObj, argument
62 super(fdObj, reading, writing, executor);
79 synchronized (fdObj) {
91 nd.preClose(fdObj);
103 nd.close(fdObj);
114 n = nd.size(fdObj);
137 n = nd.size(fdObj);
143 n = nd.truncate(fdObj, size);
163 n = nd.force(fdObj, metaData);
207 n = nd.lock(fdObj, tru
[all...]
/openjdk7/jdk/src/solaris/classes/sun/net/sdp/
H A DSdpProvider.java291 private void convertTcpToSdpIfMatch(FileDescriptor fdObj, argument
300 SdpSupport.convertSocket(fdObj);
317 public void implBeforeTcpBind(FileDescriptor fdObj, argument
323 convertTcpToSdpIfMatch(fdObj, Action.BIND, address, port);
327 public void implBeforeTcpConnect(FileDescriptor fdObj, argument
333 convertTcpToSdpIfMatch(fdObj, Action.CONNECT, address, port);
/openjdk7/jdk/src/solaris/demo/jni/Poller/
H A DPoller.java150 * @param fdObj the FileDescriptor, Socket, or ServerSocket to add.
155 public synchronized int add(Object fdObj, short event) throws Exception { argument
156 return nativeAddFd(handle,findfd(fdObj), event);
163 * @param fdObj the FileDescriptor, Socket, or ServerSocket to remove.
166 public synchronized boolean remove(Object fdObj) throws Exception { argument
167 return (nativeRemoveFd(handle,findfd(fdObj)) == 1);
172 * @param fdObj the FileDescriptor or [Server]Socket to check.
175 public synchronized boolean isMember(Object fdObj) throws Exception { argument
176 return (nativeIsMember(handle,findfd(fdObj)) == 1);
281 private int findfd(Object fdObj) throw argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DIocp.java127 final Object attachForeignChannel(final Channel channel, FileDescriptor fdObj) argument
H A DWindowsAsynchronousFileChannelImpl.java83 private WindowsAsynchronousFileChannelImpl(FileDescriptor fdObj, argument
90 super(fdObj, reading, writing, iocp.executor());
91 this.handle = fdAccess.getHandle(fdObj);
178 return nd.size(fdObj);
192 if (size > nd.size(fdObj))
194 nd.truncate(fdObj, size);
205 nd.force(fdObj, metaData);
359 int res = nd.lock(fdObj, false, position, size, shared);
373 nd.release(fdObj, fli.position(), fli.size());

Completed in 43 milliseconds