Searched refs:errorCode (Results 1 - 25 of 316) sorted by relevance

1234567891011>>

/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
H A DXMPException.java19 /** the errorCode of the XMP toolkit */
20 private int errorCode; field in class:XMPException
26 * @param errorCode the error code
28 public XMPException(String message, int errorCode) argument
31 this.errorCode = errorCode;
38 * @param errorCode the error code
41 public XMPException(String message, int errorCode, Throwable t) argument
44 this.errorCode = errorCode;
[all...]
/external/lzma/CPP/Common/
H A DMyException.h11 CSystemException(HRESULT errorCode): ErrorCode(errorCode) {} argument
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/exceptions/
H A DReplyErrorCodeException.java42 private int errorCode; field in class:ReplyErrorCodeException
47 * @param errorCode error code of received reply packet
49 public ReplyErrorCodeException(int errorCode) { argument
50 super("Error " + errorCode + ": " + JDWPConstants.Error.getName(errorCode));
51 this.errorCode = errorCode;
60 return errorCode;
/external/icu/icu4c/source/common/unicode/
H A Derrorcode.h66 * log_failure(u_errorName(errorCode));
67 * exit(errorCode);
85 ErrorCode() : errorCode(U_ZERO_ERROR) {}
89 operator UErrorCode & () { return errorCode; }
91 operator UErrorCode * () { return &errorCode; }
93 UBool isSuccess() const { return U_SUCCESS(errorCode); }
95 UBool isFailure() const { return U_FAILURE(errorCode); }
97 UErrorCode get() const { return errorCode; }
99 void set(UErrorCode value) { errorCode=value; }
125 UErrorCode errorCode; member in class:ErrorCode
[all...]
H A Dnormalizer2.h88 * Same as getInstance(NULL, "nfc", UNORM2_COMPOSE, errorCode).
90 * @param errorCode Standard ICU error code. Its input value must
98 getNFCInstance(UErrorCode &errorCode);
102 * Same as getInstance(NULL, "nfc", UNORM2_DECOMPOSE, errorCode).
104 * @param errorCode Standard ICU error code. Its input value must
112 getNFDInstance(UErrorCode &errorCode);
116 * Same as getInstance(NULL, "nfkc", UNORM2_COMPOSE, errorCode).
118 * @param errorCode Standard ICU error code. Its input value must
126 getNFKCInstance(UErrorCode &errorCode);
130 * Same as getInstance(NULL, "nfkc", UNORM2_DECOMPOSE, errorCode)
[all...]
/external/icu/icu4c/source/i18n/
H A Dcollationroot.h31 static const CollationCacheEntry *getRootCacheEntry(UErrorCode &errorCode);
32 static const CollationTailoring *getRoot(UErrorCode &errorCode);
33 static const CollationData *getData(UErrorCode &errorCode);
34 static const CollationSettings *getSettings(UErrorCode &errorCode);
37 static void load(UErrorCode &errorCode);
H A Dcollationroot.cpp49 CollationRoot::load(UErrorCode &errorCode) { argument
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; }
73 CollationRoot::getRootCacheEntry(UErrorCode &errorCode) { argument
74 umtx_initOnce(initOnce, CollationRoot::load, errorCode);
75 if(U_FAILURE(errorCode)) { retur
80 getRoot(UErrorCode &errorCode) argument
87 getData(UErrorCode &errorCode) argument
94 getSettings(UErrorCode &errorCode) argument
[all...]
H A Ducol_imp.h71 UnicodeString &rules, UErrorCode &errorCode);
73 static const CollationCacheEntry *loadTailoring(const Locale &locale, UErrorCode &errorCode);
76 const CollationCacheEntry *createCacheEntry(UErrorCode &errorCode);
79 static void loadRootRules(UErrorCode &errorCode);
87 CollationLoader(const CollationCacheEntry *re, const Locale &requested, UErrorCode &errorCode);
91 const CollationCacheEntry *loadFromLocale(UErrorCode &errorCode);
92 const CollationCacheEntry *loadFromBundle(UErrorCode &errorCode);
93 const CollationCacheEntry *loadFromCollations(UErrorCode &errorCode);
94 const CollationCacheEntry *loadFromData(UErrorCode &errorCode);
97 const CollationCacheEntry *getCacheEntry(UErrorCode &errorCode);
[all...]
H A Ducol_res.cpp80 CollationLoader::loadRootRules(UErrorCode &errorCode) { argument
81 if(U_FAILURE(errorCode)) { return; }
82 rootBundle = ures_open(U_ICUDATA_COLL, kRootLocaleName, &errorCode);
83 if(U_FAILURE(errorCode)) { return; }
84 rootRules = ures_getStringByKey(rootBundle, "UCARules", &rootRulesLength, &errorCode);
85 if(U_FAILURE(errorCode)) {
95 UErrorCode errorCode = U_ZERO_ERROR; local
96 umtx_initOnce(gInitOnce, CollationLoader::loadRootRules, errorCode);
97 if(U_SUCCESS(errorCode)) {
104 UnicodeString &rules, UErrorCode &errorCode) {
103 loadRules(const char *localeID, const char *collationType, UnicodeString &rules, UErrorCode &errorCode) argument
144 loadTailoring(const Locale &locale, UErrorCode &errorCode) argument
163 CollationLoader(const CollationCacheEntry *re, const Locale &requested, UErrorCode &errorCode) argument
206 createCacheEntry(UErrorCode &errorCode) argument
224 loadFromLocale(UErrorCode &errorCode) argument
250 loadFromBundle(UErrorCode &errorCode) argument
311 loadFromCollations(UErrorCode &errorCode) argument
377 loadFromData(UErrorCode &errorCode) argument
459 getCacheEntry(UErrorCode &errorCode) argument
478 makeCacheEntry( const Locale &loc, const CollationCacheEntry *entryFromCache, UErrorCode &errorCode) argument
[all...]
H A Dcollationfastlatinbuilder.h31 CollationFastLatinBuilder(UErrorCode &errorCode);
34 UBool forData(const CollationData &data, UErrorCode &errorCode);
45 UBool loadGroups(const CollationData &data, UErrorCode &errorCode);
49 void getCEs(const CollationData &data, UErrorCode &errorCode);
51 UErrorCode &errorCode);
53 UErrorCode &errorCode);
54 void addContractionEntry(int32_t x, int64_t cce0, int64_t cce1, UErrorCode &errorCode);
55 void addUniqueCE(int64_t ce, UErrorCode &errorCode);
57 UBool encodeUniqueCEs(UErrorCode &errorCode);
58 UBool encodeCharCEs(UErrorCode &errorCode);
[all...]
/external/icu/icu4c/source/common/
H A Dlocresdata.cpp52 UErrorCode errorCode; local
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...]
H A Dcharstr.h42 CharString(const StringPiece &s, UErrorCode &errorCode) : len(0) { argument
44 append(s, errorCode);
46 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { argument
48 append(s, errorCode);
50 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { argument
52 append(s, sLength, errorCode);
62 CharString &copyFrom(const CharString &other, UErrorCode &errorCode);
75 CharString &append(char c, UErrorCode &errorCode);
76 CharString &append(const StringPiece &s, UErrorCode &errorCode) { argument
77 return append(s.data(), s.length(), errorCode);
79 append(const CharString &s, UErrorCode &errorCode) argument
[all...]
H A Derrorcode.cpp25 UErrorCode code = errorCode;
26 errorCode = U_ZERO_ERROR;
37 return u_errorName(errorCode);
H A Dloadednormalizer2impl.cpp36 void load(const char *packageName, const char *name, UErrorCode &errorCode);
74 LoadedNormalizer2Impl::load(const char *packageName, const char *name, UErrorCode &errorCode) { argument
75 if(U_FAILURE(errorCode)) {
78 memory=udata_openChoice(packageName, "nrm", name, isAcceptable, this, &errorCode);
79 if(U_FAILURE(errorCode)) {
86 errorCode=U_INVALID_FORMAT_ERROR; // Not enough indexes.
94 &errorCode);
95 if(U_FAILURE(errorCode)) {
115 UErrorCode &errorCode) {
116 if(U_FAILURE(errorCode)) {
113 createInstance(const char *packageName, const char *name, UErrorCode &errorCode) argument
140 initSingletons(const char *what, UErrorCode &errorCode) argument
172 getNFKCInstance(UErrorCode &errorCode) argument
179 getNFKC_CFInstance(UErrorCode &errorCode) argument
186 getNFKCInstance(UErrorCode &errorCode) argument
192 getNFKDInstance(UErrorCode &errorCode) argument
198 getNFKCCasefoldInstance(UErrorCode &errorCode) argument
204 getInstance(const char *packageName, const char *name, UNormalization2Mode mode, UErrorCode &errorCode) argument
281 getInstance(UNormalizationMode mode, UErrorCode &errorCode) argument
302 getNFKCImpl(UErrorCode &errorCode) argument
308 getNFKC_CFImpl(UErrorCode &errorCode) argument
347 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
H A Dlistformatter.cpp81 UErrorCode& errorCode);
87 UErrorCode& errorCode);
112 void ListFormatter::initializeHash(UErrorCode& errorCode) { argument
113 if (U_FAILURE(errorCode)) {
119 errorCode = U_MEMORY_ALLOCATION_ERROR;
129 const Locale& locale, const char *style, UErrorCode& errorCode) {
130 if (U_FAILURE(errorCode)) {
133 CharString keyBuffer(locale.getName(), errorCode);
134 keyBuffer.append(':', errorCode).append(style, errorCode);
128 getListFormatInternal( const Locale& locale, const char *style, UErrorCode& errorCode) argument
171 loadListFormatInternal( const Locale& locale, const char * style, UErrorCode& errorCode) argument
202 getStringByKey(const UResourceBundle* rb, const char* key, UnicodeString& result, UErrorCode& errorCode) argument
211 createInstance(UErrorCode& errorCode) argument
216 createInstance(const Locale& locale, UErrorCode& errorCode) argument
220 createInstance(const Locale& locale, const char *style, UErrorCode& errorCode) argument
254 joinStringsAndReplace( const SimplePatternFormatter& pat, const UnicodeString& first, const UnicodeString& second, UnicodeString &result, UBool recordOffset, int32_t &offset, UErrorCode& errorCode) argument
[all...]
H A Dfilterednormalizer2.cpp34 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...]
H A Dcharstr.cpp22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { argument
23 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) {
40 CharString &CharString::append(char c, UErrorCode &errorCode) { argument
41 if(ensureCapacity(len+2, 0, errorCode)) {
48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { argument
49 if(U_FAILURE(errorCode)) {
53 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
64 errorCode=U_INTERNAL_PROGRAM_ERROR;
73 return append(CharString(s, sLength, errorCode), errorCod
82 getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, int32_t &resultCapacity, UErrorCode &errorCode) argument
103 appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode) argument
110 ensureCapacity(int32_t capacity, int32_t desiredCapacityHint, UErrorCode &errorCode) argument
130 appendPathPart(const StringPiece &s, UErrorCode &errorCode) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
H A DErrorCode.java72 for (ErrorCode errorCode : ErrorCode.values()) {
73 if (errorCode.spdyRstCode == code) return errorCode;
79 for (ErrorCode errorCode : ErrorCode.values()) {
80 if (errorCode.httpCode == code) return errorCode;
86 for (ErrorCode errorCode : ErrorCode.values()) {
87 if (errorCode.spdyGoAwayCode == code) return errorCode;
/external/apache-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
/external/icu/icu4c/source/test/cintltst/
H A Dcstrcase.c42 UErrorCode errorCode; local
46 errorCode=U_ZERO_ERROR;
50 &errorCode);
51 if( U_FAILURE(errorCode) ||
58 u_errorName(errorCode),
68 errorCode=U_ZERO_ERROR;
72 &errorCode);
73 if( U_FAILURE(errorCode) ||
80 u_errorName(errorCode),
86 errorCode
140 UErrorCode errorCode; local
237 UErrorCode errorCode; local
341 UErrorCode errorCode; local
433 UErrorCode errorCode; local
634 UErrorCode errorCode; local
733 UErrorCode errorCode; local
878 UErrorCode errorCode; local
975 u_strToUTF8(utf8BeforeTitle, (int32_t)sizeof(utf8BeforeTitle), &utf8BeforeTitleLength, beforeTitle, UPRV_LENGTHOF(beforeTitle), &errorCode); local
976 u_strToUTF8(utf8TitleSentNoLower, (int32_t)sizeof(utf8TitleSentNoLower), &utf8TitleSentNoLowerLength, titleSentNoLower, UPRV_LENGTHOF(titleSentNoLower), &errorCode); local
[all...]
H A Dcnormtst.c548 UErrorCode errorCode; local
553 errorCode=U_ZERO_ERROR;
554 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
555 log_data_err("error: !isNormalized(<U+0300>, NFC) (%s) - (Are you missing data?)\n", u_errorName(errorCode));
559 errorCode=U_TRUNCATED_CHAR_FOUND;
560 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode);
561 if(errorCode!=U_TRUNCATED_CHAR_FOUND) {
562 log_err("error: isNormalized(U_TRUNCATED_CHAR_FOUND) changed the error code to %s\n", u_errorName(errorCode));
566 errorCode
707 UErrorCode errorCode; local
762 UErrorCode errorCode; local
974 UErrorCode errorCode; local
1037 UErrorCode errorCode; local
1186 UErrorCode errorCode; local
1331 UErrorCode errorCode; local
1357 UErrorCode errorCode; local
1455 UErrorCode errorCode; local
1479 UErrorCode errorCode=U_ZERO_ERROR; local
1522 UErrorCode errorCode=U_ZERO_ERROR; local
1589 UErrorCode errorCode=U_ZERO_ERROR; local
1628 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ditutil.cpp143 ErrorCode errorCode; local
144 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) {
148 errorCode.assertSuccess();
149 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) {
152 RefPlusOne(errorCode);
153 if(errorCode.get()!=U_ILLEGAL_ARGUMENT_ERROR || errorCode.isSuccess() || !errorCode
304 UErrorCode errorCode = U_ZERO_ERROR; local
[all...]
/external/icu/icu4c/source/samples/udata/
H A Dwriter.c62 UErrorCode errorCode=U_ZERO_ERROR; local
75 U_COPYRIGHT_STRING, &errorCode);
82 if(U_FAILURE(errorCode)) {
83 fprintf(stderr, "Error: unable to create data memory, error %d\n", errorCode);
84 exit(errorCode);
95 dataLength=udata_finish(pData, &errorCode);
96 if(U_FAILURE(errorCode)) {
97 fprintf(stderr, "Error: error %d writing the output file\n", errorCode);
98 exit(errorCode);
/external/icu/icu4c/source/test/perf/ucnvavailperf/
H A Ducnvavailperf.cpp82 UErrorCode errorCode = U_ZERO_ERROR; local
86 u_setMemoryFunctions(NULL, my_alloc, my_realloc, my_free, &errorCode);
87 if(U_FAILURE(errorCode)) {
90 u_errorName(errorCode));
91 return errorCode;
103 ucnv_close(ucnv_open("ibm-1208", &errorCode));
104 if(U_FAILURE(errorCode)) {
107 u_errorName(errorCode));
108 return errorCode;
/external/icu/icu4c/source/tools/toolutil/
H A Dppucd.cpp55 PreparsedUCD::PreparsedUCD(const char *filename, UErrorCode &errorCode) argument
62 if(U_FAILURE(errorCode)) { return; }
73 errorCode=U_FILE_ACCESS_ERROR;
103 PreparsedUCD::readLine(UErrorCode &errorCode) { argument
104 if(U_FAILURE(errorCode)) { return NO_LINE; }
121 errorCode=U_FILE_ACCESS_ERROR;
153 errorCode=U_PARSE_ERROR;
183 PreparsedUCD::getProps(UnicodeSet &newValues, UErrorCode &errorCode) { argument
184 if(U_FAILURE(errorCode)) { return NULL; }
187 errorCode
270 parseProperty(UniProps &props, const char *field, UnicodeSet &newValues, UErrorCode &errorCode) argument
465 getRangeForAlgNames(UChar32 &start, UChar32 &end, UErrorCode &errorCode) argument
486 parseCodePoint(const char *s, UErrorCode &errorCode) argument
500 parseCodePointRange(const char *s, UChar32 &start, UChar32 &end, UErrorCode &errorCode) argument
515 parseString(const char *s, UnicodeString &uni, UErrorCode &errorCode) argument
533 parseScriptExtensions(const char *s, UnicodeSet &scx, UErrorCode &errorCode) argument
[all...]

Completed in 2625 milliseconds

1234567891011>>