| /libcore/luni/src/test/java/libcore/java/nio/charset/ |
| D | Charset_TestGenerator.java | 105 abstract void consume (int code); in consume() argument 107 boolean isAccepted (int code) in isAccepted() argument 109 return Character.isLetterOrDigit(code); in isAccepted() 115 void consume (int code) { in consume() argument 116 System.out.print(code); in consume() 127 boolean isAccepted (int code) in isAccepted() argument 129 return Character.isLetterOrDigit(code) || Character.isWhitespace(code); in isAccepted() 135 void consume (int code) { in consume() argument 138 System.out.print((char) code); in consume() 152 void consume (int code) { in consume() argument [all …]
|
| D | OldCharset_AbstractTest.java | 87 int code = 0; in test_dumpEncodableChars() local 88 while (code < 256) { in test_dumpEncodableChars() 89 while (!encoder.canEncode((char) code)) code ++; in test_dumpEncodableChars() 90 if (code < 65536) { in test_dumpEncodableChars() 91 out.consume(code); in test_dumpEncodableChars() 92 code += 1; in test_dumpEncodableChars() 95 while (code < 65536) { in test_dumpEncodableChars() 96 while (!encoder.canEncode((char) code)) code ++; in test_dumpEncodableChars() 97 if (code < 65536) { in test_dumpEncodableChars() 98 out.consume(code); in test_dumpEncodableChars() [all …]
|
| /libcore/ojluni/src/main/java/sun/net/ftp/ |
| D | FtpProtocolException.java | 36 private final FtpReplyCode code; field in FtpProtocolException 46 code = FtpReplyCode.UNKNOWN_ERROR; in FtpProtocolException() 56 public FtpProtocolException(String detail, FtpReplyCode code) { in FtpProtocolException() argument 58 this.code = code; in FtpProtocolException() 68 return code; in getReplyCode()
|
| D | FtpReplyCode.java | 241 for (FtpReplyCode code : FtpReplyCode.values()) { in find() 242 if (code.getValue() == v) { in find() 243 return code; in find()
|
| /libcore/luni/src/main/java/org/w3c/dom/ls/ |
| D | LSException.java | 30 public LSException(short code, String message) { in LSException() argument 32 this.code = code; in LSException() 34 public short code; field in LSException
|
| /libcore/ojluni/src/main/ |
| D | LICENSE | 33 that you receive source code or can get it if you want it, that you can change 44 make sure that they, too, receive or can get the source code. And you must 84 1. You may copy and distribute verbatim copies of the Program's source code as 137 Section 2) in object code or executable form under the terms of Sections 1 and 141 code, which must be distributed under the terms of Sections 1 and 2 above 147 corresponding source code, to be distributed under the terms of Sections 1 151 distribute corresponding source code. (This alternative is allowed only 153 object code or executable form with such an offer, in accord with 156 The source code for a work means the preferred form of the work for making 157 modifications to it. For an executable work, complete source code means all [all …]
|
| D | NOTICE | 16 The original version of this source code and documentation is copyrighted * 28 The original version of this source code and documentation is copyrighted * 40 The original version of this source code and documentation is copyrighted * 103 The original version of this source code and documentation is copyrighted * 119 The original version of this source code and documentation is 130 The original version of this source code and documentation is 144 The original version of this source code and documentation is copyrighted 156 The original version of this source code and documentation is copyrighted 168 The original version of this source code and documentation is copyrighted 180 The original version of this source code and documentation [all …]
|
| /libcore/ojluni/src/main/java/java/nio/ |
| D | X-Buffer.java.template | 5 * This code is free software; you can redistribute it and/or modify it 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * accompanied this code). 125 * support the creation of direct byte buffers from native code via JNI. If an 133 * that explicit buffer management can be done in performance-critical code. 140 * primitive types, except {@code boolean}. Primitive values are translated 158 * <p> Corresponding methods are defined for the types {@code char, 159 * short, int, long}, and {@code double}. The index 174 * the types {@code char, short, int, long}, and {@code double}. [all …]
|
| /libcore/luni/src/main/java/org/w3c/dom/ |
| D | DOMException.java | 34 public DOMException(short code, String message) { in DOMException() argument 36 this.code = code; in DOMException() 38 public short code; field in DOMException
|
| /libcore/ojluni/src/main/java/java/net/ |
| D | HttpRetryException.java | 52 public HttpRetryException(String detail, int code) { in HttpRetryException() argument 54 responseCode = code; in HttpRetryException() 65 public HttpRetryException(String detail, int code, String location) { in HttpRetryException() argument 67 responseCode = code; in HttpRetryException()
|
| /libcore/ojluni/src/main/java/java/nio/charset/ |
| D | Charset-X-Coder.java.template | 6 * This code is free software; you can redistribute it and/or modify it 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 16 * accompanied this code). 59 * <li><p> Invoke the {@link #$code$ $code$} method zero or more times, as 60 * long as additional input may be available, passing {@code false} for the 61 * {@code endOfInput} argument and filling the input buffer and flushing the 64 * <li><p> Invoke the {@link #$code$ $code$} method one final time, passing 65 * {@code true} for the {@code endOfInput} argument; and then </p></li> 72 * Each invocation of the {@link #$code$ $code$} method will $code$ as many [all …]
|
| D | exceptions | 5 # This code is free software; you can redistribute it and/or modify it 9 # by Oracle in the LICENSE file that accompanied this code. 11 # This code is distributed in the hope that it will be useful, but WITHOUT 15 # accompanied this code).
|
| /libcore/ojluni/src/test/java/lang/Math/ |
| D | Tests.java | 395 int code = testUlpCore(result, expected, ulps); in testUlpDiff() local 396 Assert.assertEquals(code, 0, "Failure for " + testName + ":\n" + in testUlpDiff() 406 int code = testUlpCore(result, expected, ulps); in testUlpDiff() local 407 Assert.assertEquals(code, 0, "Failure for " + testName + ":\n" + in testUlpDiff() 421 int code = 0; // return code value in testUlpDiffWithAbsBound() local 425 code = 1; in testUlpDiffWithAbsBound() 427 code = testUlpCore(result, expected, ulps); in testUlpDiffWithAbsBound() 430 Assert.assertEquals(code, 0, "Failure for " + testName + ":\n" + in testUlpDiffWithAbsBound() 444 int code = 0; // return code value in testUlpDiffWithLowerBound() local 447 code = 1; in testUlpDiffWithLowerBound() [all …]
|
| /libcore/luni/src/test/java/tests/org/w3c/dom/ |
| D | NodeSetPrefix.java | 136 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix3() 188 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix5() 206 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix6() 223 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix7() 243 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix8() 261 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in _testSetPrefix9()
|
| D | Prefix.java | 138 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix5() 156 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in _testGetPrefix6() 174 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix7() 228 success = (ex.code == DOMException.NAMESPACE_ERR); in _testGetPrefix9() 246 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix10() 266 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix11()
|
| D | ElementSetAttributeNS.java | 143 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testSetAttributeNS4() 163 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS5() 181 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS8() 192 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS8() 213 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNSURINull()
|
| D | CreateElementNS.java | 92 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS1() 110 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS2() 158 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateElementNS3() 176 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS4()
|
| D | CreateAttributeNS.java | 74 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS1() 92 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS2() 139 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateAttributeNS3() 157 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS4()
|
| /libcore/tools/checkstyle/ |
| D | openjdk-gplv2-copyright.pattern | 6 \* This code is free software; you can redistribute it and/or modify it 10 \* by Oracle in the LICENSE file that accompanied this code\. 12 \* This code is distributed in the hope that it will be useful, but WITHOUT 16 \* accompanied this code\)\.
|
| D | openjdk-gplv2-plus-classpath-copyright.pattern | 8 \* This code is free software; you can redistribute it and/or modify it 12 \* by Oracle in the LICENSE file that accompanied this code\. 14 \* This code is distributed in the hope that it will be useful, but WITHOUT 18 \* accompanied this code\)\.
|
| /libcore/ojluni/src/main/java/java/util/logging/ |
| D | ErrorManager.java | 83 public synchronized void error(String msg, Exception ex, int code) { in error() argument 90 String text = "java.util.logging.ErrorManager: " + code; in error()
|
| /libcore/dom/src/test/resources/ |
| D | hc_nodtdstaff.svg | 5 <code>Accountant</code>
|
| /libcore/ojluni/src/main/resources/sun/util/logging/resources/ |
| D | logging_sv.properties | 5 # This code is free software; you can redistribute it and/or modify it 9 # by Oracle in the LICENSE file that accompanied this code. 11 # This code is distributed in the hope that it will be useful, but WITHOUT 15 # accompanied this code).
|
| D | logging_zh_TW.properties | 5 # This code is free software; you can redistribute it and/or modify it 9 # by Oracle in the LICENSE file that accompanied this code. 11 # This code is distributed in the hope that it will be useful, but WITHOUT 15 # accompanied this code).
|
| D | logging_pt_BR.properties | 5 # This code is free software; you can redistribute it and/or modify it 9 # by Oracle in the LICENSE file that accompanied this code. 11 # This code is distributed in the hope that it will be useful, but WITHOUT 15 # accompanied this code).
|