/openjdk7/jdk/src/solaris/classes/java/io/ |
H A D | FileDescriptor.java | 47 private int fd; field in class:FileDescriptor 61 fd = -1; 65 private /* */ FileDescriptor(int fd) { argument 66 this.fd = fd; 104 return fd != -1; 148 public void set(FileDescriptor obj, int fd) { 149 obj.fd = fd; 153 return obj.fd; [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | FileKey.java | 41 public static FileKey create(FileDescriptor fd) { argument 44 fk.init(fd); 69 private native void init(FileDescriptor fd) throws IOException; argument
|
H A D | SocketDispatcher.java | 38 int read(FileDescriptor fd, long address, int len) throws IOException { argument 39 return FileDispatcherImpl.read0(fd, address, len); 42 long readv(FileDescriptor fd, long address, int len) throws IOException { argument 43 return FileDispatcherImpl.readv0(fd, address, len); 46 int write(FileDescriptor fd, long address, int len) throws IOException { argument 47 return FileDispatcherImpl.write0(fd, address, len); 50 long writev(FileDescriptor fd, long address, int len) throws IOException { argument 51 return FileDispatcherImpl.writev0(fd, address, len); 54 void close(FileDescriptor fd) throws IOException { argument 55 FileDispatcherImpl.close0(fd); 58 preClose(FileDescriptor fd) argument [all...] |
H A D | DatagramDispatcher.java | 42 int read(FileDescriptor fd, long address, int len) throws IOException { argument 43 return read0(fd, address, len); 46 long readv(FileDescriptor fd, long address, int len) throws IOException { argument 47 return readv0(fd, address, len); 50 int write(FileDescriptor fd, long address, int len) throws IOException { argument 51 return write0(fd, address, len); 54 long writev(FileDescriptor fd, long address, int len) throws IOException { argument 55 return writev0(fd, address, len); 58 void close(FileDescriptor fd) throws IOException { argument 59 FileDispatcherImpl.close0(fd); 62 preClose(FileDescriptor fd) argument 66 read0(FileDescriptor fd, long address, int len) argument 69 readv0(FileDescriptor fd, long address, int len) argument 72 write0(FileDescriptor fd, long address, int len) argument 75 writev0(FileDescriptor fd, long address, int len) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | SolarisNativeDispatcher.java | 47 static native int facl(int fd, int cmd, int nentries, long aclbufp) argument
|
/openjdk7/langtools/test/tools/javac/generics/diamond/pos/ |
H A D | Pos06.java | 49 Foo<? extends Double> fd = new Foo<>(3.0); field in class:Pos06 50 DoubleFoo<?,?> dw = new DoubleFoo<>(fi,fd); 52 TripleFoo<?,?,?> tw = new TripleFoo<>(fi,fd,fs);
|
/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | salibelf.c | 33 int read_elf_header(int fd, ELF_EHDR* ehdr) { argument 34 if (pread(fd, ehdr, sizeof (ELF_EHDR), 0) != sizeof (ELF_EHDR) || 42 bool is_elf_file(int fd) { argument 44 return read_elf_header(fd, &ehdr); 48 ELF_PHDR* read_program_header_table(int fd, ELF_EHDR* hdr) { argument 58 if (pread(fd, phbuf, nbytes, hdr->e_phoff) != nbytes) { 68 ELF_SHDR* read_section_header_table(int fd, ELF_EHDR* hdr) { argument 78 if (pread(fd, shbuf, nbytes, hdr->e_shoff) != nbytes) { 88 void* read_section_data(int fd, ELF_EHDR* ehdr, ELF_SHDR* shdr) { argument 97 if (pread(fd, bu 105 find_base_address(int fd, ELF_EHDR* ehdr) argument [all...] |
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | salibelf.c | 32 int read_elf_header(int fd, ELF_EHDR* ehdr) { argument 33 if (pread(fd, ehdr, sizeof (ELF_EHDR), 0) != sizeof (ELF_EHDR) || 41 bool is_elf_file(int fd) { argument 43 return read_elf_header(fd, &ehdr); 47 ELF_PHDR* read_program_header_table(int fd, ELF_EHDR* hdr) { argument 57 if (pread(fd, phbuf, nbytes, hdr->e_phoff) != nbytes) { 67 ELF_SHDR* read_section_header_table(int fd, ELF_EHDR* hdr) { argument 77 if (pread(fd, shbuf, nbytes, hdr->e_shoff) != nbytes) { 87 void* read_section_data(int fd, ELF_EHDR* ehdr, ELF_SHDR* shdr) { argument 96 if (pread(fd, bu 104 find_base_address(int fd, ELF_EHDR* ehdr) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | SocketOutputStream.java | 56 * that the fd will not be closed. 83 * @param fd the FileDescriptor 89 private native void socketWrite0(FileDescriptor fd, byte[] b, int off, argument 111 FileDescriptor fd = impl.acquireFD(); 113 socketWrite0(fd, b, off, len); 180 * Overrides finalize, the fd is closed by the Socket.
|
H A D | SocketInputStream.java | 58 * that the fd will not be closed. 86 * @param fd the FileDescriptor 95 private native int socketRead0(FileDescriptor fd, argument 150 FileDescriptor fd = impl.acquireFD(); 152 n = socketRead0(fd, b, off, length, timeout); 173 n = socketRead0(fd, b, off, length, timeout); 270 * Overrides finalize, the fd is closed by the Socket.
|
/openjdk7/hotspot/src/os/solaris/fix_empty_sec_hdr_flags/ |
H A D | fix_empty_sec_hdr_flags.c | 49 int fd; /* descriptor for file */ local 66 if ((fd = open(elf_obj, O_RDWR)) == -1) { 76 if ((elf = elf_begin(fd, ELF_C_RDWR, NULL)) == NULL) { 168 (void) close(fd);
|
/openjdk7/jdk/make/tools/fix_empty_sec_hdr_flags/ |
H A D | fix_empty_sec_hdr_flags.c | 49 int fd; /* descriptor for file */ local 66 if ((fd = open(elf_obj, O_RDWR)) == -1) { 76 if ((elf = elf_begin(fd, ELF_C_RDWR, NULL)) == NULL) { 168 (void) close(fd);
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | io_util_md.c | 69 FD fd; local 77 fd = JVM_Open(ps, flags, 0666); 78 if (fd >= 0) { 79 SET_FD(this, fd, fid); 90 FD fd = GET_FD(this, fid); local 91 if (fd == -1) { 95 /* Set the fd to -1 before closing it so that the timing window 96 * of other threads using the wrong fd (closed but recycled fd, 108 if (fd > [all...] |
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | SocketOutputStream.c | 69 int fd; local 75 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID); 79 if (fd == -1) { 107 int n = NET_Send(fd, bufP + loff, llen, 0);
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | EPoll.c | 72 jint opcode, jint fd, jint events) 78 event.data.fd = fd; 80 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res); 71 Java_sun_nio_ch_EPoll_epollCtl(JNIEnv *env, jclass c, jint epfd, jint opcode, jint fd, jint events) argument
|
H A D | KQueue.c | 74 jint fd, jint filter, jint flags) 81 EV_SET(&changes[0], fd, filter, flags, 0, 0, 0); 73 Java_sun_nio_ch_KQueue_keventRegister(JNIEnv *env, jclass c, jint kqfd, jint fd, jint filter, jint flags) argument
|
/openjdk7/jdk/src/windows/classes/java/io/ |
H A D | FileDescriptor.java | 44 private int fd; field in class:FileDescriptor 61 fd = -1; 74 public void set(FileDescriptor obj, int fd) { 75 obj.fd = fd; 79 return obj.fd; 127 return ((handle != -1) || (fd != -1)); 165 private static FileDescriptor standardStream(int fd) { argument 167 desc.handle = set(fd);
|
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | SocketDispatcher.java | 42 int read(FileDescriptor fd, long address, int len) throws IOException { argument 43 return read0(fd, address, len); 46 long readv(FileDescriptor fd, long address, int len) throws IOException { argument 47 return readv0(fd, address, len); 50 int write(FileDescriptor fd, long address, int len) throws IOException { argument 51 return write0(fd, address, len); 54 long writev(FileDescriptor fd, long address, int len) throws IOException { argument 55 return writev0(fd, address, len); 58 void preClose(FileDescriptor fd) throws IOException { argument 59 preClose0(fd); 62 close(FileDescriptor fd) argument 67 read0(FileDescriptor fd, long address, int len) argument 70 readv0(FileDescriptor fd, long address, int len) argument 73 write0(FileDescriptor fd, long address, int len) argument 76 writev0(FileDescriptor fd, long address, int len) argument 79 preClose0(FileDescriptor fd) argument 81 close0(FileDescriptor fd) argument [all...] |
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | SocketInputStream.c | 67 jint fd, newfd; local 74 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID); 75 if (fd == -1) { 102 int ret = NET_Timeout (fd, timeout); 132 nread = recv(fd, bufP, len, 0);
|
H A D | SocketOutputStream.c | 66 int fd; local 72 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID); 105 int n = send(fd, bufP + loff, llen, 0);
|
/openjdk7/jdk/src/windows/native/sun/nio/ch/ |
H A D | DatagramDispatcher.c | 54 jint fd = fdval(env, fdo); local 62 i = WSARecv((SOCKET)fd, /* Socket */ 76 purgeOutstandingICMP(env, clazz, fd); 95 jint fd = fdval(env, fdo); local 106 i = WSARecv((SOCKET)fd, /* Socket */ 123 purgeOutstandingICMP(env, clazz, fd); 142 jint fd = fdval(env, fdo); local 150 i = WSASend((SOCKET)fd, /* Socket */ 164 purgeOutstandingICMP(env, clazz, fd); 182 jint fd local [all...] |
/openjdk7/jdk/src/share/native/java/io/ |
H A D | FileInputStream.c | 44 jfieldID fis_fd; /* id for jobject 'fd' in java.io.FileInputStream */ 52 fis_fd = (*env)->GetFieldID(env, fdClass, "fd", "Ljava/io/FileDescriptor;"); 79 FD fd = GET_FD(this, fis_fd); local 80 if (fd == -1) { 84 if ((cur = IO_Lseek(fd, (jlong)0, (jint)SEEK_CUR)) == -1) { 86 } else if ((end = IO_Lseek(fd, toSkip, (jint)SEEK_CUR)) == -1) { 95 FD fd = GET_FD(this, fis_fd); local 96 if (fd == -1) { 100 if (IO_Available(fd, &ret)) {
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | FileDispatcher.java | 37 abstract int force(FileDescriptor fd, boolean metaData) throws IOException; argument 39 abstract int truncate(FileDescriptor fd, long size) throws IOException; argument 41 abstract long size(FileDescriptor fd) throws IOException; argument 43 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, argument 46 abstract void release(FileDescriptor fd, long pos, long size) argument 50 * Returns a dup of fd if a file descriptor is required for 54 abstract FileDescriptor duplicateForMapping(FileDescriptor fd) argument
|
H A D | NativeDispatcher.java | 38 abstract int read(FileDescriptor fd, long address, int len) argument 49 int pread(FileDescriptor fd, long address, int len, long position) argument 55 abstract long readv(FileDescriptor fd, long address, int len) argument 58 abstract int write(FileDescriptor fd, long address, int len) argument 61 int pwrite(FileDescriptor fd, long address, int len, long position) argument 67 abstract long writev(FileDescriptor fd, long address, int len) argument 70 abstract void close(FileDescriptor fd) throws IOException; argument 72 // Prepare the given fd for closing by duping it to a known internal fd 74 // (Solaris and Linux) to prevent fd recyclin 76 preClose(FileDescriptor fd) argument [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FileOutputStream.java | 59 private final FileDescriptor fd; field in class:FileOutputStream 217 this.fd = new FileDescriptor(); 220 fd.incrementAndGetUseCount(); 255 this.fd = fdObj; 264 fd.incrementAndGetUseCount(); 379 fd.decrementAndGetUseCount(); 386 int useCount = fd.decrementAndGetUseCount(); 408 if (fd != null) return fd; 432 channel = FileChannelImpl.open(fd, pat [all...] |