Searched defs:ec (Results 1 - 4 of 4) sorted by relevance
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/ |
H A D | CharsetDecoderICU.java | 66 private int ec; field in class:CharsetDecoderICU 85 ec = NativeConverter.setCallbackDecode(cHandle, 89 if(ErrorCode.isFailure(ec)){ 90 throw ErrorCode.getException(ec); 108 ec =NativeConverter.setSubstitutionChars(converterHandle, 112 if(ErrorCode.isFailure(ec)){ 113 throw ErrorCode.getException(ec); 134 ec = NativeConverter.setCallbackDecode(converterHandle, onMalformedInput, onUnmappableInput, sub, sub.length); 135 if(ErrorCode.isFailure(ec)){ 136 throw ErrorCode.getException(ec); [all...] |
H A D | CharsetEncoderICU.java | 62 private int ec; field in class:CharsetEncoderICU 84 ec = NativeConverter.setCallbackEncode( cHandle, 89 if (ErrorCode.isFailure(ec)) { 90 throw ErrorCode.getException(ec); 106 ec = NativeConverter.setSubstitutionBytes(converterHandle, 109 if (ErrorCode.isFailure(ec)) { 110 throw ErrorCode.getException(ec); 130 ec = NativeConverter.setCallbackEncode(converterHandle, onMalformedInput, onUnmappableInput, sub, sub.length); 131 if (ErrorCode.isFailure(ec)) { 132 throw ErrorCode.getException(ec); [all...] |
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/common/ |
H A D | ErrorCode.java | 177 * @param ec int value of the error code 181 public static String getErrorName(int ec){ argument 182 return ERROR_NAMES_[ec]; 187 * @param ec int value of the error code 191 public static boolean isSuccess(int ec){ argument 192 return (ec<=U_ZERO_ERROR); 197 * @param ec int value of the error code 201 public static boolean isFailure(int ec){ argument 202 return (ec>U_ZERO_ERROR);
|
/dalvik/libcore/icu/src/main/native/ |
H A D | NativeConverter.cpp | 250 UErrorCode ec = UErrorCode(convertCharToByte(env, jClass,handle,source,sourceEnd, target,targetEnd,data,flush)); local 259 if(ec == U_ILLEGAL_CHAR_FOUND || ec == U_INVALID_CHAR_FOUND) { 270 return ec; 335 jint ec = convertByteToChar(env, jClass,handle,source,sourceEnd, target,targetEnd,data,flush); local 344 if(ec == U_ILLEGAL_CHAR_FOUND || ec == U_INVALID_CHAR_FOUND ) { 355 return ec;
|
Completed in 298 milliseconds