Searched refs:result (Results 326 - 350 of 499) sorted by relevance

<<11121314151617181920

/libcore/luni/src/main/native/
H A Dlibcore_icu_TimeZoneNames.cpp63 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 DOldInputStreamTest.java43 int result = -1;
45 result = input[position];
48 return result;
/libcore/luni/src/test/java/libcore/java/util/
H A DFormatterTest.java126 String result = String.format("%.2f", input[i]);
127 assertEquals("input=\"" + input[i] + "\", " + ",expected=" + output[i] + ",actual=" + result,
128 output[i], result);
H A DOldAbstractMapTest.java105 String result = remove(key);
107 return result;
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldAndroidDeflateTest.java56 byte[] result = new byte[100];
57 int resultLength = decompresser.inflate(result);
60 String outputString = new String(result, 0, resultLength, "UTF-8");
H A DOldAndroidZipStressTest.java62 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 DSupport_Format.java85 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 DElementImpl.java162 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 DVectorTest.java496 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 DTreeMapTest.java1374 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 DTreeSetTest.java277 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 DByteArrayBuffer.java167 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 DFinalizeTest.java53 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 DOldBigDecimalConstructorsTest.java42 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 DIdentityHashMap.java123 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 DSSLEngineTest.java430 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 Djunit4-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 Dcharacterdatadeletedatagetlengthanddata.java77 java.util.List result = new java.util.ArrayList();
H A Dhc_characterdatadeletedatagetlengthanddata.java76 java.util.List result = new java.util.ArrayList();
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DimportNode14.java78 java.util.List result = new java.util.ArrayList();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCharsetDecoder2Test.java192 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 DString.java532 * <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 DPropertyChangeSupport.java178 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 DExecutorService.java107 * 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 DMatcher.java20 * 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();

Completed in 1575 milliseconds

<<11121314151617181920