/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentSkipListSetTest.java | 696 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 D | TreeSetTest.java | 702 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 D | AbstractExecutorServiceTest.java | 58 * 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 D | AnnotationAccess.java | 312 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 D | PipedInputStream.java | 242 int result = buffer[out++] & 0xff; 255 return result;
|
H A D | RandomAccessFile.java | 413 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 D | ByteBufferAsDoubleBuffer.java | 173 DoubleBuffer result = new ByteBufferAsDoubleBuffer(bb); 175 return result;
|
H A D | ByteBufferAsFloatBuffer.java | 172 FloatBuffer result = new ByteBufferAsFloatBuffer(bb); 174 return result;
|
H A D | ByteBufferAsIntBuffer.java | 173 IntBuffer result = new ByteBufferAsIntBuffer(bb); 175 return result;
|
H A D | ByteBufferAsLongBuffer.java | 173 LongBuffer result = new ByteBufferAsLongBuffer(bb); 175 return result;
|
H A D | ByteBufferAsShortBuffer.java | 172 ShortBuffer result = new ByteBufferAsShortBuffer(bb); 174 return result;
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | PriorityBlockingQueue.java | 98 * 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 D | Inflater.java | 237 int result = inflateImpl(buf, offset, byteCount, streamHandle); 241 return result;
|
/libcore/luni/src/main/java/javax/crypto/ |
H A D | Cipher.java | 324 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 D | ExemptionMechanism.java | 182 * 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 D | NativeDecimalFormat.java | 285 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 D | cbigint.h | 89 uint64_t* result, int32_t length); 99 int32_t timesTenToTheEHighPrecision(uint64_t* result, int32_t length, jint e);
|
H A D | java_lang_ProcessManager.cpp | 124 // 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 D | java_lang_System.cpp | 130 jstring result = env->NewStringUTF(mappedName); local 132 return result;
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLEnginePair.java | 200 private static void assertFinishedOnce(boolean[] finishedOut, SSLEngineResult result) { argument 201 if (result.getHandshakeStatus() == HandshakeStatus.FINISHED) {
|
H A D | TestSSLContext.java | 318 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 D | importNode01.java | 88 java.util.List result = new java.util.ArrayList();
|
/libcore/luni/src/test/java/libcore/java/util/beans/ |
H A D | PropertyChangeSupportTest.java | 259 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 D | AbstractMethod.java | 175 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this); 176 return result.toArray(new Annotation[result.size()]);
|
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetDecoderICU.java | 57 CharsetDecoderICU result = new CharsetDecoderICU(cs, averageCharsPerByte, address); 59 result.updateCallback(); 60 return result;
|