/libcore/luni/src/main/native/ |
H A D | libcore_icu_TimeZoneNames.cpp | 63 static void TimeZoneNames_fillZoneStrings(JNIEnv* env, jclass, jstring javaLocaleName, jobjectArray result) { argument 79 size_t id_count = env->GetArrayLength(result); 82 reinterpret_cast<jobjectArray>(env->GetObjectArrayElement(result, i)));
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldInputStreamTest.java | 43 int result = -1; 45 result = input[position]; 48 return result;
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | FormatterTest.java | 126 String result = String.format("%.2f", input[i]); 127 assertEquals("input=\"" + input[i] + "\", " + ",expected=" + output[i] + ",actual=" + result, 128 output[i], result);
|
H A D | OldAbstractMapTest.java | 105 String result = remove(key); 107 return result;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | OldAndroidDeflateTest.java | 56 byte[] result = new byte[100]; 57 int resultLength = decompresser.inflate(result); 60 String outputString = new String(result, 0, resultLength, "UTF-8");
|
H A D | OldAndroidZipStressTest.java | 62 File[] result = new File("/system/app").listFiles(new FilenameFilter() { 67 return result != null ? result : new File[0];
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 85 Vector<FieldContainer> result = new Vector<FieldContainer>(); 94 result.add(new FieldContainer(start, end, attribute, value)); 102 return result;
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | ElementImpl.java | 162 NodeListImpl result = new NodeListImpl(); 163 getElementsByTagName(result, name); 164 return result; 168 NodeListImpl result = new NodeListImpl(); 169 getElementsByTagNameNS(result, namespaceURI, localName); 170 return result;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | VectorTest.java | 496 Object result = en.nextElement(); 497 if (result == null) { 498 fail("Null result: " + i); 754 String result = "Size is not 1: " + size + " " + v; 757 fail(result); 850 Object result = tVector.remove(36); 854 removeElement, result); 859 result = tVector.remove(19); 862 removeElement, result); 864 result [all...] |
H A D | TreeMapTest.java | 1374 SortedMap<Integer, String> result = treeMapInt.subMap(new Integer(-1), 1376 assertEquals(100, result.size()); 1377 result.put(new Integer(-1), new Integer(-1).toString()); 1378 assertEquals(101, result.size()); 1380 result = treeMapInt 1382 assertEquals(11, result.size()); 1384 result.put(new Integer(-2), new Integer(-2).toString()); 1389 assertEquals(11, result.size()); 1392 assertEquals(10, result.size()); 1393 result [all...] |
H A D | TreeSetTest.java | 277 int result; 280 result = 0; 282 result = 1; 284 assertEquals("end less than start should throw", 1, result);
|
/libcore/luni/src/main/java/java/nio/ |
H A D | ByteArrayBuffer.java | 167 char result = (char) Memory.peekShort(backingArray, arrayOffset + position, order); 169 return result; 198 int result = Memory.peekInt(backingArray, arrayOffset + position, order); 200 return result; 213 long result = Memory.peekLong(backingArray, arrayOffset + position, order); 215 return result; 228 short result = Memory.peekShort(backingArray, arrayOffset + position, order); 230 return result;
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
H A D | FinalizeTest.java | 53 X result = new X() { 60 // Dance around a bit to discourage dx from realizing that 'result' is no longer live. 63 fail("finalizer called early"); // ...because 'result' is still live until we return. 65 // But we don't actually want to return 'result' because then we'd have to worry about 67 return wasFinalized ? result : null;
|
/libcore/luni/src/test/java/libcore/java/math/ |
H A D | OldBigDecimalConstructorsTest.java | 42 BigDecimal result = new BigDecimal(bA, mc); 43 assertEquals("incorrect value", res, result.unscaledValue().toString()); 44 assertEquals("incorrect scale", resScale, result.scale()); 123 BigDecimal result = new BigDecimal(bA, aScale, mc); 124 assertEquals("incorrect value", res, result.unscaledValue().toString()); 125 assertEquals("incorrect scale", resScale, result.scale()); 284 BigDecimal result = new BigDecimal(value, offset, len, mc); 287 assertEquals("incorrect value", res, result.toString()); 288 assertEquals("incorrect scale", resScale, result.scale()); 439 BigDecimal result [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | IdentityHashMap.java | 123 V result = super.setValue(object); 125 return result; 174 IdentityHashMapEntry<KT, VT> result = associatedMap 180 return type.get(result); 383 Object result = elementData[index + 1]; 384 return massageValue(result); 485 Object result = elementData[index + 1]; 488 return massageValue(result); 545 Object result, object; 553 result [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | SSLEngineTest.java | 430 SSLEngineResult result = sse.unwrap(bb, bbA, 0, bbA.length); 557 SSLEngineResult result = sse.wrap(bbA, 0, bbA.length, bb); 575 SSLEngineResult result = sse.wrap(bbA, 0, bbA.length, bb); 576 assertEquals(SSLEngineResult.Status.OK, result.getStatus()); 577 assertEquals(0, result.bytesConsumed()); 578 assertTrue(result.bytesProduced() > 0); 896 SSLEngineResult result = sse.wrap(bbs, bbd); 994 SSLEngineResult result = sse.wrap(bbA, bb); 995 assertEquals(Status.BUFFER_OVERFLOW, result.getStatus()); 1119 SSLEngineResult result [all...] |
/libcore/support/src/test/java/tests/resources/ |
H A D | junit4-4.3.1.jar | ... private final synthetic junit.framework.TestResult val$result void " href="/5.1.0_r1/s?defs ... |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | characterdatadeletedatagetlengthanddata.java | 77 java.util.List result = new java.util.ArrayList();
|
H A D | hc_characterdatadeletedatagetlengthanddata.java | 76 java.util.List result = new java.util.ArrayList();
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
H A D | importNode14.java | 78 java.util.List result = new java.util.ArrayList();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
H A D | CharsetDecoder2Test.java | 192 CoderResult result = decoder.decode(in, out, false); 193 assertTrue(result.isOverflow()); 199 result = decoder.decode(in, out, true); 201 assertTrue(result.isUnderflow());
|
/libcore/libart/src/main/java/java/lang/ |
H A D | String.java | 532 * <p>If there is an index at which the two strings differ, the result is 534 * If not, but the lengths of the strings differ, the result is the difference 536 * If the strings are the same length and every {@code char} is the same, the result is 0. 550 * <p>If there is an index at which the two strings differ, the result is 552 * If not, but the lengths of the strings differ, the result is the difference 554 * If the strings are the same length and every {@code char} is the same, the result is 0. 560 int o1 = offset, o2 = string.offset, result; 570 if ((result = c1 - c2) != 0) { 571 return result; 1238 // The result contain [all...] |
/libcore/luni/src/main/java/java/beans/ |
H A D | PropertyChangeSupport.java | 178 List<PropertyChangeListener> result = new ArrayList<PropertyChangeListener>(); 182 result.add(p); 185 return result.toArray(new PropertyChangeListener[result.size()]);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ExecutorService.java | 107 * result is retrieved via {@code Future.get()}. 176 * Future's {@code get} method will return the task's result upon 182 * {@code result = exec.submit(aCallable).get();} 200 * return the given result upon successful completion. 203 * @param result the result to return 209 <T> Future<T> submit(Runnable task, T result); argument 279 * Executes the given tasks, returning the result 287 * @return the result returned by one of the tasks 300 * Executes the given tasks, returning the result [all...] |
/libcore/luni/src/main/java/java/util/regex/ |
H A D | Matcher.java | 20 * The result of applying a {@code Pattern} to a given input. See {@link Pattern} for 396 StringBuilder result = new StringBuilder(s.length()); 400 result.append('\\'); 402 result.append(c); 404 return result.toString();
|