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

1234567891011>>

/openjdk7/hotspot/agent/src/os/bsd/
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);
/openjdk7/hotspot/agent/src/os/linux/
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);
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DFileDispatcherImpl.java45 int read(FileDescriptor fd, long address, int len) throws IOException { argument
46 return read0(fd, address, len);
49 int pread(FileDescriptor fd, long address, int len, long position) argument
52 return pread0(fd, address, len, position);
55 long readv(FileDescriptor fd, long address, int len) throws IOException { argument
56 return readv0(fd, address, len);
59 int write(FileDescriptor fd, long address, int len) throws IOException { argument
60 return write0(fd, address, len);
63 int pwrite(FileDescriptor fd, long address, int len, long position) argument
66 return pwrite0(fd, addres
69 writev(FileDescriptor fd, long address, int len) argument
75 force(FileDescriptor fd, boolean metaData) argument
79 truncate(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
113 read0(FileDescriptor fd, long address, int len) argument
116 pread0(FileDescriptor fd, long address, int len, long position) argument
119 readv0(FileDescriptor fd, long address, int len) argument
122 write0(FileDescriptor fd, long address, int len) argument
125 pwrite0(FileDescriptor fd, long address, int len, long position) argument
128 writev0(FileDescriptor fd, long address, int len) argument
131 force0(FileDescriptor fd, boolean metaData) argument
134 truncate0(FileDescriptor fd, long size) argument
137 size0(FileDescriptor fd) argument
139 lock0(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
142 release0(FileDescriptor fd, long pos, long size) argument
145 close0(FileDescriptor fd) argument
147 preClose0(FileDescriptor fd) argument
149 closeIntFD(int fd) argument
[all...]
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 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...]
H A DEventPortWrapper.java120 private void setDescriptor(int i, int fd) { argument
123 pollArray.putInt(offset, fd);
125 pollArray.putLong(offset, fd);
129 private void setUpdate(int fd, byte events) { argument
130 if (fd < MAX_UPDATE_ARRAY_SIZE) {
131 eventsLow[fd] = events;
133 eventsHigh.put(Integer.valueOf(fd), Byte.valueOf(events));
137 private byte getUpdate(int fd) { argument
138 if (fd < MAX_UPDATE_ARRAY_SIZE) {
139 return eventsLow[fd];
199 setInterest(int fd) argument
215 setInterest(int fd, int mask) argument
223 release(int fd) argument
[all...]
/openjdk7/jdk/src/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.java57 int read(FileDescriptor fd, long address, int len) argument
60 return read0(fd, address, len);
63 int pread(FileDescriptor fd, long address, int len, long position) argument
66 return pread0(fd, address, len, position);
69 long readv(FileDescriptor fd, long address, int len) throws IOException { argument
70 return readv0(fd, address, len);
73 int write(FileDescriptor fd, long address, int len) throws IOException { argument
74 return write0(fd, address, len, append);
77 int pwrite(FileDescriptor fd, long address, int len, long position) argument
80 return pwrite0(fd, addres
83 writev(FileDescriptor fd, long address, int len) argument
87 force(FileDescriptor fd, boolean metaData) argument
91 truncate(FileDescriptor fd, long size) argument
95 size(FileDescriptor fd) argument
99 lock(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
105 release(FileDescriptor fd, long pos, long size) argument
109 close(FileDescriptor fd) argument
113 duplicateForMapping(FileDescriptor fd) argument
125 read0(FileDescriptor fd, long address, int len) argument
128 pread0(FileDescriptor fd, long address, int len, long position) argument
131 readv0(FileDescriptor fd, long address, int len) argument
134 write0(FileDescriptor fd, long address, int len, boolean append) argument
137 pwrite0(FileDescriptor fd, long address, int len, long position) argument
140 writev0(FileDescriptor fd, long address, int len, boolean append) argument
143 force0(FileDescriptor fd, boolean metaData) argument
146 truncate0(FileDescriptor fd, long size) argument
149 size0(FileDescriptor fd) argument
151 lock0(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
154 release0(FileDescriptor fd, long pos, long size) argument
157 close0(FileDescriptor fd) argument
159 closeByHandle(long fd) argument
161 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...]
/openjdk7/jdk/src/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.java37 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 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);
/openjdk7/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);
/openjdk7/jdk/src/solaris/classes/java/io/
H A DFileDescriptor.java47 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/share/transport/socket/
H A DsysSocket.h38 int dbgsysSocketClose(int fd);
39 int dbgsysConnect(int fd, struct sockaddr *him, int len);
40 int dbgsysFinishConnect(int fd, long timeout);
41 int dbgsysAccept(int fd, struct sockaddr *him, int *len);
42 int dbgsysSendTo(int fd, char *buf, int len, int flags, struct sockaddr *to,
44 int dbgsysRecvFrom(int fd, char *buf, int nbytes, int flags,
46 int dbgsysListen(int fd, int backlog);
47 int dbgsysRecv(int fd, char *buf, int nBytes, int flags);
48 int dbgsysSend(int fd, char *buf, int nBytes, int flags);
51 int dbgsysBind(int fd, struc
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/
H A DWin32FontManager.java303 FamilyDescription fd;
310 fd = new FamilyDescription();
311 fd.familyName = "Segoe UI";
312 fd.plainFullName = "Segoe UI";
313 fd.plainFileName = "segoeui.ttf";
314 fd.boldFullName = "Segoe UI Bold";
315 fd.boldFileName = "segoeuib.ttf";
316 fd.italicFullName = "Segoe UI Italic";
317 fd.italicFileName = "segoeuii.ttf";
318 fd
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaIOFileDescriptorAccess.java34 public void set(FileDescriptor obj, int fd); argument
35 public int get(FileDescriptor fd); argument
/openjdk7/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();
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.inline.hpp124 inline jlong os::lseek(int fd, jlong offset, int whence) { argument
125 return (jlong) ::lseek(fd, offset, whence);
128 inline int os::fsync(int fd) { argument
129 return ::fsync(fd);
136 inline int os::ftruncate(int fd, jlong length) { argument
137 return ::ftruncate(fd, length);
177 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
179 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
183 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
185 RESTARTABLE((size_t) ::write(fd, bu
189 close(int fd) argument
193 socket_close(int fd) argument
201 recv(int fd, char* buf, size_t nBytes, uint flags) argument
205 send(int fd, char* buf, size_t nBytes, uint flags) argument
209 raw_send(int fd, char* buf, size_t nBytes, uint flags) argument
213 timeout(int fd, long timeout) argument
245 listen(int fd, int count) argument
249 connect(int fd, struct sockaddr* him, socklen_t len) argument
253 accept(int fd, struct sockaddr* him, socklen_t* len) argument
258 recvfrom(int fd, char* buf, size_t nBytes, uint flags, sockaddr* from, socklen_t* fromlen) argument
263 sendto(int fd, char* buf, size_t len, uint flags, struct sockaddr *to, socklen_t tolen) argument
268 socket_shutdown(int fd, int howto) argument
272 bind(int fd, struct sockaddr* him, socklen_t len) argument
276 get_sock_name(int fd, struct sockaddr* him, socklen_t* len) argument
288 get_sock_opt(int fd, int level, int optname, char *optval, socklen_t* optlen) argument
293 set_sock_opt(int fd, int level, int optname, const char* optval, socklen_t optlen) argument
[all...]
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.inline.hpp128 inline jlong os::lseek(int fd, jlong offset, int whence) { argument
129 return (jlong) ::lseek64(fd, offset, whence);
132 inline int os::fsync(int fd) { argument
133 return ::fsync(fd);
140 inline int os::ftruncate(int fd, jlong length) { argument
141 return ::ftruncate64(fd, length);
181 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
183 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
187 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
189 RESTARTABLE((size_t) ::write(fd, bu
193 close(int fd) argument
197 socket_close(int fd) argument
205 recv(int fd, char* buf, size_t nBytes, uint flags) argument
209 send(int fd, char* buf, size_t nBytes, uint flags) argument
213 raw_send(int fd, char* buf, size_t nBytes, uint flags) argument
217 timeout(int fd, long timeout) argument
249 listen(int fd, int count) argument
253 connect(int fd, struct sockaddr* him, socklen_t len) argument
257 accept(int fd, struct sockaddr* him, socklen_t* len) argument
263 recvfrom(int fd, char* buf, size_t nBytes, uint flags, sockaddr* from, socklen_t* fromlen) argument
268 sendto(int fd, char* buf, size_t len, uint flags, struct sockaddr* to, socklen_t tolen) argument
273 socket_shutdown(int fd, int howto) argument
277 bind(int fd, struct sockaddr* him, socklen_t len) argument
281 get_sock_name(int fd, struct sockaddr* him, socklen_t* len) argument
293 get_sock_opt(int fd, int level, int optname, char* optval, socklen_t* optlen) argument
298 set_sock_opt(int fd, int level, int optname, const char* optval, socklen_t optlen) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DGtkFileDialogPeer.java41 private FileDialog fd; field in class:GtkFileDialogPeer
46 public GtkFileDialogPeer(FileDialog fd) { argument
47 super((Dialog) fd);
48 this.fd = fd;
74 accessor.setDirectory(fd, null);
75 accessor.setFile(fd, null);
76 accessor.setFiles(fd, null);
84 accessor.setDirectory(fd, with_separator);
85 accessor.setFile(fd, filename
[all...]
/openjdk7/jdk/src/share/classes/sun/net/sdp/
H A DSdpSupport.java57 FileDescriptor fd = new FileDescriptor();
58 fdAccess.set(fd, fdVal);
59 return fd;
66 public static void convertSocket(FileDescriptor fd) throws IOException { argument
69 int fdVal = fdAccess.get(fd);
75 private static native void convert0(int fd) throws IOException; argument
/openjdk7/jdk/src/windows/native/java/io/
H A DFileDescriptor_md.c39 /* field id for jint 'fd' in java.io.FileDescriptor */
51 IO_fd_fdID = (*env)->GetFieldID(env, fdClass, "fd", "I");
56 Java_java_io_FileDescriptor_set(JNIEnv *env, jclass fdClass, jint fd) { argument
57 SET_HANDLE(fd);
66 FD fd = THIS_FD(this); local
67 if (IO_Sync(fd) == -1) {
/openjdk7/jdk/src/windows/classes/java/io/
H A DFileDescriptor.java44 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);

Completed in 47 milliseconds

1234567891011>>