Searched defs:status (Results 1 - 25 of 37) 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 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())
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...]
/libcore/luni/src/main/native/
H A DIcuUtilities.cpp41 UErrorCode status = U_ZERO_ERROR; local
42 int32_t count = se->count(status);
43 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) {
49 const UnicodeString* string = se->snext(status);
50 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) {
H A Dlibcore_icu_NativeIDN.cpp41 UErrorCode status = U_ZERO_ERROR; local
43 ? uidna_IDNToASCII(src.get(), src.size(), &dst[0], sizeof(dst), flags, NULL, &status)
44 : uidna_IDNToUnicode(src.get(), src.size(), &dst[0], sizeof(dst), flags, NULL, &status);
45 if (U_FAILURE(status)) {
46 jniThrowException(env, "java/lang/IllegalArgumentException", u_errorName(status));
H A Dlibcore_icu_NativeNormalizer.cpp32 UErrorCode status = U_ZERO_ERROR; local
34 Normalizer::normalize(src.unicodeString(), mode, 0, dst, status);
35 maybeThrowIcuException(env, "Normalizer::normalize", status);
45 UErrorCode status = U_ZERO_ERROR; local
46 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, status);
47 maybeThrowIcuException(env, "Normalizer::isNormalized", status);
H A Dlibcore_icu_NativePluralRules.cpp52 UErrorCode status = U_ZERO_ERROR; local
53 PluralRules* result = PluralRules::forLocale(locale, status);
54 maybeThrowIcuException(env, "PluralRules::forLocale", status);
H A Dlibcore_icu_Transliterator.cpp36 UErrorCode status = U_ZERO_ERROR; local
37 Transliterator* t = Transliterator::createInstance(id.unicodeString(), UTRANS_FORWARD, status);
38 if (maybeThrowIcuException(env, "Transliterator::createInstance", status)) {
49 UErrorCode status = U_ZERO_ERROR; local
50 return fromStringEnumeration(env, Transliterator::getAvailableIDs(status));
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 RegexPattern* result = RegexPattern::compile(regexString, flags, error, status);
91 if (!U_SUCCESS(status)) {
92 throwPatternSyntaxException(env, status, javaRegex, error);
H A Dlibcore_icu_TimeZoneNames.cpp61 UErrorCode status = U_ZERO_ERROR; local
62 UniquePtr<TimeZoneNames> names(TimeZoneNames::createInstance(locale, status));
63 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) {
H A Djava_lang_Character.cpp50 UErrorCode status = U_ZERO_ERROR; local
52 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status);
53 return (U_FAILURE(status) || byteCount == 0) ? NULL : env->NewStringUTF(buf);
H A Dlibcore_icu_AlphabeticIndex.cpp33 UErrorCode status = U_ZERO_ERROR; local
34 AlphabeticIndex* ai = new AlphabeticIndex(getLocale(env, javaLocale), status);
35 if (maybeThrowIcuException(env, "AlphabeticIndex", status)) {
52 UErrorCode status = U_ZERO_ERROR; local
53 ai->setMaxLabelCount(count, status);
54 maybeThrowIcuException(env, "AlphabeticIndex::setMaxLabelCount", status);
59 UErrorCode status = U_ZERO_ERROR; local
60 ai->addLabels(getLocale(env, javaLocale), status); local
61 maybeThrowIcuException(env, "AlphabeticIndex::addLabels", status);
67 UErrorCode status local
68 ai->addLabels(UnicodeSet(codePointStart, codePointEnd), status); local
74 UErrorCode status = U_ZERO_ERROR; local
88 UErrorCode status = U_ZERO_ERROR; local
104 UErrorCode status = U_ZERO_ERROR; local
130 UErrorCode status = U_ZERO_ERROR; local
153 UErrorCode status = U_ZERO_ERROR; local
[all...]
H A Dlibcore_icu_NativeBreakIterator.cpp83 UErrorCode& status() { function in class:BreakIteratorAccessor
110 UErrorCode status = U_ZERO_ERROR; \
116 BreakIterator* it = F(locale, status); \
117 if (maybeThrowIcuException(env, "ubrk_open", 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 Djava_util_regex_Matcher.cpp82 UErrorCode& status() { function in class:MatcherAccessor
126 UBool result = matcher->find(startIndex, matcher.status());
135 if (matcher.status() != U_ZERO_ERROR) {
157 UBool result = matcher->lookingAt(matcher.status());
166 UBool result = matcher->matches(matcher.status());
175 UErrorCode status = U_ZERO_ERROR; local
176 RegexMatcher* result = pattern->matcher(status);
177 maybeThrowIcuException(env, "RegexPattern::matcher", status);
188 matcher->region(start, end, matcher.status());
H A Dlibcore_icu_NativeCollation.cpp52 UErrorCode status = U_ZERO_ERROR; local
53 jint result = ucol_getAttribute(toCollator(address), (UColAttribute) type, &status);
54 maybeThrowIcuException(env, "ucol_getAttribute", status);
63 UErrorCode status = U_ZERO_ERROR; local
64 UCollationElements* result = ucol_openElements(toCollator(address), source.get(), source.size(), &status);
65 maybeThrowIcuException(env, "ucol_openElements", status);
108 UErrorCode status = U_ZERO_ERROR; local
109 jint result = ucol_next(toCollationElements(address), &status);
110 maybeThrowIcuException(env, "ucol_next", status);
119 UErrorCode status local
130 UErrorCode status = U_ZERO_ERROR; local
138 UErrorCode status = U_ZERO_ERROR; local
149 UErrorCode status = U_ZERO_ERROR; local
157 UErrorCode status = U_ZERO_ERROR; local
158 ucol_setAttribute(toCollator(address), (UColAttribute)type, (UColAttributeValue)value, &status); local
163 UErrorCode status = U_ZERO_ERROR; local
164 ucol_setOffset(toCollationElements(address), offset, &status); local
173 UErrorCode status = U_ZERO_ERROR; local
174 ucol_setText(toCollationElements(address), source.get(), source.size(), &status); local
[all...]
/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 is null");
124 this.status = status;
136 return status;
[all...]
/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/test/java/libcore/java/lang/
H A DOldObjectTest.java33 int status = 0; field in class:OldObjectTest
121 assertEquals(3, status);
152 status = 3;
187 assertEquals(3, status);
243 assertEquals(3, status);
/libcore/luni/src/main/java/java/lang/
H A DSecurityManager.java56 public void checkExit(int status) { } argument
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetDecoder.java100 private int status; field in class:CharsetDecoder
130 status = INIT;
212 status = FLUSH;
309 * status check
311 if ((status == FLUSH) || (!endOfInput && status == END)) {
335 status = endOfInput ? END : ONGOING;
457 if (status != END && status != INIT) {
462 status
[all...]
H A DCharsetEncoder.java92 private int status; field in class:CharsetEncoder
93 // internal status indicates encode(CharBuffer) operation is finished
145 status = INIT;
168 * Note that this method can change the internal status of this encoder, so
179 * internal status is neither RESET or FLUSH.
187 if (status == FLUSH || status == INIT) {
188 status = READY;
190 if (status != READY) {
213 * Note that this method can change the internal status o
[all...]
/libcore/luni/src/main/java/java/nio/
H A DSocketChannelImpl.java80 private int status = SOCKET_STATUS_UNINITIALIZED; field in class:SocketChannelImpl
101 status = SOCKET_STATUS_UNCONNECTED;
110 status = SOCKET_STATUS_CONNECTED;
138 return status == SOCKET_STATUS_CONNECTED;
145 status = SOCKET_STATUS_CONNECTED;
154 return status == SOCKET_STATUS_PENDING;
159 // status must be open and unconnected
181 status = SOCKET_STATUS_PENDING;
204 status = (finished ? SOCKET_STATUS_CONNECTED : SOCKET_STATUS_UNCONNECTED);
206 status
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DHandshakeProtocol.java44 * Handshake status NEED_UNWRAP - HandshakeProtocol needs to receive data
49 * Handshake status NOT_HANDSHAKING - is not currently handshaking
54 * Handshake status FINISHED - HandshakeProtocol has just finished
59 * Handshake status NEED_TASK - HandshakeProtocol needs the results of delegated task
64 * Current handshake status
66 protected int status = NOT_HANDSHAKING; field in class:HandshakeProtocol
196 status = NOT_HANDSHAKING;
200 * Returns handshake status
212 switch (status) {
216 status
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DForkJoinTask.java89 * <p>The execution status of tasks may be queried at several levels
165 * responsible for maintaining their "status" field amidst relays
169 * (1) basic status maintenance
177 * The status field holds run control status bits packed into a
180 * values until completed, upon which status holds value
193 /** The run status of this task */
194 volatile int status; // accessed directly by pool and workers field in class:ForkJoinTask
205 * @return completion status on exit
209 if ((s = status) <
[all...]

Completed in 284 milliseconds

12