/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
H A D | PKIStatus.java | 72 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 D | TimeStampResp.java | 32 * 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 D | PKIStatusInfo.java | 39 * 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 D | SSLEngineResult.java | 82 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/luni/src/main/native/ |
H A D | libcore_icu_AlphabeticIndex.cpp | 33 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 D | java_util_regex_Pattern.cpp | 34 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 D | libcore_icu_ICU.cpp | 87 UErrorCode status = U_ZERO_ERROR; local 88 ures_getStringByKey(bundle_, key, NULL, &status); 89 return U_SUCCESS(status); 98 UErrorCode status = U_ZERO_ERROR; local 101 uloc_addLikelySubtags(localeID.c_str(), maximizedLocaleID, sizeof(maximizedLocaleID), &status); 102 if (U_FAILURE(status)) { 109 UErrorCode status = U_ZERO_ERROR; local 112 uloc_getScript(localeID.c_str(), script, sizeof(script), &status); 113 if (U_FAILURE(status)) { 125 UErrorCode status local 131 UErrorCode status = U_ZERO_ERROR; local 182 UErrorCode status = U_ZERO_ERROR; local 311 UErrorCode status = U_ZERO_ERROR; local 322 UErrorCode status = U_ZERO_ERROR; local 346 UErrorCode status = U_ZERO_ERROR; local 363 UErrorCode status = U_ZERO_ERROR; local 383 LocaleNameIterator(const char* locale_name, UErrorCode& status) argument 413 UErrorCode status = U_ZERO_ERROR; local 442 UErrorCode status = U_ZERO_ERROR; local 464 UErrorCode status = U_ZERO_ERROR; local 509 UErrorCode status = U_ZERO_ERROR; local 659 UErrorCode status = U_ZERO_ERROR; local 684 UErrorCode* status; member in struct:EnumerationGetter 685 EnumerationGetter(UEnumeration* e, UErrorCode* status) argument 689 UErrorCode status = U_ZERO_ERROR; local 704 UErrorCode status = U_ZERO_ERROR; local 789 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | libcore_icu_NativeNormalizer.cpp | 32 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 D | libcore_icu_NativeCollation.cpp | 52 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...] |
H A D | IcuUtilities.cpp | 41 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 D | libcore_icu_NativeIDN.cpp | 41 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 D | libcore_icu_Transliterator.cpp | 36 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 D | java_text_Bidi.cpp | 96 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 D | libcore_icu_NativePluralRules.cpp | 52 UErrorCode status = U_ZERO_ERROR; local 53 PluralRules* result = PluralRules::forLocale(locale, status); 54 maybeThrowIcuException(env, "PluralRules::forLocale", status);
|
H A D | libcore_icu_NativeDecimalFormat.cpp | 110 UErrorCode status = U_ZERO_ERROR; local 121 DecimalFormat* fmt = new DecimalFormat(pattern.unicodeString(), symbols, parseError, status); 125 maybeThrowIcuException(env, "DecimalFormat::DecimalFormat", status); 144 UErrorCode status = U_ZERO_ERROR; local 146 unum_setSymbol(toUNumberFormat(addr), symbol, value.get(), value.size(), &status); local 147 maybeThrowIcuException(env, "unum_setSymbol", status); 165 UErrorCode status = U_ZERO_ERROR; local 167 unum_setTextAttribute(toUNumberFormat(addr), attr, value.get(), value.size(), &status); local 168 maybeThrowIcuException(env, "unum_setTextAttribute", status); 172 UErrorCode status local 196 UErrorCode status = U_ZERO_ERROR; local 245 UErrorCode status = U_ZERO_ERROR; local 315 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | java_util_regex_Matcher.cpp | 82 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 D | libcore_icu_NativeConverter.cpp | 76 UErrorCode status = U_ZERO_ERROR; local 77 UConverter* cnv = ucnv_open(converterNameChars.c_str(), &status); 78 maybeThrowIcuException(env, "ucnv_open", status); 265 UErrorCode status = U_ZERO_ERROR; local 269 if ((cName = ucnv_getStandardName(icuCanonicalName, "MIME", &status)) != NULL) { 271 } else if ((cName = ucnv_getStandardName(icuCanonicalName, "IANA", &status)) != NULL) { 277 int32_t aliasCount = ucnv_countAliases(icuCanonicalName, &status); 279 const char* name = ucnv_getAlias(icuCanonicalName, i, &status); 286 status = U_ZERO_ERROR; 287 const char* name = ucnv_getStandardName(icuCanonicalName, "UTR22", &status); 372 CHARSET_ENCODER_CALLBACK(const void* rawContext, UConverterFromUnicodeArgs* args, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* status) argument 476 CHARSET_DECODER_CALLBACK(const void* rawContext, UConverterToUnicodeArgs* args, const char* codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode* status) argument 543 UErrorCode status = U_ZERO_ERROR; local [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetEncoder.java | 92 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...] |
H A D | CharsetDecoder.java | 100 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...] |
/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/luni/src/main/java/java/nio/ |
H A D | SocketChannelImpl.java | 80 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/java/util/concurrent/ |
H A D | ForkJoinTask.java | 89 * <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...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | ProcessManager.java | 82 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 D | OldObjectTest.java | 33 int status = 0; field in class:OldObjectTest 121 assertEquals(3, status); 152 status = 3; 187 assertEquals(3, status); 243 assertEquals(3, status);
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLEnginePair.java | 127 HandshakeStatus status = engine.getHandshakeStatus(); 128 switch (status) { 163 // only returned by wrap/unrap status, not getHandshakeStatus 164 throw new IllegalStateException("Unexpected HandshakeStatus = " + status); 166 throw new IllegalStateException("Unknown HandshakeStatus = " + status);
|