Searched refs:fd (Results 1 - 25 of 368) sorted by relevance

1234567891011>>

/openjdk10/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/
H A Dsalibelf.h33 int read_elf_header(int fd, ELF_EHDR* ehdr);
36 bool is_elf_file(int fd);
40 ELF_PHDR* read_program_header_table(int fd, ELF_EHDR* hdr);
44 ELF_SHDR* read_section_header_table(int fd, ELF_EHDR* hdr);
48 void* read_section_data(int fd, ELF_EHDR* ehdr, ELF_SHDR* shdr);
51 uintptr_t find_base_address(int fd, ELF_EHDR* ehdr);
/openjdk10/hotspot/src/jdk.hotspot.agent/linux/native/libsaproc/
H A Dsalibelf.h33 int read_elf_header(int fd, ELF_EHDR* ehdr);
36 bool is_elf_file(int fd);
40 ELF_PHDR* read_program_header_table(int fd, ELF_EHDR* hdr);
44 ELF_SHDR* read_section_header_table(int fd, ELF_EHDR* hdr);
48 void* read_section_data(int fd, ELF_EHDR* ehdr, ELF_SHDR* shdr);
51 uintptr_t find_base_address(int fd, ELF_EHDR* ehdr);
/openjdk10/jdk/src/java.base/unix/classes/sun/nio/ch/
H A DSocketDispatcher.java38 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 DFileDispatcherImpl.java41 int read(FileDescriptor fd, long address, int len) throws IOException { argument
42 return read0(fd, address, len);
45 int pread(FileDescriptor fd, long address, int len, long position) argument
48 return pread0(fd, address, len, position);
51 long readv(FileDescriptor fd, long address, int len) throws IOException { argument
52 return readv0(fd, address, len);
55 int write(FileDescriptor fd, long address, int len) throws IOException { argument
56 return write0(fd, address, len);
59 int pwrite(FileDescriptor fd, long address, int len, long position) argument
62 return pwrite0(fd, addres
65 writev(FileDescriptor fd, long address, int len) argument
71 force(FileDescriptor fd, boolean metaData) argument
75 truncate(FileDescriptor fd, long size) argument
79 allocate(FileDescriptor fd, long size) argument
83 size(FileDescriptor fd) argument
87 lock(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
93 release(FileDescriptor fd, long pos, long size) argument
97 close(FileDescriptor fd) argument
101 preClose(FileDescriptor fd) argument
105 duplicateForMapping(FileDescriptor fd) argument
121 read0(FileDescriptor fd, long address, int len) argument
124 pread0(FileDescriptor fd, long address, int len, long position) argument
127 readv0(FileDescriptor fd, long address, int len) argument
130 write0(FileDescriptor fd, long address, int len) argument
133 pwrite0(FileDescriptor fd, long address, int len, long position) argument
136 writev0(FileDescriptor fd, long address, int len) argument
139 force0(FileDescriptor fd, boolean metaData) argument
142 truncate0(FileDescriptor fd, long size) argument
145 allocate0(FileDescriptor fd, long size) argument
148 size0(FileDescriptor fd) argument
150 lock0(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
153 release0(FileDescriptor fd, long pos, long size) argument
156 close0(FileDescriptor fd) argument
158 preClose0(FileDescriptor fd) argument
160 closeIntFD(int fd) argument
[all...]
H A DDatagramDispatcher.java42 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...]
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/ch/
H A DSocketDispatcher.java42 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...]
H A DFileDispatcherImpl.java49 int read(FileDescriptor fd, long address, int len) argument
52 return read0(fd, address, len);
55 int pread(FileDescriptor fd, long address, int len, long position) argument
58 return pread0(fd, address, len, position);
61 long readv(FileDescriptor fd, long address, int len) throws IOException { argument
62 return readv0(fd, address, len);
65 int write(FileDescriptor fd, long address, int len) throws IOException { argument
66 return write0(fd, address, len, fdAccess.getAppend(fd));
69 int pwrite(FileDescriptor fd, lon argument
75 writev(FileDescriptor fd, long address, int len) argument
79 force(FileDescriptor fd, boolean metaData) argument
83 truncate(FileDescriptor fd, long size) argument
87 allocate(FileDescriptor fd, long size) argument
92 size(FileDescriptor fd) argument
96 lock(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
102 release(FileDescriptor fd, long pos, long size) argument
106 close(FileDescriptor fd) argument
110 duplicateForMapping(FileDescriptor fd) argument
145 read0(FileDescriptor fd, long address, int len) argument
148 pread0(FileDescriptor fd, long address, int len, long position) argument
151 readv0(FileDescriptor fd, long address, int len) argument
154 write0(FileDescriptor fd, long address, int len, boolean append) argument
157 pwrite0(FileDescriptor fd, long address, int len, long position) argument
160 writev0(FileDescriptor fd, long address, int len, boolean append) argument
163 force0(FileDescriptor fd, boolean metaData) argument
166 truncate0(FileDescriptor fd, long size) argument
169 size0(FileDescriptor fd) argument
171 lock0(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
174 release0(FileDescriptor fd, long pos, long size) argument
177 close0(FileDescriptor fd) argument
179 duplicateHandle(long fd) argument
[all...]
H A DDatagramDispatcher.java42 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 SocketDispatcher.close0(fd);
62 read0(FileDescriptor fd, long address, int len) argument
65 readv0(FileDescriptor fd, long address, int len) argument
68 write0(FileDescriptor fd, long address, int len) argument
71 writev0(FileDescriptor fd, long address, int len) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/
H A DNativeDispatcher.java38 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...]
H A DFileDispatcher.java39 abstract int force(FileDescriptor fd, boolean metaData) throws IOException; argument
41 abstract int truncate(FileDescriptor fd, long size) throws IOException; argument
43 abstract int allocate(FileDescriptor fd, long size) throws IOException; argument
45 abstract long size(FileDescriptor fd) throws IOException; argument
47 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, argument
50 abstract void release(FileDescriptor fd, long pos, long size) argument
54 * Returns a dup of fd if a file descriptor is required for
58 abstract FileDescriptor duplicateForMapping(FileDescriptor fd) argument
H A DSecrets.java48 public static SocketChannel newSocketChannel(FileDescriptor fd) { argument
50 return new SocketChannelImpl(provider(), fd, false);
56 public static ServerSocketChannel newServerSocketChannel(FileDescriptor fd) { argument
58 return new ServerSocketChannelImpl(provider(), fd, false);
/openjdk10/hotspot/src/share/vm/utilities/
H A DerrorReporter.cpp30 void ErrorReporter::call(FILE* fd, char* buffer, int length) { argument
H A DerrorReporter.hpp37 void call(FILE* fd, char *buffer, int length);
/openjdk10/jdk/src/java.base/solaris/classes/sun/nio/ch/
H A DEventPortWrapper.java126 private void setDescriptor(int i, int fd) { argument
129 pollArray.putInt(offset, fd);
131 pollArray.putLong(offset, fd);
135 private void setUpdate(int fd, byte events) { argument
136 if (fd < MAX_UPDATE_ARRAY_SIZE) {
137 eventsLow[fd] = events;
139 eventsHigh.put(Integer.valueOf(fd), Byte.valueOf(events));
143 private byte getUpdate(int fd) { argument
144 if (fd < MAX_UPDATE_ARRAY_SIZE) {
145 return eventsLow[fd];
205 setInterest(int fd) argument
221 setInterest(int fd, int mask) argument
229 release(int fd) argument
[all...]
/openjdk10/jdk/src/java.desktop/windows/classes/sun/awt/
H A DWin32FontManager.java293 FamilyDescription fd;
300 fd = new FamilyDescription();
301 fd.familyName = "Segoe UI";
302 fd.plainFullName = "Segoe UI";
303 fd.plainFileName = "segoeui.ttf";
304 fd.boldFullName = "Segoe UI Bold";
305 fd.boldFileName = "segoeuib.ttf";
306 fd.italicFullName = "Segoe UI Italic";
307 fd.italicFileName = "segoeuii.ttf";
308 fd
[all...]
/openjdk10/jdk/test/java/awt/FileDialog/FilenameFilterTest/
H A DFilenameFilterTest.java50 FileDialog fd; field in class:FilenameFilterTest
70 fd = new FileDialog(new Frame(""), "hello world", FileDialog.LOAD);
71 fd.setFilenameFilter(new FilenameFilter() {
78 fd.setDirectory(System.getProperty("test.src"));
79 fd.setVisible(true);
83 if (fd == null) {
84 throw new RuntimeException("fd is null (very unexpected thing :(");
92 fd.dispose();
/openjdk10/jdk/src/jdk.jdwp.agent/share/native/libdt_socket/
H A DsysSocket.h41 int dbgsysSocketClose(int fd);
42 int dbgsysConnect(int fd, struct sockaddr *him, socklen_t len);
43 int dbgsysFinishConnect(int fd, int timeout);
44 int dbgsysAccept(int fd, struct sockaddr *him, socklen_t *len);
45 int dbgsysSendTo(int fd, char *buf, size_t len, int flags, struct sockaddr *to, socklen_t tolen);
46 int dbgsysRecvFrom(int fd, char *buf, size_t nBytes, int flags, struct sockaddr *from, socklen_t *fromlen);
47 int dbgsysListen(int fd, int backlog);
48 int dbgsysRecv(int fd, char *buf, size_t nBytes, int flags);
49 int dbgsysSend(int fd, char *buf, size_t nBytes, int flags);
52 int dbgsysBind(int fd, struc
[all...]
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DGtkFileDialogPeer.java40 private final FileDialog fd; field in class:GtkFileDialogPeer
47 GtkFileDialogPeer(FileDialog fd) { argument
48 super(fd);
49 this.fd = fd;
75 accessor.setDirectory(fd, null);
76 accessor.setFile(fd, null);
77 accessor.setFiles(fd, null);
85 accessor.setDirectory(fd, with_separator);
86 accessor.setFile(fd, filename
[all...]
/openjdk10/jdk/src/java.base/unix/classes/java/io/
H A DFileDescriptor.java50 private int fd; field in class:FileDescriptor
66 fd = -1;
69 private FileDescriptor(int fd) { argument
70 this.fd = fd;
71 this.append = getAppend(fd);
108 return fd != -1;
152 public void set(FileDescriptor obj, int fd) {
153 obj.fd = fd;
182 getAppend(int fd) argument
[all...]
/openjdk10/jdk/src/java.base/unix/native/libjava/
H A Dio_util_md.c75 FD fd; local
76 RESTARTABLE(open64(path, oflag, mode), fd); local
77 if (fd != -1) {
80 RESTARTABLE(fstat64(fd, &buf64), result);
83 close(fd);
85 fd = -1;
88 close(fd);
89 fd = -1;
92 return fd;
99 FD fd; local
127 FD fd = GET_FD(this, fid); local
160 handleRead(FD fd, void *buf, jint len) argument
168 handleWrite(FD fd, const void *buf, jint len) argument
176 handleAvailable(FD fd, jlong *pbytes) argument
215 handleSetLength(FD fd, jlong length) argument
242 handleGetLength(FD fd) argument
[all...]
/openjdk10/jdk/src/jdk.sctp/unix/classes/sun/nio/ch/sctp/
H A DSctpNet.java62 static void listen(int fd, int backlog) throws IOException { argument
63 listen0(fd, backlog);
66 static int connect(int fd, InetAddress remote, int remotePort) argument
68 return connect0(fd, remote, remotePort);
71 static void close(int fd) throws IOException { argument
72 close0(fd);
75 static void preClose(int fd) throws IOException { argument
76 preClose0(fd);
89 static void bindx(int fd, InetAddress[] addrs, int port, boolean add) argument
91 bindx(fd, addr
95 getLocalAddresses(int fd) argument
135 getRemoteAddresses(int fd, int assocId) argument
149 setSocketOption(int fd, SctpSocketOption<T> name, T value, int assocId) argument
196 getSocketOption(int fd, SctpSocketOption<?> name, int assocId) argument
221 setIntOption(int fd, SctpSocketOption<?> name, Object value) argument
261 getIntOption(int fd, SctpSocketOption<?> name) argument
281 shutdown(int fd, int assocId) argument
286 branch(int fd, int assocId) argument
294 listen0(int fd, int backlog) argument
296 connect0(int fd, InetAddress remote, int remotePort) argument
299 close0(int fd) argument
301 preClose0(int fd) argument
303 bindx(int fd, InetAddress[] addrs, int port, int length, boolean add, boolean preferIPv6) argument
306 getIntOption0(int fd, int opt) argument
308 setIntOption0(int fd, int opt, int arg) argument
311 getLocalAddresses0(int fd) argument
313 getRemoteAddresses0(int fd, int assocId) argument
316 branch0(int fd, int assocId) argument
318 setPrimAddrOption0(int fd, int assocId, InetAddress ia, int port) argument
321 setPeerPrimAddrOption0(int fd, int assocId, InetAddress ia, int port, boolean preferIPv6) argument
324 getPrimAddrOption0(int fd, int assocId) argument
328 getInitMsgOption0(int fd, int[] retVals) argument
330 setInitMsgOption0(int fd, int arg1, int arg2) argument
333 shutdown0(int fd, int assocId) argument
[all...]
/openjdk10/jdk/src/jdk.jdwp.agent/windows/native/libdt_socket/
H A Dsocket_md.c123 dbgsysListen(int fd, int backlog) { argument
124 return listen(fd, backlog);
128 dbgsysConnect(int fd, struct sockaddr *name, socklen_t namelen) { argument
129 int rv = connect(fd, name, namelen);
138 int dbgsysFinishConnect(int fd, int timeout) { argument
148 FD_SET((unsigned int)fd, &wr);
149 FD_SET((unsigned int)fd, &ex);
151 rv = select(fd+1, 0, &wr, &ex, &t);
161 if (!FD_ISSET(fd, &ex)) {
174 dbgsysAccept(int fd, struc argument
179 dbgsysRecvFrom(int fd, char *buf, size_t nBytes, int flags, struct sockaddr *from, socklen_t *fromlen) argument
185 dbgsysSendTo(int fd, char *buf, size_t len, int flags, struct sockaddr *to, socklen_t tolen) argument
191 dbgsysRecv(int fd, char *buf, size_t nBytes, int flags) argument
196 dbgsysSend(int fd, char *buf, size_t nBytes, int flags) argument
212 int fd = (int)socket(domain, type, protocol); local
220 dbgsysSocketClose(int fd) argument
235 dbgsysBind(int fd, struct sockaddr *name, socklen_t namelen) argument
256 dbgsysGetSocketName(int fd, struct sockaddr *name, socklen_t *namelen) argument
273 dbgsysSetSocketOption(int fd, jint cmd, jboolean on, jvalue value) argument
332 dbgsysConfigureBlocking(int fd, jboolean blocking) argument
350 dbgsysPoll(int fd, jboolean rd, jboolean wr, long timeout) argument
[all...]
/openjdk10/hotspot/src/os/bsd/vm/
H A Dos_bsd.inline.hpp91 inline jlong os::lseek(int fd, jlong offset, int whence) { argument
92 return (jlong) ::lseek(fd, offset, whence);
95 inline int os::fsync(int fd) { argument
96 return ::fsync(fd);
103 inline int os::ftruncate(int fd, jlong length) { argument
104 return ::ftruncate(fd, length);
144 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
146 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
150 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
152 RESTARTABLE((size_t) ::write(fd, bu
156 close(int fd) argument
160 socket_close(int fd) argument
168 recv(int fd, char* buf, size_t nBytes, uint flags) argument
172 send(int fd, char* buf, size_t nBytes, uint flags) argument
176 raw_send(int fd, char* buf, size_t nBytes, uint flags) argument
180 connect(int fd, struct sockaddr* him, socklen_t len) argument
[all...]
/openjdk10/hotspot/src/os/linux/vm/
H A Dos_linux.inline.hpp83 inline jlong os::lseek(int fd, jlong offset, int whence) { argument
84 return (jlong) ::lseek64(fd, offset, whence);
87 inline int os::fsync(int fd) { argument
88 return ::fsync(fd);
95 inline int os::ftruncate(int fd, jlong length) { argument
96 return ::ftruncate64(fd, length);
136 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
138 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
142 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
144 RESTARTABLE((size_t) ::write(fd, bu
148 close(int fd) argument
152 socket_close(int fd) argument
160 recv(int fd, char* buf, size_t nBytes, uint flags) argument
164 send(int fd, char* buf, size_t nBytes, uint flags) argument
168 raw_send(int fd, char* buf, size_t nBytes, uint flags) argument
172 connect(int fd, struct sockaddr* him, socklen_t len) argument
[all...]
/openjdk10/hotspot/src/os/aix/vm/
H A Dos_aix.inline.hpp88 inline jlong os::lseek(int fd, jlong offset, int whence) { argument
89 return (jlong) ::lseek64(fd, offset, whence);
92 inline int os::fsync(int fd) { argument
93 return ::fsync(fd);
100 inline int os::ftruncate(int fd, jlong length) { argument
101 return ::ftruncate64(fd, length);
137 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
139 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
143 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
145 RESTARTABLE((size_t) ::write(fd, bu
149 close(int fd) argument
153 socket_close(int fd) argument
161 recv(int fd, char* buf, size_t nBytes, uint flags) argument
165 send(int fd, char* buf, size_t nBytes, uint flags) argument
169 raw_send(int fd, char *buf, size_t nBytes, uint flags) argument
173 connect(int fd, struct sockaddr *him, socklen_t len) argument
[all...]

Completed in 130 milliseconds

1234567891011>>