/external/lzma/CPP/Common/ |
MyException.h | 10 HRESULT ErrorCode;
11 CSystemException(HRESULT errorCode): ErrorCode(errorCode) {}
|
/system/update_engine/common/ |
error_code_utils.cc | 26 string ErrorCodeToString(ErrorCode code) { 31 if ((static_cast<int>(code) & static_cast<int>(ErrorCode::kSpecialFlags)) && 32 (static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags))) 33 code = static_cast<ErrorCode>( 34 static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags)); 36 case ErrorCode::kSuccess: return "ErrorCode::kSuccess"; 37 case ErrorCode::kError: return "ErrorCode::kError"; 38 case ErrorCode::kOmahaRequestError: return "ErrorCode::kOmahaRequestError" [all...] |
/system/update_engine/ |
metrics_utils.cc | 33 metrics::AttemptResult GetAttemptResult(ErrorCode code) { 34 ErrorCode base_code = static_cast<ErrorCode>( 35 static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags)); 38 case ErrorCode::kSuccess: 41 case ErrorCode::kDownloadTransferError: 44 case ErrorCode::kDownloadInvalidMetadataSize: 45 case ErrorCode::kDownloadInvalidMetadataMagicString: 46 case ErrorCode::kDownloadMetadataSignatureError: 47 case ErrorCode::kDownloadMetadataSignatureVerificationError [all...] |
/external/icu/icu4c/source/common/ |
errorcode.cpp | 10 * file name: errorcode.cpp 20 #include "unicode/errorcode.h" 24 ErrorCode::~ErrorCode() {} 26 UErrorCode ErrorCode::reset() { 27 UErrorCode code = errorCode; 28 errorCode = U_ZERO_ERROR; 32 void ErrorCode::assertSuccess() const { 38 const char* ErrorCode::errorName() const { 39 return u_errorName(errorCode); [all...] |
listformatter.cpp | 43 UErrorCode &errorCode) : 44 twoPattern(two, 2, 2, errorCode), 45 startPattern(start, 2, 2, errorCode), 46 middlePattern(middle, 2, 2, errorCode), 47 endPattern(end, 2, 2, errorCode) {} 49 ListFormatInternal(const ListFormatData &data, UErrorCode &errorCode) : 50 twoPattern(data.twoPattern, errorCode), 51 startPattern(data.startPattern, errorCode), 52 middlePattern(data.middlePattern, errorCode), 53 endPattern(data.endPattern, errorCode) { } [all...] |
norm2allmodes.h | 39 UErrorCode &errorCode) const { 40 if(U_FAILURE(errorCode)) { 46 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 52 if(buffer.init(src.length(), errorCode)) { 53 normalize(sArray, sArray+src.length(), buffer, errorCode); 59 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0; 65 UErrorCode &errorCode) const { 66 return normalizeSecondAndAppend(first, second, TRUE, errorCode); 71 UErrorCode &errorCode) const { 72 return normalizeSecondAndAppend(first, second, FALSE, errorCode); [all...] |
loadednormalizer2impl.cpp | 38 void load(const char *packageName, const char *name, UErrorCode &errorCode); 76 LoadedNormalizer2Impl::load(const char *packageName, const char *name, UErrorCode &errorCode) { 77 if(U_FAILURE(errorCode)) { 80 memory=udata_openChoice(packageName, "nrm", name, isAcceptable, this, &errorCode); 81 if(U_FAILURE(errorCode)) { 88 errorCode=U_INVALID_FORMAT_ERROR; // Not enough indexes. 96 &errorCode); 97 if(U_FAILURE(errorCode)) { 117 UErrorCode &errorCode) { 118 if(U_FAILURE(errorCode)) { [all...] |
/system/security/keystore/include/keystore/ |
keystore_return_types.h | 26 using ::android::hardware::keymaster::V3_0::ErrorCode; 33 * ErrorCode, which has negative error codes and use 0 for ERROR_OK; 37 * ErrorCode::OK (0), because this is what (java) clients expect. 44 KeyStoreServiceReturnCode(const ErrorCode& errorCode) : errorCode_(int32_t(errorCode)) {} 45 KeyStoreServiceReturnCode(const ResponseCode& errorCode) : errorCode_(int32_t(errorCode)) {} 46 KeyStoreServiceReturnCode(const KeyStoreServiceReturnCode& errorCode) 47 : errorCode_(errorCode.errorCode_) { [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
ErrorCode.java | 19 public enum ErrorCode { 65 private ErrorCode(int httpCode, int spdyRstCode, int spdyGoAwayCode) { 71 public static ErrorCode fromSpdy3Rst(int code) { 72 for (ErrorCode errorCode : ErrorCode.values()) { 73 if (errorCode.spdyRstCode == code) return errorCode; 78 public static ErrorCode fromHttp2(int code) { 79 for (ErrorCode errorCode : ErrorCode.values()) [all...] |
/external/icu/icu4c/source/i18n/ |
collationroot.cpp | 51 CollationRoot::load(UErrorCode &errorCode) { 52 if(U_FAILURE(errorCode)) { return; } 55 errorCode = U_MEMORY_ALLOCATION_ERROR; 60 CollationDataReader::isAcceptable, t->version, &errorCode); 61 if(U_FAILURE(errorCode)) { return; } 63 CollationDataReader::read(NULL, inBytes, udata_getLength(t->memory), *t, errorCode); 64 if(U_FAILURE(errorCode)) { return; } 75 CollationRoot::getRootCacheEntry(UErrorCode &errorCode) { 76 umtx_initOnce(initOnce, CollationRoot::load, errorCode); 77 if(U_FAILURE(errorCode)) { return NULL; [all...] |
collationruleparser.cpp | 58 CollationRuleParser::CollationRuleParser(const CollationData *base, UErrorCode &errorCode) 59 : nfd(*Normalizer2::getNFDInstance(errorCode)), 60 nfc(*Normalizer2::getNFCInstance(errorCode)), 74 UErrorCode &errorCode) { 75 if(U_FAILURE(errorCode)) { return; } 85 parse(ruleString, errorCode); 89 CollationRuleParser::parse(const UnicodeString &ruleString, UErrorCode &errorCode) { 90 if(U_FAILURE(errorCode)) { return; } 102 parseRuleChain(errorCode); 105 parseSetting(errorCode); [all...] |
/external/icu/icu4c/source/test/intltest/ |
itutil.cpp | 15 #include "unicode/errorcode.h" 155 ErrorCode errorCode; 156 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) { 157 errln("ErrorCode did not initialize properly"); 160 errorCode.assertSuccess(); 161 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) { 162 errln("ErrorCode did not format error message string properly") [all...] |
/external/libmojo/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/curl/tests/data/ |
test504 | 38 # TEST_ERR_SUCCESS is errorcode 120 40 <errorcode> 42 </errorcode>
|
test1234 | 29 <errorcode> 31 </errorcode>
|
test1329 | 26 <errorcode> 28 </errorcode>
|
test1409 | 27 <errorcode> 29 </errorcode>
|
test1410 | 27 <errorcode> 29 </errorcode>
|
test1530 | 26 <errorcode> 28 </errorcode>
|
test19 | 33 <errorcode> 35 </errorcode>
|
test201 | 30 <errorcode> 32 </errorcode>
|
test2043 | 29 <errorcode> 31 </errorcode>
|
test2044 | 29 <errorcode> 31 </errorcode>
|
/external/icu/icu4c/source/tools/gencolusb/ |
verify_uset.cpp | 21 UErrorCode errorCode = U_ZERO_ERROR; 31 if(U_SUCCESS(errorCode)) { 32 UnicodeSet us(unsafeBackwardPattern, errorCode); 33 fprintf(stderr, "\n%s:%d: err creating set %s\n", __FILE__, __LINE__, u_errorName(errorCode)); 51 UnicodeSet u(unsafe_serializedData, unsafe_serializedCount, UnicodeSet::kSerialized, errorCode); 52 fprintf(stderr, "\n%s:%d: err creating set %s\n", __FILE__, __LINE__, u_errorName(errorCode)); 57 // errorCode = U_MEMORY_ALLOCATION_ERROR; 58 // fprintf(stderr, "\n%s:%d: err %s\n", __FILE__, __LINE__, u_errorName(errorCode)); 61 if(U_SUCCESS(errorCode)) { 62 Collator *col = Collator::createInstance(Locale::getEnglish(), errorCode); [all...] |
/external/lzma/CPP/Windows/ |
ErrorMsg.h | 11 UString MyFormatMessage(DWORD errorCode);
|