/libcore/ojluni/src/main/java/java/security/ |
D | DigestInputStream.java | 69 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()
|
D | DigestOutputStream.java | 57 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/ |
D | NativeThreadSet.java | 53 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()
|
D | SocketAdaptor.java | 322 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()
|
D | DatagramSocketAdaptor.java | 323 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()
|
D | ServerSocketAdaptor.java | 160 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() argument 162 ssc.setOption(StandardSocketOptions.SO_REUSEADDR, on); in setReuseAddress()
|
/libcore/ojluni/src/main/native/ |
D | Console_md.c | 54 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/ |
D | Android.bp | 10 // 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/ |
D | TelnetOutputStream.java | 89 public void setStickyCRLF(boolean on) { in setStickyCRLF() argument 90 stickyCRLF = on; in setStickyCRLF()
|
D | TelnetInputStream.java | 86 public void setStickyCRLF(boolean on) { in setStickyCRLF() argument 87 stickyCRLF = on; in setStickyCRLF()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | Socket.annotated.java | 82 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
|
D | DatagramSocket.annotated.java | 86 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/ |
D | DigestOutputStreamTest.java | 184 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()
|
D | DigestInputStreamTest.java | 189 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()
|
D | DigestInputStream2Test.java | 66 dis.on(false); in test_onZ() 80 dis.on(true); in test_onZ()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Socket.java | 173 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
|
D | DatagramSocket.java | 159 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/ |
D | LICENSE | 45 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 …]
|
D | NativeCode.bp | 10 // 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/ |
D | test.rtf | 12 * distributed under the License is distributed on an "AS IS" BASIS, 19 * file type based on its file extension.
|
/libcore/benchmarks/libs/ |
D | caliper.jar.txt | 42 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/ |
D | virtualdeviceknownfailures.txt | 2 * 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/ |
D | DatagramSocket.java | 1114 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/ |
D | Runtime.java | 819 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/ |
D | Runtime.java | 118 public void traceInstructions(boolean on) { in traceInstructions() argument 122 public void traceMethodCalls(boolean on) { in traceMethodCalls() argument
|