/external/chromium_org/third_party/icu/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...] |
ucdtest.cpp | 34 UErrorCode errorCode=U_ZERO_ERROR; 35 unknownPropertyNames=new U_NAMESPACE_QUALIFIER Hashtable(errorCode); 36 if(U_FAILURE(errorCode)) { 42 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode); 172 UErrorCode errorCode=U_ZERO_ERROR; 173 me->unknownPropertyNames->puti(propName, 1, errorCode); 198 UErrorCode errorCode=U_ZERO_ERROR; 209 strcpy(backupPath, loadTestData(errorCode)); 216 u_parseDelimitedFile(newPath, ';', fields, 2, derivedPropsLineFn, this, &errorCode); 218 if(errorCode==U_FILE_ACCESS_ERROR) [all...] |
/external/icu4c/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...] |
itutil.cpp | 13 #include "unicode/errorcode.h" 115 ErrorCode errorCode; 116 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) { 117 errln("ErrorCode did not initialize properly"); 120 errorCode.assertSuccess(); 121 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) { 122 errln("ErrorCode did not format error message string properly") [all...] |
ucdtest.cpp | 36 UErrorCode errorCode=U_ZERO_ERROR; 37 unknownPropertyNames=new U_NAMESPACE_QUALIFIER Hashtable(errorCode); 38 if(U_FAILURE(errorCode)) { 44 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode); 177 UErrorCode errorCode=U_ZERO_ERROR; 178 me->unknownPropertyNames->puti(propName, 1, errorCode); 203 UErrorCode errorCode=U_ZERO_ERROR; 214 strcpy(backupPath, loadTestData(errorCode)); 221 u_parseDelimitedFile(newPath, ';', fields, 2, derivedPropsLineFn, this, &errorCode); 223 if(errorCode==U_FILE_ACCESS_ERROR) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/network/ |
SocketStreamError.cpp | 44 if (a.errorCode() != b.errorCode())
|
SocketStreamError.h | 43 static PassRefPtr<SocketStreamError> create(int errorCode, const String& errorMessage) 45 return adoptRef(new SocketStreamError(errorCode, errorMessage)); 50 int errorCode() const { return m_errorCode; } 57 explicit SocketStreamError(int errorCode, const String& errorMessage) 58 : m_errorCode(errorCode)
|
/frameworks/base/core/java/android/accounts/ |
IAccountAuthenticatorResponse.aidl | 27 void onError(int errorCode, String errorMessage);
|
IAccountManagerResponse.aidl | 26 void onError(int errorCode, String errorMessage);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsResponse.java | 30 * errorCode: See 3GPP 27.005, 3.2.5 for GSM/UMTS, 35 public SmsResponse(int messageRef, String ackPdu, int errorCode) { 38 mErrorCode = errorCode;
|
/external/chromium_org/third_party/icu/source/common/ |
normalizer2.cpp | 41 UErrorCode &errorCode) const { 42 if(U_SUCCESS(errorCode)) { 46 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 54 UErrorCode &errorCode) const { 55 if(U_SUCCESS(errorCode)) { 59 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 67 UErrorCode &errorCode) const { 68 if(U_SUCCESS(errorCode)) { 72 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 108 UErrorCode &errorCode) const [all...] |
/external/chromium_org/third_party/icu/source/test/iotest/ |
iotest.cpp | 196 UErrorCode errorCode; 221 errorCode=U_ZERO_ERROR; 222 dataModule=TestDataModule::getTestDataModule("icuio", logger, errorCode); 223 if(U_SUCCESS(errorCode)) { 224 testData=dataModule->createTestData("printf", errorCode); 225 if(U_SUCCESS(errorCode)) { 226 for(i=0; testData->nextCase(testCase, errorCode); ++i) { 227 if(U_FAILURE(errorCode)) { 229 i, u_errorName(errorCode)); 230 errorCode=U_ZERO_ERROR [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SFTPException.java | 26 private static String constructMessage(String s, int errorCode) 28 String[] detail = ErrorCodes.getDescription(errorCode); 36 SFTPException(String msg, int errorCode) 38 super(constructMessage(msg, errorCode)); 40 sftpErrorCode = errorCode;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
udatpg_test.c | 73 UErrorCode errorCode=U_ZERO_ERROR; 79 dtpg=udatpg_open(NULL, &errorCode); 80 if(U_FAILURE(errorCode)) { 81 log_err_status(errorCode, "udatpg_open(NULL) failed - %s\n", u_errorName(errorCode)); 87 dtpg=udatpg_open("de", &errorCode); 88 if(U_FAILURE(errorCode)) { 89 log_err("udatpg_open(de) failed - %s\n", u_errorName(errorCode)); 97 dtpg2=udatpg_clone(dtpg, &errorCode); 98 if(U_FAILURE(errorCode) || dtpg2==NULL) [all...] |
trie2test.c | 488 UErrorCode errorCode; 502 errorCode=U_ZERO_ERROR; 504 utrie2_set32(trie, 1, 234, &errorCode); 506 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 508 testName, u_errorName(errorCode)); 512 errorCode=U_ZERO_ERROR; 513 utrie2_setRange32(trie, 1, 5, 234, TRUE, &errorCode); 515 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 517 testName, u_errorName(errorCode)); 521 errorCode=U_ZERO_ERROR [all...] |
/external/icu4c/test/cintltst/ |
udatpg_test.c | 73 UErrorCode errorCode=U_ZERO_ERROR; 79 dtpg=udatpg_open(NULL, &errorCode); 80 if(U_FAILURE(errorCode)) { 81 log_err_status(errorCode, "udatpg_open(NULL) failed - %s\n", u_errorName(errorCode)); 87 dtpg=udatpg_open("de", &errorCode); 88 if(U_FAILURE(errorCode)) { 89 log_err("udatpg_open(de) failed - %s\n", u_errorName(errorCode)); 97 dtpg2=udatpg_clone(dtpg, &errorCode); 98 if(U_FAILURE(errorCode) || dtpg2==NULL) [all...] |
trie2test.c | 488 UErrorCode errorCode; 502 errorCode=U_ZERO_ERROR; 504 utrie2_set32(trie, 1, 234, &errorCode); 506 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 508 testName, u_errorName(errorCode)); 512 errorCode=U_ZERO_ERROR; 513 utrie2_setRange32(trie, 1, 5, 234, TRUE, &errorCode); 515 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 517 testName, u_errorName(errorCode)); 521 errorCode=U_ZERO_ERROR [all...] |
cldrtest.c | 75 UErrorCode errorCode = U_ZERO_ERROR; 84 errorCode = U_ZERO_ERROR; 86 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode); 87 if (U_FAILURE(errorCode)) { 88 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); 94 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode); 95 if (U_FAILURE(errorCode)) { 120 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode); 121 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode); 156 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode); [all...] |
/external/icu4c/samples/case/ |
ucase.c | 24 UErrorCode errorCode = U_ZERO_ERROR; 51 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); 52 if(U_FAILURE(errorCode) || buffer[length]!=0) { 54 u_errorName(errorCode)); 64 sizeof(upper)/sizeof(upper[0]), "en", &errorCode); 65 if(U_FAILURE(errorCode) || buffer[length]!=0) { 67 u_errorName(errorCode)); 76 &errorCode); 77 if(U_FAILURE(errorCode) || buffer[length]!=0) { 79 u_errorName(errorCode)); [all...] |
/external/icu4c/samples/numfmt/ |
main.cpp | 100 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 103 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 105 if(U_FAILURE(errorCode)) { 109 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 118 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 163 errorCode=U_UNSUPPORTED_ERROR; 189 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 192 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 193 if(U_FAILURE(errorCode)) { 197 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
idna.h | 76 * @param errorCode Standard ICU error code. Its input value must 84 createUTS46Instance(uint32_t options, UErrorCode &errorCode); 99 * @param errorCode Standard ICU error code. Its input value must 108 IDNAInfo &info, UErrorCode &errorCode) const = 0; 121 * @param errorCode Standard ICU error code. Its input value must 130 IDNAInfo &info, UErrorCode &errorCode) const = 0; 145 * @param errorCode Standard ICU error code. Its input value must 154 IDNAInfo &info, UErrorCode &errorCode) const = 0; 167 * @param errorCode Standard ICU error code. Its input value must 176 IDNAInfo &info, UErrorCode &errorCode) const = 0 [all...] |
/external/icu4c/common/unicode/ |
idna.h | 82 * @param errorCode Standard ICU error code. Its input value must 90 createUTS46Instance(uint32_t options, UErrorCode &errorCode); 105 * @param errorCode Standard ICU error code. Its input value must 114 IDNAInfo &info, UErrorCode &errorCode) const = 0; 127 * @param errorCode Standard ICU error code. Its input value must 136 IDNAInfo &info, UErrorCode &errorCode) const = 0; 151 * @param errorCode Standard ICU error code. Its input value must 160 IDNAInfo &info, UErrorCode &errorCode) const = 0; 173 * @param errorCode Standard ICU error code. Its input value must 182 IDNAInfo &info, UErrorCode &errorCode) const = 0 [all...] |
/external/chromium_org/third_party/icu/source/io/ |
ustream.cpp | 46 UErrorCode errorCode = U_ZERO_ERROR; 49 converter = u_getDefaultConverter(&errorCode); 50 if(U_SUCCESS(errorCode)) { 55 errorCode = U_ZERO_ERROR; 57 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 64 } while(errorCode == U_BUFFER_OVERFLOW_ERROR); 86 UErrorCode errorCode = U_ZERO_ERROR; 89 converter = u_getDefaultConverter(&errorCode); 90 if(U_SUCCESS(errorCode)) { 112 errorCode = U_ZERO_ERROR [all...] |
/external/icu4c/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/icu4c/samples/ustring/ |
ustring.cpp | 40 UErrorCode errorCode=U_ZERO_ERROR; 47 ucnv_fromUChars(cnv, out, sizeof(out), s, length, &errorCode); 48 if(U_FAILURE(errorCode) || errorCode==U_STRING_NOT_TERMINATED_WARNING) { 49 printf("%sproblem converting string from Unicode: %s\n", announce, u_errorName(errorCode)); 198 UErrorCode errorCode; 287 errorCode=U_ZERO_ERROR; 288 length=u_strToLower(buffer, LENGTHOF(buffer), input, -1, "en", &errorCode); 289 if(U_SUCCESS(errorCode)) { 292 printf("error in u_strToLower(en)=%ld error=%s\n", length, u_errorName(errorCode)); [all...] |