/external/icu4c/tools/toolutil/ |
package.cpp | 281 UErrorCode errorCode; 286 errorCode=U_ZERO_ERROR; 291 uprv_mkdir(filename, &errorCode); 292 if(U_FAILURE(errorCode)) { 306 UErrorCode errorCode; 350 errorCode=U_ZERO_ERROR; 351 typeEnum=getTypeEnumForInputData(data, length, &errorCode); 352 if(typeEnum<0 || U_FAILURE(errorCode)) { 429 UErrorCode errorCode; 449 errorCode=U_ZERO_ERROR [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
ccapitst.c | [all...] |
cintltst.h | 63 * converts the errorcode to an error descriptive string(const char*) 66 #define myErrorName(errorCode) u_errorName(errorCode)
|
udatatst.c | 147 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status)); 171 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", path, memMap[i][0], memMap[i][1], myErrorName(status)); 219 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", icuDataFilePath, memMap[i][0], memMap[i][1], myErrorName(status)); 317 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n", 336 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n", 612 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[0], type, myErrorName(status)); 624 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status)); 628 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status)); 641 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status)); 645 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[2], type, myErrorName(status)) [all...] |
nucnvtst.c | 159 UErrorCode errorCode=U_ZERO_ERROR; 164 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 165 if(errorCode==U_INDEX_OUTOFBOUNDS_ERROR) { 167 } else if(U_FAILURE(errorCode)) { 168 log_err("%s ucnv_getNextUChar() failed: %s\n", message, u_errorName(errorCode)); 187 UErrorCode errorCode=U_ZERO_ERROR; 189 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 190 if(errorCode != expected){ 191 log_err("FAIL: Expected:%s when %s-----Got:%s\n", myErrorName(expected), message, myErrorName(errorCode)); [all...] |
spreptst.c | 33 int32_t options, UErrorCode* errorCode); 63 UErrorCode errorCode = U_ZERO_ERROR; 64 loadTestData(&errorCode); 65 if(U_FAILURE(errorCode)) { 66 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode)); 71 doStringPrepTest("nfscsi","nfs4_cs_prep_ci.txt", USPREP_DEFAULT, &errorCode); 74 errorCode = U_ZERO_ERROR; 75 doStringPrepTest("nfscss","nfs4_cs_prep_cs.txt", USPREP_DEFAULT, &errorCode); 81 UErrorCode errorCode = U_ZERO_ERROR; 83 doStringPrepTest("nfscis","nfs4_cis_prep.txt", USPREP_DEFAULT, &errorCode); [all...] |
cintltst.c | 76 UErrorCode errorCode = U_ZERO_ERROR; 100 u_init(&errorCode); 101 if (U_FAILURE(errorCode)) { 103 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode)); 114 errorCode = U_ZERO_ERROR; 120 u_init(&errorCode); 121 if (U_FAILURE(errorCode)) { 125 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode)); 136 cnv = ucnv_open(TRY_CNV_2, &errorCode); 152 rb = ures_open(NULL, "en", &errorCode); [all...] |
/external/icu4c/test/cintltst/ |
cintltst.h | 63 * converts the errorcode to an error descriptive string(const char*) 66 #define myErrorName(errorCode) u_errorName(errorCode)
|
udatatst.c | 154 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status)); 178 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", path, memMap[i][0], memMap[i][1], myErrorName(status)); 226 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", icuDataFilePath, memMap[i][0], memMap[i][1], myErrorName(status)); 324 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n", 343 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n", 619 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[0], type, myErrorName(status)); 631 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status)); 635 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status)); 648 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status)); 652 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[2], type, myErrorName(status)) [all...] |
nucnvtst.c | 164 UErrorCode errorCode=U_ZERO_ERROR; 169 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 170 if(errorCode==U_INDEX_OUTOFBOUNDS_ERROR) { 172 } else if(U_FAILURE(errorCode)) { 173 log_err("%s ucnv_getNextUChar() failed: %s\n", message, u_errorName(errorCode)); 192 UErrorCode errorCode=U_ZERO_ERROR; 194 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 195 if(errorCode != expected){ 196 log_err("FAIL: Expected:%s when %s-----Got:%s\n", myErrorName(expected), message, myErrorName(errorCode)); [all...] |
spreptst.c | 33 int32_t options, UErrorCode* errorCode); 65 UErrorCode errorCode = U_ZERO_ERROR; 66 loadTestData(&errorCode); 67 if(U_FAILURE(errorCode)) { 68 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode)); 73 doStringPrepTest("nfscsi","nfs4_cs_prep_ci.txt", USPREP_DEFAULT, &errorCode); 76 errorCode = U_ZERO_ERROR; 77 doStringPrepTest("nfscss","nfs4_cs_prep_cs.txt", USPREP_DEFAULT, &errorCode); 83 UErrorCode errorCode = U_ZERO_ERROR; 85 doStringPrepTest("nfscis","nfs4_cis_prep.txt", USPREP_DEFAULT, &errorCode); [all...] |
cintltst.c | 79 UErrorCode errorCode = U_ZERO_ERROR; 103 u_init(&errorCode); 104 if (U_FAILURE(errorCode)) { 106 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode)); 120 errorCode = U_ZERO_ERROR; 126 u_init(&errorCode); 127 if (U_FAILURE(errorCode)) { 131 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode)); 142 cnv = ucnv_open(TRY_CNV_2, &errorCode); 158 rb = ures_open(NULL, "en", &errorCode); [all...] |
/external/webkit/WebCore/platform/network/ |
ResourceErrorBase.cpp | 62 if (a.errorCode() != b.errorCode())
|
ResourceErrorBase.h | 43 int errorCode() const { lazyInit(); return m_errorCode; } 60 ResourceErrorBase(const String& domain, int errorCode, const String& failingURL, const String& localizedDescription) 62 , m_errorCode(errorCode)
|
/frameworks/base/core/java/android/accounts/ |
AccountManagerResponse.java | 50 public void onError(int errorCode, String errorMessage) { 52 mResponse.onError(errorCode, errorMessage);
|
AccountAuthenticatorResponse.java | 69 public void onError(int errorCode, String errorMessage) { 71 Log.v(TAG, "AccountAuthenticatorResponse.onError: " + errorCode + ", " + errorMessage); 74 mAccountAuthenticatorResponse.onError(errorCode, errorMessage);
|
/frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
LVPSA_Init.c | 48 LVPSA_RETURN errorCode = LVPSA_OK; 173 errorCode = LVPSA_Control (*phInstance, pControlParams); 175 if(errorCode!=0) 177 return errorCode; 180 errorCode = LVPSA_ApplyNewSettings (pLVPSA_Inst); 182 if(errorCode!=0) 184 return errorCode; 187 return(errorCode);
|
/external/icu4c/common/ |
normlzr.cpp | 71 UErrorCode errorCode=U_ZERO_ERROR; 72 fNorm2=Normalizer2Factory::getInstance(fUMode, errorCode); 76 new FilteredNormalizer2(*fNorm2, *uniset_getUnicode32Instance(errorCode)); 78 if(U_FAILURE(errorCode)) { 79 errorCode=U_ZERO_ERROR; 80 fNorm2=Normalizer2Factory::getNoopInstance(errorCode); 209 UErrorCode &errorCode) { 210 if(left.isBogus() || right.isBogus() || U_FAILURE(errorCode)) { 212 if(U_SUCCESS(errorCode)) { 213 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |
/external/chromium/third_party/icu/source/common/ |
normlzr.cpp | 66 UErrorCode errorCode=U_ZERO_ERROR; 70 if(unorm_haveData(&errorCode)) { 265 UErrorCode &errorCode) { 266 if(left.isBogus() || right.isBogus() || U_FAILURE(errorCode)) { 268 if(U_SUCCESS(errorCode)) { 269 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 287 &errorCode); 288 dest->releaseBuffer(U_SUCCESS(errorCode) ? length : 0); 289 if(errorCode==U_BUFFER_OVERFLOW_ERROR) { 290 errorCode=U_ZERO_ERROR [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetsetup/ |
CtsRootDeviceSetup.java | 84 String errorCode = device.installPackage( 86 if (errorCode != null) { 90 ACCESSIBILITY_SERVICE_APK_FILE_NAME, device.getSerialNumber(), errorCode));
|
/external/chromium/third_party/icu/source/tools/gentest/ |
gentest.c | 65 UErrorCode errorCode = U_ZERO_ERROR; 96 createData(options[2].value, &errorCode); 98 return U_FAILURE(errorCode); 103 createData(const char* outputDirectory, UErrorCode *errorCode) { 112 U_COPYRIGHT_STRING, errorCode); 113 if(U_FAILURE(*errorCode)) { 114 fprintf(stderr, "gentest: unable to create data memory, %s\n", u_errorName(*errorCode)); 115 exit(*errorCode); 124 dataLength=udata_finish(pData, errorCode); 125 if(U_FAILURE(*errorCode)) { [all...] |
/external/icu4c/tools/gennorm2/ |
gennorm2.cpp | 27 #include "unicode/errorcode.h" 130 IcuToolErrorCode errorCode("gennorm2/main()"); 138 udata_createDummy(NULL, NULL, options[OUTPUT_FILENAME].value, errorCode); 143 LocalPointer<Normalizer2DataBuilder> builder(new Normalizer2DataBuilder(errorCode)); 144 errorCode.assertSuccess(); 178 return errorCode.get(); 186 IcuToolErrorCode errorCode("gennorm2/parseFile()"); 203 u_parseCodePointRangeAnyTerminator(line, &startCP, &endCP, &delimiter, errorCode); 204 if(errorCode.isFailure()) { 206 exit(errorCode.reset()) [all...] |
/external/chromium/third_party/icu/source/tools/gencase/ |
store.c | 288 UErrorCode errorCode; 410 errorCode=U_ZERO_ERROR; 412 upvec_setValue(pv, p->code, p->code, 0, value, 0xffffffff, &errorCode); 413 if(U_FAILURE(errorCode)) { 415 u_errorName(errorCode)); 416 exit(errorCode); 431 UErrorCode errorCode=U_ZERO_ERROR; 432 upvec_setValue(pv, first, last, 0, UCASE_SENSITIVE, UCASE_SENSITIVE, &errorCode); 433 if(U_FAILURE(errorCode)) { 435 u_errorName(errorCode)); [all...] |
/external/icu4c/tools/gencase/ |
store.c | 296 UErrorCode errorCode; 418 errorCode=U_ZERO_ERROR; 420 upvec_setValue(pv, p->code, p->code, 0, value, 0xffffffff, &errorCode); 421 if(U_FAILURE(errorCode)) { 423 u_errorName(errorCode)); 424 exit(errorCode); 439 UErrorCode errorCode=U_ZERO_ERROR; 440 upvec_setValue(pv, first, last, 0, UCASE_SENSITIVE, UCASE_SENSITIVE, &errorCode); 441 if(U_FAILURE(errorCode)) { 443 u_errorName(errorCode)); [all...] |
/external/chromium/third_party/icu/source/tools/toolutil/ |
xmlparser.h | 134 UXMLElement(const UXMLParser *parser, const UnicodeString *name, UErrorCode &errorCode); 167 static UXMLParser *createParser(UErrorCode &errorCode); 178 UXMLElement *parse(const UnicodeString &src, UErrorCode &errorCode); 184 UXMLElement *parseFile(const char *filename, UErrorCode &errorCode); 211 const UnicodeString *intern(const UnicodeString &s, UErrorCode &errorCode);
|