/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldStackTraceElementTest.java | 32 private Original original; field in class:OldStackTraceElementTest 36 original = new Original(); 48 original.pureJavaMethod(new Object()); 96 original.pureJavaMethod(new Object()); 111 original.pureJavaMethod(new Object()); 125 original.pureJavaMethod(new Object()); 139 original.pureJavaMethod(new Object()); 149 original.pureJavaMethod(new Object()); 163 original.pureJavaMethod(new Object()); 181 original [all...] |
/libcore/json/src/test/java/org/json/ |
H A D | JSONStringerTest.java | 220 private void assertEscapedAllWays(String escaped, String original) throws JSONException { argument 222 new JSONStringer().object().key(original).value(false).endObject().toString()); 224 new JSONStringer().object().key("a").value(original).endObject().toString()); 226 new JSONStringer().array().value(original).endArray().toString()); 227 assertEquals("\"" + escaped + "\"", JSONObject.quote(original));
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | UrlEncodingTest.java | 240 * Asserts that {@code original} decodes to {@code decoded} using both URI 243 private void assertDecoded(String decoded, String original) throws Exception { argument 244 assertEquals(decoded, new URI("http://foo#" + original).getFragment()); 245 assertEquals(decoded, URLDecoder.decode(original)); 246 assertEquals(decoded, URLDecoder.decode(original, "UTF-8")); 250 * Asserts that {@code original} encodes to {@code encoded} using both URI 253 private void assertEncoded(String encoded, String original) throws Exception { argument 254 assertEquals(encoded, URLEncoder.encode(original, "UTF-8")); 255 assertEquals(encoded, URLEncoder.encode(original)); 256 assertEquals(encoded, new URI("http", "foo", "/", original) 259 assertRoundTrip(String original, String encoded) argument [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | ZipFileTest.java | 59 private static void replaceBytes(byte[] buffer, byte[] original, byte[] replacement) { argument 60 // Gotcha here: original and replacement must be the same length 61 assertEquals(original.length, replacement.length); 63 for(int i=0; i < buffer.length - original.length; i++) { 65 if (buffer[i] == original[0]) { 67 for (int j=0; j < original.length; j++) { 68 if (buffer[i+j] != original[j]) { 75 for (int j=0; j < original.length; j++) {
|
/libcore/luni/src/main/java/java/util/ |
H A D | Arrays.java | 2303 * contains a reference to the original array, then it will be represented 2330 * the original {@code Object[]}; used to test for self 2434 * Copies {@code newLength} elements from {@code original} into a new array. 2435 * If {@code newLength} is greater than {@code original.length}, the result is padded 2438 * @param original the original array 2442 * @throws NullPointerException if {@code original == null} 2445 public static boolean[] copyOf(boolean[] original, int newLength) { argument 2449 return copyOfRange(original, 0, newLength); 2453 * Copies {@code newLength} elements from {@code original} int 2464 copyOf(byte[] original, int newLength) argument 2483 copyOf(char[] original, int newLength) argument 2502 copyOf(double[] original, int newLength) argument 2521 copyOf(float[] original, int newLength) argument 2540 copyOf(int[] original, int newLength) argument 2559 copyOf(long[] original, int newLength) argument 2578 copyOf(short[] original, int newLength) argument 2597 copyOf(T[] original, int newLength) argument 2621 copyOf(U[] original, int newLength, Class<? extends T[]> newType) argument 2644 copyOfRange(boolean[] original, int start, int end) argument 2674 copyOfRange(byte[] original, int start, int end) argument 2704 copyOfRange(char[] original, int start, int end) argument 2734 copyOfRange(double[] original, int start, int end) argument 2764 copyOfRange(float[] original, int start, int end) argument 2794 copyOfRange(int[] original, int start, int end) argument 2824 copyOfRange(long[] original, int start, int end) argument 2854 copyOfRange(short[] original, int start, int end) argument 2885 copyOfRange(T[] original, int start, int end) argument 2917 copyOfRange(U[] original, int start, int end, Class<? extends T[]> newType) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
H A D | CipherThread.java | 50 public void checkEncodedData(byte[] original, byte[] encoded) argument 52 for(int i = 0; i < original.length; i++) { 53 if (original[i] != encoded[i]) { 60 public void checkPaddedEncodedData(byte[] original, byte[] encoded, int offset) argument 67 for (int i = 0; i < original.length; i++) { 68 if (original[i] != encoded[i + offset]) {
|
/libcore/luni/src/main/java/java/math/ |
H A D | BigInt.java | 93 void putDecString(String original) { argument 94 String s = checkString(original, 10); 98 throw invalidBigInteger(original); 102 void putHexString(String original) { argument 103 String s = checkString(original, 16); 107 throw invalidBigInteger(original);
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
H A D | SAXParserTestSupport.java | 138 * @param original the reference 142 public static boolean equalsMaps(HashMap<String, String> original, argument 145 if(original == null && result == null) { 148 if(original.size() != result.size()) return false; 151 if(!original.get(KEYS[i]).equals(result.get(KEYS[i]))) { 152 System.out.println("for "+KEYS[i]+": original:" + 153 original.get(KEYS[i]));
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |