/external/icu/icu4c/source/test/cintltst/ |
sorttest.c | 38 UErrorCode errorCode; 41 errorCode=U_ZERO_ERROR; 42 uprv_sortArray(small, LENGTHOF(small), sizeof(small[0]), uprv_uint16Comparator, NULL, TRUE, &errorCode); 43 if(U_FAILURE(errorCode)) { 44 log_err("uprv_sortArray(small) failed - %s\n", u_errorName(errorCode)); 60 uprv_sortArray(medium, LENGTHOF(medium), sizeof(medium[0]), uprv_int32Comparator, NULL, TRUE, &errorCode); 61 if(U_FAILURE(errorCode)) { 62 log_err("uprv_sortArray(medium) failed - %s\n", u_errorName(errorCode)); 73 errorCode=U_ZERO_ERROR; 74 uprv_sortArray(large, LENGTHOF(large), sizeof(large[0]), uprv_uint32Comparator, NULL, FALSE, &errorCode); [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/chromium_org/third_party/angle/src/libEGL/ |
main.h | 41 void error(EGLint errorCode); 44 const T &error(EGLint errorCode, const T &returnValue) 46 error(errorCode);
|
/external/chromium_org/third_party/icu/source/io/ |
ustream.cpp | 42 UErrorCode errorCode = U_ZERO_ERROR; 45 converter = u_getDefaultConverter(&errorCode); 46 if(U_SUCCESS(errorCode)) { 51 errorCode = U_ZERO_ERROR; 53 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 60 } while(errorCode == U_BUFFER_OVERFLOW_ERROR); 82 UErrorCode errorCode = U_ZERO_ERROR; 85 converter = u_getDefaultConverter(&errorCode); 86 if(U_SUCCESS(errorCode)) { 108 errorCode = U_ZERO_ERROR [all...] |
/external/icu/icu4c/source/i18n/ |
collationdatawriter.h | 33 UErrorCode &errorCode); 37 UErrorCode &errorCode); 46 UErrorCode &errorCode);
|
collationbuilder.cpp | 61 const char *&errorReason, UErrorCode &errorCode); 74 const char *& /*errorReason*/, UErrorCode &errorCode) { 76 return rules = CollationLoader::loadRules(localeID, collationType, errorCode); 98 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) 105 internalBuildTailoring(rules, UCOL_DEFAULT, UCOL_DEFAULT, NULL, NULL, errorCode); 109 UErrorCode &errorCode) 116 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); 121 UErrorCode &errorCode) 128 internalBuildTailoring(rules, UCOL_DEFAULT, decompositionMode, NULL, NULL, errorCode); 134 UErrorCode &errorCode) [all...] |
/external/icu/icu4c/source/io/ |
ustream.cpp | 42 UErrorCode errorCode = U_ZERO_ERROR; 45 converter = u_getDefaultConverter(&errorCode); 46 if(U_SUCCESS(errorCode)) { 51 errorCode = U_ZERO_ERROR; 53 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 60 } while(errorCode == U_BUFFER_OVERFLOW_ERROR); 82 UErrorCode errorCode = U_ZERO_ERROR; 85 converter = u_getDefaultConverter(&errorCode); 86 if(U_SUCCESS(errorCode)) { 108 errorCode = U_ZERO_ERROR [all...] |
/external/lzma/CPP/7zip/Common/ |
OutBuffer.h | 13 COutBufferException(HRESULT errorCode): CSystemException(errorCode) {}
33 HRESULT ErrorCode;
|
OutBuffer.cpp | 41 ErrorCode = S_OK;
60 result = ErrorCode;
70 && (ErrorCode == S_OK)
94 if (ErrorCode != S_OK)
95 return ErrorCode;
111 ErrorCode = result;
|
/external/chromium_org/third_party/icu/source/common/ |
ucharstrieiterator.cpp | 23 UErrorCode &errorCode) 29 if(U_FAILURE(errorCode)) { 38 stack_=new UVector32(errorCode); 40 errorCode=U_MEMORY_ALLOCATION_ERROR; 45 UErrorCode &errorCode) 51 if(U_FAILURE(errorCode)) { 54 stack_=new UVector32(errorCode); 55 if(U_FAILURE(errorCode)) { 59 errorCode=U_MEMORY_ALLOCATION_ERROR; 99 UCharsTrie::Iterator::next(UErrorCode &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...] |
ucharstriebuilder.cpp | 38 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode); 65 UnicodeString &strings, UErrorCode &errorCode) { 66 if(U_FAILURE(errorCode)) { 72 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 86 UCharsTrieBuilder::UCharsTrieBuilder(UErrorCode & /*errorCode*/) 96 UCharsTrieBuilder::add(const UnicodeString &s, int32_t value, UErrorCode &errorCode) { 97 if(U_FAILURE(errorCode)) { 102 errorCode=U_NO_WRITE_PERMISSION; 114 errorCode=U_MEMORY_ALLOCATION_ERROR; 124 elements[elementsLength++].setTo(s, value, strings, errorCode); [all...] |
/external/icu/icu4c/source/common/ |
ucharstrieiterator.cpp | 23 UErrorCode &errorCode) 29 if(U_FAILURE(errorCode)) { 38 stack_=new UVector32(errorCode); 40 errorCode=U_MEMORY_ALLOCATION_ERROR; 45 UErrorCode &errorCode) 51 if(U_FAILURE(errorCode)) { 54 stack_=new UVector32(errorCode); 55 if(U_FAILURE(errorCode)) { 59 errorCode=U_MEMORY_ALLOCATION_ERROR; 99 UCharsTrie::Iterator::next(UErrorCode &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...] |
ucharstriebuilder.cpp | 38 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode); 65 UnicodeString &strings, UErrorCode &errorCode) { 66 if(U_FAILURE(errorCode)) { 72 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 86 UCharsTrieBuilder::UCharsTrieBuilder(UErrorCode & /*errorCode*/) 96 UCharsTrieBuilder::add(const UnicodeString &s, int32_t value, UErrorCode &errorCode) { 97 if(U_FAILURE(errorCode)) { 102 errorCode=U_NO_WRITE_PERMISSION; 114 errorCode=U_MEMORY_ALLOCATION_ERROR; 124 elements[elementsLength++].setTo(s, value, strings, errorCode); [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
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/chromium_org/third_party/icu/source/common/unicode/ |
listformatter.h | 81 * @param errorCode ICU error code, set if no data available for default locale. 86 static ListFormatter* createInstance(UErrorCode& errorCode); 92 * @param errorCode ICU error code, set if no data available for the given locale. 97 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode); 105 * @param errorCode ICU error code, set if no data available for the given locale. 110 static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCode); 127 * @param errorCode ICU error code, set if there is an error. 132 UnicodeString& appendTo, UErrorCode& errorCode) const; 142 static void initializeHash(UErrorCode& errorCode); 143 static const ListFormatData* getListFormatData(const Locale& locale, const char *style, UErrorCode& errorCode); [all...] |
/external/icu/icu4c/source/common/unicode/ |
listformatter.h | 81 * @param errorCode ICU error code, set if no data available for default locale. 86 static ListFormatter* createInstance(UErrorCode& errorCode); 92 * @param errorCode ICU error code, set if no data available for the given locale. 97 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode); 105 * @param errorCode ICU error code, set if no data available for the given locale. 110 static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCode); 127 * @param errorCode ICU error code, set if there is an error. 132 UnicodeString& appendTo, UErrorCode& errorCode) const; 144 UErrorCode& errorCode) const; 156 static void initializeHash(UErrorCode& errorCode); [all...] |
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/chromium_org/sandbox/linux/seccomp-bpf/ |
errorcode.h | 15 // We can either wrap a symbolic ErrorCode (i.e. ERR_XXX enum values), an 19 // that is using the ErrorCode class typically operates on a single 32bit 21 class SANDBOX_EXPORT ErrorCode { 108 // We allow the default constructor, as it makes the ErrorCode class 109 // much easier to use. But if we ever encounter an invalid ErrorCode 113 ErrorCode(); 114 explicit ErrorCode(int err); 124 ~ErrorCode() {} 126 bool Equals(const ErrorCode& err) const; 127 bool LessThan(const ErrorCode& err) const [all...] |
sandbox_bpf_policy.h | 13 class ErrorCode; 26 // returning a suitable ErrorCode. 28 virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, 33 virtual ErrorCode InvalidSyscall(SandboxBPF* sandbox_compiler) const;
|
/external/icu/icu4c/source/test/intltest/ |
convtest.cpp | 54 UErrorCode errorCode=U_ZERO_ERROR; 55 utf8Cnv=ucnv_open("UTF-8", &errorCode); 56 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); 57 if(U_FAILURE(errorCode)) { 98 UErrorCode errorCode; 101 errorCode=U_ZERO_ERROR; 102 dataModule=TestDataModule::getTestDataModule("conversion", *this, errorCode); 103 if(U_SUCCESS(errorCode)) { 104 testData=dataModule->createTestData("toUnicode", errorCode); 105 if(U_SUCCESS(errorCode)) { [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
Signature002Test.java | 126 short errorCode = checkedReply.getErrorCode(); 127 if ( errorCode != JDWPConstants.Error.NONE ) { 128 if ( errorCode != JDWPConstants.Error.INVALID_CLASS ) { 130 + " returns unexpected ERROR = " + errorCode 131 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 133 + " returns unexpected ERROR = " + errorCode 134 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 155 errorCode = checkedReply.getErrorCode(); 156 if ( errorCode != JDWPConstants.Error.NONE ) { 157 if ( errorCode != JDWPConstants.Error.INVALID_OBJECT ) [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);
|
/external/chromium_org/chrome/browser/ui/cocoa/applescript/ |
error_applescript.mm | 11 void AppleScript::SetError(AppleScript::ErrorCode errorCode) { 14 [current_command setScriptErrorNumber:(int)errorCode]; 16 switch (errorCode) {
|