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

12

/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
H A DPKIStatus.java72 private final int status; field in class:PKIStatus
73 PKIStatus(int status) { argument
74 this.status = status;
78 * @return int value of the status
81 return status;
84 public static PKIStatus getInstance(int status) { argument
86 if (status == curStatus.status) {
H A DTimeStampResp.java32 * status PKIStatusInfo,
39 private final PKIStatusInfo status; field in class:TimeStampResp
43 public TimeStampResp(PKIStatusInfo status, ContentInfo timeStampToken) { argument
44 this.status = status;
52 res.append(status);
60 * @return Returns the status.
63 return status;
74 PKIStatusInfo.ASN1, // status
91 values[0] = resp.status;
[all...]
H A DPKIStatusInfo.java39 * status PKIStatus,
47 private final PKIStatus status; field in class:PKIStatusInfo
55 this.status = pKIStatus;
64 res.append(status);
84 return status;
95 ASN1Integer.getInstance(), // status
105 values[0] = BigInteger.valueOf(psi.status.getStatus())
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLEngineResult.java82 private final SSLEngineResult.Status status; field in class:SSLEngineResult
97 * @param status
100 * the status of the current handshake
106 * if {@code status} or {@code handshakeStatus} is {@code null},
110 public SSLEngineResult(SSLEngineResult.Status status, argument
112 if (status == null) {
113 throw new IllegalArgumentException("status == null");
124 this.status = status;
136 return status;
[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 Dlibcore_icu_AlphabeticIndex.cpp33 UErrorCode status = U_ZERO_ERROR; local
38 icu::AlphabeticIndex* ai = new icu::AlphabeticIndex(icuLocale.locale(), status);
39 if (maybeThrowIcuException(env, "AlphabeticIndex", status)) {
56 UErrorCode status = U_ZERO_ERROR; local
57 ai->setMaxLabelCount(count, status);
58 maybeThrowIcuException(env, "AlphabeticIndex::setMaxLabelCount", status);
67 UErrorCode status = U_ZERO_ERROR; local
68 ai->addLabels(icuLocale.locale(), status);
69 maybeThrowIcuException(env, "AlphabeticIndex::addLabels", status);
75 UErrorCode status local
76 ai->addLabels(icu::UnicodeSet(codePointStart, codePointEnd), status); local
82 UErrorCode status = U_ZERO_ERROR; local
96 UErrorCode status = U_ZERO_ERROR; local
112 UErrorCode status = U_ZERO_ERROR; local
138 UErrorCode status = U_ZERO_ERROR; local
161 UErrorCode status = U_ZERO_ERROR; local
[all...]
H A Djava_util_regex_Pattern.cpp34 static const char* regexDetailMessage(UErrorCode status) { argument
39 switch (status) {
61 return u_errorName(status);
65 static void throwPatternSyntaxException(JNIEnv* env, UErrorCode status, jstring pattern, UParseError error) { argument
68 jstring message = env->NewStringUTF(regexDetailMessage(status));
81 UErrorCode status = U_ZERO_ERROR; local
90 icu::RegexPattern* result = icu::RegexPattern::compile(regexString, flags, error, status);
91 if (!U_SUCCESS(status)) {
92 throwPatternSyntaxException(env, status, javaRegex, error);
H A Dlibcore_icu_NativeCollation.cpp50 UErrorCode status = U_ZERO_ERROR; local
54 mElements = ucol_openElements(collator, mChars, size, &status);
56 ucol_setText(mElements, mChars, size, &status);
59 return status;
115 UErrorCode status = U_ZERO_ERROR; local
116 jint result = ucol_getAttribute(toCollator(address), (UColAttribute) type, &status);
117 maybeThrowIcuException(env, "ucol_getAttribute", status);
128 UErrorCode status = ce->start(env, javaSource, toCollator(address)); local
129 maybeThrowIcuException(env, "ucol_openElements", status);
130 if (status
177 UErrorCode status = U_ZERO_ERROR; local
189 UErrorCode status = U_ZERO_ERROR; local
200 UErrorCode status = U_ZERO_ERROR; local
208 UErrorCode status = U_ZERO_ERROR; local
219 UErrorCode status = U_ZERO_ERROR; local
226 UErrorCode status = U_ZERO_ERROR; local
227 ucol_setAttribute(toCollator(address), (UColAttribute)type, (UColAttributeValue)value, &status); local
232 UErrorCode status = U_ZERO_ERROR; local
242 UErrorCode status = toCollationElements(address)->start(env, javaSource, NULL); local
[all...]
H A DIcuUtilities.h24 extern jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, icu::StringEnumeration*);
H A DIcuUtilities.cpp30 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 Dlibcore_icu_NativeNormalizer.cpp32 UErrorCode status = U_ZERO_ERROR; local
34 icu::Normalizer::normalize(src.unicodeString(), mode, 0, dst, status);
35 maybeThrowIcuException(env, "Normalizer::normalize", status);
45 UErrorCode status = U_ZERO_ERROR; local
46 UBool result = icu::Normalizer::isNormalized(src.unicodeString(), mode, status);
47 maybeThrowIcuException(env, "Normalizer::isNormalized", status);
H A Dlibcore_icu_Transliterator.cpp35 UErrorCode status = U_ZERO_ERROR; local
36 icu::Transliterator* t = icu::Transliterator::createInstance(id.unicodeString(), UTRANS_FORWARD, status);
37 if (maybeThrowIcuException(env, "Transliterator::createInstance", status)) {
48 UErrorCode status = U_ZERO_ERROR; local
49 icu::StringEnumeration* e = icu::Transliterator::getAvailableIDs(status);
50 return fromStringEnumeration(env, status, "Transliterator::getAvailableIDs", e);
H A Dlibcore_icu_ICU.cpp84 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
356 UErrorCode status = U_ZERO_ERROR; local
380 UErrorCode status = U_ZERO_ERROR; local
397 UErrorCode status = U_ZERO_ERROR; local
417 LocaleNameIterator(const char* locale_name, UErrorCode& status) argument
448 UErrorCode status = U_ZERO_ERROR; local
471 UErrorCode status = U_ZERO_ERROR; local
500 UErrorCode status = U_ZERO_ERROR; local
548 UErrorCode status = U_ZERO_ERROR; local
712 UErrorCode status = U_ZERO_ERROR; local
731 UErrorCode status = U_ZERO_ERROR; local
740 UErrorCode status = U_ZERO_ERROR; local
751 UErrorCode status = U_ZERO_ERROR; local
775 UErrorCode status = U_ZERO_ERROR; local
851 UErrorCode status = U_ZERO_ERROR; local
869 UErrorCode status = U_ZERO_ERROR; local
[all...]
H A Dlibcore_icu_NativeIDN.cpp41 UErrorCode status = U_ZERO_ERROR; local
50 ? uidna_IDNToASCII(src.get(), src.size(), &dst[0], sizeof(dst), flags, NULL, &status)
51 : uidna_IDNToUnicode(src.get(), src.size(), &dst[0], sizeof(dst), flags, NULL, &status);
54 if (U_FAILURE(status)) {
55 jniThrowException(env, "java/lang/IllegalArgumentException", u_errorName(status));
H A Djava_text_Bidi.cpp96 UErrorCode status = U_ZERO_ERROR; local
97 UBiDi* sized = ubidi_openSized(limit - start, 0, &status);
98 if (maybeThrowIcuException(env, "ubidi_openSized", status)) {
102 ubidi_setLine(uBiDi(ptr), start, limit, lineData->uBiDi(), &status); local
103 maybeThrowIcuException(env, "ubidi_setLine", status);
120 UErrorCode status = U_ZERO_ERROR; local
121 const UBiDiLevel* levels = ubidi_getLevels(uBiDi(ptr), &status);
122 if (maybeThrowIcuException(env, "ubidi_getLevels", status)) {
132 UErrorCode status = U_ZERO_ERROR; local
133 int count = ubidi_countRuns(uBiDi(ptr), &status);
143 UErrorCode status = U_ZERO_ERROR; local
[all...]
H A Dlibcore_icu_NativePluralRules.cpp52 UErrorCode status = U_ZERO_ERROR; local
53 icu::PluralRules* result = icu::PluralRules::forLocale(locale, status);
54 maybeThrowIcuException(env, "PluralRules::forLocale", status);
H A Dlibcore_icu_NativeConverter.cpp66 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 Dlibcore_icu_NativeDecimalFormat.cpp65 UErrorCode status = U_ZERO_ERROR; local
66 std::unique_ptr<icu::DecimalFormatSymbols> result(icu::DecimalFormatSymbols::createWithLastResortData(status));
67 if (maybeThrowIcuException(env, "DecimalFormatSymbols::createWithLastResortData", status)) {
120 UErrorCode status = U_ZERO_ERROR; local
131 icu::DecimalFormat* fmt = new icu::DecimalFormat(pattern.unicodeString(), symbols, parseError, status);
135 maybeThrowIcuException(env, "DecimalFormat::DecimalFormat", status);
154 UErrorCode status = U_ZERO_ERROR; local
156 unum_setSymbol(toUNumberFormat(addr), symbol, value.get(), value.size(), &status); local
157 maybeThrowIcuException(env, "unum_setSymbol", status);
175 UErrorCode status local
177 unum_setTextAttribute(toUNumberFormat(addr), attr, value.get(), value.size(), &status); local
182 UErrorCode status = U_ZERO_ERROR; local
206 UErrorCode status = U_ZERO_ERROR; local
265 UErrorCode status = U_ZERO_ERROR; local
339 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)) {
H A Djava_util_regex_Matcher.cpp81 UErrorCode& status() { function in class:MatcherAccessor
125 UBool result = matcher->find(startIndex, matcher.status());
134 if (matcher.status() != U_ZERO_ERROR) {
156 UBool result = matcher->lookingAt(matcher.status());
165 UBool result = matcher->matches(matcher.status());
174 UErrorCode status = U_ZERO_ERROR; local
175 icu::RegexMatcher* result = pattern->matcher(status);
176 maybeThrowIcuException(env, "RegexPattern::matcher", status);
187 matcher->region(start, end, matcher.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/luni/src/main/java/java/nio/
H A DSocketChannelImpl.java83 private int status = SOCKET_STATUS_UNINITIALIZED; field in class:SocketChannelImpl
104 status = SOCKET_STATUS_UNCONNECTED;
113 status = SOCKET_STATUS_CONNECTED;
166 return status == SOCKET_STATUS_CONNECTED;
171 return status == SOCKET_STATUS_PENDING;
176 // status must be open and unconnected
227 return status == SOCKET_STATUS_CONNECTED;
237 void onConnectStatusChanged(InetSocketAddress address, int status, boolean updateSocketState) { argument
238 this.status = status;
[all...]
/libcore/luni/src/main/java/java/lang/
H A DProcessManager.java82 MutableInt status = new MutableInt(-1);
86 int pid = Libcore.os.waitpid(0, status, 0);
90 if (WIFEXITED(status.value)) {
91 exitValue = WEXITSTATUS(status.value);
92 } else if (WIFSIGNALED(status.value)) {
93 exitValue = WTERMSIG(status.value);
94 } else if (WIFSTOPPED(status.value)) {
95 exitValue = WSTOPSIG(status.value);
97 throw new AssertionError("unexpected status from waitpid: " + status
[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/luni/src/main/java/java/util/concurrent/
H A DForkJoinTask.java99 * <p>The execution status of tasks may be queried at several levels
179 * responsible for maintaining their "status" field amidst relays
183 * (1) basic status maintenance
191 * The status field holds run control status bits packed into a
194 * values until completed, upon which status (anded with
208 * bits) of status field. The lower bits are used for user-defined
212 /** The run status of this task */
213 volatile int status; // accessed directly by pool and workers field in class:ForkJoinTask
226 * @return completion status o
[all...]

Completed in 341 milliseconds

12