Searched refs:result (Results 401 - 425 of 498) sorted by relevance

<<11121314151617181920

/libcore/luni/src/main/java/java/sql/
H A DTimestamp.java218 int result = super.compareTo(theTimestamp);
219 if (result == 0) {
230 return result;
/libcore/luni/src/main/java/java/util/
H A DResourceBundle.java166 * The first name is created by concatenating the base name with the result
304 ResourceBundle result = loaderCache.get(bundleName);
305 if (result != null) {
308 || time + result.lastLoadTime < System.currentTimeMillis()) {
309 if (MISSING == result) {
313 return result;
319 control, expired, result);
333 ResourceBundle result) {
353 format, loader, result, System
394 expired, result);
330 processGetBundle(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control, boolean expired, ResourceBundle result) argument
[all...]
H A DTimeZone.java181 * If the name is not available, the result is in the format
194 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style);
195 if (result != null) {
196 return result;
H A DGregorianCalendar.java49 * current rules indefinitely far backward and forward in time. As a result,
918 int result = 0;
923 result = get(WEEK_OF_YEAR);
924 if (result == 1) {
926 result = get(WEEK_OF_YEAR);
932 result = get(WEEK_OF_MONTH);
940 result = get(DAY_OF_WEEK_IN_MONTH)
950 result = clone.get(YEAR);
953 result--;
957 result
[all...]
H A DCollections.java1213 Object[] result = new Object[length];
1216 result[i] = it.next();
1218 return result;
1398 * order. Searching in an unsorted array has an undefined result. It's also
1425 int result;
1426 if ((result = -it.next().compareTo(object)) <= 0) {
1427 if (result == 0) {
1436 int low = 0, mid = list.size(), high = mid - 1, result = -1;
1439 if ((result = -list.get(mid).compareTo(object)) > 0) {
1441 } else if (result
[all...]
H A DWeakHashMap.java86 V result = value;
88 return result;
158 R result = type.get(currentEntry);
161 return result;
616 V result = entry.value;
618 return result;
/libcore/luni/src/main/java/java/util/concurrent/
H A DForkJoinTask.java53 * until the task's result has been computed. Computations should
667 * Returns the result of the computation when it {@link #isDone is
675 * @return the computed result
686 * necessary, and returns its result, or throws an (unchecked)
690 * @return the computed result
828 * and calls to {@link #join} and related methods will result in
914 * returning the given value as the result of subsequent
923 * @param value the result value for this task
938 * null} by default) will be returned as the result of subsequent
950 * retrieves its result
1351 T result; field in class:ForkJoinTask.AdaptedRunnable
1352 AdaptedRunnable(Runnable runnable, T result) argument
1405 T result; field in class:ForkJoinTask.AdaptedCallable
1449 adapt(Runnable runnable, T result) argument
[all...]
H A DScheduledThreadPoolExecutor.java180 ScheduledFutureTask(Runnable r, V result, long ns) { argument
181 super(r, result);
190 ScheduledFutureTask(Runnable r, V result, long ns, long period) { argument
191 super(r, result);
609 public <T> Future<T> submit(Runnable task, T result) { argument
610 return schedule(Executors.callable(task, result), 0, NANOSECONDS);
/libcore/luni/src/main/java/java/util/zip/
H A DZipEntry.java353 ZipEntry result = (ZipEntry) super.clone();
354 result.extra = extra != null ? extra.clone() : null;
355 return result;
/libcore/luni/src/main/java/javax/crypto/
H A DMac.java471 byte[] result = spi.engineDoFinal();
472 System.arraycopy(result, 0, output, outOffset, result.length);
/libcore/luni/src/test/java/libcore/java/lang/
H A DThrowableTest.java333 Throwable result = new Throwable(message);
334 result.setStackTrace(array);
335 return result;
/libcore/luni/src/test/java/libcore/java/net/
H A DCookiesTest.java318 Map<String, List<String>> result = new HashMap<String, List<String>>();
319 result.put("Cookie", Collections.singletonList("Bar=bar"));
320 result.put("Cookie2", Collections.singletonList("Baz=baz"));
321 result.put("Quux", Collections.singletonList("quux"));
322 return result;
368 Map<String, List<String>> result = new HashMap<String, List<String>>();
369 result.put("COOKIE", Collections.singletonList("Bar=bar"));
370 result.put("cooKIE2", Collections.singletonList("Baz=baz"));
371 return result;
554 List<HttpCookie> result
[all...]
H A DInetAddressTest.java309 String result = ia.toString();
310 assertNotNull(result);
311 assertEquals(resultStrings[i], result);
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DZipEntryTest.java34 File result = File.createTempFile("ZipFileTest", "zip");
35 result.deleteOnExit();
36 return result;
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java147 ArrayList<Proxy> result = new ArrayList<Proxy>();
148 result.add(proxy);
149 return result;
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DSecurity2Test.java115 int result = 0;
168 result++;
172 return result;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DStringCharacterIteratorTest.java292 char result = it1.next();
293 assertEquals("Wrong next char1", 'i', result);
504 char result = it1.next();
505 assertTrue("Wrong next char: " + result, result == 't');
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DXMLFilterImplTest.java242 InputSource result = null;
248 result = parent.resolveEntity("foo", "bar");
255 assertEquals(expected, result);
261 result = parent.resolveEntity("foo", "bar");
268 assertEquals(null, result);
/libcore/luni/src/main/java/java/nio/
H A DSocketChannelImpl.java198 // without knowing the result of the connection attempt, which could still be going on.
383 int result = writeImpl(writeBuf);
385 int written = result;
386 while (result > 0) {
388 int gap = Math.min(result, source.remaining());
391 result -= gap;
/libcore/luni/src/main/java/java/text/
H A DMessageFormat.java94 * Thus, a string that should result in the formatted message "'{0}'" can be
101 * produce a number format with the hash-sign quoted, with a result such as:
126 * the result array returned by the {@code parse} methods.
230 * String result = MessageFormat.format(
300 * will be the final result of the parsing. For example:
305 * String result = mf.format(objs);
306 * // result now equals "3.14, 3.1"
308 * objs = mf.parse(result, new ParsePosition(0));
321 * // result now equals {new String("z")}
582 String result
[all...]
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp86 * Thread.interrupt(). Other signals that result in an EINTR result are ignored and the system call
89 * Returns the result of the system call though a Java exception will be pending if the result is
121 * a close() or Thread.interrupt(). Other signals that result in an EINTR result are ignored and the
124 * Returns the result of the system call though a Java exception will be pending if the result is
707 jobjectArray result = env->NewObjectArray(addressCount, JniConstants::inetAddressClass, NULL); local
708 if (result
799 u_char result = 0; local
822 jint result = 0; local
1047 jobjectArray result = env->NewObjectArray(2, JniConstants::fileDescriptorClass, NULL); local
1169 std::string result; local
1231 jlong result = throwIfMinusOne(env, "sendfile", TEMP_FAILURE_RETRY(sendfile(outFd, inFd, offsetPtr, byteCount))); local
1476 long result = sysconf(name); local
[all...]
/libcore/luni/src/main/java/java/net/
H A DURLClassLoader.java586 ArrayList<URL> result = new ArrayList<URL>();
593 handler.findResources(name, result);
595 return Collections.enumeration(result);
828 URLHandler result;
831 result = createURLJarHandler(nextCandidate);
833 result = createURLFileHandler(nextCandidate);
835 result = createURLHandler(nextCandidate);
837 if (result != null) {
838 handlerMap.put(nextCandidate, result);
839 handlerList.add(result);
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DConcurrentSkipListMapTest.java983 NavigableMap<Integer, Integer> result =
985 assertEquals(0, result.size());
986 assertFalse(result.keySet().iterator().hasNext());
987 return result;
1187 int result = bs.nextSetBit(key);
1188 return result > max ? -1 : result;
1194 int result = ceilingAscending(min);
1195 return result > max ? -1 : result;
[all...]
H A DTreeMapTest.java788 NavigableMap<Integer, Integer> result
790 assertEquals(0, result.size());
791 assertFalse(result.keySet().iterator().hasNext());
792 return result;
992 int result = bs.nextSetBit(key);
993 return result > max ? -1 : result;
999 int result = ceilingAscending(min);
1000 return result > max ? -1 : result;
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DArrays2Test.java42 int result = Arrays.binarySearch(specials, specials[i]);
43 assertTrue("Assert 0: " + specials[i] + " invalid: " + result,
44 result == i);
62 int result = Arrays.binarySearch(specials, specials[i]);
63 assertTrue("Assert 0: " + specials[i] + " invalid: " + result,
64 result == i);

Completed in 3141 milliseconds

<<11121314151617181920