Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharset_TestGenerator.java105 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 …]
DOldCharset_AbstractTest.java87 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/
DFtpProtocolException.java36 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()
DFtpReplyCode.java241 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/
DLSException.java30 public LSException(short code, String message) { in LSException() argument
32 this.code = code; in LSException()
34 public short code; field in LSException
/libcore/luni/src/main/java/org/w3c/dom/
DDOMException.java34 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/
DHttpRetryException.java52 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/
DNOTICE16 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/luni/src/test/java/tests/org/w3c/dom/
DNodeSetPrefix.java136 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()
DPrefix.java138 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()
DElementSetAttributeNS.java143 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()
DCreateAttributeNS.java74 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()
DCreateElementNS.java92 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()
/libcore/ojluni/src/main/java/java/util/logging/
DErrorManager.java83 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/
Dhc_nodtdstaff.svg5 <code>Accountant</code>
/libcore/ojluni/src/main/resources/sun/util/logging/resources/
Dlogging_zh_TW.properties5 # 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).
Dlogging_zh_CN.properties5 # 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).
Dlogging_ja.properties5 # 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).
Dlogging_fr.properties5 # 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).
Dlogging_pt_BR.properties5 # 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).
Dlogging_de.properties5 # 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).
Dlogging.properties5 # 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).
Dlogging_es.properties5 # 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).
Dlogging_sv.properties5 # 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).
Dlogging_it.properties5 # 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).

12345678910>>...12