Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/main/native/
Dlibcore_icu_NativeConverter.cpp244 UErrorCode errorCode = U_ZERO_ERROR; in NativeConverter_encode() local
245 …Limit, reinterpret_cast<const UChar**>(&mySource), mySourceLimit, NULL, (UBool) flush, &errorCode); in NativeConverter_encode()
250 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND || in NativeConverter_encode()
251 errorCode == U_TRUNCATED_CHAR_FOUND) { in NativeConverter_encode()
262 if (shouldCodecThrow(flush, errorCode)) { in NativeConverter_encode()
263 maybeThrowIcuException(env, "ucnv_fromUnicode", errorCode); in NativeConverter_encode()
265 return errorCode; in NativeConverter_encode()
300 UErrorCode errorCode = U_ZERO_ERROR; in NativeConverter_decode() local
301 ucnv_toUnicode(cnv, &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, flush, &errorCode); in NativeConverter_decode()
306 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND || in NativeConverter_decode()
[all …]
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java886 int errorCode = 0;
894 errorCode = result[ERROR_CODE];
910 checkLockFile0ErrorCode(errorCode);
915 checkLockFile0ErrorCode(errorCode);
923 private void checkLockFile0ErrorCode (int errorCode)
925 if (errorCode == EACCES)
929 if (errorCode != EAGAIN)
932 " Unix error code " + errorCode + ".");
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunkHandler.java72 public static Chunk createFailChunk(int errorCode, String msg) { in createFailChunk() argument
78 out.putInt(errorCode); in createFailChunk()
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java330 public void error(String message, Exception exception, int errorCode) { in error() argument