/external/chromium_org/third_party/icu/source/common/unicode/ |
errorcode.h | 8 * file name: errorcode.h 22 * \brief C++ API: ErrorCode class intended to make it easier to use 50 * The ErrorCode base class destructor does nothing. 58 * class IcuErrorCode: public icu::ErrorCode { 66 * log_failure(u_errorName(errorCode)); 67 * exit(errorCode); 79 class U_COMMON_API ErrorCode: public UMemory { 85 ErrorCode() : errorCode(U_ZERO_ERROR) {} 87 virtual ~ErrorCode(); [all...] |
/external/icu/icu4c/source/common/unicode/ |
errorcode.h | 8 * file name: errorcode.h 22 * \brief C++ API: ErrorCode class intended to make it easier to use 52 * The ErrorCode base class destructor does nothing. 60 * class IcuErrorCode: public icu::ErrorCode { 68 * log_failure(u_errorName(errorCode)); 69 * exit(errorCode); 81 class U_COMMON_API ErrorCode: public UMemory { 87 ErrorCode() : errorCode(U_ZERO_ERROR) {} 89 virtual ~ErrorCode(); [all...] |
/external/lzma/CPP/Common/ |
MyException.h | 10 HRESULT ErrorCode;
11 CSystemException(HRESULT errorCode): ErrorCode(errorCode) {}
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/exceptions/ |
ReplyErrorCodeException.java | 42 private int errorCode; 47 * @param errorCode error code of received reply packet 49 public ReplyErrorCodeException(int errorCode) { 50 super("Error " + errorCode + ": " + JDWPConstants.Error.getName(errorCode)); 51 this.errorCode = errorCode; 60 return errorCode;
|
/external/chromium_org/base/android/java/src/org/chromium/base/library_loader/ |
ProcessInitException.java | 14 * @param errorCode This will be one of the LoaderErrors error codes. 16 public ProcessInitException(int errorCode) { 17 mErrorCode = errorCode; 21 * @param errorCode This will be one of the LoaderErrors error codes. 24 public ProcessInitException(int errorCode, Throwable throwable) { 26 mErrorCode = errorCode;
|
/external/icu/icu4c/source/i18n/ |
collationroot.cpp | 49 CollationRoot::load(UErrorCode &errorCode) { 50 if(U_FAILURE(errorCode)) { return; } 53 errorCode = U_MEMORY_ALLOCATION_ERROR; 58 CollationDataReader::isAcceptable, t->version, &errorCode); 59 if(U_FAILURE(errorCode)) { return; } 61 CollationDataReader::read(NULL, inBytes, udata_getLength(t->memory), *t, errorCode); 62 if(U_FAILURE(errorCode)) { return; } 69 CollationRoot::getRoot(UErrorCode &errorCode) { 70 umtx_initOnce(initOnce, CollationRoot::load, errorCode); 71 if(U_FAILURE(errorCode)) { return NULL; [all...] |
collationroot.h | 30 static const CollationTailoring *getRoot(UErrorCode &errorCode); 31 static const CollationData *getData(UErrorCode &errorCode); 32 static const CollationSettings *getSettings(UErrorCode &errorCode); 35 static void load(UErrorCode &errorCode);
|
collationbasedatabuilder.h | 37 CollationBaseDataBuilder(UErrorCode &errorCode); 41 void init(UErrorCode &errorCode); 51 * @param errorCode in/out error code 53 void initHanRanges(const UChar32 ranges[], int32_t length, UErrorCode &errorCode); 64 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 66 void addRootElements(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 67 void addRootElement(int64_t ce, UErrorCode &errorCode); 71 UErrorCode &errorCode); 73 virtual void build(CollationData &data, UErrorCode &errorCode); 75 void buildRootElementsTable(UVector32 &table, UErrorCode &errorCode); [all...] |
uitercollationiterator.h | 43 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 45 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 48 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 52 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 54 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 75 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 77 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 80 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 84 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 86 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); [all...] |
utf8collationiterator.h | 44 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 46 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 59 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 65 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 67 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 91 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 93 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 96 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 102 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 104 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); [all...] |
/external/chromium_org/third_party/icu/source/common/ |
locresdata.cpp | 52 UErrorCode errorCode; 59 errorCode=U_ZERO_ERROR; 60 rb=ures_open(path, locale, &errorCode); 62 if(U_FAILURE(errorCode)) { 64 *pErrorCode=errorCode; 66 } else if(errorCode==U_USING_DEFAULT_WARNING || 67 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING) 70 *pErrorCode=errorCode; 76 ures_getByKeyWithFallback(rb, tableKey, &table, &errorCode); 80 ures_getByKeyWithFallback(&table,subTableKey, &subTable, &errorCode); [all...] |
listformatter.cpp | 48 static ListFormatData* loadListFormatData(const Locale& locale, const char* style, UErrorCode& errorCode); 49 static void getStringByKey(const UResourceBundle* rb, const char* key, UnicodeString& result, UErrorCode& errorCode); 59 void ListFormatter::initializeHash(UErrorCode& errorCode) { 60 if (U_FAILURE(errorCode)) { 66 errorCode = U_MEMORY_ALLOCATION_ERROR; 76 const Locale& locale, const char *style, UErrorCode& errorCode) { 77 if (U_FAILURE(errorCode)) { 80 CharString keyBuffer(locale.getName(), errorCode); 81 keyBuffer.append(':', errorCode).append(style, errorCode); [all...] |
charstr.h | 42 CharString(const StringPiece &s, UErrorCode &errorCode) : len(0) { 44 append(s, errorCode); 46 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { 48 append(s, errorCode); 50 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { 52 append(s, sLength, errorCode); 62 CharString ©From(const CharString &other, UErrorCode &errorCode); 75 CharString &append(char c, UErrorCode &errorCode); 76 CharString &append(const StringPiece &s, UErrorCode &errorCode) { 77 return append(s.data(), s.length(), errorCode); [all...] |
errorcode.cpp | 8 * file name: errorcode.cpp 18 #include "unicode/errorcode.h" 22 ErrorCode::~ErrorCode() {} 24 UErrorCode ErrorCode::reset() { 25 UErrorCode code = errorCode; 26 errorCode = U_ZERO_ERROR; 30 void ErrorCode::assertSuccess() const { 36 const char* ErrorCode::errorName() const { 37 return u_errorName(errorCode); [all...] |
filterednormalizer2.cpp | 34 UErrorCode &errorCode) const { 35 uprv_checkCanGetBuffer(src, errorCode); 36 if(U_FAILURE(errorCode)) { 41 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 45 return normalize(src, dest, USET_SPAN_SIMPLE, errorCode); 59 UErrorCode &errorCode) const { 74 tempDest, errorCode)); 75 if(U_FAILURE(errorCode)) { 89 UErrorCode &errorCode) const { 90 return normalizeSecondAndAppend(first, second, TRUE, errorCode); [all...] |
/external/icu/icu4c/source/common/ |
locresdata.cpp | 52 UErrorCode errorCode; 59 errorCode=U_ZERO_ERROR; 60 rb=ures_open(path, locale, &errorCode); 62 if(U_FAILURE(errorCode)) { 64 *pErrorCode=errorCode; 66 } else if(errorCode==U_USING_DEFAULT_WARNING || 67 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING) 70 *pErrorCode=errorCode; 76 ures_getByKeyWithFallback(rb, tableKey, &table, &errorCode); 80 ures_getByKeyWithFallback(&table,subTableKey, &subTable, &errorCode); [all...] |
charstr.h | 42 CharString(const StringPiece &s, UErrorCode &errorCode) : len(0) { 44 append(s, errorCode); 46 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { 48 append(s, errorCode); 50 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { 52 append(s, sLength, errorCode); 62 CharString ©From(const CharString &other, UErrorCode &errorCode); 75 CharString &append(char c, UErrorCode &errorCode); 76 CharString &append(const StringPiece &s, UErrorCode &errorCode) { 77 return append(s.data(), s.length(), errorCode); [all...] |
errorcode.cpp | 8 * file name: errorcode.cpp 18 #include "unicode/errorcode.h" 22 ErrorCode::~ErrorCode() {} 24 UErrorCode ErrorCode::reset() { 25 UErrorCode code = errorCode; 26 errorCode = U_ZERO_ERROR; 30 void ErrorCode::assertSuccess() const { 36 const char* ErrorCode::errorName() const { 37 return u_errorName(errorCode); [all...] |
listformatter.cpp | 83 UErrorCode& errorCode); 89 UErrorCode& errorCode); 114 void ListFormatter::initializeHash(UErrorCode& errorCode) { 115 if (U_FAILURE(errorCode)) { 121 errorCode = U_MEMORY_ALLOCATION_ERROR; 131 const Locale& locale, const char *style, UErrorCode& errorCode) { 132 if (U_FAILURE(errorCode)) { 135 CharString keyBuffer(locale.getName(), errorCode); 136 keyBuffer.append(':', errorCode).append(style, errorCode); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
ErrorCode.java | 5 public enum ErrorCode { 43 private ErrorCode(int httpCode, int spdyRstCode, int spdyGoAwayCode) { 49 public static ErrorCode fromSpdy3Rst(int code) { 50 for (ErrorCode errorCode : ErrorCode.values()) { 51 if (errorCode.spdyRstCode == code) return errorCode; 56 public static ErrorCode fromHttp2(int code) { 57 for (ErrorCode errorCode : ErrorCode.values()) [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cstrcase.c | 43 UErrorCode errorCode; 47 errorCode=U_ZERO_ERROR; 51 &errorCode); 52 if( U_FAILURE(errorCode) || 59 u_errorName(errorCode), 69 errorCode=U_ZERO_ERROR; 73 &errorCode); 74 if( U_FAILURE(errorCode) || 81 u_errorName(errorCode), 87 errorCode=U_ZERO_ERROR [all...] |
cucdapi.c | 388 UErrorCode errorCode=U_ZERO_ERROR; 390 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) && 391 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) && 392 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) || 393 U_FAILURE(errorCode) 450 UErrorCode errorCode; 453 errorCode=U_PARSE_ERROR; 454 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode); 455 if(errorCode!=U_PARSE_ERROR) { 457 u_errorName(errorCode)); [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cstrcase.c | 43 UErrorCode errorCode; 47 errorCode=U_ZERO_ERROR; 51 &errorCode); 52 if( U_FAILURE(errorCode) || 59 u_errorName(errorCode), 69 errorCode=U_ZERO_ERROR; 73 &errorCode); 74 if( U_FAILURE(errorCode) || 81 u_errorName(errorCode), 87 errorCode=U_ZERO_ERROR [all...] |
cucdapi.c | 388 UErrorCode errorCode=U_ZERO_ERROR; 390 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) && 391 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) && 392 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) || 393 U_FAILURE(errorCode) 450 UErrorCode errorCode; 453 errorCode=U_PARSE_ERROR; 454 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode); 455 if(errorCode!=U_PARSE_ERROR) { 457 u_errorName(errorCode)); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/res/ |
XResourceBundleBase.java | 36 * @param errorCode Error code 40 abstract public String getMessageKey(int errorCode); 45 * @param errorCode Error code 49 abstract public String getWarningKey(int errorCode);
|