Searched defs:code (Results 1 - 15 of 15) sorted by relevance

/libcore/luni/src/main/java/java/util/spi/
H A DCurrencyNameProvider.java38 * Returns the localized currency symbol for the given currency code.
40 * @param code an ISO 4217 currency code
44 * if {@code code == null || locale == null}
46 * if code or locale is not in a legal format or not available
48 public abstract String getSymbol(String code, Locale locale); argument
/libcore/luni/src/main/java/java/net/
H A DHttpRetryException.java34 * Creates a new {@code HttpRetryException} instance with the specified
35 * response code and the given detail message.
39 * @param code
40 * the HTTP response code from target host.
42 public HttpRetryException(String detail, int code) { argument
44 responseCode = code;
48 * Creates a new {@code HttpRetryException} instance with the specified
49 * response code, the given detail message and the value of the location
54 * @param code
55 * the HTTP response code fro
59 HttpRetryException(String detail, int code, String location) argument
[all...]
/libcore/luni/src/main/java/org/w3c/dom/ls/
H A DLSException.java16 * Parser or write operations may throw an <code>LSException</code> if the
18 * <code>DOMError</code> with a severity of
19 * <code>DOMError.SEVERITY_FATAL_ERROR</code> or a non recovered
20 * <code>DOMError.SEVERITY_ERROR</code>, or if
21 * <code>DOMErrorHandler.handleError()</code> returne
30 LSException(short code, String message) argument
34 public short code; field in class:LSException
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DEventLogger.java47 public void report (int code, Object... list); argument
55 public void report (int code, Object... list) { argument
57 sb.append(code);
66 public static void writeEvent(int code, Object... list) { argument
67 getReporter().report(code, list);
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DReasonCode.java47 // predefined reason code values
59 // the reason code value
60 private final byte code; field in class:ReasonCode
64 this.code = ((byte[]) ASN1.decode(encoding))[0];
69 encoding = ASN1.encode(new byte[] { code });
76 switch (code) {
/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMException.java21 * <code>NodeList</code>.
24 * exception if a <code>null</code> argument is passed when <code>null</code>
34 public DOMException(short code, String message) { argument
36 this.code = code;
38 public short code; field in class:DOMException
[all...]
/libcore/support/src/test/java/tests/http/
H A DMockResponse.java61 public MockResponse setResponseCode(int code) { argument
62 this.status = "HTTP/1.1 " + code + " OK";
/libcore/luni/src/test/java/libcore/java/nio/charset/
H A DCharset_TestGenerator.java105 abstract void consume (int code); argument
107 boolean isAccepted (int code) argument
109 return Character.isLetterOrDigit(code);
115 void consume (int code) { argument
116 System.out.print(code);
127 boolean isAccepted (int code) argument
129 return Character.isLetterOrDigit(code) || Character.isWhitespace(code);
135 void consume (int code) { argument
136 // System.out.print(code);
152 consume(int code) argument
166 isAccepted(int code) argument
191 consume(int code) argument
206 consume(int code) argument
[all...]
H A DOldCharset_AbstractTest.java82 int code = 0;
83 while (code < 256) {
84 while (!encoder.canEncode((char) code)) code ++;
85 if (code < 65536) {
86 out.consume(code);
87 code += 1;
90 while (code < 65536) {
91 while (!encoder.canEncode((char) code)) code
268 consume(int code) argument
270 isAccepted(int code) argument
[all...]
/libcore/luni/src/main/java/java/lang/
H A DRuntime.java117 * this method is equivalent to calling {@code exec(progArray, null, null)}.
122 * @return the new {@code Process} object that represents the native
133 * process. The new process uses the environment provided in {@code envp}.
135 * {@code exec(progArray, envp, null)}.
143 * @return the new {@code Process} object that represents the native
154 * process. The new process uses the environment provided in {@code envp}
155 * and the working directory specified by {@code directory}.
164 * the directory in which to execute the program. If {@code null},
166 * @return the new {@code Process} object that represents the native
179 * equivalent to calling {@code exe
257 exit(int code) argument
391 nativeExit(int code) argument
603 halt(int code) argument
[all...]
H A DSystem.java136 * Copies {@code length} elements from the array {@code src},
137 * starting at offset {@code srcPos}, into the array {@code dst},
138 * starting at offset {@code dstPos}.
148 * the starting index of the content in {@code src}.
152 * the starting index for the copied content in {@code dst}.
173 * local system, in nanoseconds. Equivalent to Linux's {@code CLOCK_MONOTONIC}.
186 * {@code true} argument, then all objects will be properly
189 public static void exit(int code) { argument
[all...]
/libcore/luni/src/main/java/java/util/logging/
H A DHandler.java24 * A {@code Handler} object accepts a logging request and exports the desired
26 * disabled by setting its logging level to {@code Level.OFF}.
51 * Constructs a {@code Handler} object with a default error manager instance
52 * {@code ErrorManager}, the default encoding, and the default logging
53 * level {@code Level.ALL}. It has no filter and no formatter.
166 * the log record to be logged; {@code null} records are ignored.
171 * Gets the character encoding used by this handler, {@code null} for
194 * @return the filter used by this handler (possibly {@code null}).
203 * @return the formatter used by this handler (possibly {@code null}).
225 * @return {@code tru
253 reportError(String msg, Exception ex, int code) argument
[all...]
/libcore/support/src/test/java/tests/support/
H A DSupport_TestWebServer.java179 * a redirect code with the Location response header set to the value
182 * @param code The code to send when redirecting
184 public void setRedirect(String redirect, int code) { argument
186 redirectCode = code;
187 log("Server will redirect output to "+redirect+" code "+code);
/libcore/crypto/src/main/java/org/conscrypt/
H A DCipherSuite.java62 // cipher suite code
570 // arrays for quick access to cipher suite by code
805 * Returns CipherSuite based on TLS CipherSuite code
820 * Returns CipherSuite based on V2CipherSpec code
854 String authType, String cipherName, String hash, byte[] code) {
954 cipherSuiteCode = code;
965 // code shared by OpenSSL, but they are not supported by
1006 * Returns cipher suite code as byte array
853 CipherSuite(String name, boolean isExportable, int keyExchange, String authType, String cipherName, String hash, byte[] code) argument
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 931 milliseconds