/openjdk7/jdk/src/solaris/classes/java/net/ |
H A D | PlainSocketImpl.java | 74 native void socketSetOption(int cmd, boolean on, Object value) argument
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | DatagramSocket.java | 39 * delivery service. Each packet sent or received on a datagram socket 60 * Both cases will create a DatagramSocket able to receive broadcasts on 161 * on the local host machine. The socket will be bound to the 194 * the subclass wishes to use on the DatagramSocket. 237 * on the local host machine. The socket will be bound to the 420 * on incoming and outgoing packets, other than matching the packet's 601 * and the port number on the remote host. 644 // check the address is ok wiht the security manager on every send. 647 // The reason you want to synchronize on datagram packet 684 * IP address, and the port number on th 1040 setReuseAddress(boolean on) argument 1083 setBroadcast(boolean on) argument [all...] |
H A D | ServerSocket.java | 37 * based on that request, and then possibly returns a result to the requester. 155 * pending connections on the socket. Its exact semantics are implementation 187 * can be used on a multi-homed host for a ServerSocket that 190 * connections on any/all local addresses. 204 * pending connections on the socket. Its exact semantics are implementation 342 * pending connections on the socket. Its exact semantics are implementation 420 * Returns the port number on which this socket is listening. 686 * @param on whether to enable or disable the socket option 696 public void setReuseAddress(boolean on) throws SocketException { argument 699 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on)); [all...] |
H A D | AbstractPlainSocketImpl.java | 62 /* indicates a close is pending on the file descriptor */ 112 * Creates a socket and connects it to the specified port on 141 * Creates a socket and connects it to the specified address on 161 * Creates a socket and connects it to the specified address on 208 boolean on = true; 219 on = false; 241 on = ((Boolean)val).booleanValue(); 254 on = ((Boolean)val).booleanValue(); 259 on = ((Boolean)val).booleanValue(); 264 on 706 socketSetOption(int cmd, boolean on, Object value) argument [all...] |
H A D | Socket.java | 156 * the subclass wishes to use on the Socket. 172 * number on the named host. 246 * Creates a socket and connects it to the specified remote host on 286 * Creates a socket and connects it to the specified remote address on 325 * number on the named host. 845 * <li><p>If there are no bytes buffered on the socket, or all 851 * <li><p>If there are no bytes buffered on the socket, and the 935 * @param on <code>true</code> to enable TCP_NODELAY, 945 public void setTcpNoDelay(boolean on) throws SocketException { argument 948 getImpl().setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on)); 980 setSoLinger(boolean on, int linger) argument 1058 setOOBInline(boolean on) argument 1261 setKeepAlive(boolean on) argument 1389 setReuseAddress(boolean on) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | ModelAbstractChannelMixer.java | 84 public boolean localControl(boolean on) { argument 109 public void setMono(boolean on) { argument 115 public void setOmni(boolean on) { argument
|
H A D | ModelAbstractOscillator.java | 49 protected boolean on = false; field in class:ModelAbstractOscillator 58 on = false; 67 on = true; 91 return on;
|
H A D | SoftChannelProxy.java | 119 public boolean localControl(boolean on) { argument 122 return channel.localControl(on); 167 public void setMono(boolean on) { argument 170 channel.setMono(on); 179 public void setOmni(boolean on) { argument 182 channel.setOmni(on);
|
H A D | SoftEnvelopeGenerator.java | 49 private final double[][] on = new double[max_count][1]; field in class:SoftEnvelopeGenerator 67 on[i][0] = 0; 93 if (name.equals("on")) 94 return on[instance]; 128 if (on[i][0] < 0.5) { 129 if (on[i][0] < -0.5) { 166 if (on[i][0] < 0.5) 253 if (on[i][0] < -0.5) { 264 if (on[i][0] > 0.5) {
|
/openjdk7/jdk/src/windows/classes/java/net/ |
H A D | DualStackPlainSocketImpl.java | 33 * This class defines the plain SocketImpl that is used on Windows platforms 176 void socketSetOption(int opt, boolean on, Object value) argument 190 isReuseAddress = on; 197 optionValue = on ? 1 : 0; 205 if (on) {
|
H A D | TwoStacksPlainSocketImpl.java | 33 * Windows version lower than Vista. It adds support for IPv6 on 45 /* second fd, used for ipv6 on windows only. 58 * Needed for ipv6 on windows because we need to know 64 /* to prevent starvation when listening on two sockets, this is 65 * is used to hold the id of the last socket we accepted on. 141 void socketSetOption(int opt, boolean on, Object value) argument 146 isReuseAddress = on; 148 socketNativeSetOption(opt, on, value); 203 * Lock on fdLock to ensure that we wait if a 237 native void socketNativeSetOption(int cmd, boolean on, Objec argument [all...] |
H A D | PlainSocketImpl.java | 37 * DualStackPlainSocketImpl on systems that have a dual stack 60 /* True if exclusive binding is on for Windows */ 330 void socketSetOption(int cmd, boolean on, Object value) argument 332 socketSetOption(cmd, on, value);
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | BaseSSLSocketImpl.java | 116 // If we're binding on a layered socket... 149 * This method is either called on an unconnected SSLSocketImpl by the 151 * SSLSocketImpl. If we are layering on top on another socket, then 193 * spec. Thus when the method is called on an SSL socket, an 205 * spec. Thus when the method is called on an SSL socket, an 259 // We called close on the underlying socket above to 377 * Send one byte of urgent data on the socket. 390 * option is disabled and TCP urgent data received on a socket is silently 393 * Setting OOBInline does not have any effect on SSLSocke 396 setOOBInline(boolean on) argument 458 setKeepAlive(boolean on) argument 508 setReuseAddress(boolean on) argument [all...] |
/openjdk7/jdk/test/javax/management/mxbean/ |
H A D | MiscTest.java | 457 ObjectName on = ObjectName.getInstance(ons); 464 mbs.registerMBean(s, on); 473 mbs.registerMBean(s, on); 475 mbs.createMBean(cn, on); 480 MBeanInfo mbi = mbs.getMBeanInfo(on); 495 manageMBean(mbs, on, cn); 500 ObjectName on, 509 printAttributes(mbs, on); 514 mbs.setAttribute(on, stateAttribute); 517 printAttributes(mbs, on); 499 manageMBean(MBeanServer mbs, ObjectName on, String cn) argument 665 printAttributes(MBeanServer mbs, ObjectName on) argument 685 checkDescriptor(MBeanServer mbs, ObjectName on, String immutable, String intf) argument [all...] |
H A D | MXBeanTest.java | 116 ObjectName on = new ObjectName("test:type=Explicit"); 118 mbs.registerMBean(explicit, on); 119 testMXBean(mbs, on); 125 ObjectName on = new ObjectName("test:type=Subclass"); 127 mbs.registerMBean(subclass, on); 128 testMXBean(mbs, on); 134 ObjectName on = new ObjectName("test:type=Indirect"); 136 mbs.registerMBean(indirect, on); 137 testMXBean(mbs, on); 140 private static void testMXBean(MBeanServer mbs, ObjectName on) argument 272 testInterface(Class<T> c, MBeanServerConnection mbsc, ObjectName on, NamedMXBeans namedMXBeans, boolean nullTest) argument [all...] |
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/ |
H A D | MissingClassTest.java | 37 skew or missing jar files on one end or the other. The default 81 private static ObjectName on; field in class:MissingClassTest 92 on = new ObjectName("test:type=Test"); 132 mbs.createMBean(Test.class.getName(), on); 170 Object result = mbsc.getAttribute(on, "ClientUnknown"); 196 mbsc.invoke(on, "throwClientUnknown", NO_OBJECTS, NO_STRINGS); 241 mbsc.setAttribute(on, new Attribute("ServerUnknown", 244 mbsc.invoke(on, "useServerUnknown", 275 mbsc.getAttribute(on, "Unserializable"); 292 mbsc.setAttribute(on, att [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | DatagramSocketAdaptor.java | 332 public void setReuseAddress(boolean on) throws SocketException { argument 333 setBooleanOption(StandardSocketOptions.SO_REUSEADDR, on); 341 public void setBroadcast(boolean on) throws SocketException { argument 342 setBooleanOption(StandardSocketOptions.SO_BROADCAST, on);
|
H A D | SocketAdaptor.java | 329 public void setTcpNoDelay(boolean on) throws SocketException { argument 330 setBooleanOption(StandardSocketOptions.TCP_NODELAY, on); 337 public void setSoLinger(boolean on, int linger) throws SocketException { argument 338 if (!on) 356 public void setOOBInline(boolean on) throws SocketException { argument 357 setBooleanOption(ExtendedSocketOption.SO_OOBINLINE, on); 396 public void setKeepAlive(boolean on) throws SocketException { argument 397 setBooleanOption(StandardSocketOptions.SO_KEEPALIVE, on); 412 public void setReuseAddress(boolean on) throws SocketException { argument 413 setBooleanOption(StandardSocketOptions.SO_REUSEADDR, on); [all...] |
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiExport.hpp | 53 inline static void set_##key(bool on) { _##key = (on != 0); } \ 109 // we are holding objects on the heap - need to talk to GC - e.g. 116 inline static void set_can_modify_any_class(bool on) { _can_modify_any_class = (on != 0); } argument 117 inline static void set_can_access_local_variables(bool on) { _can_access_local_variables = (on != 0); } argument 118 inline static void set_can_hotswap_or_post_breakpoint(bool on) { _can_hotswap_or_post_breakpoint = (on != 0); } argument 119 inline static void set_can_walk_any_space(bool on) { _can_walk_any_spac argument 189 set_all_dependencies_are_recorded(bool on) argument 275 set_should_post_class_file_load_hook(bool on) argument 433 set_enabled(bool on) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/digested/ |
H A D | DXMLPrinter.java | 110 visitor.on(grammar); 249 protected void on(DPattern p) { method in class:DXMLPrinter.DXMLPrinterVisitor 256 on(d); 259 on(p); 266 on(d); 269 on(p); 273 protected void on(NameClass nc) { method in class:DXMLPrinter.DXMLPrinterVisitor 284 protected void on(DAnnotation ann) { method in class:DXMLPrinter.DXMLPrinterVisitor 303 on(p.getName()); 304 on( [all...] |
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | PlainSocketImpl.c | 262 /* fdObj is the FileDescriptor field on this */ 271 /* fd is an int field on iaObj */ 552 /* fdObj is the FileDescriptor field on this */ 554 /* fd is an int field on fdObj */ 653 /* fields on this */ 659 /* the FileDescriptor field on socket */ 661 /* the InetAddress field on socket */ 664 /* the ServerSocket fd int field on fdObj */ 892 jint cmd, jboolean on, 912 * SO_TIMEOUT is a no-op on Solari 891 Java_java_net_PlainSocketImpl_socketSetOption(JNIEnv *env, jobject this, jint cmd, jboolean on, jobject value) argument [all...] |
/openjdk7/jdk/src/solaris/transport/socket/ |
H A D | socket_md.c | 185 dbgsysSetSocketOption(int fd, jint cmd, jboolean on, jvalue value) argument 190 uint32_t onl = (uint32_t)on; 198 arg.l_onoff = on; 200 if(on) { 219 int oni = (int)on;
|
/openjdk7/jdk/test/java/awt/Toolkit/Headless/ExceptionContract/ |
H A D | ExceptionContract.java | 101 public void setLockingKeyState(int keyCode, boolean on) throws UnsupportedOperationException { argument 102 super.setLockingKeyState(keyCode, on);
|
/openjdk7/jdk/test/javax/management/remote/mandatory/connection/ |
H A D | BrokenConnectionTest.java | 484 System.out.println("Ignoring exception on stop: " + e); 704 public void setReuseAddress(boolean on) throws SocketException { argument 705 ss.setReuseAddress(on);
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | HToolkit.java | 220 public void setLockingKeyState(int keyCode, boolean on) argument
|