Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 71) sorted by relevance

123

/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/
DShortMessage.java113 protected final int getDataLength(int status) in getDataLength() argument
134 if (status < 0) { in getDataLength()
136 … throw new InvalidMidiDataException(Messages.getString("sound.04", status)); //$NON-NLS-1$ in getDataLength()
138 if (((status % 256) >= 0) && ((status % 256) <= 127)) { in getDataLength()
140 … throw new InvalidMidiDataException(Messages.getString("sound.04", status)); //$NON-NLS-1$ in getDataLength()
142 if (((status / 256) == 0) in getDataLength()
143 && ((status == 240) || (status == 244) || (status == 245))) { in getDataLength()
145 … throw new InvalidMidiDataException(Messages.getString("sound.04", status)); //$NON-NLS-1$ in getDataLength()
147 if (((status / 256) != 0) && ((status % 256) >= 244) in getDataLength()
148 && ((status % 256) <= 255)) { in getDataLength()
[all …]
DSysexMessage.java64 public void setMessage(int status, byte[] data, int length) throws InvalidMidiDataException { in setMessage() argument
70 if((status != SysexMessage.SPECIAL_SYSTEM_EXCLUSIVE) && in setMessage()
71 (status != SysexMessage.SYSTEM_EXCLUSIVE)) { in setMessage()
74 status)); in setMessage()
81 bt[0] = (byte) status; in setMessage()
/dalvik/libcore/icu/src/main/native/
DRegExInterface.cpp42 static void throwPatternSyntaxException(JNIEnv* env, UErrorCode status, in throwPatternSyntaxException() argument
49 jstring message = env->NewStringUTF(u_errorName(status)); in throwPatternSyntaxException()
55 static void throwRuntimeException(JNIEnv* env, UErrorCode status) in throwRuntimeException() argument
57 jniThrowException(env, "java/lang/RuntimeException", u_errorName(status)); in throwRuntimeException()
79 UErrorCode status = U_ZERO_ERROR; in open() local
86 data->regex = uregex_open(&EMPTY_STRING, -1, flags, &error, &status); in open()
90 &status); in open()
94 if (!U_SUCCESS(status)) { in open()
96 throwPatternSyntaxException(env, status, pattern, error); in open()
105 UErrorCode status = U_ZERO_ERROR; in _clone() local
[all …]
DResourceInterface.cpp78 UErrorCode status = U_ZERO_ERROR; in getJStringFromUnicodeString() local
82 string.extract(res, stringLength+1, status); in getJStringFromUnicodeString()
83 if(U_FAILURE(status)) { in getJStringFromUnicodeString()
86 status = U_ZERO_ERROR; in getJStringFromUnicodeString()
109 UErrorCode status = U_ZERO_ERROR; in getFractionDigitsNative() local
111 NumberFormat *fmt = NumberFormat::createCurrencyInstance(status); in getFractionDigitsNative()
112 if(U_FAILURE(status)) { in getFractionDigitsNative()
117 fmt->setCurrency(cCode, status); in getFractionDigitsNative()
119 if(U_FAILURE(status)) { in getFractionDigitsNative()
133 UErrorCode status = U_ZERO_ERROR; in getCurrencyCodeNative() local
[all …]
DCollationInterface.c100 UErrorCode status = U_ZERO_ERROR; in getAttribute() local
103 &status); in getAttribute()
104 if (icu4jni_error(env, status) != FALSE){ in getAttribute()
126 UErrorCode status = U_ZERO_ERROR; in getCollationElementIterator() local
133 result = (jint)(ucol_openElements(collator, srcstr, srclength, &status)); in getCollationElementIterator()
136 icu4jni_error(env, status); in getCollationElementIterator()
175 UErrorCode status = U_ZERO_ERROR; in getNormalization() local
177 if(U_FAILURE(status)){ in getNormalization()
178 icu4jni_error(env, status); in getNormalization()
180 return (jint)ucol_getAttribute(collator,UCOL_NORMALIZATION_MODE,&status); in getNormalization()
[all …]
DBreakIteratorInterface.c39 UErrorCode status = U_ZERO_ERROR; in getCharacterInstanceImpl() local
43 UBreakIterator *iter = ubrk_open(UBRK_CHARACTER, localeChars, NULL, 0, &status); in getCharacterInstanceImpl()
47 if ( icu4jni_error(env, status) != FALSE) { in getCharacterInstanceImpl()
56 UErrorCode status = U_ZERO_ERROR; in getLineInstanceImpl() local
62 UBreakIterator *iter = ubrk_open(type, localeChars, NULL, 0, &status); in getLineInstanceImpl()
66 if ( icu4jni_error(env, status) != FALSE) { in getLineInstanceImpl()
75 UErrorCode status = U_ZERO_ERROR; in getSentenceInstanceImpl() local
81 UBreakIterator *iter = ubrk_open(type, localeChars, NULL, 0, &status); in getSentenceInstanceImpl()
85 if ( icu4jni_error(env, status) != FALSE) { in getSentenceInstanceImpl()
94 UErrorCode status = U_ZERO_ERROR; in getWordInstanceImpl() local
[all …]
DDecimalFormatInterface.cpp63 UErrorCode status = U_ZERO_ERROR; in openDecimalFormatImpl() local
74 localeChars, NULL, &status); in openDecimalFormatImpl()
81 if ( icuError(env, status) != FALSE) { in openDecimalFormatImpl()
102 UErrorCode status = U_ZERO_ERROR; in setSymbol() local
113 &status); in setSymbol()
119 icuError(env, status); in setSymbol()
127 UErrorCode status = U_ZERO_ERROR; in getSymbol() local
137 resultlength, &status); in getSymbol()
140 if(status==U_BUFFER_OVERFLOW_ERROR) { in getSymbol()
141 status=U_ZERO_ERROR; in getSymbol()
[all …]
DRBNFInterface.cpp60 UErrorCode status = U_ZERO_ERROR; in openRBNFImpl1() local
81 RuleBasedNumberFormat *fmt = new RuleBasedNumberFormat(style, loc, status); in openRBNFImpl1()
87 if ( icuError(env, status) != FALSE) { in openRBNFImpl1()
102 UErrorCode status = U_ZERO_ERROR; in openRBNFImpl2() local
113 localeChars, NULL, &status); in openRBNFImpl2()
120 if ( icuError(env, status) != FALSE) { in openRBNFImpl2()
169 UErrorCode status = U_ZERO_ERROR; in formatLongRBNFImpl() local
177 reslenneeded = res.extract(NULL, 0, status); in formatLongRBNFImpl()
179 if(status==U_BUFFER_OVERFLOW_ERROR) { in formatLongRBNFImpl()
180 status=U_ZERO_ERROR; in formatLongRBNFImpl()
[all …]
DConverterInterface.c707 const char* src, UErrorCode* status) { in copyString() argument
709 if(U_FAILURE(*status)) { in copyString()
713 *status = U_ILLEGAL_ARGUMENT_ERROR; in copyString()
718 *status = U_BUFFER_OVERFLOW_ERROR; in copyString()
731 UErrorCode* status) { in getJavaCanonicalName1() argument
744 if((cName =ucnv_getStandardName(icuCanonicalName, "MIME", status)) != NULL) { in getJavaCanonicalName1()
745 retLen = copyString(canonicalName, capacity, 0, cName, status); in getJavaCanonicalName1()
747 }else if((cName =ucnv_getStandardName(icuCanonicalName, "IANA", status)) != NULL) { in getJavaCanonicalName1()
748 retLen = copyString(canonicalName, capacity, 0, cName, status); in getJavaCanonicalName1()
754 int32_t aliasNum = ucnv_countAliases(icuCanonicalName,status); in getJavaCanonicalName1()
[all …]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/tsp/
DPKIStatus.java72 private final int status; field in PKIStatus
73 PKIStatus(int status) { in PKIStatus() argument
74 this.status = status; in PKIStatus()
81 return status; in getStatus()
84 public static PKIStatus getInstance(int status) { in getInstance() argument
86 if (status == curStatus.status) { in getInstance()
DTimeStampResp.java39 private final PKIStatusInfo status; field in TimeStampResp
43 public TimeStampResp(PKIStatusInfo status, ContentInfo timeStampToken) { in TimeStampResp() argument
44 this.status = status; in TimeStampResp()
52 res.append(status); in toString()
63 return status; in getStatus()
91 values[0] = resp.status;
DPKIStatusInfo.java48 private final PKIStatus status; field in PKIStatusInfo
56 this.status = pKIStatus; in PKIStatusInfo()
65 res.append(status); in toString()
85 return status; in getStatus()
106 values[0] = BigInteger.valueOf(psi.status.getStatus())
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DObjectTest.java42 int status = 0; field in ObjectTest
173 status = 0; in test_getClass()
225 status += 1; in test_notify()
227 status = -1000; in test_notify()
242 status = 0; in test_notify()
264 assertTrue("Thread woke too early. (status = " + status + ")", in test_notify()
265 status == 0); in test_notify()
271 + status + ")", status == i); in test_notify()
277 + status + ")"); in test_notify()
309 status += 1; in test_notifyAll()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cmp/
DPKIStatusInfo.java17 DERInteger status; field in PKIStatusInfo
46 this.status = DERInteger.getInstance(seq.getObjectAt(0)); in PKIStatusInfo()
73 public PKIStatusInfo(int status) in PKIStatusInfo() argument
75 this.status = new DERInteger(status); in PKIStatusInfo()
83 int status, in PKIStatusInfo() argument
86 this.status = new DERInteger(status); in PKIStatusInfo()
91 int status, in PKIStatusInfo() argument
95 this.status = new DERInteger(status); in PKIStatusInfo()
102 return status.getValue(); in getStatus()
150 v.add(status); in toASN1Object()
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
DSSLEngineResult.java82 private final SSLEngineResult.Status status; field in SSLEngineResult
110 public SSLEngineResult(SSLEngineResult.Status status, in SSLEngineResult() argument
112 if (status == null) { in SSLEngineResult()
124 this.status = status; in SSLEngineResult()
136 return status; in getStatus()
168 return "SSLEngineReport: Status = " + status + " HandshakeStatus = " + handshakeStatus in toString()
/dalvik/vm/native/
DSystemThread.c119 ThreadStatus status = thread->status; in dvmGetSystemThreadStatus() local
120 if (status != THREAD_NATIVE) { in dvmGetSystemThreadStatus()
122 return status; in dvmGetSystemThreadStatus()
137 return thread->status; in dvmGetSystemThreadStatus()
152 return thread->status; in dvmGetSystemThreadStatus()
162 return thread->status; in dvmGetSystemThreadStatus()
167 status = thread->status; in dvmGetSystemThreadStatus()
168 return status == THREAD_NATIVE ? nativeStatus : status; in dvmGetSystemThreadStatus()
Ddalvik_system_Zygote.c49 int status; in sigchldHandler() local
51 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { in sigchldHandler()
59 if (WIFEXITED(status)) { in sigchldHandler()
60 if (WEXITSTATUS(status)) { in sigchldHandler()
62 (int) pid, WEXITSTATUS(status)); in sigchldHandler()
67 (int) pid, WEXITSTATUS(status)); in sigchldHandler()
70 } else if (WIFSIGNALED(status)) { in sigchldHandler()
71 if (WTERMSIG(status) != SIGKILL) { in sigchldHandler()
74 (int) pid, WTERMSIG(status)); in sigchldHandler()
79 (int) pid, WTERMSIG(status)); in sigchldHandler()
[all …]
Djava_lang_Runtime.c46 int status = args[0]; in Dalvik_java_lang_Runtime_nativeExit() local
51 (*gDvm.exitHook)(status); // not expected to return in Dalvik_java_lang_Runtime_nativeExit()
55 LOGD("Calling exit(%d)\n", status); in Dalvik_java_lang_Runtime_nativeExit()
56 exit(status); in Dalvik_java_lang_Runtime_nativeExit()
/dalvik/libcore/luni-kernel/src/main/native/
Djava_lang_ProcessManager.c92 int status; in java_lang_ProcessManager_watchChildren() local
95 pid_t pid = waitpid(0, &status, 0); in java_lang_ProcessManager_watchChildren()
99 if (WIFEXITED(status)) { in java_lang_ProcessManager_watchChildren()
100 status = WEXITSTATUS(status); in java_lang_ProcessManager_watchChildren()
101 } else if (WIFSIGNALED(status)) { in java_lang_ProcessManager_watchChildren()
102 status = WTERMSIG(status); in java_lang_ProcessManager_watchChildren()
103 } else if (WIFSTOPPED(status)) { in java_lang_ProcessManager_watchChildren()
104 status = WSTOPSIG(status); in java_lang_ProcessManager_watchChildren()
106 status = WAIT_STATUS_UNKNOWN; in java_lang_ProcessManager_watchChildren()
122 status = WAIT_STATUS_NO_CHILDREN; in java_lang_ProcessManager_watchChildren()
[all …]
/dalvik/libcore/security/src/test/java/tests/security/permissions/
DJavaLangRuntimeTest.java179 int status; in test_exit() field in JavaLangRuntimeTest.TestSecurityManager
182 status = -1; in test_exit()
185 public void checkExit(int status){ in test_exit() argument
187 this.status = status; in test_exit()
208 assertEquals("Argument of checkExit is not correct", 11, s.status); in test_exit()
220 int status; in test_runFinalizersOnExit() field in JavaLangRuntimeTest.TestSecurityManager
223 status = -1; in test_runFinalizersOnExit()
226 public void checkExit(int status){ in test_runFinalizersOnExit() argument
228 this.status = status; in test_runFinalizersOnExit()
242 assertEquals("Argument of checkExit is not correct", 0, s.status); in test_runFinalizersOnExit()
[all …]
DJavaLangSystemTest.java277 int status; in test_exit() field in JavaLangSystemTest.TestSecurityManager
280 status = -1; in test_exit()
283 public void checkExit(int status){ in test_exit() argument
285 this.status = status; in test_exit()
307 assertEquals("Argument of checkExit is not correct", 11, s.status); in test_exit()
319 int status; in test_runFinalizersOnExit() field in JavaLangSystemTest.TestSecurityManager
322 status = -1; in test_runFinalizersOnExit()
325 public void checkExit(int status){ in test_runFinalizersOnExit() argument
327 this.status = status; in test_runFinalizersOnExit()
342 assertEquals("Argument of checkExit is not correct", 0, s.status); in test_runFinalizersOnExit()
[all …]
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/
DCharsetEncoder.java126 private int status; field in CharsetEncoder
202 status = INIT; in CharsetEncoder()
249 if (status == FLUSH) { in implCanEncode()
250 status = INIT; in implCanEncode()
252 if (status != INIT) { in implCanEncode()
381 status = FLUSH; in encode()
478 if ((status == FLUSH) || (!endOfInput && status == END)) { in encode()
493 status = endOfInput ? END : ONGOING; in encode()
501 status = endOfInput ? END : ONGOING; in encode()
595 if (status != END && status != INIT) { in flush()
[all …]
DCharsetDecoder.java132 private int status; field in CharsetDecoder
170 status = INIT; in CharsetDecoder()
267 status = FLUSH; in decode()
373 if ((status == FLUSH) || (!endOfInput && status == END)) { in decode()
397 status = endOfInput ? END : ONGOING; in decode()
535 if (status != END && status != INIT) { in flush()
540 status = FLUSH; in flush()
773 status = INIT; in reset()
/dalvik/vm/jdwp/
DJdwpConstants.c217 const char* dvmJdwpSuspendStatusStr(enum JdwpSuspendStatus status) in dvmJdwpSuspendStatusStr() argument
219 switch (status) { in dvmJdwpSuspendStatusStr()
229 const char* dvmJdwpThreadStatusStr(enum JdwpThreadStatus status) in dvmJdwpThreadStatusStr() argument
231 switch (status) { in dvmJdwpThreadStatusStr()
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
DSocketChannelImpl.java117 int status = SOCKET_STATUS_UNINIT; field in SocketChannelImpl
154 status = SOCKET_STATUS_UNCONNECTED; in SocketChannelImpl()
168 status = SOCKET_STATUS_CONNECTED; in SocketChannelImpl()
188 status = SOCKET_STATUS_UNCONNECTED; in SocketChannelImpl()
219 return status == SOCKET_STATUS_CONNECTED; in isConnected()
226 status = SOCKET_STATUS_CONNECTED; in setConnected()
238 return status == SOCKET_STATUS_PENDING; in isConnectionPending()
286 status = SOCKET_STATUS_PENDING; in connect()
308 status = (finished ? SOCKET_STATUS_CONNECTED in connect()
311 status = SOCKET_STATUS_PENDING; in connect()
[all …]

123