/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 | 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 87 RegexPattern* result = RegexPattern::compile(regexString, flags, error, status); 88 if (!U_SUCCESS(status)) { 89 throwPatternSyntaxException(env, status, javaRegex, error);
|
H A D | libcore_icu_ICU.cpp | 85 UErrorCode status = U_ZERO_ERROR; local 86 ures_getStringByKey(bundle_, key, NULL, &status); 87 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)) { 111 UErrorCode status = U_ZERO_ERROR; local 114 uloc_getScript(localeID.c_str(), script, sizeof(script), &status); 115 if (U_FAILURE(status)) { 124 UErrorCode status local 129 UErrorCode status = U_ZERO_ERROR; local 174 UErrorCode status = U_ZERO_ERROR; local 191 UErrorCode status = U_ZERO_ERROR; local 315 UErrorCode status = U_ZERO_ERROR; local 326 UErrorCode status = U_ZERO_ERROR; local 350 UErrorCode status = U_ZERO_ERROR; local 368 UErrorCode status = U_ZERO_ERROR; local 389 LocaleNameIterator(const char* locale_name, UErrorCode& status) argument 419 UErrorCode status = U_ZERO_ERROR; local 448 UErrorCode status = U_ZERO_ERROR; local 493 UErrorCode status = U_ZERO_ERROR; local 650 UErrorCode* status; member in struct:EnumerationGetter 651 EnumerationGetter(UEnumeration* e, UErrorCode* status) argument 655 UErrorCode status = U_ZERO_ERROR; local 733 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | libcore_icu_NativeNormalizer.cpp | 28 UErrorCode status = U_ZERO_ERROR; local 30 Normalizer::normalize(src.unicodeString(), mode, 0, dst, status); 31 maybeThrowIcuException(env, "Normalizer::normalize", status); 38 UErrorCode status = U_ZERO_ERROR; local 39 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, status); 40 maybeThrowIcuException(env, "Normalizer::isNormalized", status);
|
H A D | libcore_icu_NativeCollation.cpp | 51 UErrorCode status = U_ZERO_ERROR; local 52 jint result = ucol_getAttribute(toCollator(address), (UColAttribute) type, &status); 53 maybeThrowIcuException(env, "ucol_getAttribute", status); 62 UErrorCode status = U_ZERO_ERROR; local 63 UCollationElements* result = ucol_openElements(toCollator(address), source.get(), source.size(), &status); 64 maybeThrowIcuException(env, "ucol_openElements", status); 107 UErrorCode status = U_ZERO_ERROR; local 108 jint result = ucol_next(toCollationElements(address), &status); 109 maybeThrowIcuException(env, "ucol_next", status); 118 UErrorCode status local 129 UErrorCode status = U_ZERO_ERROR; local 137 UErrorCode status = U_ZERO_ERROR; local 148 UErrorCode status = U_ZERO_ERROR; local 156 UErrorCode status = U_ZERO_ERROR; local 157 ucol_setAttribute(toCollator(address), (UColAttribute)type, (UColAttributeValue)value, &status); local 162 UErrorCode status = U_ZERO_ERROR; local 163 ucol_setOffset(toCollationElements(address), offset, &status); local 172 UErrorCode status = U_ZERO_ERROR; local 173 ucol_setText(toCollationElements(address), source.get(), source.size(), &status); local [all...] |
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 | java_text_Bidi.cpp | 95 UErrorCode status = U_ZERO_ERROR; local 96 UBiDi* sized = ubidi_openSized(limit - start, 0, &status); 97 if (maybeThrowIcuException(env, "ubidi_openSized", status)) { 101 ubidi_setLine(uBiDi(ptr), start, limit, lineData->uBiDi(), &status); local 102 maybeThrowIcuException(env, "ubidi_setLine", status); 119 UErrorCode status = U_ZERO_ERROR; local 120 const UBiDiLevel* levels = ubidi_getLevels(uBiDi(ptr), &status); 121 if (maybeThrowIcuException(env, "ubidi_getLevels", status)) { 131 UErrorCode status = U_ZERO_ERROR; local 132 int count = ubidi_countRuns(uBiDi(ptr), &status); 142 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | libcore_icu_NativePluralRules.cpp | 35 UErrorCode status = U_ZERO_ERROR; local 36 PluralRules* result = PluralRules::forLocale(locale, status); 37 maybeThrowIcuException(env, "PluralRules::forLocale", status);
|
H A D | libcore_icu_NativeDecimalFormat.cpp | 113 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 197 UErrorCode status = U_ZERO_ERROR; local 246 UErrorCode status = U_ZERO_ERROR; local 313 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | java_util_regex_Matcher.cpp | 81 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 RegexMatcher* result = pattern->matcher(status); 176 maybeThrowIcuException(env, "RegexPattern::matcher", status); 187 matcher->region(start, end, matcher.status());
|
H A D | libcore_icu_NativeBreakIterator.cpp | 56 UErrorCode status = U_ZERO_ERROR; local 57 ubrk_setText(mIt, mChars, charCount, &status); 58 maybeThrowIcuException(env, "ubrk_setText", status); 62 UErrorCode status = U_ZERO_ERROR; local 64 UBreakIterator* it = ubrk_safeClone(mIt, NULL, &bufferSize, &status); 65 if (maybeThrowIcuException(env, "ubrk_safeClone", status)) { 117 UErrorCode status = U_ZERO_ERROR; local 122 UBreakIterator* it = ubrk_open(type, localeChars.c_str(), NULL, 0, &status); 123 if (maybeThrowIcuException(env, "ubrk_open", status)) {
|
H A D | libcore_icu_NativeConverter.cpp | 75 UErrorCode status = U_ZERO_ERROR; local 76 UConverter* cnv = ucnv_open(converterNameChars.c_str(), &status); 77 maybeThrowIcuException(env, "ucnv_open", status); 264 UErrorCode status = U_ZERO_ERROR; local 268 if ((cName = ucnv_getStandardName(icuCanonicalName, "MIME", &status)) != NULL) { 270 } else if ((cName = ucnv_getStandardName(icuCanonicalName, "IANA", &status)) != NULL) { 276 int32_t aliasCount = ucnv_countAliases(icuCanonicalName, &status); 278 const char* name = ucnv_getAlias(icuCanonicalName, i, &status); 285 status = U_ZERO_ERROR; 286 const char* name = ucnv_getStandardName(icuCanonicalName, "UTR22", &status); 371 CHARSET_ENCODER_CALLBACK(const void* rawContext, UConverterFromUnicodeArgs* args, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* status) argument 475 CHARSET_DECODER_CALLBACK(const void* rawContext, UConverterToUnicodeArgs* args, const char* codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode* status) argument 542 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | libcore_icu_TimeZones.cpp | 44 UErrorCode status = U_ZERO_ERROR; local 45 int32_t idCount = ids->count(status); 46 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) { 52 const UnicodeString* id = ids->snext(status); 53 if (maybeThrowIcuException(env, "StringEnumeration::snext", status)) { 105 UErrorCode status = U_ZERO_ERROR; local 107 SimpleDateFormat longFormat(longPattern, locale, status); 111 SimpleDateFormat shortFormat(commonShortPattern, locale, status); 113 SimpleDateFormat allShortFormat(allShortPattern, locale, status); 154 row.tz->getOffset(date1, false, rawOffset, daylightOffset, status); [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);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | OsConstants.java | 30 public static int WEXITSTATUS(int status) { return (status & 0xff00) >> 8; } argument 31 public static boolean WCOREDUMP(int status) { return (status & 0x80) != 0; } argument 32 public static int WTERMSIG(int status) { return status & 0x7f; } argument 33 public static int WSTOPSIG(int status) { return WEXITSTATUS(status); } argument 34 public static boolean WIFEXITED(int status) { return (WTERMSIG(status) argument 35 WIFSTOPPED(int status) argument 36 WIFSIGNALED(int status) argument [all...] |