Home
last modified time | relevance | path

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

1234567891011

/libcore/luni/src/test/java/tests/api/java/nio/charset/
DCharset_TestGenerator.java111 abstract void consume (int code); in consume() argument
113 boolean isAccepted (int code) in isAccepted() argument
115 return Character.isLetterOrDigit(code); in isAccepted()
121 void consume (int code) { in consume() argument
122 System.out.print(code); in consume()
133 boolean isAccepted (int code) in isAccepted() argument
135 return Character.isLetterOrDigit(code) || Character.isWhitespace(code); in isAccepted()
141 void consume (int code) { in consume() argument
144 System.out.print((char) code); in consume()
158 void consume (int code) { in consume() argument
[all …]
DCharset_AbstractTest.java98 int code = 0; in test_dumpEncodableChars() local
99 while (code < 256) { in test_dumpEncodableChars()
100 while (!encoder.canEncode((char) code)) code ++; in test_dumpEncodableChars()
101 if (code < 65536) { in test_dumpEncodableChars()
102 out.consume(code); in test_dumpEncodableChars()
103 code += 1; in test_dumpEncodableChars()
106 while (code < 65536) { in test_dumpEncodableChars()
107 while (!encoder.canEncode((char) code)) code ++; in test_dumpEncodableChars()
108 if (code < 65536) { in test_dumpEncodableChars()
109 out.consume(code); in test_dumpEncodableChars()
[all …]
DCharset_MultiByte_EUC_JP_Android.java518 for (int code = 32; code <= 65533; code ++) { in test_CodecDynamic()
519 if ((encoder.canEncode((char) code)) in test_CodecDynamic()
520 && (code != 165) && (code != 8254) && (code != 63599)) { in test_CodecDynamic()
521 inputCB.put((char) code); in test_CodecDynamic()
DCharset_MultiByte_EUC_JP.java524 for (int code = 32; code <= 65533; code ++) { in test_CodecDynamic()
525 if ((encoder.canEncode((char) code)) in test_CodecDynamic()
526 && (code != 165) && (code != 8254)) { in test_CodecDynamic()
527 inputCB.put((char) code); in test_CodecDynamic()
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DReasonCode.java60 private final byte code; field in ReasonCode
62 public ReasonCode(byte code) { in ReasonCode() argument
63 this.code = code; in ReasonCode()
68 this.code = ((byte[]) ASN1.decode(encoding))[0]; in ReasonCode()
72 return code; in getCode()
81 encoding = ASN1.encode(new byte[] {(byte) code}); in getEncoded()
92 switch (code) { in dumpValue()
/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/apache/xml/dtm/
DDTMDOMException.java39 public DTMDOMException(short code, String message) in DTMDOMException() argument
41 super(code, message); in DTMDOMException()
50 public DTMDOMException(short code) in DTMDOMException() argument
52 super(code, ""); in DTMDOMException()
/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/luni/src/main/java/java/net/
DHttpRetryException.java42 public HttpRetryException(String detail, int code) { in HttpRetryException() argument
44 responseCode = code; in HttpRetryException()
59 public HttpRetryException(String detail, int code, String location) { in HttpRetryException() argument
61 responseCode = code; in HttpRetryException()
/libcore/luni/src/main/java/org/apache/xml/dtm/ref/
DDTMNamedNodeMap.java284 public DTMException(short code, String message) in DTMException() argument
286 super(code, message); in DTMException()
295 public DTMException(short code) in DTMException() argument
297 super(code, ""); in DTMException()
/libcore/dom/src/test/resources/
Dhc_nodtdstaff.svg5 <code>Accountant</code>
/libcore/luni/src/test/java/tests/org/w3c/dom/
DNodeSetPrefix.java154 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix3()
212 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix5()
236 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix6()
259 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix7()
285 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix8()
309 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in _testSetPrefix9()
DPrefix.java174 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix5()
198 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in _testGetPrefix6()
222 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix7()
282 success = (ex.code == DOMException.NAMESPACE_ERR); in _testGetPrefix9()
306 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix10()
332 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix11()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Delementsetattributens08.java79 success = (ex.code == DOMException.NAMESPACE_ERR); in runTest()
89 success = (ex.code == DOMException.NAMESPACE_ERR); in runTest()
Dnamednodemapremovenameditemns05.java91 switch (ex.code) { in runTest()
106 switch (ex.code) { in runTest()
Dnamednodemapsetnameditemns09.java88 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); in runTest()
98 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); in runTest()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Ddocumentinvalidcharacterexceptioncreatepi.java77 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest()
88 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in runTest()
Ddocumentinvalidcharacterexceptioncreateentref.java77 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest()
88 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in runTest()
Ddocumentinvalidcharacterexceptioncreateentref1.java74 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest()
85 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in runTest()
Ddocumentinvalidcharacterexceptioncreatepi1.java74 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest()
85 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in runTest()
DattrsetvaluenomodificationallowederrEE.java93 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); in runTest()
103 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); in runTest()
Dhc_attrappendchild4.java84 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest()
96 success = (ex.code == DOMException.HIERARCHY_REQUEST_ERR); in runTest()
Dhc_attrinsertbefore5.java85 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest()
97 success = (ex.code == DOMException.HIERARCHY_REQUEST_ERR); in runTest()
/libcore/luni/src/main/java/java/lang/
DRuntime.java292 public void exit(int code) { in exit() argument
296 smgr.checkExit(code); in exit()
331 nativeExit(code, true); in exit()
460 private static native void nativeExit(int code, boolean isExit); in nativeExit() argument
687 public void halt(int code) { in halt() argument
691 smgr.checkExit(code); in halt()
695 nativeExit(code, false); in halt()
/libcore/luni/
DMODULE_LICENSE_W3C1 For org.w3c.dom code.

1234567891011