Searched refs:errorCode (Results 1 - 25 of 442) 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.h68 * log_failure(u_errorName(errorCode));
69 * exit(errorCode);
87 ErrorCode() : errorCode(U_ZERO_ERROR) {}
91 operator UErrorCode & () { return errorCode; }
93 operator UErrorCode * () { return &errorCode; }
95 UBool isSuccess() const { return U_SUCCESS(errorCode); }
97 UBool isFailure() const { return U_FAILURE(errorCode); }
99 UErrorCode get() const { return errorCode; }
101 void set(UErrorCode value) { errorCode=value; }
127 UErrorCode errorCode; member in class:ErrorCode
[all...]
/external/libmojo/base/android/java/src/org/chromium/base/library_loader/
H A DProcessInitException.java14 * @param errorCode This will be one of the LoaderErrors error codes.
16 public ProcessInitException(int errorCode) { argument
17 mErrorCode = errorCode;
21 * @param errorCode This will be one of the LoaderErrors error codes.
24 public ProcessInitException(int errorCode, Throwable throwable) { argument
26 mErrorCode = errorCode;
/external/icu/icu4c/source/i18n/
H A Dcollationroot.h33 static const CollationCacheEntry *getRootCacheEntry(UErrorCode &errorCode);
34 static const CollationTailoring *getRoot(UErrorCode &errorCode);
35 static const CollationData *getData(UErrorCode &errorCode);
36 static const CollationSettings *getSettings(UErrorCode &errorCode);
39 static void U_CALLCONV load(UErrorCode &errorCode);
H A Dcollationroot.cpp51 CollationRoot::load(UErrorCode &errorCode) { argument
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) { argument
76 umtx_initOnce(initOnce, CollationRoot::load, errorCode);
77 if(U_FAILURE(errorCode)) { retur
82 getRoot(UErrorCode &errorCode) argument
89 getData(UErrorCode &errorCode) argument
96 getSettings(UErrorCode &errorCode) argument
[all...]
H A Ducol_imp.h73 UnicodeString &rules, UErrorCode &errorCode);
75 static const CollationCacheEntry *loadTailoring(const Locale &locale, UErrorCode &errorCode);
78 const CollationCacheEntry *createCacheEntry(UErrorCode &errorCode);
81 static void U_CALLCONV loadRootRules(UErrorCode &errorCode);
89 CollationLoader(const CollationCacheEntry *re, const Locale &requested, UErrorCode &errorCode);
93 const CollationCacheEntry *loadFromLocale(UErrorCode &errorCode);
94 const CollationCacheEntry *loadFromBundle(UErrorCode &errorCode);
95 const CollationCacheEntry *loadFromCollations(UErrorCode &errorCode);
96 const CollationCacheEntry *loadFromData(UErrorCode &errorCode);
99 const CollationCacheEntry *getCacheEntry(UErrorCode &errorCode);
[all...]
H A Ddayperiodrules.cpp53 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) { argument
54 ResourceTable dayPeriodData = value.getTable(errorCode);
55 if (U_FAILURE(errorCode)) { return; }
59 ResourceTable locales = value.getTable(errorCode);
60 if (U_FAILURE(errorCode)) { return; }
63 UnicodeString setNum_str = value.getUnicodeString(errorCode);
64 int32_t setNum = parseSetNum(setNum_str, errorCode);
65 uhash_puti(data->localeToRuleSetNumMap, const_cast<char *>(key), setNum, &errorCode);
71 errorCode = U_MEMORY_ALLOCATION_ERROR;
74 ResourceTable rules = value.getTable(errorCode);
81 processRules(const ResourceTable &rules, const char *key, ResourceValue &value, UErrorCode &errorCode) argument
141 parseSetNum(const UnicodeString &setNumStr, UErrorCode &errorCode) argument
147 parseSetNum(const char *setNumStr, UErrorCode &errorCode) argument
177 addCutoff(CutoffType type, const UnicodeString &hour_str, UErrorCode &errorCode) argument
192 setDayPeriodForHoursFromCutoffs(UErrorCode &errorCode) argument
243 parseHour(const UnicodeString &time, UErrorCode &errorCode) argument
285 put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) argument
316 load(UErrorCode &errorCode) argument
336 getInstance(const Locale &locale, UErrorCode &errorCode) argument
[all...]
H A Ducol_res.cpp82 CollationLoader::loadRootRules(UErrorCode &errorCode) { argument
83 if(U_FAILURE(errorCode)) { return; }
84 rootBundle = ures_open(U_ICUDATA_COLL, kRootLocaleName, &errorCode);
85 if(U_FAILURE(errorCode)) { return; }
86 rootRules = ures_getStringByKey(rootBundle, "UCARules", &rootRulesLength, &errorCode);
87 if(U_FAILURE(errorCode)) {
99 UErrorCode errorCode = U_ZERO_ERROR; local
100 umtx_initOnce(gInitOnceUcolRes, CollationLoader::loadRootRules, errorCode);
101 if(U_SUCCESS(errorCode)) {
108 UnicodeString &rules, UErrorCode &errorCode) {
107 loadRules(const char *localeID, const char *collationType, UnicodeString &rules, UErrorCode &errorCode) argument
148 loadTailoring(const Locale &locale, UErrorCode &errorCode) argument
167 CollationLoader(const CollationCacheEntry *re, const Locale &requested, UErrorCode &errorCode) argument
210 createCacheEntry(UErrorCode &errorCode) argument
228 loadFromLocale(UErrorCode &errorCode) argument
254 loadFromBundle(UErrorCode &errorCode) argument
315 loadFromCollations(UErrorCode &errorCode) argument
381 loadFromData(UErrorCode &errorCode) argument
463 getCacheEntry(UErrorCode &errorCode) argument
482 makeCacheEntry( const Locale &loc, const CollationCacheEntry *entryFromCache, UErrorCode &errorCode) argument
620 KeywordsSink(UErrorCode &errorCode) argument
624 put(const char *key, ResourceValue &value, UBool , UErrorCode &errorCode) argument
[all...]
/external/icu/icu4c/source/common/
H A Dlocresdata.cpp54 UErrorCode errorCode; local
61 errorCode=U_ZERO_ERROR;
62 rb=ures_open(path, locale, &errorCode);
64 if(U_FAILURE(errorCode)) {
66 *pErrorCode=errorCode;
68 } else if(errorCode==U_USING_DEFAULT_WARNING ||
69 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING)
72 *pErrorCode=errorCode;
78 ures_getByKeyWithFallback(rb, tableKey, &table, &errorCode);
82 ures_getByKeyWithFallback(&table,subTableKey, &subTable, &errorCode);
[all...]
H A Derrorcode.cpp27 UErrorCode code = errorCode;
28 errorCode = U_ZERO_ERROR;
39 return u_errorName(errorCode);
H A Dcharstr.cpp26 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { argument
27 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) {
53 CharString &CharString::append(char c, UErrorCode &errorCode) { argument
54 if(ensureCapacity(len+2, 0, errorCode)) {
61 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { argument
62 if(U_FAILURE(errorCode)) {
66 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
77 errorCode=U_INTERNAL_PROGRAM_ERROR;
86 return append(CharString(s, sLength, errorCode), errorCod
95 getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, int32_t &resultCapacity, UErrorCode &errorCode) argument
116 appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode) argument
130 ensureCapacity(int32_t capacity, int32_t desiredCapacityHint, UErrorCode &errorCode) argument
150 appendPathPart(StringPiece s, UErrorCode &errorCode) argument
165 ensureEndsWithFileSeparator(UErrorCode &errorCode) argument
[all...]
H A Dloadednormalizer2impl.cpp38 void load(const char *packageName, const char *name, UErrorCode &errorCode);
76 LoadedNormalizer2Impl::load(const char *packageName, const char *name, UErrorCode &errorCode) { argument
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)) {
115 createInstance(const char *packageName, const char *name, UErrorCode &errorCode) argument
142 initSingletons(const char *what, UErrorCode &errorCode) argument
174 getNFKCInstance(UErrorCode &errorCode) argument
181 getNFKC_CFInstance(UErrorCode &errorCode) argument
188 getNFKCInstance(UErrorCode &errorCode) argument
194 getNFKDInstance(UErrorCode &errorCode) argument
200 getNFKCCasefoldInstance(UErrorCode &errorCode) argument
206 getInstance(const char *packageName, const char *name, UNormalization2Mode mode, UErrorCode &errorCode) argument
284 getInstance(UNormalizationMode mode, UErrorCode &errorCode) argument
305 getNFKCImpl(UErrorCode &errorCode) argument
311 getNFKC_CFImpl(UErrorCode &errorCode) argument
350 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
H A Dlistformatter.cpp43 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) : argument
50 twoPattern(data.twoPattern, errorCode),
51 startPattern(data.startPattern, errorCode),
52 middlePattern(data.middlePattern, errorCode),
53 endPattern(data.endPattern, errorCode) { }
38 ListFormatInternal( const UnicodeString& two, const UnicodeString& start, const UnicodeString& middle, const UnicodeString& end, UErrorCode &errorCode) argument
105 initializeHash(UErrorCode& errorCode) argument
121 getListFormatInternal( const Locale& locale, const char *style, UErrorCode& errorCode) argument
199 handleValueForPattern(ResourceValue &value, UnicodeString &pattern, UErrorCode &errorCode) argument
211 put(const char *key, ResourceValue &value, UBool , UErrorCode &errorCode) argument
236 loadListFormatInternal( const Locale& locale, const char * style, UErrorCode& errorCode) argument
276 createInstance(UErrorCode& errorCode) argument
281 createInstance(const Locale& locale, UErrorCode& errorCode) argument
285 createInstance(const Locale& locale, const char *style, UErrorCode& errorCode) argument
299 ListFormatter(const ListFormatData& listFormatData, UErrorCode &errorCode) argument
319 joinStringsAndReplace( const SimpleFormatter& pat, const UnicodeString& first, const UnicodeString& second, UnicodeString &result, UBool recordOffset, int32_t &offset, UErrorCode& errorCode) argument
[all...]
H A Dcharstr.h44 CharString(StringPiece s, UErrorCode &errorCode) : len(0) { argument
46 append(s, errorCode);
48 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { argument
50 append(s, errorCode);
52 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { argument
54 append(s, sLength, errorCode);
64 CharString &copyFrom(const CharString &other, UErrorCode &errorCode);
80 CharString &append(char c, UErrorCode &errorCode);
81 CharString &append(StringPiece s, UErrorCode &errorCode) { argument
82 return append(s.data(), s.length(), errorCode);
84 append(const CharString &s, UErrorCode &errorCode) argument
[all...]
H A Dfilterednormalizer2.cpp38 UErrorCode &errorCode) const {
39 uprv_checkCanGetBuffer(src, errorCode);
40 if(U_FAILURE(errorCode)) {
45 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
49 return normalize(src, dest, USET_SPAN_SIMPLE, errorCode);
63 UErrorCode &errorCode) const {
78 tempDest, errorCode));
79 if(U_FAILURE(errorCode)) {
92 Edits *edits, UErrorCode &errorCode) const {
93 if (U_FAILURE(errorCode)) {
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
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/lzma/CPP/Windows/
H A DErrorMsg.h11 UString MyFormatMessage(DWORD errorCode);
/external/swiftshader/src/OpenGL/libGLES_CM/
H A Dmain.h34 void error(GLenum errorCode);
37 const T &error(GLenum errorCode, const T &returnValue) argument
39 error(errorCode);
/external/icu/icu4c/source/test/cintltst/
H A Dcstrcase.c45 UErrorCode errorCode; local
49 errorCode=U_ZERO_ERROR;
53 &errorCode);
54 if( U_FAILURE(errorCode) ||
61 u_errorName(errorCode),
71 errorCode=U_ZERO_ERROR;
75 &errorCode);
76 if( U_FAILURE(errorCode) ||
83 u_errorName(errorCode),
89 errorCode
143 UErrorCode errorCode; local
240 UErrorCode errorCode; local
344 UErrorCode errorCode; local
436 UErrorCode errorCode; local
637 UErrorCode errorCode; local
736 UErrorCode errorCode; local
882 UErrorCode errorCode; local
979 u_strToUTF8(utf8BeforeTitle, (int32_t)sizeof(utf8BeforeTitle), &utf8BeforeTitleLength, beforeTitle, UPRV_LENGTHOF(beforeTitle), &errorCode); local
980 u_strToUTF8(utf8TitleSentNoLower, (int32_t)sizeof(utf8TitleSentNoLower), &utf8TitleSentNoLowerLength, titleSentNoLower, UPRV_LENGTHOF(titleSentNoLower), &errorCode); local
[all...]
/external/icu/icu4c/source/tools/gencolusb/
H A Dverify_uset.cpp21 UErrorCode errorCode = U_ZERO_ERROR; local
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/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
H A DShadowGooglePlayServicesUtil.java56 public static synchronized boolean showErrorDialogFragment(int errorCode, Activity activity, argument
59 errorCode, activity, fragment, requestCode, cancelListener);
63 public static synchronized boolean showErrorDialogFragment(int errorCode, Activity activity, argument
66 errorCode, activity, requestCode);
71 int errorCode, Activity activity, int requestCode, OnCancelListener cancelListener) {
73 errorCode, activity, requestCode, cancelListener);
77 public static synchronized Dialog getErrorDialog(int errorCode, Activity activity, argument
79 return googlePlayServicesUtilImpl.getErrorDialog(errorCode, activity, requestCode);
83 public static synchronized Dialog getErrorDialog(int errorCode, Activity activity, argument
86 errorCode, activit
70 showErrorDialogFragment( int errorCode, Activity activity, int requestCode, OnCancelListener cancelListener) argument
90 getErrorPendingIntent(int errorCode, Context context, int requestCode) argument
106 showErrorNotification(int errorCode, Context context) argument
115 getErrorDialog(int errorCode, Activity activity, int requestCode) argument
119 getErrorDialog(int errorCode, Activity activity, int requestCode, OnCancelListener cancelListener) argument
127 getErrorPendingIntent(int errorCode, Context context, int requestCode) argument
152 showErrorDialogFragment(int errorCode, Activity activity, Fragment fragment, int requestCode, OnCancelListener cancelListener) argument
157 showErrorDialogFragment(int errorCode, Activity activity, int requestCode) argument
161 showErrorDialogFragment(int errorCode, Activity activity, int requestCode, OnCancelListener cancelListener) argument
166 showErrorNotification(int errorCode, Context context) argument
[all...]
/external/swiftshader/src/OpenGL/libGLESv2/
H A Dmain.h36 void error(GLenum errorCode);
39 const T &error(GLenum errorCode, const T &returnValue) argument
41 error(errorCode);

Completed in 620 milliseconds

1234567891011>>