/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 | 89 UErrorCode status = U_ZERO_ERROR; in hasKey() local 90 ures_getStringByKey(bundle_, key, NULL, &status); in hasKey() 91 return U_SUCCESS(status); in hasKey() 100 UErrorCode status = U_ZERO_ERROR; in ICU_addLikelySubtags() local 103 uloc_addLikelySubtags(localeID.c_str(), maximizedLocaleID, sizeof(maximizedLocaleID), &status); in ICU_addLikelySubtags() 104 if (U_FAILURE(status)) { in ICU_addLikelySubtags() 124 UErrorCode status = U_ZERO_ERROR; in ICU_getCurrencyFractionDigits() local 125 return ucurr_getDefaultFractionDigits(icuCurrencyCode.getTerminatedBuffer(), &status); in ICU_getCurrencyFractionDigits() 139 UErrorCode status = U_ZERO_ERROR; in ICU_getCurrencyCode() local 140 ScopedResourceBundle supplData(ures_openDirect(U_ICUDATA_CURR, "supplementalData", &status)); in ICU_getCurrencyCode() [all …]
|
D | java_util_regex_Pattern.cpp | 30 static const char* regexDetailMessage(UErrorCode status) { in regexDetailMessage() argument 35 switch (status) { in regexDetailMessage() 57 return u_errorName(status); in regexDetailMessage() 61 static void throwPatternSyntaxException(JNIEnv* env, UErrorCode status, jstring pattern, UParseErro… in throwPatternSyntaxException() argument 64 jstring message = env->NewStringUTF(regexDetailMessage(status)); in throwPatternSyntaxException() 87 UErrorCode status = U_ZERO_ERROR; in Pattern_compileImpl() local 96 icu::RegexPattern* result = icu::RegexPattern::compile(regexString, flags, error, status); in Pattern_compileImpl() 97 if (!U_SUCCESS(status)) { in Pattern_compileImpl() 98 throwPatternSyntaxException(env, status, javaRegex, error); in Pattern_compileImpl()
|
D | IcuUtilities.cpp | 31 jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, icu::Stri… in fromStringEnumeration() argument 32 if (maybeThrowIcuException(env, provider, status)) { in fromStringEnumeration() 36 int32_t count = se->count(status); in fromStringEnumeration() 37 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) { in fromStringEnumeration() 43 const icu::UnicodeString* string = se->snext(status); in fromStringEnumeration() 44 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) { in fromStringEnumeration()
|
D | libcore_icu_NativeConverter.cpp | 67 UErrorCode status = U_ZERO_ERROR; in collectStandardNames() local 68 icu::UStringEnumeration e(ucnv_openStandardNames(canonicalName, standard, &status)); in collectStandardNames() 69 if (maybeThrowIcuException(env, "ucnv_openStandardNames", status)) { in collectStandardNames() 73 int32_t count = e.count(status); in collectStandardNames() 74 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) { in collectStandardNames() 79 const icu::UnicodeString* string = e.snext(status); in collectStandardNames() 80 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) { in collectStandardNames() 124 UErrorCode status = U_ZERO_ERROR; in getJavaCanonicalName() local 128 if ((cName = ucnv_getStandardName(icuCanonicalName, "MIME", &status)) != NULL) { in getJavaCanonicalName() 130 } else if ((cName = ucnv_getStandardName(icuCanonicalName, "IANA", &status)) != NULL) { in getJavaCanonicalName() [all …]
|
D | java_util_regex_Matcher.cpp | 121 UErrorCode& status() { in status() function in MatcherState 169 UBool result = state->matcher()->find(startIndex, state->status()); in Matcher_findImpl() 197 UBool result = state->matcher()->lookingAt(state->status()); in Matcher_lookingAtImpl() 206 UBool result = state->matcher()->matches(state->status()); in Matcher_matchesImpl() 215 UErrorCode status = U_ZERO_ERROR; in Matcher_openImpl() local 216 icu::RegexMatcher* result = pattern->matcher(status); in Matcher_openImpl() 217 if (maybeThrowIcuException(env, "RegexPattern::matcher", status)) { in Matcher_openImpl() 232 state->matcher()->region(start, end, state->status()); in Matcher_setInputImpl() 249 UErrorCode status = U_ZERO_ERROR; in Matcher_getMatchedGroupIndex0() local 251 jint result = pattern->groupNumberFromName(groupName.unicodeString(), status); in Matcher_getMatchedGroupIndex0() [all …]
|
D | libcore_icu_TimeZoneNames.cpp | 70 UErrorCode status = U_ZERO_ERROR; in TimeZoneNames_fillZoneStrings() local 71 …ique_ptr<icu::TimeZoneNames> names(icu::TimeZoneNames::createInstance(icuLocale.locale(), status)); in TimeZoneNames_fillZoneStrings() 72 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) { in TimeZoneNames_fillZoneStrings() 126 UErrorCode status = U_ZERO_ERROR; in TimeZoneNames_getExemplarLocation() local 127 …ique_ptr<icu::TimeZoneNames> names(icu::TimeZoneNames::createInstance(icuLocale.locale(), status)); in TimeZoneNames_getExemplarLocation() 128 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) { in TimeZoneNames_getExemplarLocation()
|
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/support/src/test/java/tests/http/ |
D | MockResponse.java | 35 private String status = "HTTP/1.1 200 OK"; field in MockResponse 58 return status; in getStatus() 62 this.status = "HTTP/1.1 " + code + " OK"; in setResponseCode() 66 public MockResponse setStatus(String status) { in setStatus() argument 67 this.status = status; in setStatus() 145 return 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/jdk/net/ |
D | SocketFlow.java | 57 private Status status = Status.NO_STATUS; field in SocketFlow 162 public Status status() { in status() method in SocketFlow 163 return status; in status()
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 380 FieldPosition status) { in format() argument 381 return format((double)number, toAppendTo, status); in format() 391 FieldPosition status) { in format() argument 418 public Number parse(String text, ParsePosition status) { in parse() argument 420 int start = status.index; in parse() 427 status.index = start + tempString.length(); in parse() 429 if (status.index > furthest) { in parse() 430 furthest = status.index; in parse() 436 status.index = furthest; in parse() 437 if (status.index == start) { in parse() [all …]
|
/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 | 304 #define WIFEXITED(status) (((status)&0xFF) == 0) argument 308 #define WEXITSTATUS(status) (((status)>>8)&0xFF) argument 312 #define WIFSIGNALED(status) (((status)&0xFF) > 0 && ((status)&0xFF00) == 0) argument 316 #define WTERMSIG(status) ((status)&0x7F) argument 328 int status; in UNIXProcess_waitForProcessExit() local 331 while (waitpid(pid, &status, 0) < 0) { in UNIXProcess_waitForProcessExit() 339 if (WIFEXITED(status)) { in UNIXProcess_waitForProcessExit() 343 return WEXITSTATUS(status); in UNIXProcess_waitForProcessExit() 344 } else if (WIFSIGNALED(status)) { in UNIXProcess_waitForProcessExit() 353 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 | 155 UErrorCode status = U_ZERO_ERROR; in Character_getNameImpl() local 157 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status); in Character_getNameImpl() 158 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/luni/src/main/java/android/system/ |
D | OsConstants.java | 78 public static int WEXITSTATUS(int status) { return (status & 0xff00) >> 8; } in WEXITSTATUS() argument 83 public static boolean WCOREDUMP(int status) { return (status & 0x80) != 0; } in WCOREDUMP() argument 88 public static int WTERMSIG(int status) { return status & 0x7f; } in WTERMSIG() argument 93 public static int WSTOPSIG(int status) { return WEXITSTATUS(status); } in WSTOPSIG() argument 98 public static boolean WIFEXITED(int status) { return (WTERMSIG(status) == 0); } in WIFEXITED() argument 103 public static boolean WIFSTOPPED(int status) { return (WTERMSIG(status) == 0x7f); } in WIFSTOPPED() argument 108 public static boolean WIFSIGNALED(int status) { return (WTERMSIG(status + 1) >= 2); } in WIFSIGNALED() argument
|
/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/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 | 139 public void exit(int status) { in exit() argument 172 nativeExit(status); in exit() 357 public void halt(int status) { in halt() argument 358 nativeExit(status); in halt()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 1048 private SSLEngineResult.HandshakeStatus status; field in SSLEngineTest.HandshakeHandler 1061 status = engine.getHandshakeStatus(); in HandshakeHandler() 1070 log(status); in HandshakeHandler() 1077 return status; in getStatus() 1099 switch (status) { in run() 1101 log(status); in run() 1105 log(status); in run() 1110 status = engine.getHandshakeStatus(); in run() 1114 log(status); in run() 1118 while (status == HandshakeStatus.NEED_UNWRAP) { in run() [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()
|