Searched defs:on (Results 1 - 25 of 68) sorted by relevance

123

/openjdk7/jdk/test/javax/management/modelmbean/
H A DDescriptorSupportSerialTest.java60 ObjectName on = new ObjectName("d:type=Thread");
62 mbs.registerMBean(mmb, on);
73 test(mbsc, on);
81 private static void test(MBeanServerConnection mbsc, ObjectName on) argument
83 ModelMBeanInfo mmbi2 = (ModelMBeanInfo) mbsc.getMBeanInfo(on);
90 String name = (String) mbsc.invoke(on, "getName", null, null);
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DTcpTimeout.java82 // 5 sec on p1, 5 sec on p1, fail
83 // 5 sec on p2, 5 sec on p2, fail
112 private static KDC on(int p) throws Exception { method in class:TcpTimeout
H A DBadKdc.java57 * received it at all. This happens on almost all platforms, especially
111 // Turn on k3 only
112 KDC k3 = on(p3);
120 on(p2); // k2 is on
122 on(p1); // k1 and k2 is on
126 private static KDC on(int p) throws Exception { method in class:BadKdc
/openjdk7/jdk/src/solaris/native/java/io/
H A DConsole_md.c50 jboolean on)
57 return !on;
60 if (on) {
48 Java_java_io_Console_echo(JNIEnv *env, jclass cls, jboolean on) argument
/openjdk7/jdk/src/share/classes/java/security/
H A DDigestInputStream.java40 * <code>digest</code> methods on the associated message
44 * <p>It is possible to turn this stream on or off (see
45 * {@link #on(boolean) on}). When it is on, a call to one of the
47 * results in an update on the message digest. But when it is off,
49 * to be on.
68 /* Are we on or off? */
69 private boolean on = true; field in class:DigestInputStream
111 * function is on)
177 on(boolean on) argument
[all...]
H A DDigestOutputStream.java40 * <code>digest</code> methods on the associated message
44 * <p>It is possible to turn this stream on or off (see
45 * {@link #on(boolean) on}). When it is on, a call to one of the
47 * an update on the message digest. But when it is off, the message
48 * digest is not updated. The default is for the stream to be on.
57 private boolean on = true; field in class:DigestOutputStream
98 * Updates the message digest (if the digest function is on) using
100 * to the output stream. That is, if the digest function is on
160 on(boolean on) argument
[all...]
/openjdk7/jdk/src/windows/native/java/io/
H A DConsole_md.c68 Java_java_io_Console_echo(JNIEnv *env, jclass cls, jboolean on) argument
74 return !on;
77 if (on) {
/openjdk7/jdk/src/share/native/java/lang/
H A DRuntime.c69 Java_java_lang_Runtime_traceInstructions(JNIEnv *env, jobject this, jboolean on) argument
71 JVM_TraceInstructions(on);
75 Java_java_lang_Runtime_traceMethodCalls(JNIEnv *env, jobject this, jboolean on) argument
77 JVM_TraceMethodCalls(on);
/openjdk7/jdk/test/javax/management/MBeanServer/
H A DPostRegisterDeadlockTest.java47 public ObjectName preRegister(MBeanServer mbs, ObjectName on) { argument
48 return on;
H A DPostRegisterDeadlockTest2.java40 public ObjectName preRegister(MBeanServer mbs, ObjectName on) { argument
42 this.on = on;
43 return on;
48 if (!mbs.isRegistered(on))
65 private ObjectName on; field in class:PostRegisterDeadlockTest2.Empty
70 ObjectName on = new ObjectName("a:b=c");
71 mbs.registerMBean(new Empty(), on);
73 mbs.registerMBean(new Empty(), on);
H A DPreDeregisterDeadlockTest.java46 public ObjectName preRegister(MBeanServer mbs, ObjectName on) { argument
47 return on;
90 public ObjectName preRegister(MBeanServer mbs, ObjectName on) { argument
91 this.objectName = on;
92 return on;
/openjdk7/jdk/test/javax/management/ObjectName/
H A DSerialCompatTest.java42 ObjectName on = new ObjectName("a:b=c");
45 oos.writeObject(on);
88 check(msg, on1.equals(on));
91 check(msg, on.equals(on1));
94 check(msg, on1.apply(on));
113 static void checkName(String testname, ObjectName on) argument
117 oos.writeObject(on);
129 check(msg, on1.getDomain().equals(on.getDomain()));
133 equals(on.getCanonicalName()));
137 equals(on
[all...]
/openjdk7/jdk/src/share/classes/sun/net/
H A DTelnetInputStream.java33 * RFC 854. The class assumes it is running on a system where lines
44 * terminals do not have a CR independent of the LF, but on such
86 public void setStickyCRLF(boolean on) { argument
87 stickyCRLF = on;
H A DTelnetOutputStream.java33 * RFC 854. The class assumes it is running on a system where lines
44 * terminals do not have a CR independent of the LF, but on such
87 * @param on the <code>boolean</code> to set the flag to.
89 public void setStickyCRLF(boolean on) { argument
90 stickyCRLF = on;
/openjdk7/jdk/test/javax/management/Introspector/
H A DInvokeGettersTest.java62 ObjectName on = new ObjectName("a:b=c");
63 mbs.registerMBean(new Thing(), on);
64 if (test(mbs, on, false))
67 if (test(mbs, on, true))
75 private static boolean test(MBeanServer mbs, ObjectName on, argument
78 mbs.setAttribute(on, new Attribute("Whatsit", x));
79 Integer got = (Integer) mbs.getAttribute(on, "Whatsit");
84 mbs.invoke(on, "setWhatsit", new Object[] {x}, new String[] {"int"});
94 got = (Integer) mbs.invoke(on, "getWhatsit", null, null);
106 boolean t = (Boolean) mbs.invoke(on, "isTru
[all...]
H A DAnnotationTest.java53 appropriate @DescriptorKey annotation, is placed on every program
56 . on an MBean interface
57 . on a getter for a read-only attribute
58 . on a setter for a write-only attribute
59 . on the getter but not the setter for a read/write attribute
60 . on the setter but not the getter for a read/write attribute
61 . on both the getter and the setter for a read/write attribute
62 . on an operation
63 . on each parameter of an operation
64 . on
251 check(MBeanServer mbs, ObjectName on) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/management/
H A DSensor.java39 * <li><tt>on</tt> is a boolean flag indicating if a sensor is
54 private boolean on; field in class:Sensor
64 this.on = false;
89 * Tests if this sensor is currently on.
91 * @return <tt>true</tt> if the sensor is currently on;
97 return on;
102 * Triggers this sensor. This method first sets this sensor on
107 on = true;
114 * Triggers this sensor. This method sets this sensor on
119 on
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DServerSocketAdaptor.java171 public void setReuseAddress(boolean on) throws SocketException { argument
173 ssc.setOption(StandardSocketOptions.SO_REUSEADDR, on);
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/
H A DWrappedSocket.java53 * Layer on top of a pre-existing Socket object, and use specified
132 public void setTcpNoDelay(boolean on) throws SocketException argument
134 socket.setTcpNoDelay(on);
148 public void setSoLinger(boolean on, int val) throws SocketException argument
150 socket.setSoLinger(on, val);
H A DHttpSendSocket.java85 * Create a stream socket and connect it to the specified port on
108 * Create a stream socket and connect it to the specified port on
119 * Create a stream socket and connect it to the specified address on
144 throw new IOException("attempt to write on HttpSendSocket after " +
281 public void setTcpNoDelay(boolean on) throws SocketException argument
297 public void setSoLinger(boolean on, int val) throws SocketException argument
/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DMidiChannel.java155 * a single sensor on a device that doesn't implement polyphonic key
189 * controllers on MIDI devices, and describes the intended effect
314 * Changes the pitch offset for all notes on this channel.
359 * Turns off all notes that are currently sounding on this channel.
373 * Immediately turns off all sounding notes on this channel, ignoring the
382 * Turns local control on or off. The default is for local control
383 * to be on. The "on" setting means that if a device is capable
385 * it will synthesize sound in response to the note-on and
396 * @param on <cod
402 localControl(boolean on) argument
427 setMono(boolean on) argument
458 setOmni(boolean on) argument
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DConsole.java56 * on the objects returned by {@link #reader()} and {@link #writer()} may
59 * Invoking <tt>close()</tt> on the objects returned by the {@link #reader()}
64 * console input stream is reached, for example by typing control-D on
65 * Unix or control-Z on Windows. Subsequent read operations will succeed
66 * if additional characters are later entered on the console's input
125 * on the returned object will not read in characters beyond the line
152 * The behaviour on a
153 * <tt>null</tt> argument depends on the <a
191 * The behaviour on a
192 * <tt>null</tt> argument depends on th
370 echo(boolean on) argument
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DRuntime.java74 * finalizers are run if {@link #runFinalizersOnExit finalization-on-exit}
80 * block indefinitely. If shutdown hooks have already been run and on-exit
134 * run all uninvoked finalizers if finalization-on-exit has been enabled.
178 * <tt>SIGKILL</tt> signal on Unix or the <tt>TerminateProcess</tt> call on
249 * finalization-on-exit has been enabled. If the shutdown sequence has
279 * Enable or disable finalization on exit; doing so specifies that the
282 * By default, finalization on exit is disabled.
289 * @param value true to enable finalization on exit, false to disable
291 * finalizers being called on liv
733 traceInstructions(boolean on) argument
751 traceMethodCalls(boolean on) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/directory/
H A DSearchControls.java284 * @param on if true links will be dereferenced; if false, not followed.
287 public void setDerefLinkFlag(boolean on) { argument
288 derefLink = on;
297 * @param on if true, objects will be returned; if false,
301 public void setReturningObjFlag(boolean on) { argument
302 returnObj = on;
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/
H A DMethodResultTest.java84 ObjectName on = new ObjectName("a:b=c");
86 mbs.createMBean(Thing.class.getName(), on);
93 ok &= test(protos[i], mbs, on);
110 private static boolean test(String proto, MBeanServer mbs, ObjectName on) argument
128 Object getAttributeExotic = mbsc.getAttribute(on, "Exotic");
130 mbsc.getAttributes(on, new String[] {"Exotic"});
133 setAttrs = mbsc.setAttributes(on, setAttrs);
135 mbsc.invoke(on, "anExotic", new Object[] {}, new String[] {});
136 MBeanInfo exoticMBI = mbsc.getMBeanInfo(on);
138 mbsc.setAttribute(on, ne
[all...]

Completed in 98 milliseconds

123