Searched refs:status (Results 1 - 25 of 42) sorted by relevance

12

/libcore/ojluni/src/main/java/javax/net/ssl/
H A DSSLEngineResult.java154 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 DObjectTest.java31 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 Djava_util_regex_Pattern.cpp30 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 DIcuUtilities.h24 extern jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, icu::StringEnumeration*);
H A DIcuUtilities.cpp31 jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, icu::StringEnumeration* se) { argument
32 if (maybeThrowIcuException(env, provider, status)) {
36 int32_t count = se->count(status);
37 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) {
43 const icu::UnicodeString* string = se->snext(status);
44 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) {
H A Dlibcore_icu_ICU.cpp89 UErrorCode status = U_ZERO_ERROR; local
90 ures_getStringByKey(bundle_, key, NULL, &status);
91 return U_SUCCESS(status);
100 UErrorCode status = U_ZERO_ERROR; local
103 uloc_addLikelySubtags(localeID.c_str(), maximizedLocaleID, sizeof(maximizedLocaleID), &status);
104 if (U_FAILURE(status)) {
124 UErrorCode status = U_ZERO_ERROR; local
125 return ucurr_getDefaultFractionDigits(icuCurrencyCode.getTerminatedBuffer(), &status);
139 UErrorCode status = U_ZERO_ERROR; local
140 ScopedResourceBundle supplData(ures_openDirect(U_ICUDATA_CURR, "supplementalData", &status));
190 UErrorCode status = U_ZERO_ERROR; local
363 UErrorCode status = U_ZERO_ERROR; local
402 UErrorCode status = U_ZERO_ERROR; local
419 UErrorCode status = U_ZERO_ERROR; local
439 LocaleNameIterator(const char* locale_name, UErrorCode& status) argument
470 UErrorCode status = U_ZERO_ERROR; local
493 UErrorCode status = U_ZERO_ERROR; local
522 UErrorCode status = U_ZERO_ERROR; local
570 UErrorCode status = U_ZERO_ERROR; local
737 UErrorCode status = U_ZERO_ERROR; local
756 UErrorCode status = U_ZERO_ERROR; local
765 UErrorCode status = U_ZERO_ERROR; local
776 UErrorCode status = U_ZERO_ERROR; local
800 UErrorCode status = U_ZERO_ERROR; local
915 UErrorCode status = U_ZERO_ERROR; local
948 UErrorCode status = U_ZERO_ERROR; local
[all...]
H A Djava_util_regex_Matcher.cpp121 UErrorCode& status() { function in class:MatcherState
169 UBool result = state->matcher()->find(startIndex, state->status());
197 UBool result = state->matcher()->lookingAt(state->status());
206 UBool result = state->matcher()->matches(state->status());
215 UErrorCode status = U_ZERO_ERROR; local
216 icu::RegexMatcher* result = pattern->matcher(status);
217 if (maybeThrowIcuException(env, "RegexPattern::matcher", status)) {
232 state->matcher()->region(start, end, state->status());
249 UErrorCode status = U_ZERO_ERROR; local
251 jint result = pattern->groupNumberFromName(groupName.unicodeString(), status);
[all...]
H A Dlibcore_icu_NativeConverter.cpp67 UErrorCode status = U_ZERO_ERROR; local
68 icu::UStringEnumeration e(ucnv_openStandardNames(canonicalName, standard, &status));
69 if (maybeThrowIcuException(env, "ucnv_openStandardNames", status)) {
73 int32_t count = e.count(status);
74 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) {
79 const icu::UnicodeString* string = e.snext(status);
80 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) {
124 UErrorCode status = U_ZERO_ERROR; local
128 if ((cName = ucnv_getStandardName(icuCanonicalName, "MIME", &status)) != NULL) {
130 } else if ((cName = ucnv_getStandardName(icuCanonicalName, "IANA", &status)) !
165 UErrorCode status = U_ZERO_ERROR; local
344 CHARSET_ENCODER_CALLBACK(const void* rawContext, UConverterFromUnicodeArgs* args, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* status) argument
448 CHARSET_DECODER_CALLBACK(const void* rawContext, UConverterToUnicodeArgs* args, const char* codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode* status) argument
515 UErrorCode status = U_ZERO_ERROR; local
[all...]
H A Dlibcore_icu_TimeZoneNames.cpp70 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)) {
/libcore/ojluni/src/main/java/jdk/net/
H A DSocketFlow.java39 * {@code getOption()} then the status may be returned as {@code INPROGRESS}
41 * the status is returned as OK.
57 private Status status = Status.NO_STATUS; field in class:SocketFlow
152 * @return this SocketFlow's bandwidth, or {@code -1} if status is not OK.
162 public Status status() { method in class:SocketFlow
163 return status;
/libcore/support/src/test/java/tests/http/
H A DMockResponse.java35 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 DChoiceFormat.java92 * ParsePosition status = new ParsePosition(0);
94 * status.setIndex(0);
96 * + form.parse(form.format(i),status));
380 FieldPosition status) {
381 return format((double)number, toAppendTo, status);
388 * @param status ignore no useful status is returned.
391 FieldPosition status) {
409 * @param status an input-output parameter. On input, the
410 * status
379 format(long number, StringBuffer toAppendTo, FieldPosition status) argument
390 format(double number, StringBuffer toAppendTo, FieldPosition status) argument
418 parse(String text, ParsePosition status) argument
[all...]
/libcore/ojluni/src/main/native/
H A DRuntime.c71 Runtime_nativeExit(JNIEnv *env, jclass this, jint status) argument
73 JVM_Exit(status);
H A DUNIXProcess_md.c304 #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...]
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldObjectTest.java33 int status = 0; field in class:OldObjectTest
131 assertEquals(3, status);
162 status = 3;
197 assertEquals(3, status);
253 assertEquals(3, status);
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DForkJoinTask.java133 * <p>The execution status of tasks may be queried at several levels
213 * responsible for maintaining their "status" field amidst relays
217 * (1) basic status maintenance
225 * The status field holds run control status bits packed into a
228 * values until completed, upon which status (anded with
242 * bits) of status field. The lower bits are used for user-defined
246 /** The run status of this task */
247 volatile int status; // accessed directly by pool and workers field in class:ForkJoinTask
260 * @return completion status o
[all...]
H A DCountedCompleter.java95 * status (as reported in methods such as {@link ForkJoinTask#isDone})
96 * is arbitrary; this status changes only upon explicit invocations of
708 if (maxTasks > 0 && status >= 0) {
723 (a = (s = a).completer) != null && a.status >= 0 &&
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
H A DStampedLock.java299 // Values for node status; order matters
313 volatile int status; // 0, WAITING, or CANCELLED field in class:StampedLock.WNode
542 if ((h = whead) != null && h.status != 0)
562 if (m == RUNIT && (h = whead) != null && h.status != 0)
589 if ((h = whead) != null && h.status != 0)
597 if (m == RUNIT && (h = whead) != null && h.status != 0)
673 if ((h = whead) != null && h.status != 0)
711 if ((h = whead) != null && h.status != 0)
719 if (m == RUNIT && (h = whead) != null && h.status != 0)
741 if ((h = whead) != null && h.status !
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DLinuxFileStore.java125 FeatureStatus status = checkIfFeaturePresent("user_xattr");
126 if (status == FeatureStatus.PRESENT)
128 if (status == FeatureStatus.NOT_PRESENT)
/libcore/luni/src/main/java/android/system/
H A DOsConstants.java76 * Extracts the exit status of a child. Only valid if WIFEXITED returns true.
78 public static int WEXITSTATUS(int status) { return (status & 0xff00) >> 8; } argument
83 public static boolean WCOREDUMP(int status) { return (status & 0x80) != 0; } argument
88 public static int WTERMSIG(int status) { return status & 0x7f; } argument
93 public static int WSTOPSIG(int status) { return WEXITSTATUS(status); } argument
98 public static boolean WIFEXITED(int status) { retur argument
103 WIFSTOPPED(int status) argument
108 WIFSIGNALED(int status) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DRuntime.java102 * serves as a status code; by convention, a nonzero status code indicates
117 * with the given status code if the status is nonzero; otherwise, it
123 * @param status
124 * Termination status. By convention, a nonzero status code
130 * exiting with the specified status
139 public void exit(int status) { argument
172 nativeExit(status);
357 halt(int status) argument
[all...]
H A DSecurityManager.java131 public void checkExit(int status) { } argument
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestSSLEnginePair.java168 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 DSSLEngineTest.java1048 private SSLEngineResult.HandshakeStatus status; field in class:SSLEngineTest.HandshakeHandler
1061 status = engine.getHandshakeStatus();
1070 log(status);
1077 return status;
1099 switch (status) {
1101 log(status);
1105 log(status);
1110 status = engine.getHandshakeStatus();
1114 log(status);
1118 while (status
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DMessageDigest1Test.java175 final int status = 33;
182 return status;
185 assertEquals("returned status", status, md.digest(bytes, offset, len));

Completed in 547 milliseconds

12