Searched defs:errorCode (Results 1 - 9 of 9) sorted by relevance

/dalvik/libcore/icu/src/main/native/
H A DErrorCode.cpp16 * @param errorCode code to determine if it is an error
17 * @return 0 if errorCode is not an error, 1 if errorCode is an error, but the
19 * @exception thrown if errorCode represents an error
21 UBool icu4jni_error(JNIEnv *env, UErrorCode errorCode) argument
23 const char* message = u_errorName(errorCode);
24 if (errorCode <= U_ZERO_ERROR || errorCode >= U_ERROR_LIMIT) {
28 switch (errorCode) {
H A DNativeNormalizer.cpp25 UErrorCode errorCode = U_ZERO_ERROR; local
27 Normalizer::normalize(src.unicodeString(), mode, 0, dst, errorCode);
28 icu4jni_error(env, errorCode);
35 UErrorCode errorCode = U_ZERO_ERROR; local
36 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, errorCode);
37 icu4jni_error(env, errorCode);
H A DNativeConverter.cpp52 UErrorCode errorCode = U_ZERO_ERROR; local
58 conv = ucnv_open(cnvName,&errorCode);
62 if (icu4jni_error(env, errorCode) != FALSE) {
114 UErrorCode errorCode =U_ZERO_ERROR; local
128 &errorCode);
138 &errorCode);
141 return errorCode;
143 errorCode = U_ILLEGAL_ARGUMENT_ERROR;
144 return errorCode;
157 UErrorCode errorCode local
203 UErrorCode errorCode =U_ZERO_ERROR; local
256 UErrorCode errorCode = U_ZERO_ERROR; local
287 UErrorCode errorCode =U_ZERO_ERROR; local
341 UErrorCode errorCode = U_ZERO_ERROR; local
377 UErrorCode errorCode = U_ZERO_ERROR; local
396 UErrorCode errorCode =U_ZERO_ERROR; local
441 UErrorCode errorCode =U_ZERO_ERROR; local
482 UErrorCode errorCode =U_ZERO_ERROR; local
532 UErrorCode errorCode = U_ZERO_ERROR; local
568 UErrorCode errorCode = U_ZERO_ERROR; local
601 UErrorCode errorCode = U_ZERO_ERROR; local
652 UErrorCode errorCode =U_ZERO_ERROR; local
678 UErrorCode errorCode =U_ZERO_ERROR; local
1062 UErrorCode errorCode =U_ZERO_ERROR; local
1190 UErrorCode errorCode =U_ZERO_ERROR; local
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/res/
H A DXResourceBundleBase.java36 * @param errorCode Error code
40 abstract public String getMessageKey(int errorCode); argument
45 * @param errorCode Error code
49 abstract public String getWarningKey(int errorCode); argument
/dalvik/libcore/logging/src/main/java/java/util/logging/
H A DErrorManager.java90 * @param errorCode
94 public void error(String message, Exception exception, int errorCode) { argument
102 + ": " + FAILURES[errorCode]); //$NON-NLS-1$
/dalvik/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
H A DChunkHandler.java61 public static Chunk createFailChunk(int errorCode, String msg) { argument
67 out.putInt(errorCode);
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DHandlerTest.java767 public void error(String msg, Exception ex, int errorCode) { argument
770 CallVerificationStack.getInstance().push(errorCode);
/dalvik/libcore/x-net/src/main/native/
H A Dorg_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp1878 int errorCode = 0; local
1880 int ret = sslRead(ssl, (char *) &byteRead, 1, &returnCode, &errorCode, timeout);
1885 throwIOExceptionWithSslErrors(env, returnCode, errorCode,
1913 int errorCode = 0; local
1916 sslRead(ssl, (char*) (bytes + offset), len, &returnCode, &errorCode, timeout);
1922 throwIOExceptionWithSslErrors(env, returnCode, errorCode,
1944 int errorCode = 0; local
1946 int ret = sslWrite(ssl, buf, 1, &returnCode, &errorCode);
1950 throwIOExceptionWithSslErrors(env, returnCode, errorCode,
1970 int errorCode local
[all...]
/dalvik/libcore/luni/src/main/native/
H A Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp200 * Throws an SocketException with the message affiliated with the errorCode.
202 * @deprecated: 'errorCode' is one of the bogus SOCKERR_ values, *not* errno.
205 static void throwSocketException(JNIEnv *env, int errorCode) { argument
207 netLookupErrorString(errorCode));
753 static int convertError(int errorCode) { argument
754 switch (errorCode) {
802 LOGE("unclassified errno %d (%s)", errorCode, strerror(errorCode));

Completed in 170 milliseconds