Searched defs:result (Results 1 - 25 of 55) sorted by last modified time

123

/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jar ... private final synthetic junit.framework.TestResult val$result void " href="/4.2.2_r1/s?defs ...
/libcore/support/src/test/java/tests/support/
H A DSupport_Configuration.java304 static void load(InputStream in, Hashtable<String, String> result) throws IOException { argument
377 result.put(key.toString(), value.toString());
419 result.put(key.toString(), value.toString());
/libcore/dalvik/src/main/native/
H A Dorg_apache_harmony_dalvik_NativeTestTarget.cpp59 int result = jniRegisterNativeMethods(env, local
62 if (result != 0) {
/libcore/include/
H A DUniquePtr.h68 T* result = mPtr; local
70 return result;
114 T* result = mPtr; local
116 return result;
/libcore/luni/src/main/java/java/lang/
H A DClass.java215 Class<?> result;
217 result = classForName(className, initializeBoolean,
226 return result;
456 Member result = recursive
459 if (result == null || publicOnly && (result.getModifiers() & Modifier.PUBLIC) == 0) {
462 return result;
468 Member result = Class.getDeclaredConstructorOrMethod(c, name, parameterTypes);
469 if (result != null && (result
843 getPublicFieldsRecursive(List<Field> result) argument
952 getPublicMethodsRecursive(List<Method> result) argument
1414 arraycopy(T[] result, T[] head, T[] tail) argument
[all...]
/libcore/luni/src/main/java/java/math/
H A DBitLevel.java114 static void shiftLeftOneBit(int[] result, int[] source, int srcLen) { argument
118 result[i] = (val << 1) | carry;
122 result[srcLen] = carry;
154 // If the remainder is not zero, add 1 to the result
173 * @param result
185 static boolean shiftRight(int[] result, int resultLen, int[] source, int intCount, int count) { argument
191 System.arraycopy(source, intCount, result, 0, resultLen);
198 result[i] = ( source[i + intCount] >>> count )
201 result[i] = ( source[i + intCount] >>> count );
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetDecoder.java50 * indicate the stop reason, and the invoker can identify the result and choose
188 CoderResult result = null;
190 result = decode(in, output, false);
191 checkCoderResult(result);
192 if (result.isUnderflow()) {
194 } else if (result.isOverflow()) {
198 result = decode(in, output, true);
199 checkCoderResult(result);
202 result = flush(output);
203 checkCoderResult(result);
219 checkCoderResult(CoderResult result) argument
[all...]
H A DCharsetEncoder.java197 boolean result = true;
201 result = false;
206 return result;
281 CoderResult result = null;
283 result = encode(in, output, false);
284 if (result==CoderResult.UNDERFLOW) {
286 } else if (result==CoderResult.OVERFLOW) {
290 checkCoderResult(result);
292 result = encode(in, output, true);
293 checkCoderResult(result);
321 checkCoderResult(CoderResult result) argument
[all...]
/libcore/luni/src/main/java/java/util/
H A DFormatter.java118 * used to represent the argument. If the result would otherwise be shorter than the width, padding
132 * Many conversion types have a corresponding uppercase variant that converts its result to
1434 String result = arg.toString();
1435 return needLocalizedDigits ? localizeDigits(result) : result;
1441 CharSequence result;
1444 result = transformFromBoolean();
1447 result = transformFromHashCode();
1450 result = transformFromString();
1453 result
1659 wrapParentheses(StringBuilder result) argument
1834 appendT(StringBuilder result, char conversion, Calendar calendar) argument
1975 appendLocalized(StringBuilder result, long value, int width) argument
2092 transformE(StringBuilder result) argument
2126 transformG(StringBuilder result) argument
2190 transformF(StringBuilder result) argument
2225 transformA(StringBuilder result) argument
[all...]
H A DResourceBundle.java167 * The first name is created by concatenating the base name with the result
305 ResourceBundle result = loaderCache.get(bundleName);
306 if (result != null) {
309 || time + result.lastLoadTime < System.currentTimeMillis()) {
310 if (MISSING == result) {
314 return result;
320 control, expired, result);
334 ResourceBundle result) {
354 format, loader, result, System
395 expired, result);
331 processGetBundle(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control, boolean expired, ResourceBundle result) argument
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DAbstractExecutorService.java52 * the given value as its result and provide for cancellation of
66 * the callable's result as its result and provide for
89 public <T> Future<T> submit(Runnable task, T result) { argument
91 RunnableFuture<T> ftask = newTaskFor(task, result);
130 // result, we can throw the last exception we got.
H A DCompletionService.java53 * @param result the result to return upon successful completion
56 * result value upon completion
61 Future<V> submit(Runnable task, V result); argument
H A DExecutorCompletionService.java42 * Suppose instead that you would like to use the first non-null result
55 * Result result = null;
63 * result = r;
74 * if (result != null)
75 * use(result);
102 private RunnableFuture<V> newTaskFor(Runnable task, V result) { argument
104 return new FutureTask<V>(task, result);
106 return aes.newTaskFor(task, result);
156 public Future<V> submit(Runnable task, V result) { argument
158 RunnableFuture<V> f = newTaskFor(task, result);
[all...]
H A DExecutorService.java107 * result is retrieved via {@code Future.get()}.
177 * Future's <tt>get</tt> method will return the task's result upon
183 * <tt>result = exec.submit(aCallable).get();</tt>
201 * return the given result upon successful completion.
204 * @param result the result to return
210 <T> Future<T> submit(Runnable task, T result); argument
281 * Executes the given tasks, returning the result
289 * @return the result returned by one of the tasks
302 * Executes the given tasks, returning the result
[all...]
H A DExecutors.java298 * called, runs the given task and returns the given result. This
302 * @param result the result to return
306 public static <T> Callable<T> callable(Runnable task, T result) { argument
309 return new RunnableAdapter<T>(task, result);
327 * called, runs the given privileged action and returns its result.
342 * its result.
380 * A callable that runs given task and returns given result
384 final T result; field in class:Executors.RunnableAdapter
385 RunnableAdapter(Runnable task, T result) { argument
567 submit(Runnable task, T result) argument
[all...]
H A DForkJoinPool.java88 * <td> <b>Await and obtain result</td>
118 * pools with greater than the maximum number result in
1455 * Performs the given task, returning its result upon completion.
1465 * @return the task's result
1567 public <T> ForkJoinTask<T> submit(Runnable task, T result) { argument
1570 ForkJoinTask<T> job = ForkJoinTask.adapt(task, result);
1648 * yet terminated. The result returned by this method may differ
1797 * to collection {@code c} may result in elements being in
H A DForkJoinTask.java51 * until the task's result has been computed. Computations should
60 * use may result in poor performance, and the potential to
114 * result in exceptions or errors, possibly including
560 * Report the result of invoke or join; called only upon
587 * result in exceptions or errors, possibly including {@code
599 * Returns the result of the computation when it {@link #isDone is
607 * @return the computed result
618 * necessary, and returns its result, or throws an (unchecked)
622 * @return the computed result
647 * result i
1227 T result; field in class:ForkJoinTask.AdaptedRunnable
1228 AdaptedRunnable(Runnable runnable, T result) argument
1250 T result; field in class:ForkJoinTask.AdaptedCallable
1294 adapt(Runnable runnable, T result) argument
[all...]
H A DFutureTask.java14 * retrieve the result of the computation. The result can only be
32 * @param <V> The result type returned by this FutureTask's {@code get} methods
74 /** The result to return or exception to throw from get() */
82 * Returns result or throws exception for completed task.
114 * given result on successful completion.
117 * @param result the result to return on successful completion. If
118 * you don't need a particular result, consider using
123 public FutureTask(Runnable runnable, V result) { argument
[all...]
H A DRecursiveTask.java10 * A recursive result-bearing {@link ForkJoinTask}.
44 * The result of the computation.
46 V result; field in class:RecursiveTask
54 return result;
58 result = value;
65 result = compute();
H A DScheduledThreadPoolExecutor.java181 ScheduledFutureTask(Runnable r, V result, long ns) { argument
182 super(r, result);
191 ScheduledFutureTask(Runnable r, V result, long ns, long period) { argument
192 super(r, result);
611 public <T> Future<T> submit(Runnable task, T result) { argument
612 return schedule(Executors.callable(task, result), 0, NANOSECONDS);
/libcore/luni/src/main/java/java/util/logging/
H A DLogger.java105 * result.
320 Logger result = new Logger(null, resourceBundleName);
321 result.isNamed = false;
323 logManager.setParent(result, logManager.getLogger(""));
324 return result;
382 Logger result = LogManager.getLogManager()
384 result.initResourceBundle(resourceBundleName);
385 return result;
630 * isLoggable() method, so that affect the result of log methods.
790 * @param result
793 exiting(String sourceClass, String sourceMethod, Object result) argument
[all...]
/libcore/luni/src/main/java/javax/xml/transform/sax/
H A DTransformerHandler.java40 * @param result A <code>Result</code> instance, should not be
43 * @throws IllegalArgumentException if result is invalid for some reason.
45 public void setResult(Result result) throws IllegalArgumentException; argument
/libcore/luni/src/main/java/javax/xml/validation/
H A DValidator.java97 * result to the specified output.
161 * @param result
170 * (in which case <tt>source.getNode()==result.getNode()</tt>),
197 public abstract void validate(Source source, Result result) throws SAXException, IOException; argument
/libcore/luni/src/main/java/libcore/icu/
H A DICU.java186 static native boolean initLocaleDataImpl(String locale, LocaleData result); argument
H A DTimeZones.java68 String[][] result = getZoneStringsImpl(locale.toString(), availableTimeZones);
70 internStrings(result);
79 return result;
82 private synchronized void internStrings(String[][] result) { argument
83 for (int i = 0; i < result.length; ++i) {
85 String original = result[i][j];
90 result[i][j] = nonDuplicate;

Completed in 608 milliseconds

123