/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 | 45 jobjectArray result = env->NewObjectArray(count, JniConstants::stringClass, NULL); local 52 env->SetObjectArrayElement(result, i, javaString.get()); 54 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 = Normalizer::isNormalized(src.unicodeString(), mode, status); local 48 return result;
|
H A D | libcore_icu_NativePluralRules.cpp | 53 PluralRules* result = PluralRules::forLocale(locale, status); local 55 return reinterpret_cast<uintptr_t>(result);
|
H A D | java_util_regex_Pattern.cpp | 90 RegexPattern* result = RegexPattern::compile(regexString, flags, error, status); local 94 return static_cast<jlong>(reinterpret_cast<uintptr_t>(result));
|
H A D | libcore_icu_TimeZoneNames.cpp | 58 static void TimeZoneNames_fillZoneStrings(JNIEnv* env, jclass, jstring localeName, jobjectArray result) { argument 72 size_t id_count = env->GetArrayLength(result); 75 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 | java_io_File.cpp | 48 std::string result; local 49 if (!readlink(path.c_str(), result)) { 53 return env->NewStringUTF(result.c_str()); 63 std::string result; local 64 if (!realpath(path.c_str(), result)) { 68 return env->NewStringUTF(result.c_str()); 110 dirent* result = readdir(mDirStream); local 111 if (result != NULL) { 112 return result->d_name;
|
H A D | java_lang_System.cpp | 108 jstring result = env->NewStringUTF(mappedName); local 110 return result;
|
H A D | java_lang_Character.cpp | 58 double result = u_getNumericValue(codePoint); local 59 if (result == U_NO_NUMERIC_VALUE) { 61 } else if (result < 0 || floor(result + 0.5) != result) { 64 return static_cast<jint>(result);
|
H A D | libcore_icu_AlphabeticIndex.cpp | 74 jint result = ai->getBucketCount(status); local 78 return result; 88 jint result = ai->getBucketIndex(string.unicodeString(), status); local 92 return result; 153 jint result = ii->getBucketIndex(string.unicodeString(), status); local 157 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}. 44 * The result of the computation. 46 V result; field in class:RecursiveTask 54 return result; 58 result = value; 65 result = compute();
|
H A D | AbstractExecutorService.java | 52 * 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 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 | 107 * result is retrieved via {@code Future.get()}. 176 * Future's {@code get} method will return the task's result upon 182 * {@code result = exec.submit(aCallable).get();} 200 * return the given result upon successful completion. 203 * @param result the result to return 209 <T> Future<T> submit(Runnable task, T result); argument 279 * Executes the given tasks, returning the result 287 * @return the result returned by one of the tasks 300 * 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/java/libcore/java/util/prefs/ |
H A D | OldPreferenceChangeEventTest.java | 36 result = true; 61 result = true; 91 result = true; 110 protected boolean result = false; field in class:OldPreferenceChangeEventTest.MockPreferenceChangeListener 135 return result; 153 result = false;
|
/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 | 71 String[][] result = new String[availableTimeZoneIds.length][5]; 73 result[i][0] = availableTimeZoneIds[i]; 77 fillZoneStrings(locale.toString(), result); 80 internStrings(result); 89 return result; 92 private synchronized void internStrings(String[][] result) { argument 93 for (int i = 0; i < result.length; ++i) { 95 String original = result[i][j]; 100 result[i][j] = nonDuplicate; 165 private static native void fillZoneStrings(String locale, String[][] result); argument [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Configuration.java | 304 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/crypto/src/main/java/org/conscrypt/ |
H A D | TrustedCertificateStore.java | 208 // containsAlias check ensures the later fileForAlias result 225 Set<String> result = new HashSet<String>(); 226 addAliases(result, PREFIX_USER, addedDir); 227 addAliases(result, PREFIX_SYSTEM, systemDir); 228 return result; 232 Set<String> result = new HashSet<String>(); 233 addAliases(result, PREFIX_USER, addedDir); 234 return result; 237 private void addAliases(Set<String> result, String prefix, File dir) { argument 245 result [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetDecoder.java | 50 * indicate the stop reason, and the invoker can identify the result and choose 186 CoderResult result = decode(in, out, true); 187 if (result == CoderResult.OVERFLOW) { 191 checkCoderResult(result); 194 result = flush(out); 195 if (result == CoderResult.OVERFLOW) { 198 checkCoderResult(result); 207 * checks the result whether it needs to throw CharacterCodingException. 209 private void checkCoderResult(CoderResult result) throws CharacterCodingException { argument 210 if (result [all...] |