Searched refs:result (Results 376 - 400 of 498) sorted by relevance

<<11121314151617181920

/libcore/jsr166-tests/src/test/java/jsr166/
H A DConcurrentSkipListSetTest.java696 NavigableSet<Integer> result = (NavigableSet<Integer>) cl.newInstance();
697 assertEquals(0, result.size());
698 assertFalse(result.iterator().hasNext());
699 return result;
906 int result = bs.nextSetBit(element);
907 return result > max ? -1 : result;
913 int result = ceilingAscending(min);
914 return result > max ? -1 : result;
[all...]
H A DTreeSetTest.java702 NavigableSet<Integer> result = (NavigableSet<Integer>) cl.newInstance();
703 assertEquals(0, result.size());
704 assertFalse(result.iterator().hasNext());
705 return result;
909 int result = bs.nextSetBit(element);
910 return result > max ? -1 : result;
916 int result = ceilingAscending(min);
917 return result > max ? -1 : result;
[all...]
H A DAbstractExecutorServiceTest.java58 * Completed submit(callable) returns result
63 String result = future.get();
64 assertSame(TEST_STRING, result);
78 * Completed submit(runnable, result) returns result
83 String result = future.get();
84 assertSame(TEST_STRING, result);
287 * invokeAny(c) returns result of some task in c if at least one completes
295 String result = e.invokeAny(l);
296 assertSame(TEST_STRING, result);
[all...]
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationAccess.java312 Annotation[][] result = new Annotation[parameterCount][];
317 result[p] = annotations.toArray(new Annotation[annotations.size()]);
319 return result;
441 StringBuilder result = new StringBuilder();
443 result.append(s);
445 return result.toString();
583 Class<? extends Annotation> result =
585 if (!result.isAnnotation()) {
586 throw new IncompatibleClassChangeError("Expected annotation: " + result.getName());
588 return result;
[all...]
/libcore/luni/src/main/java/java/io/
H A DPipedInputStream.java242 int result = buffer[out++] & 0xff;
255 return result;
H A DRandomAccessFile.java413 int result = read(dst, offset, byteCount);
414 if (result < 0) {
417 offset += result;
418 byteCount -= result;
/libcore/luni/src/main/java/java/nio/
H A DByteBufferAsDoubleBuffer.java173 DoubleBuffer result = new ByteBufferAsDoubleBuffer(bb);
175 return result;
H A DByteBufferAsFloatBuffer.java172 FloatBuffer result = new ByteBufferAsFloatBuffer(bb);
174 return result;
H A DByteBufferAsIntBuffer.java173 IntBuffer result = new ByteBufferAsIntBuffer(bb);
175 return result;
H A DByteBufferAsLongBuffer.java173 LongBuffer result = new ByteBufferAsLongBuffer(bb);
175 return result;
H A DByteBufferAsShortBuffer.java172 ShortBuffer result = new ByteBufferAsShortBuffer(bb);
174 return result;
/libcore/luni/src/main/java/java/util/concurrent/
H A DPriorityBlockingQueue.java98 * Attempts to allocate larger arrays may result in
289 E result = (E) array[0];
298 return result;
507 E result;
509 while ( (result = dequeue()) == null)
514 return result;
521 E result;
523 while ( (result = dequeue()) == null && nanos > 0)
528 return result;
616 * result o
[all...]
/libcore/luni/src/main/java/java/util/zip/
H A DInflater.java237 int result = inflateImpl(buf, offset, byteCount, streamHandle);
241 return result;
/libcore/luni/src/main/java/javax/crypto/
H A DCipher.java324 String[] result = new String[3];
328 result[i] = piece;
332 if (result[0] == null) {
335 if (!(result[1] == null && result[2] == null) && (result[1] == null || result[2] == null)) {
338 return result;
1048 * If the size of the {@code output} buffer is too small to hold the result,
1081 * If the size of the {@code output} buffer is too small to hold the result,
[all...]
H A DExemptionMechanism.java182 * Returns whether the result blob for this {@code ExemptionMechanism}
188 * @return whether the result blob for this {@code ExemptionMechanism}
191 * if an error occurs while determining whether the result blob
294 * Generates the result key blob for this exemption mechanism.
296 * @return the result key blob for this exemption mechanism.
309 byte[] result = spiImpl.engineGenExemptionBlob();
311 return result;
315 * Generates the result key blob for this exemption mechanism and stores it
319 * the output buffer for the result key blob.
325 * if the provided buffer is too small for the result ke
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DNativeDecimalFormat.java285 char[] result = formatDigitList(this.address, value.toString(), fpi);
289 return result;
294 char[] result = formatDigitList(this.address, value.toString(10), fpi);
298 return result;
303 char[] result = formatLong(this.address, value, fpi);
307 return result;
312 char[] result = formatDouble(this.address, value, fpi);
316 return result;
/libcore/luni/src/main/native/
H A Dcbigint.h89 uint64_t* result, int32_t length);
99 int32_t timesTenToTheEHighPrecision(uint64_t* result, int32_t length, jint e);
H A Djava_lang_ProcessManager.cpp124 // when we forked, so an attempt to malloc(3) or free(3) would result in deadlock.
221 pid_t result = ExecuteProcess(env, commands.get(), environment.get(), workingDirectory, local
229 return result;
H A Djava_lang_System.cpp130 jstring result = env->NewStringUTF(mappedName); local
132 return result;
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestSSLEnginePair.java200 private static void assertFinishedOnce(boolean[] finishedOut, SSLEngineResult result) { argument
201 if (result.getHandshakeStatus() == HandshakeStatus.FINISHED) {
H A DTestSSLContext.java318 KeyManager[] result = new KeyManager[a.length + b.length];
319 System.arraycopy(a, 0, result, 0, a.length);
320 System.arraycopy(b, 0, result, a.length, b.length);
321 return result;
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DimportNode01.java88 java.util.List result = new java.util.ArrayList();
/libcore/luni/src/test/java/libcore/java/util/beans/
H A DPropertyChangeSupportTest.java259 List<String> result = new ArrayList<String>();
261 result.add(describe(listener));
263 Collections.sort(result);
264 return result.toString();
/libcore/libart/src/main/java/java/lang/reflect/
H A DAbstractMethod.java175 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);
176 return result.toArray(new Annotation[result.size()]);
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetDecoderICU.java57 CharsetDecoderICU result = new CharsetDecoderICU(cs, averageCharsPerByte, address);
59 result.updateCallback();
60 return result;

Completed in 510 milliseconds

<<11121314151617181920