/libcore/ojluni/src/main/java/javax/net/ssl/ |
H A D | SSLEngineResult.java | 154 private final Status status; field in class:SSLEngineResult 162 * @param status 166 * the current handshaking status. 175 * if the <code>status</code> or <code>handshakeStatus</code> 179 public SSLEngineResult(Status status, HandshakeStatus handshakeStatus, argument 182 if ((status == null) || (handshakeStatus == null) || 187 this.status = status; 199 return status; 203 * Gets the handshake status o [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | ObjectTest.java | 31 int status = 0; field in class:ObjectTest 62 status = 0; 98 status += 1; 100 status = -1000; 115 status = 0; 137 assertTrue("Thread woke too early. (status = " + status + ")", 138 status == 0); 144 + status + ")", status [all...] |
/libcore/luni/src/main/native/ |
H A D | java_util_regex_Pattern.cpp | 30 static const char* regexDetailMessage(UErrorCode status) { argument 35 switch (status) { 57 return u_errorName(status); 61 static void throwPatternSyntaxException(JNIEnv* env, UErrorCode status, jstring pattern, UParseError error) { argument 64 jstring message = env->NewStringUTF(regexDetailMessage(status)); 87 UErrorCode status = U_ZERO_ERROR; local 96 icu::RegexPattern* result = icu::RegexPattern::compile(regexString, flags, error, status); 97 if (!U_SUCCESS(status)) { 98 throwPatternSyntaxException(env, status, javaRegex, error);
|
H A D | IcuUtilities.h | 24 extern jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, icu::StringEnumeration*);
|
H A D | IcuUtilities.cpp | 30 jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, icu::StringEnumeration* se) { argument 31 if (maybeThrowIcuException(env, provider, status)) { 35 int32_t count = se->count(status); 36 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) { 42 const icu::UnicodeString* string = se->snext(status); 43 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) {
|
H A D | libcore_icu_ICU.cpp | 84 UErrorCode status = U_ZERO_ERROR; local 85 ures_getStringByKey(bundle_, key, NULL, &status); 86 return U_SUCCESS(status); 95 UErrorCode status = U_ZERO_ERROR; local 98 uloc_addLikelySubtags(localeID.c_str(), maximizedLocaleID, sizeof(maximizedLocaleID), &status); 99 if (U_FAILURE(status)) { 119 UErrorCode status = U_ZERO_ERROR; local 120 return ucurr_getDefaultFractionDigits(icuCurrencyCode.getTerminatedBuffer(), &status); 134 UErrorCode status = U_ZERO_ERROR; local 135 ScopedResourceBundle supplData(ures_openDirect(U_ICUDATA_CURR, "supplementalData", &status)); 185 UErrorCode status = U_ZERO_ERROR; local 358 UErrorCode status = U_ZERO_ERROR; local 382 UErrorCode status = U_ZERO_ERROR; local 399 UErrorCode status = U_ZERO_ERROR; local 419 LocaleNameIterator(const char* locale_name, UErrorCode& status) argument 450 UErrorCode status = U_ZERO_ERROR; local 473 UErrorCode status = U_ZERO_ERROR; local 502 UErrorCode status = U_ZERO_ERROR; local 550 UErrorCode status = U_ZERO_ERROR; local 717 UErrorCode status = U_ZERO_ERROR; local 736 UErrorCode status = U_ZERO_ERROR; local 745 UErrorCode status = U_ZERO_ERROR; local 756 UErrorCode status = U_ZERO_ERROR; local 780 UErrorCode status = U_ZERO_ERROR; local 856 UErrorCode status = U_ZERO_ERROR; local 874 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | libcore_icu_NativeConverter.cpp | 66 UErrorCode status = U_ZERO_ERROR; local 67 icu::UStringEnumeration e(ucnv_openStandardNames(canonicalName, standard, &status)); 68 if (maybeThrowIcuException(env, "ucnv_openStandardNames", status)) { 72 int32_t count = e.count(status); 73 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) { 78 const icu::UnicodeString* string = e.snext(status); 79 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) { 123 UErrorCode status = U_ZERO_ERROR; local 127 if ((cName = ucnv_getStandardName(icuCanonicalName, "MIME", &status)) != NULL) { 129 } else if ((cName = ucnv_getStandardName(icuCanonicalName, "IANA", &status)) ! 164 UErrorCode status = U_ZERO_ERROR; local 343 CHARSET_ENCODER_CALLBACK(const void* rawContext, UConverterFromUnicodeArgs* args, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* status) argument 447 CHARSET_DECODER_CALLBACK(const void* rawContext, UConverterToUnicodeArgs* args, const char* codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode* status) argument 514 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | libcore_icu_TimeZoneNames.cpp | 70 UErrorCode status = U_ZERO_ERROR; local 71 std::unique_ptr<icu::TimeZoneNames> names(icu::TimeZoneNames::createInstance(icuLocale.locale(), status)); 72 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) { 126 UErrorCode status = U_ZERO_ERROR; local 127 std::unique_ptr<icu::TimeZoneNames> names(icu::TimeZoneNames::createInstance(icuLocale.locale(), status)); 128 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) {
|
H A D | java_util_regex_Matcher.cpp | 81 UErrorCode& status() { function in class:MatcherAccessor 135 UBool result = matcher->find(startIndex, matcher.status()); 144 if (matcher.status() != U_ZERO_ERROR) { 166 UBool result = matcher->lookingAt(matcher.status()); 175 UBool result = matcher->matches(matcher.status()); 184 UErrorCode status = U_ZERO_ERROR; local 185 icu::RegexMatcher* result = pattern->matcher(status); 186 maybeThrowIcuException(env, "RegexPattern::matcher", status); 197 matcher->region(start, end, matcher.status());
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Shutdown.java | 140 static void halt(int status) { argument 142 halt0(status); 146 static native void halt0(int status); argument 182 * which should pass a nonzero status code. 184 static void exit(int status) { argument 187 if (status != 0) runFinalizersOnExit = false; 195 if (status != 0) { 196 /* Halt immediately on nonzero status */ 197 halt(status); 209 halt(status); [all...] |
H A D | Runtime.java | 101 * serves as a status code; by convention, a nonzero status code indicates 116 * with the given status code if the status is nonzero; otherwise, it 122 * @param status 123 * Termination status. By convention, a nonzero status code 129 * exiting with the specified status 138 public void exit(int status) { argument 171 nativeExit(status); 356 halt(int status) argument [all...] |
H A D | SecurityManager.java | 131 public void checkExit(int status) { } argument
|
/libcore/support/src/test/java/tests/http/ |
H A D | MockResponse.java | 35 private String status = "HTTP/1.1 200 OK"; field in class:MockResponse 58 return status; 62 this.status = "HTTP/1.1 " + code + " OK"; 66 public MockResponse setStatus(String status) { argument 67 this.status = status; 145 return status;
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | ChoiceFormat.java | 92 * ParsePosition status = new ParsePosition(0); 94 * status.setIndex(0); 96 * + form.parse(form.format(i),status)); 371 FieldPosition status) { 372 return format((double)number, toAppendTo, status); 379 * @param status ignore no useful status is returned. 382 FieldPosition status) { 400 * @param status an input-output parameter. On input, the 401 * status 370 format(long number, StringBuffer toAppendTo, FieldPosition status) argument 381 format(double number, StringBuffer toAppendTo, FieldPosition status) argument 409 parse(String text, ParsePosition status) argument [all...] |
/libcore/ojluni/src/main/native/ |
H A D | Runtime.c | 72 Runtime_nativeExit(JNIEnv *env, jclass this, jint status) argument 74 JVM_Exit(status);
|
H A D | UNIXProcess_md.c | 304 #define WIFEXITED(status) (((status)&0xFF) == 0) 308 #define WEXITSTATUS(status) (((status)>>8)&0xFF) 312 #define WIFSIGNALED(status) (((status)&0xFF) > 0 && ((status)&0xFF00) == 0) 316 #define WTERMSIG(status) ((status)&0x7F) 328 int status; local [all...] |
H A D | Character.cpp | 157 UErrorCode status = U_ZERO_ERROR; local 159 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status); 160 return (U_FAILURE(status) || byteCount == 0) ? NULL : env->NewStringUTF(buf);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldObjectTest.java | 33 int status = 0; field in class:OldObjectTest 131 assertEquals(3, status); 162 status = 3; 197 assertEquals(3, status); 253 assertEquals(3, status);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ForkJoinTask.java | 104 * <p>The execution status of tasks may be queried at several levels 184 * responsible for maintaining their "status" field amidst relays 188 * (1) basic status maintenance 196 * The status field holds run control status bits packed into a 199 * values until completed, upon which status (anded with 213 * bits) of status field. The lower bits are used for user-defined 217 /** The run status of this task */ 218 volatile int status; // accessed directly by pool and workers field in class:ForkJoinTask 231 * @return completion status o [all...] |
H A D | CountedCompleter.java | 66 * status (as reported in methods such as {@link ForkJoinTask#isDone}) 67 * is arbitrary; this status changes only upon explicit invocations of 679 if (maxTasks > 0 && status >= 0) { 694 (a = (s = a).completer) != null && a.status >= 0 &&
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
H A D | StampedLock.java | 270 // Values for node status; order matters 284 volatile int status; // 0, WAITING, or CANCELLED field in class:StampedLock.WNode 513 if ((h = whead) != null && h.status != 0) 533 if (m == RUNIT && (h = whead) != null && h.status != 0) 560 if ((h = whead) != null && h.status != 0) 568 if (m == RUNIT && (h = whead) != null && h.status != 0) 644 if ((h = whead) != null && h.status != 0) 682 if ((h = whead) != null && h.status != 0) 690 if (m == RUNIT && (h = whead) != null && h.status != 0) 712 if ((h = whead) != null && h.status ! [all...] |
/libcore/luni/src/main/java/android/system/ |
H A D | OsConstants.java | 62 * Extracts the exit status of a child. Only valid if WIFEXITED returns true. 64 public static int WEXITSTATUS(int status) { return (status & 0xff00) >> 8; } argument 69 public static boolean WCOREDUMP(int status) { return (status & 0x80) != 0; } argument 74 public static int WTERMSIG(int status) { return status & 0x7f; } argument 79 public static int WSTOPSIG(int status) { return WEXITSTATUS(status); } argument 84 public static boolean WIFEXITED(int status) { retur argument 89 WIFSTOPPED(int status) argument 94 WIFSIGNALED(int status) argument [all...] |
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLEnginePair.java | 168 HandshakeStatus status = engine.getHandshakeStatus(); 169 switch (status) { 219 // only returned by wrap/unrap status, not getHandshakeStatus 220 throw new IllegalStateException("Unexpected HandshakeStatus = " + status); 222 throw new IllegalStateException("Unknown HandshakeStatus = " + status);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | SSLEngineTest.java | 1040 private SSLEngineResult.HandshakeStatus status; field in class:SSLEngineTest.HandshakeHandler 1053 status = engine.getHandshakeStatus(); 1062 log(status); 1069 return status; 1091 switch (status) { 1093 log(status); 1097 log(status); 1102 status = engine.getHandshakeStatus(); 1106 log(status); 1110 while (status [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | MessageDigest1Test.java | 175 final int status = 33; 182 return status; 185 assertEquals("returned status", status, md.digest(bytes, offset, len));
|