/libcore/luni/src/main/native/ |
H A D | readlink.cpp | 23 bool readlink(const char* path, std::string& result) { argument 36 result.assign(&buf[0], len);
|
H A D | IcuUtilities.cpp | 40 jobjectArray result = env->NewObjectArray(count, JniConstants::stringClass, NULL); local 47 env->SetObjectArrayElement(result, i, javaString.get()); 49 return result;
|
H A D | java_util_zip_CRC32.cpp | 31 jlong result = crc32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len); local 32 return result;
|
H A D | libcore_icu_NativeNormalizer.cpp | 46 UBool result = icu::Normalizer::isNormalized(src.unicodeString(), mode, status); local 48 return result;
|
H A D | libcore_icu_NativePluralRules.cpp | 53 icu::PluralRules* result = icu::PluralRules::forLocale(locale, status); local 55 return reinterpret_cast<uintptr_t>(result);
|
H A D | java_util_regex_Pattern.cpp | 90 icu::RegexPattern* result = icu::RegexPattern::compile(regexString, flags, error, status); local 94 return static_cast<jlong>(reinterpret_cast<uintptr_t>(result));
|
H A D | java_io_File.cpp | 48 std::string result; local 49 if (!canonicalize_path(path.c_str(), result)) { 53 return env->NewStringUTF(result.c_str()); 95 dirent* result = readdir(mDirStream); local 96 if (result != NULL) { 97 return result->d_name;
|
H A D | libcore_icu_TimeZoneNames.cpp | 64 static void TimeZoneNames_fillZoneStrings(JNIEnv* env, jclass, jstring javaLocaleName, jobjectArray result) { argument 80 size_t id_count = env->GetArrayLength(result); 83 reinterpret_cast<jobjectArray>(env->GetObjectArrayElement(result, i)));
|
H A D | Portability.h | 49 int result = sendfile(in_fd, out_fd, *offset, &in_out_count, NULL, 0); local 50 if (result == -1) {
|
H A D | libcore_icu_AlphabeticIndex.cpp | 83 jint result = ai->getBucketCount(status); local 87 return result; 97 jint result = ai->getBucketIndex(string.unicodeString(), status); local 101 return result; 162 jint result = ii->getBucketIndex(string.unicodeString(), status); local 166 return result;
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | CompletionService.java | 52 * @param result the result to return upon successful completion 55 * result value upon completion 60 Future<V> submit(Runnable task, V result); argument
|
H A D | RecursiveTask.java | 10 * A recursive result-bearing {@link ForkJoinTask}. 43 * The result of the computation. 45 V result; field in class:RecursiveTask 49 * @return the result of the computation 54 return result; 58 result = value; 65 result = compute();
|
H A D | AbstractExecutorService.java | 53 * the given value as its result and provide for cancellation of 67 * the callable's result as its result and provide for 90 public <T> Future<T> submit(Runnable task, T result) { argument 92 RunnableFuture<T> ftask = newTaskFor(task, result); 131 // result, we can throw the last exception we got.
|
H A D | ExecutorCompletionService.java | 42 * 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 D | ExecutorService.java | 108 * result is retrieved via {@code Future.get()}. 177 * Future's {@code get} method will return the task's result upon 183 * {@code result = exec.submit(aCallable).get();} 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 280 * Executes the given tasks, returning the result 288 * @return the result returned by one of the tasks 301 * Executes the given tasks, returning the result [all...] |
/libcore/luni/src/main/java/javax/xml/transform/sax/ |
H A D | TransformerHandler.java | 40 * @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/java/math/ |
H A D | BitLevel.java | 114 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/test/native/ |
H A D | libcore_io_Memory_test.cpp | 92 T result = peek_func(nullptr, nullptr, src_aligned); local 93 ASSERT_EQ(value, result);
|
/libcore/luni/src/main/java/javax/xml/validation/ |
H A D | Validator.java | 97 * 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 D | TimeZoneNames.java | 64 String[][] result = new String[availableTimeZoneIds.length][5]; 66 result[i][0] = availableTimeZoneIds[i]; 70 fillZoneStrings(locale.toString(), result); 73 internStrings(result); 82 return result; 86 private synchronized void internStrings(String[][] result) { argument 88 for (int i = 0; i < result.length; ++i) { 90 String original = result[i][j]; 95 result[i][j] = nonDuplicate; 162 private static native void fillZoneStrings(String locale, String[][] result); argument [all...] |
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | OldPreferenceChangeEventTest.java | 57 result = true; 82 result = true; 112 result = true; 131 protected boolean result = false; field in class:OldPreferenceChangeEventTest.MockPreferenceChangeListener 156 return result; 174 result = false;
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLEnginePair.java | 226 private static void assertFinishedOnce(boolean[] finishedOut, SSLEngineResult result) { argument 227 if (result.getHandshakeStatus() == HandshakeStatus.FINISHED) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | CalendarTest.java | 40 // Test for correct result defined by the last set field 45 assertTrue("Incorrect result 0: " + cal.getTime().getTime(), cal 51 assertTrue("Incorrect result 0a: " + cal.getTime(), cal.getTime() 57 assertTrue("Incorrect result 0b: " + cal.getTime(), cal.getTime() 75 assertTrue("Incorrect result 0c1: " + cal.getTime().getTime(), cal 81 assertTrue("Incorrect result 0c2: " + cal.getTime().getTime(), cal 87 assertTrue("Incorrect result 0c3: " + cal.getTime(), cal.getTime() 93 assertTrue("Incorrect result 0d: " + cal.getTime(), cal.getTime() 99 assertTrue("Incorrect result 0e: " + cal.getTime(), cal.getTime() 105 assertTrue("Incorrect result 1061 assertDisplayNameMap(String[] values, Map<String, Integer> result, int shift) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
H A D | MockAbstractPreferences.java | 36 int result = NORMAL; field in class:MockAbstractPreferences 81 result = r; 91 if (result == returnNull) 99 switch (result) { 119 if (result == returnNull) 144 return result == returnNull ? null : attr.getProperty(key); 153 return result == returnNull ? null : results;
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | FutureTaskTest.java | 184 PublicFutureTask(Runnable runnable, Object result) { argument 185 this(runnable, result, new AtomicInteger(0)); 187 private PublicFutureTask(final Runnable runnable, Object result, argument 193 }}, result);
|