Home
last modified time | relevance | path

Searched refs:codes (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldHttpRetryExceptionTest.java26 int [] codes = {400, 404, 200, 500, 0}; in test_ConstructorLStringI() local
30 codes[i]); in test_ConstructorLStringI()
33 hre.responseCode() == codes[i]); in test_ConstructorLStringI()
39 int [] codes = {400, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0}; in test_ConstructorLStringILString() local
45 codes[i], locations[i]); in test_ConstructorLStringILString()
48 hre.responseCode() == codes[i]); in test_ConstructorLStringILString()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_AbstractTest.java43 static final int[] codes = Charset_TestGenerator.codes; field in OldCharset_AbstractTest
45 static final char[] chars = new char[codes.length]; // Is filled with
51 static char[] theseChars (int... codes) { in theseChars() argument
52 char[] chars = new char[codes.length]; in theseChars()
53 for (int i = 0; i < codes.length; i++) chars[i] = (char) codes[i]; in theseChars()
57 static byte[] theseBytes (int... codes) { in theseBytes() argument
58 byte[] bytes = new byte[codes.length]; in theseBytes()
59 for (int i = 0; i < codes.length; i++) bytes[i] = (byte) codes[i]; in theseBytes()
DCharset_TestGenerator.java36 static final int[] codes = { field in Charset_TestGenerator
101 static final char[] chars = OldCharset_AbstractTest.theseChars(codes);
/libcore/benchmarks/src/benchmarks/regression/
DR.java1452 public static final int codes = 0; field in R