Searched defs:fd (Results 201 - 225 of 245) sorted by relevance

12345678910

/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DDatagramChannelImpl.java51 private final FileDescriptor fd; field in class:DatagramChannelImpl
53 // fd value needed for dev/poll. This value will remain valid
115 this.fd = Net.socket(family, false);
116 this.fdVal = IOUtil.fdVal(fd);
142 this.fd = Net.socket(family, false);
143 this.fdVal = IOUtil.fdVal(fd);
147 public DatagramChannelImpl(SelectorProvider sp, FileDescriptor fd) argument
153 this.fd = fd;
154 this.fdVal = IOUtil.fdVal(fd);
395 receive(FileDescriptor fd, ByteBuffer dst) argument
421 receiveIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, int rem, int pos) argument
490 send(FileDescriptor fd, ByteBuffer src, InetSocketAddress target) argument
520 sendFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, InetSocketAddress target) argument
1107 disconnect0(FileDescriptor fd, boolean isIPv6) argument
1110 receive0(FileDescriptor fd, long address, int len, boolean connected) argument
1114 send0(boolean preferIPv6, FileDescriptor fd, long address, int len, InetAddress addr, int port) argument
[all...]
H A DFileChannelImpl.java50 private final FileDescriptor fd; field in class:FileChannelImpl
69 private FileChannelImpl(FileDescriptor fd, String path, boolean readable, argument
72 this.fd = fd;
82 public static FileChannel open(FileDescriptor fd, String path, argument
86 return new FileChannelImpl(fd, path, readable, writable, false, parent);
90 public static FileChannel open(FileDescriptor fd, String path, argument
94 return new FileChannelImpl(fd, path, readable, writable, append, parent);
111 nd.release(fd, fl.position(), fl.size());
118 nd.preClose(fd);
766 private final FileDescriptor fd; field in class:FileChannelImpl.Unmapper
768 Unmapper(long address, long size, int cap, FileDescriptor fd) argument
1165 position0(FileDescriptor fd, long offset) argument
[all...]
H A DNet.java321 static void setSocketOption(FileDescriptor fd, ProtocolFamily family, argument
373 setIntOption0(fd, mayNeedConversion, key.level(), key.name(), arg);
376 static Object getSocketOption(FileDescriptor fd, ProtocolFamily family, argument
392 int value = getIntOption0(fd, mayNeedConversion, key.level(), key.name());
433 static void bind(FileDescriptor fd, InetAddress addr, int port) argument
436 bind(UNSPEC, fd, addr, port);
439 static void bind(ProtocolFamily family, FileDescriptor fd, argument
444 bind0(fd, preferIPv6, exclusiveBind, addr, port);
447 private static native void bind0(FileDescriptor fd, boolean preferIPv6, argument
452 static native void listen(FileDescriptor fd, in argument
454 connect(FileDescriptor fd, InetAddress remote, int remotePort) argument
460 connect(ProtocolFamily family, FileDescriptor fd, InetAddress remote, int remotePort) argument
468 connect0(boolean preferIPv6, FileDescriptor fd, InetAddress remote, int remotePort) argument
479 shutdown(FileDescriptor fd, int how) argument
481 localPort(FileDescriptor fd) argument
484 localInetAddress(FileDescriptor fd) argument
487 localAddress(FileDescriptor fd) argument
493 remotePort(FileDescriptor fd) argument
496 remoteInetAddress(FileDescriptor fd) argument
499 remoteAddress(FileDescriptor fd) argument
505 getIntOption0(FileDescriptor fd, boolean mayNeedConversion, int level, int opt) argument
509 setIntOption0(FileDescriptor fd, boolean mayNeedConversion, int level, int opt, int arg) argument
519 join4(FileDescriptor fd, int group, int interf, int source) argument
528 drop4(FileDescriptor fd, int group, int interf, int source) argument
534 joinOrDrop4(boolean join, FileDescriptor fd, int group, int interf, int source) argument
540 block4(FileDescriptor fd, int group, int interf, int source) argument
549 unblock4(FileDescriptor fd, int group, int interf, int source) argument
555 blockOrUnblock4(boolean block, FileDescriptor fd, int group, int interf, int source) argument
562 join6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
571 drop6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
577 joinOrDrop6(boolean join, FileDescriptor fd, byte[] group, int index, byte[] source) argument
583 block6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
592 unblock6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
598 blockOrUnblock6(boolean block, FileDescriptor fd, byte[] group, int index, byte[] source) argument
601 setInterface4(FileDescriptor fd, int interf) argument
603 getInterface4(FileDescriptor fd) argument
605 setInterface6(FileDescriptor fd, int index) argument
607 getInterface6(FileDescriptor fd) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DSctpChannelImpl.java70 private final FileDescriptor fd; field in class:SctpChannelImpl
131 this.fd = SctpNet.socket(true);
132 this.fdVal = IOUtil.fdVal(fd);
139 public SctpChannelImpl(SelectorProvider provider, FileDescriptor fd) argument
141 this(provider, fd, null);
148 FileDescriptor fd,
152 this.fd = fd;
153 this.fdVal = IOUtil.fdVal(fd);
155 port = (Net.localAddress(fd))
147 SctpChannelImpl(SelectorProvider provider, FileDescriptor fd, Association association) argument
815 receive(int fd, ByteBuffer dst, SctpResultContainer resultContainer, boolean peek) argument
841 receiveIntoNativeBuffer(int fd, SctpResultContainer resultContainer, ByteBuffer bb, int rem, int pos, boolean peek) argument
979 send(int fd, ByteBuffer src, MessageInfo messageInfo) argument
1015 sendFromNativeBuffer(int fd, ByteBuffer bb, SocketAddress target, int streamNumber, boolean unordered, int ppid) argument
1091 receive0(int fd, SctpResultContainer resultContainer, long address, int length, boolean peek) argument
1094 send0(int fd, long address, int length, InetAddress addr, int port, int assocId, int streamNumber, boolean unordered, int ppid) argument
1098 checkConnect(FileDescriptor fd, boolean block, boolean ready) argument
[all...]
H A DSctpMultiChannelImpl.java65 private final FileDescriptor fd; field in class:SctpMultiChannelImpl
127 this.fd = SctpNet.socket(false /*one-to-many*/);
128 this.fdVal = IOUtil.fdVal(fd);
146 Net.bind(fd, isa.getAddress(), isa.getPort());
148 InetSocketAddress boundIsa = Net.localAddress(fd);
277 IOUtil.configureBlocking(fd, block);
298 return fd;
543 private int receive(int fd, argument
552 return receiveIntoNativeBuffer(fd, resultContainer, dst, rem, pos);
558 int n = receiveIntoNativeBuffer(fd, resultContaine
568 receiveIntoNativeBuffer(int fd, SctpResultContainer resultContainer, ByteBuffer bb, int rem, int pos) argument
836 send(int fd, ByteBuffer src, int assocId, SocketAddress target, MessageInfo messageInfo) argument
875 sendFromNativeBuffer(int fd, ByteBuffer bb, SocketAddress target, int assocId, int streamNumber, boolean unordered, int ppid) argument
965 receive0(int fd, SctpResultContainer resultContainer, long address, int length) argument
974 send0(int fd, long address, int length, InetAddress addr, int port, int assocId, int streamNumber, boolean unordered, int ppid) argument
[all...]
/openjdk7/hotspot/agent/src/os/bsd/
H A Dps_core.c66 int fd = lib->fd; local
67 if (fd >= 0 && fd != ph->core->exec_fd) close(fd);
103 static map_info* allocate_init_map(int fd, off_t offset, uintptr_t vaddr, size_t memsz) { argument
111 map->fd = fd;
118 // add map info with given fd, offset, vaddr and memsz
119 static map_info* add_map_info(struct ps_prochandle* ph, int fd, off_ argument
296 int fd = -1, m = 0; local
463 int fd; local
[all...]
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_core.c66 int fd = lib->fd; local
67 if (fd >= 0 && fd != ph->core->exec_fd) close(fd);
103 static map_info* allocate_init_map(int fd, off_t offset, uintptr_t vaddr, size_t memsz) { argument
111 map->fd = fd;
118 // add map info with given fd, offset, vaddr and memsz
119 static map_info* add_map_info(struct ps_prochandle* ph, int fd, off_ argument
295 int fd = -1, m = 0; local
463 int fd; local
[all...]
/openjdk7/hotspot/src/share/vm/interpreter/
H A DlinkResolver.cpp568 fieldDescriptor& fd,
573 fd.access_flags(),
581 fd.name()->as_C_string(),
616 fieldDescriptor fd; // find_field initializes fd if found local
617 KlassHandle sel_klass(THREAD, instanceKlass::cast(resolved_klass())->find_field(field, sig, &fd));
626 check_field_accessability(ref_klass, resolved_klass, sel_klass, fd, CHECK);
629 if (is_static != fd.is_static()) {
632 jio_snprintf(msg, sizeof(msg), "Expected %s field %s.%s", is_static ? "static" : "non-static", Klass::cast(resolved_klass())->external_name(), fd.name()->as_C_string());
637 if (is_put && fd
565 check_field_accessability(KlassHandle ref_klass, KlassHandle resolved_klass, KlassHandle sel_klass, fieldDescriptor& fd, TRAPS) argument
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp92 int fd = ::_open(destfile, _O_BINARY|_O_CREAT|_O_WRONLY|_O_TRUNC, local
95 if (fd == OS_ERR) {
103 int nbytes = ::_write(fd, addr, (unsigned int)remaining);
116 int result = ::_close(fd);
/openjdk7/hotspot/src/share/vm/runtime/
H A Dreflection.cpp803 oop Reflection::new_field(fieldDescriptor* fd, bool intern_name, TRAPS) { argument
804 Symbol* field_name = fd->name();
813 Symbol* signature = fd->signature();
814 KlassHandle holder (THREAD, fd->field_holder());
818 java_lang_reflect_Field::set_clazz(rh(), Klass::cast(fd->field_holder())->java_mirror());
819 java_lang_reflect_Field::set_slot(rh(), fd->index());
823 java_lang_reflect_Field::set_modifiers(rh(), fd->access_flags().as_int() & JVM_RECOGNIZED_FIELD_MODIFIERS);
826 fd->has_generic_signature()) {
827 Symbol* gs = fd->generic_signature();
832 java_lang_reflect_Field::set_annotations(rh(), fd
[all...]
H A Ddeoptimization.cpp800 void do_field(fieldDescriptor* fd) { argument
804 int offset = fd->offset();
805 switch (fd->field_type()) {
968 fieldDescriptor fd; local
H A Dos.cpp1355 int os::get_line_chars(int fd, char* buf, const size_t bsize){ argument
1359 while ((sz = (int) read(fd, &buf[i], 1)) == 1 && i < (bsize-2) && buf[i] != '\n') {
1381 while (read(fd, &ch, 1) == 1 && ch != '\n') {
1492 char* os::map_memory(int fd, const char* file_name, size_t file_offset, argument
1495 char* result = pd_map_memory(fd, file_name, file_offset, addr, bytes, read_only, allow_exec);
1502 char* os::remap_memory(int fd, const char* file_name, size_t file_offset, argument
1505 return pd_remap_memory(fd, file_name, file_offset, addr, bytes,
/openjdk7/jdk/src/solaris/native/java/lang/
H A DUNIXProcess_md.c362 restartableWrite(int fd, const void *buf, size_t count) argument
365 RESTARTABLE(write(fd, buf, count), result);
378 restartableClose(int fd) argument
381 RESTARTABLE(close(fd), err);
386 closeSafely(int fd) argument
388 return (fd == -1) ? 0 : restartableClose(fd);
398 #define FD_DIR "/dev/fd"
402 #define FD_DIR "/proc/self/fd"
426 * 6395699: /proc/self/fd fail
429 int fd; local
653 readFully(int fd, void *buf, size_t nbyte) argument
743 int fd; local
[all...]
/openjdk7/jdk/src/solaris/native/java/net/
H A DPlainDatagramSocketImpl.c129 * Returns the fd for a PlainDatagramSocketImpl or -1
152 pdsi_fdID = (*env)->GetFieldID(env, cls, "fd",
224 /* fd is an int field on fdObj */
225 int fd; local
234 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID);
248 if (NET_Bind(fd, (struct sockaddr *)&him, len) < 0) {
265 if (JVM_GetSockName(fd, (struct sockaddr *)&him, &len) == -1) {
289 /* The fdObj'fd */
290 jint fd; local
300 fd
337 jint fd; local
422 jint fd; local
551 jint fd; local
643 int fd; local
820 int fd; local
1064 int arg, fd, t = 1; local
1152 int fd; local
1170 mcast_set_if_by_if_v4(JNIEnv *env, jobject this, int fd, jobject value) argument
1222 mcast_set_if_by_if_v6(JNIEnv *env, jobject this, int fd, jobject value) argument
1264 mcast_set_if_by_addr_v4(JNIEnv *env, jobject this, int fd, jobject value) argument
1281 mcast_set_if_by_addr_v6(JNIEnv *env, jobject this, int fd, jobject value) argument
1331 setMulticastInterface(JNIEnv *env, jobject this, int fd, jint opt, jobject value) argument
1382 mcast_set_loop_v4(JNIEnv *env, jobject this, int fd, jobject value) argument
1406 mcast_set_loop_v6(JNIEnv *env, jobject this, int fd, jobject value) argument
1440 setMulticastLoopbackMode(JNIEnv *env, jobject this, int fd, jint opt, jobject value) argument
1470 int fd; local
1600 getMulticastInterface(JNIEnv *env, jobject this, int fd, jint opt) argument
1848 int fd; local
1968 setTTL(JNIEnv *env, int fd, jint ttl) argument
1981 setHopLimit(JNIEnv *env, int fd, jint ttl) argument
2001 int fd; local
2053 jint fd = -1; local
2124 jint fd; local
[all...]
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DUnixNativeDispatcher.c276 Java_sun_nio_fs_UnixNativeDispatcher_dup(JNIEnv* env, jclass this, jint fd) { argument
280 RESTARTABLE(dup((int)fd), res);
281 if (fd == -1) {
324 jint fd; local
327 RESTARTABLE(open64(path, (int)oflags, (mode_t)mode), fd); local
328 if (fd == -1) {
331 return fd;
338 jint fd; local
346 RESTARTABLE((*my_openat64_func)(dfd, path, (int)oflags, (mode_t)mode), fd);
347 if (fd
354 Java_sun_nio_fs_UnixNativeDispatcher_close(JNIEnv* env, jclass this, jint fd) argument
361 Java_sun_nio_fs_UnixNativeDispatcher_read(JNIEnv* env, jclass this, jint fd, jlong address, jint nbytes) argument
374 Java_sun_nio_fs_UnixNativeDispatcher_write(JNIEnv* env, jclass this, jint fd, jlong address, jint nbytes) argument
436 Java_sun_nio_fs_UnixNativeDispatcher_fstat(JNIEnv* env, jclass this, jint fd, jobject attrs) argument
861 Java_sun_nio_fs_UnixNativeDispatcher_fpathconf(JNIEnv* env, jclass this, jint fd, jint name) argument
[all...]
/openjdk7/jdk/src/windows/native/java/net/
H A Dnet_util_md.c228 return (*env)->GetFieldID(env, cls, "fd", "I");
307 /* call NET_MapSocketOptionV6 for the IPv6 fd only
308 * and NET_MapSocketOption for the IPv4 fd
473 void setExclusiveBind(int fd) { argument
477 rv = NET_GetSockOpt(fd, SOL_SOCKET, SO_REUSEADDR, (char *)&parg, &plen);
480 rv = NET_SetSockOpt(fd, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, (char*)&parg, plen);
524 NET_SocketClose(int fd) { argument
528 if (getsockopt(fd, SOL_SOCKET, SO_LINGER, (char *)&l, &len) == 0) {
530 WSASendDisconnect(fd, NULL);
533 ret = closesocket (fd);
538 NET_Timeout(int fd, long timeout) argument
563 NET_Timeout2(int fd, int fd1, long timeout, int *fdret) argument
670 int fd=-1, ofd=-1, rv, len; local
821 SOCKET fd = socket(AF_INET6, SOCK_STREAM, 0); local
973 NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout) argument
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_check.c46 * Textual output file is gdata->checkfilename, fd is gdata->check_fd.
158 /* Write to a fd */
160 system_write(int fd, void *buf, int len) argument
164 HPROF_ASSERT(fd>=0);
165 res = md_write(fd, buf, len);
1095 int fd; local
1100 fd = md_open_binary(filename);
1101 CHECK_FOR_ERROR(fd>=0);
1102 if ( (nbytes = md_seek(fd, (jlong)-1)) == (jlong)-1 ) {
1106 if ( md_seek(fd, (jlon
[all...]
H A Dhprof_init.c158 data.fd = -1; /* Non-zero file or socket. */
242 int fd; local
254 fd = md_connect(hostname, port);
255 return fd;
262 int fd; local
265 fd = md_open(*filename);
266 if ( fd >= 0 ) {
275 md_close(fd);
820 gdata->fd = connect_to_socket(gdata->net_hostname, (unsigned short)gdata->net_port);
821 if (gdata->fd <
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DProcessPath.java1903 FillData fd = hnd.fd;
1904 int yMin = fd.plgYMin;
1905 int yMax = fd.plgYMax;
1921 List<Point> pnts = fd.plgPnts;
2021 FillData fd; field in class:ProcessPath.FillProcessHandler
2106 if (fd.isEmpty() || fd.isEnded()) {
2107 fd.addPoint(x1, y1, false);
2110 fd
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixNativeDispatcher.java96 static native void close(int fd); argument
311 static native void fstat(int fd, UnixFileAttributes attrs) throws UnixException; argument
360 static native void fchown(int fd, int uid, int gid) throws UnixException; argument
379 static native void fchmod(int fd, int mode) throws UnixException; argument
400 static native void futimes(int fd, long times0, long times1) throws UnixException; argument
/openjdk7/hotspot/agent/src/os/solaris/proc/
H A Dsaproc.cpp248 int fd = -1; local
253 fd = open(alt_path, O_RDONLY);
254 if (fd >= 0) {
258 return fd;
264 fd = open(alt_path, O_RDONLY);
265 if (fd >= 0) {
269 return fd;
646 int fd = libsaproc_open(classes_jsa, O_RDONLY); local
647 if (fd < 0) {
658 close(fd);
[all...]
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassLoader.cpp1129 jint fd; /* open file descriptor */ member in struct:real_jzfile13
1162 jint fd; /* open file descriptor */ member in struct:real_jzfile12
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.hpp170 static void set_dev_zero_fd(int fd) { _dev_zero_fd = fd; } argument
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiEnvBase.cpp595 JvmtiEnvBase::get_field_descriptor(klassOop k, jfieldID field, fieldDescriptor* fd) { argument
602 found = id->find_local_field(fd);
606 found = instanceKlass::cast(k)->find_field_from_offset(offset, false, fd);
H A DmethodHandles.cpp129 oop clazz = java_lang_reflect_Field::clazz(target_oop); // fd.field_holder()
130 int slot = java_lang_reflect_Field::slot(target_oop); // fd.index()
698 fieldDescriptor fd; // find_field initializes fd if found local
699 KlassHandle sel_klass(THREAD, instanceKlass::cast(defc())->find_field(name, type, &fd));
702 oop type = field_signature_type_or_null(fd.signature());
703 oop name = field_name_or_null(fd.name());
707 fd.access_flags(), type, name, fd.offset(), is_setter));
773 fieldDescriptor fd; // find_fiel local
[all...]

Completed in 189 milliseconds

12345678910