/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ObjectTest.java | 31 int status = 0; field in ObjectTest 62 status = 0; in test_getClass() 98 status += 1; in test_notify() 100 status = -1000; in test_notify() 115 status = 0; in test_notify() 137 assertTrue("Thread woke too early. (status = " + status + ")", in test_notify() 138 status == 0); in test_notify() 144 + status + ")", status == i); in test_notify() 150 + status + ")"); in test_notify() 168 status += 1; in test_notifyAll() [all …]
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 90 UErrorCode status = U_ZERO_ERROR; in hasKey() local 91 ures_getStringByKey(bundle_, key, NULL, &status); in hasKey() 92 return U_SUCCESS(status); in hasKey() 101 UErrorCode status = U_ZERO_ERROR; in ICU_addLikelySubtags() local 104 uloc_addLikelySubtags(localeID.c_str(), maximizedLocaleID, sizeof(maximizedLocaleID), &status); in ICU_addLikelySubtags() 105 if (U_FAILURE(status)) { in ICU_addLikelySubtags() 125 UErrorCode status = U_ZERO_ERROR; in ICU_getCurrencyFractionDigits() local 126 return ucurr_getDefaultFractionDigits(icuCurrencyCode.getTerminatedBuffer(), &status); in ICU_getCurrencyFractionDigits() 140 UErrorCode status = U_ZERO_ERROR; in ICU_getCurrencyCode() local 141 ScopedResourceBundle supplData(ures_openDirect(U_ICUDATA_CURR, "supplementalData", &status)); in ICU_getCurrencyCode() [all …]
|
D | java_util_regex_Pattern.cpp | 32 static const char* regexDetailMessage(UErrorCode status) { in regexDetailMessage() argument 37 switch (status) { in regexDetailMessage() 59 return u_errorName(status); in regexDetailMessage() 63 static void throwPatternSyntaxException(JNIEnv* env, UErrorCode status, jstring pattern, UParseErro… in throwPatternSyntaxException() argument 66 jstring message = env->NewStringUTF(regexDetailMessage(status)); in throwPatternSyntaxException() 83 UErrorCode status = U_ZERO_ERROR; in Pattern_compileImpl() local 92 icu::RegexPattern* result = icu::RegexPattern::compile(regexString, flags, error, status); in Pattern_compileImpl() 93 if (!U_SUCCESS(status)) { in Pattern_compileImpl() 94 throwPatternSyntaxException(env, status, javaRegex, error); in Pattern_compileImpl()
|
D | IcuUtilities.cpp | 32 jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, icu::Stri… in fromStringEnumeration() argument 33 if (maybeThrowIcuException(env, provider, status)) { in fromStringEnumeration() 37 int32_t count = se->count(status); in fromStringEnumeration() 38 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) { in fromStringEnumeration() 44 const icu::UnicodeString* string = se->snext(status); in fromStringEnumeration() 45 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) { in fromStringEnumeration()
|
D | java_util_regex_Matcher.cpp | 120 UErrorCode& status() { in status() function in MatcherState 162 UBool result = state->matcher()->find(startIndex, state->status()); in Matcher_findImpl() 198 UBool result = state->matcher()->lookingAt(state->status()); in Matcher_lookingAtImpl() 209 UBool result = state->matcher()->matches(state->status()); in Matcher_matchesImpl() 220 UErrorCode status = U_ZERO_ERROR; in Matcher_openImpl() local 221 icu::RegexMatcher* result = pattern->matcher(status); in Matcher_openImpl() 222 if (maybeThrowIcuException(env, "RegexPattern::matcher", status)) { in Matcher_openImpl() 241 state->matcher()->region(start, end, state->status()); in Matcher_setInputImpl() 258 UErrorCode status = U_ZERO_ERROR; in Matcher_getMatchedGroupIndex0() local 260 jint result = pattern->groupNumberFromName(groupName.unicodeString(), status); in Matcher_getMatchedGroupIndex0() [all …]
|
D | libcore_icu_NativeConverter.cpp | 68 UErrorCode status = U_ZERO_ERROR; in collectStandardNames() local 69 icu::UStringEnumeration e(ucnv_openStandardNames(canonicalName, standard, &status)); in collectStandardNames() 70 if (maybeThrowIcuException(env, "ucnv_openStandardNames", status)) { in collectStandardNames() 74 int32_t count = e.count(status); in collectStandardNames() 75 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) { in collectStandardNames() 80 const icu::UnicodeString* string = e.snext(status); in collectStandardNames() 81 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) { in collectStandardNames() 125 UErrorCode status = U_ZERO_ERROR; in getJavaCanonicalName() local 129 if ((cName = ucnv_getStandardName(icuCanonicalName, "MIME", &status)) != NULL) { in getJavaCanonicalName() 131 } else if ((cName = ucnv_getStandardName(icuCanonicalName, "IANA", &status)) != NULL) { in getJavaCanonicalName() [all …]
|
D | libcore_icu_TimeZoneNames.cpp | 53 UErrorCode status = U_ZERO_ERROR; in TimeZoneNames_fillZoneStrings() local 54 …ique_ptr<icu::TimeZoneNames> names(icu::TimeZoneNames::createInstance(icuLocale.locale(), status)); in TimeZoneNames_fillZoneStrings() 55 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) { in TimeZoneNames_fillZoneStrings() 74 icu::TimeZone::getCanonicalID(zone_id.unicodeString(), lookup_id, status); in TimeZoneNames_fillZoneStrings() 75 if (status != U_ZERO_ERROR) { in TimeZoneNames_fillZoneStrings()
|
D | IcuUtilities.h | 24 extern jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, ic…
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLEngineResult.java | 154 private final Status status; field in SSLEngineResult 179 public SSLEngineResult(Status status, HandshakeStatus handshakeStatus, in SSLEngineResult() argument 182 if ((status == null) || (handshakeStatus == null) || in SSLEngineResult() 187 this.status = status; in SSLEngineResult() 199 return status; in getStatus() 235 return ("Status = " + status + in toString()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinTask.java | 247 volatile int status; // accessed directly by pool and workers field in ForkJoinTask 264 if ((s = status) < 0) in setCompletion() 283 if ((s = status) >= 0) { in doExec() 303 if ((s = status) >= 0 && // force completer to issue notify in internalWait() 306 if (status >= 0) in internalWait() 323 if (s >= 0 && (s = status) >= 0) { in externalAwaitDone() 328 if (status >= 0) { in externalAwaitDone() 339 } while ((s = status) >= 0); in externalAwaitDone() 353 if ((s = status) >= 0 && in externalInterruptibleAwaitDone() 359 while ((s = status) >= 0) { in externalInterruptibleAwaitDone() [all …]
|
D | CountedCompleter.java | 708 if (maxTasks > 0 && status >= 0) { in helpComplete() 723 (a = (s = a).completer) != null && a.status >= 0 && in internalPropagateException()
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 383 FieldPosition status) { in format() argument 384 return format((double)number, toAppendTo, status); in format() 394 FieldPosition status) { in format() argument 421 public Number parse(String text, ParsePosition status) { in parse() argument 423 int start = status.index; in parse() 430 status.index = start + tempString.length(); in parse() 432 if (status.index > furthest) { in parse() 433 furthest = status.index; in parse() 439 status.index = furthest; in parse() 440 if (status.index == start) { in parse() [all …]
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | SocketFlow.java | 58 private Status status = Status.NO_STATUS; field in SocketFlow 164 public Status status() { in status() method in SocketFlow 165 return status; in status()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | StampedLock.java | 313 volatile int status; // 0, WAITING, or CANCELLED field in StampedLock.WNode 542 if ((h = whead) != null && h.status != 0) in unlockWrite() 562 if (m == RUNIT && (h = whead) != null && h.status != 0) in unlockRead() 589 if ((h = whead) != null && h.status != 0) in unlock() 597 if (m == RUNIT && (h = whead) != null && h.status != 0) in unlock() 673 if ((h = whead) != null && h.status != 0) in tryConvertToReadLock() 711 if ((h = whead) != null && h.status != 0) in tryConvertToOptimisticRead() 719 if (m == RUNIT && (h = whead) != null && h.status != 0) in tryConvertToOptimisticRead() 741 if ((h = whead) != null && h.status != 0) in tryUnlockWrite() 760 if (m == RUNIT && (h = whead) != null && h.status != 0) in tryUnlockRead() [all …]
|
/libcore/ojluni/src/main/native/ |
D | UNIXProcess_md.c | 309 #define WIFEXITED(status) (((status)&0xFF) == 0) argument 313 #define WEXITSTATUS(status) (((status)>>8)&0xFF) argument 317 #define WIFSIGNALED(status) (((status)&0xFF) > 0 && ((status)&0xFF00) == 0) argument 321 #define WTERMSIG(status) ((status)&0x7F) argument 333 int status; in UNIXProcess_waitForProcessExit() local 336 while (waitpid(pid, &status, 0) < 0) { in UNIXProcess_waitForProcessExit() 344 if (WIFEXITED(status)) { in UNIXProcess_waitForProcessExit() 348 return WEXITSTATUS(status); in UNIXProcess_waitForProcessExit() 349 } else if (WIFSIGNALED(status)) { in UNIXProcess_waitForProcessExit() 358 return WTERMSIG(status); in UNIXProcess_waitForProcessExit() [all …]
|
D | Runtime.c | 71 Runtime_nativeExit(JNIEnv *env, jclass this, jint status) in Runtime_nativeExit() argument 73 JVM_Exit(status); in Runtime_nativeExit()
|
D | Character.cpp | 156 UErrorCode status = U_ZERO_ERROR; in Character_getNameImpl() local 158 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status); in Character_getNameImpl() 159 return (U_FAILURE(status) || byteCount == 0) ? NULL : env->NewStringUTF(buf); in Character_getNameImpl()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldObjectTest.java | 33 int status = 0; field in OldObjectTest 131 assertEquals(3, status); in test_wait() 162 status = 3; in run() 197 assertEquals(3, status); in test_waitJI() 253 assertEquals(3, status); in test_waitJ()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexFile.java | 569 private final String status; field in DexFile.OptimizationInfo 574 private OptimizationInfo(String status, String reason) { in OptimizationInfo() argument 575 this.status = status; in OptimizationInfo() 581 return status; in getStatus() 598 String[] status = getDexFileOptimizationStatus(fileName, instructionSet); in getDexFileOptimizationInfo() local 599 return new OptimizationInfo(status[0], status[1]); in getDexFileOptimizationInfo()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxFileStore.java | 125 FeatureStatus status = checkIfFeaturePresent("user_xattr"); in supportsFileAttributeView() local 126 if (status == FeatureStatus.PRESENT) in supportsFileAttributeView() 128 if (status == FeatureStatus.NOT_PRESENT) in supportsFileAttributeView()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 85 public static int WEXITSTATUS(int status) { return (status & 0xff00) >> 8; } in WEXITSTATUS() argument 90 public static boolean WCOREDUMP(int status) { return (status & 0x80) != 0; } in WCOREDUMP() argument 95 public static int WTERMSIG(int status) { return status & 0x7f; } in WTERMSIG() argument 100 public static int WSTOPSIG(int status) { return WEXITSTATUS(status); } in WSTOPSIG() argument 105 public static boolean WIFEXITED(int status) { return (WTERMSIG(status) == 0); } in WIFEXITED() argument 110 public static boolean WIFSTOPPED(int status) { return (WTERMSIG(status) == 0x7f); } in WIFSTOPPED() argument 115 public static boolean WIFSIGNALED(int status) { return (WTERMSIG(status + 1) >= 2); } in WIFSIGNALED() argument
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLEnginePair.java | 168 HandshakeStatus status = engine.getHandshakeStatus(); in handshakeCompleted() local 169 switch (status) { in handshakeCompleted() 220 throw new IllegalStateException("Unexpected HandshakeStatus = " + status); in handshakeCompleted() 222 throw new IllegalStateException("Unknown HandshakeStatus = " + status); in handshakeCompleted()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 142 public void exit(int status) { in exit() argument 175 nativeExit(status); in exit() 360 public void halt(int status) { in halt() argument 361 nativeExit(status); in halt()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 1092 private SSLEngineResult.HandshakeStatus status; 1105 status = engine.getHandshakeStatus(); 1114 log(status); 1121 return status; 1143 switch (status) { 1145 log(status); 1149 log(status); 1154 status = engine.getHandshakeStatus(); 1158 log(status); 1162 while (status == HandshakeStatus.NEED_UNWRAP) { [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest1Test.java | 175 final int status = 33; in test_digestLB$LILI() local 182 return status; in test_digestLB$LILI() 185 assertEquals("returned status", status, md.digest(bytes, offset, len)); in test_digestLB$LILI()
|