Home
last modified time | relevance | path

Searched refs:on (Results 1 – 25 of 61) sorted by relevance

123

/libcore/ojluni/src/main/java/java/security/
DDigestInputStream.java69 private boolean on = true; field in DigestInputStream
125 if (on && ch != -1) { in read()
162 if (on && result != -1) { in read()
177 public void on(boolean on) { in on() method in DigestInputStream
178 this.on = on; in on()
DDigestOutputStream.java57 private boolean on = true; field in DigestOutputStream
116 if (on) { in write()
155 if (on) { in write()
169 public void on(boolean on) { in on() argument
170 this.on = on; in on()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNativeThreadSet.java53 int on = elts.length; in add() local
54 int nn = on * 2; in add()
56 System.arraycopy(elts, 0, nelts, 0, on); in add()
58 start = on; in add()
DSocketAdaptor.java322 public void setTcpNoDelay(boolean on) throws SocketException { in setTcpNoDelay() argument
323 setBooleanOption(StandardSocketOptions.TCP_NODELAY, on); in setTcpNoDelay()
330 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument
331 if (!on) in setSoLinger()
346 public void setOOBInline(boolean on) throws SocketException { in setOOBInline() argument
347 setBooleanOption(ExtendedSocketOption.SO_OOBINLINE, on); in setOOBInline()
386 public void setKeepAlive(boolean on) throws SocketException { in setKeepAlive() argument
387 setBooleanOption(StandardSocketOptions.SO_KEEPALIVE, on); in setKeepAlive()
402 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() argument
403 setBooleanOption(StandardSocketOptions.SO_REUSEADDR, on); in setReuseAddress()
DDatagramSocketAdaptor.java323 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() argument
324 setBooleanOption(StandardSocketOptions.SO_REUSEADDR, on); in setReuseAddress()
332 public void setBroadcast(boolean on) throws SocketException { in setBroadcast() argument
333 setBooleanOption(StandardSocketOptions.SO_BROADCAST, on); in setBroadcast()
DServerSocketAdaptor.java160 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() argument
162 ssc.setOption(StandardSocketOptions.SO_REUSEADDR, on); in setReuseAddress()
/libcore/ojluni/src/main/native/
DConsole_md.c54 jboolean on) in Java_java_io_Console_echo() argument
61 return !on; in Java_java_io_Console_echo()
64 if (on) { in Java_java_io_Console_echo()
/libcore/mmodules/core_platform_api/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
44 // Ideally this should be a restricted allowlist but there are hundreds of modules that depend on
46 // TODO(http://b/134561230) - limit the number of dependents on this.
81 // conscrypt only has a stable version, so it is okay to depend on it here:
94 // This one is not on device but it's needed when javac compiles code
97 // This one is not on device but it's needed when javac compiles code
110 // This one is not on device but it's needed when javac compiles code
113 // This one is not on device but it's needed when javac compiles code
/libcore/ojluni/src/main/java/sun/net/
DTelnetOutputStream.java89 public void setStickyCRLF(boolean on) { in setStickyCRLF() argument
90 stickyCRLF = on; in setStickyCRLF()
DTelnetInputStream.java86 public void setStickyCRLF(boolean on) { in setStickyCRLF() argument
87 stickyCRLF = on; in setStickyCRLF()
/libcore/ojluni/annotations/mmodule/java/net/
DSocket.annotated.java82 public void setTcpNoDelay(boolean on) throws java.net.SocketException { throw new RuntimeException(… in setTcpNoDelay() argument
86 public void setSoLinger(boolean on, int linger) throws java.net.SocketException { throw new Runtime… in setSoLinger() argument
92 public void setOOBInline(boolean on) throws java.net.SocketException { throw new RuntimeException("… in setOOBInline() argument
108 public void setKeepAlive(boolean on) throws java.net.SocketException { throw new RuntimeException("… in setKeepAlive() argument
116 public void setReuseAddress(boolean on) throws java.net.SocketException { throw new RuntimeExceptio… in setReuseAddress() argument
DDatagramSocket.annotated.java86 public synchronized void setReuseAddress(boolean on) throws java.net.SocketException { throw new Ru… in setReuseAddress() argument
90 public synchronized void setBroadcast(boolean on) throws java.net.SocketException { throw new Runti… in setBroadcast() argument
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DDigestOutputStreamTest.java184 dos.on(false); in testWriteint02()
267 dos.on(false); in testWriteint05()
402 dos.on(false); in test_write$BII_4()
491 dos.on(false); in testOn()
498 dos.on(true); in testOn()
544 dos.on(false); in test_onZ()
553 dos.on(true); in test_onZ()
637 digestOutputStream.on(true); in test_write_writeToUnderlyingStreamBeforeUpdatingDigest()
644 digestOutputStream.on(true); in test_write_writeToUnderlyingStreamBeforeUpdatingDigest()
651 digestOutputStream.on(true); in test_write_writeToUnderlyingStreamBeforeUpdatingDigest()
DDigestInputStreamTest.java189 dis.on(false); in testRead03()
275 dis.on(false); in testRead06()
461 dis.on(false); in testReadbyteArrayintint05()
531 dis.on(false); in testOn()
538 dis.on(true); in testOn()
DDigestInputStream2Test.java66 dis.on(false); in test_onZ()
80 dis.on(true); in test_onZ()
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocket.java173 public void setTcpNoDelay(boolean on) throws java.net.SocketException { in setTcpNoDelay() argument
181 public void setSoLinger(boolean on, int linger) throws java.net.SocketException { in setSoLinger() argument
193 public void setOOBInline(boolean on) throws java.net.SocketException { in setOOBInline() argument
225 public void setKeepAlive(boolean on) throws java.net.SocketException { in setKeepAlive() argument
241 public void setReuseAddress(boolean on) throws java.net.SocketException { in setReuseAddress() argument
DDatagramSocket.java159 public synchronized void setReuseAddress(boolean on) throws java.net.SocketException { in setReuseAddress() argument
167 public synchronized void setBroadcast(boolean on) throws java.net.SocketException { in setBroadcast() argument
/libcore/
DLICENSE45 software is modified by someone else and passed on, we want its recipients to
47 by others will not reflect on the original authors' reputations.
63 or work, and a "work based on the Program" means either the Program or any
73 constitute a work based on the Program (independent of having been made by
74 running the Program). Whether that is true depends on what the Program does.
78 appropriately publish on each copy an appropriate copyright notice and
87 forming a work based on the Program, and copy and distribute such modifications
106 not normally print such an announcement, your work based on the Program is
114 work based on the Program, the distribution of the whole must be on the terms
120 right to control the distribution of derivative or collective works based on
[all …]
DNativeCode.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
171 // Debug version of libopenjdk. Depends on libopenjdkjvmd.
228 // depends on JniConstants.cpp (but these are not used in the tests).
252 // depends on JniConstants.cpp (but these are not used in the benchmark).
/libcore/harmony-tests/src/test/resources/resources/
Dtest.rtf12 * distributed under the License is distributed on an "AS IS" BASIS,
19 * file type based on its file extension.
/libcore/benchmarks/libs/
Dcaliper.jar.txt42 form, that is based on (or derived from) the Work and for which the
53 or by an individual or Legal Entity authorized to submit on behalf of
57 communication on electronic mailing lists, source code control systems,
58 and issue tracking systems that are managed by, or on behalf of, the
64 on behalf of whom a Contribution has been received by Licensor and
146 Contributor provides its Contributions) on an "AS IS" BASIS,
171 on Your own behalf and on Your sole responsibility, not on behalf
186 file or class name and description of purpose be included on the
199 distributed under the License is distributed on an "AS IS" BASIS,
/libcore/expectations/
Dvirtualdeviceknownfailures.txt2 * List of test cases known to fail on a virtual device.
36 description: "DNS lookups of {1.2.3.4.} do not reliably fail on GCE networks",
/libcore/ojluni/src/main/java/java/net/
DDatagramSocket.java1114 public synchronized void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() argument
1119 getImpl().setOption(SocketOptions.SO_REUSEADDR, new Integer(on?-1:0)); in setReuseAddress()
1121 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on)); in setReuseAddress()
1157 public synchronized void setBroadcast(boolean on) throws SocketException { in setBroadcast() argument
1160 getImpl().setOption(SocketOptions.SO_BROADCAST, Boolean.valueOf(on)); in setBroadcast()
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java819 public void traceInstructions(boolean on) { in traceInstructions() argument
842 public void traceMethodCalls(boolean on) { in traceMethodCalls() argument
843 if (on) { in traceMethodCalls()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DRuntime.java118 public void traceInstructions(boolean on) { in traceInstructions() argument
122 public void traceMethodCalls(boolean on) { in traceMethodCalls() argument

123