Searched defs:on (Results 26 - 50 of 68) sorted by relevance

123

/openjdk7/jdk/src/solaris/classes/java/net/
H A DPlainSocketImpl.java74 native void socketSetOption(int cmd, boolean on, Object value) argument
/openjdk7/jdk/src/share/classes/java/net/
H A DDatagramSocket.java39 * 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 DServerSocket.java37 * 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 DAbstractPlainSocketImpl.java62 /* 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 DSocket.java156 * 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 DModelAbstractChannelMixer.java84 public boolean localControl(boolean on) { argument
109 public void setMono(boolean on) { argument
115 public void setOmni(boolean on) { argument
H A DModelAbstractOscillator.java49 protected boolean on = false; field in class:ModelAbstractOscillator
58 on = false;
67 on = true;
91 return on;
H A DSoftChannelProxy.java119 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 DSoftEnvelopeGenerator.java49 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 DDualStackPlainSocketImpl.java33 * 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 DTwoStacksPlainSocketImpl.java33 * 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 DPlainSocketImpl.java37 * 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 DBaseSSLSocketImpl.java116 // 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 DMiscTest.java457 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 DMXBeanTest.java116 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 DMissingClassTest.java37 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 DDatagramSocketAdaptor.java332 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 DSocketAdaptor.java329 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 DjvmtiExport.hpp53 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 DDXMLPrinter.java110 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 DPlainSocketImpl.c262 /* 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 Dsocket_md.c185 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 DExceptionContract.java101 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 DBrokenConnectionTest.java484 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 DHToolkit.java220 public void setLockingKeyState(int keyCode, boolean on) argument

Completed in 110 milliseconds

123