HomeSort by relevance Sort by last modified time
    Searched defs:errorCode (Results 176 - 200 of 302) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/icu4c/test/cintltst/
custrtrn.c     [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...]
udatatst.c 158 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
182 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));
230 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));
328 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
347 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
625 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[0], type, myErrorName(status));
637 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
641 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
654 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status));
658 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[2], type, myErrorName(status))
    [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...]
  /external/icu4c/test/letest/
letest.cpp     [all...]
  /external/icu4c/test/perf/dicttrieperf/
dicttrieperf.cpp 82 IcuToolErrorCode errorCode("PackageLookup()");
83 CharString filename(perf.getSourceDir(), errorCode);
87 filename.append(U_FILE_SEP_CHAR, errorCode);
89 filename.append(U_ICUDATA_NAME, errorCode);
90 filename.append(".dat", errorCode);
139 IcuToolErrorCode errorCode("BinarySearchPackageLookup()");
148 itemNames.append("icudt46l/", errorCode);
149 itemNames.append(name, strlen(name)+1, errorCode);
275 IcuToolErrorCode errorCode("BinarySearchPackageLookup()");
276 builder=new BytesTrieBuilder(errorCode);
    [all...]
  /external/icu4c/tools/makeconv/
gencnvex.c 334 UErrorCode errorCode;
345 errorCode=U_ZERO_ERROR;
346 u_strFromUTF32(NULL, 0, &u16Length, u32, m->uLen, &errorCode);
347 if(U_FAILURE(errorCode) && errorCode!=U_BUFFER_OVERFLOW_ERROR) {
348 exit(errorCode);
358 errorCode=U_ZERO_ERROR;
359 u_strFromUTF32(u, u16Length, NULL, u32, m->uLen, &errorCode);
360 if(U_FAILURE(errorCode) && errorCode!=U_BUFFER_OVERFLOW_ERROR)
    [all...]
  /external/icu4c/tools/toolutil/
package.cpp 285 UErrorCode errorCode;
290 errorCode=U_ZERO_ERROR;
295 uprv_mkdir(filename, &errorCode);
296 if(U_FAILURE(errorCode)) {
310 UErrorCode errorCode;
355 errorCode=U_ZERO_ERROR;
356 typeEnum=getTypeEnumForInputData(data, length, &errorCode);
357 if(typeEnum<0 || U_FAILURE(errorCode)) {
450 UErrorCode errorCode;
470 errorCode=U_ZERO_ERROR
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
CtsTest.java 694 String errorCode = getDevice().installPackage(apkFile, true);
695 if (errorCode != null) {
696 CLog.e("Failed to install %s. Reason: %s", apkName, errorCode);
  /external/chromium_org/third_party/icu/source/common/
normalizer2impl.cpp 37 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) {
42 errorCode=U_MEMORY_ALLOCATION_ERROR;
69 UBool ReorderingBuffer::appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode) {
70 if(remainingCapacity<2 && !resize(2, errorCode)) {
90 UErrorCode &errorCode) {
94 if(remainingCapacity<length && !resize(length, errorCode)) {
120 append(c, leadCC, errorCode);
126 UBool ReorderingBuffer::appendZeroCC(UChar32 c, UErrorCode &errorCode) {
128 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) {
144 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) {
    [all...]
ubidiimp.h 185 UErrorCode errorCode; /* for eventual memory shortage */
ucnv.c 321 UErrorCode errorCode = U_ZERO_ERROR;
332 ucnv_getName(converter, &errorCode), converter, converter->isCopyLocal);
351 errorCode = U_ZERO_ERROR;
352 converter->fromCharErrorBehaviour(converter->toUContext, &toUArgs, NULL, 0, UCNV_CLOSE, &errorCode);
366 errorCode = U_ZERO_ERROR;
367 converter->fromUCharErrorBehaviour(converter->fromUContext, &fromUArgs, NULL, 0, 0, UCNV_CLOSE, &errorCode);
569 UErrorCode errorCode;
583 errorCode = U_ZERO_ERROR;
584 converter->fromCharErrorBehaviour(converter->toUContext, &toUArgs, NULL, 0, UCNV_RESET, &errorCode);
598 errorCode = U_ZERO_ERROR
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
callcoll.c 150 UErrorCode errorCode = U_ZERO_ERROR;
165 if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) {
167 } else if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) {
173 if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &errorCode) == UCOL_NON_IGNORABLE) {
    [all...]
ccaltst.c     [all...]
cldrtest.c 72 UErrorCode errorCode = U_ZERO_ERROR;
81 errorCode = U_ZERO_ERROR;
83 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode);
84 if (U_FAILURE(errorCode)) {
85 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode));
91 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode);
92 if (U_FAILURE(errorCode)) {
117 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode);
118 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode);
153 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode);
    [all...]
cnormtst.c 545 UErrorCode errorCode;
550 errorCode=U_ZERO_ERROR;
551 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
552 log_data_err("error: !isNormalized(<U+0300>, NFC) (%s) - (Are you missing data?)\n", u_errorName(errorCode));
556 errorCode=U_TRUNCATED_CHAR_FOUND;
557 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode);
558 if(errorCode!=U_TRUNCATED_CHAR_FOUND) {
559 log_err("error: isNormalized(U_TRUNCATED_CHAR_FOUND) changed the error code to %s\n", u_errorName(errorCode));
563 errorCode=U_ZERO_ERROR
    [all...]
custrtst.c     [all...]
ncnvtst.c     [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
caltest.cpp     [all...]
intltest.cpp 1082 UErrorCode errorCode = U_ZERO_ERROR;
    [all...]
tstnorm.cpp 12 #include "unicode/errorcode.h"
801 UErrorCode errorCode;
820 errorCode=U_ZERO_ERROR;
822 r=Normalizer::concatenate(left, right, result, mode, 0, errorCode);
823 if(U_FAILURE(errorCode) || /*result!=r ||*/ result!=expect) {
825 UnicodeString(u_errorName(errorCode))+", result==expect: expected: "+
834 errorCode=U_UNEXPECTED_TOKEN;
835 r=Normalizer::concatenate(left, right, result, mode, 0, errorCode);
836 if(errorCode!=U_UNEXPECTED_TOKEN || result!=r || !result.isBogus()) {
841 errorCode=U_ZERO_ERROR
    [all...]
ustrtest.cpp 227 UErrorCode errorCode=U_ZERO_ERROR;
229 cnv=ucnv_open("ISO-8859-1", &errorCode);
230 UnicodeString v(cs, -1, cnv, errorCode);
233 errln("UnicodeString(const char *, length, cnv, errorCode) does not work with length==-1");
540 UErrorCode errorCode;
543 errorCode=U_ZERO_ERROR;
544 length=s.extract((UChar *)NULL, 0, errorCode);
545 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || length!=s.length()) {
546 errln("UnicodeString.extract(NULL, 0)==%d (%s) expected %d (U_BUFFER_OVERFLOW_ERROR)", length, s.length(), u_errorName(errorCode));
549 errorCode=U_ZERO_ERROR
    [all...]
  /external/chromium_org/third_party/icu/source/tools/ctestfw/
ctest.c 946 UErrorCode errorCode = U_ZERO_ERROR;
968 u_setMemoryFunctions(NULL, ctest_libMalloc, ctest_libRealloc, ctest_libFree, &errorCode);
969 if (U_FAILURE(errorCode)) {
970 printf("u_setMemoryFunctions returned %s\n", u_errorName(errorCode));
    [all...]
  /external/chromium_org/third_party/icu/source/tools/gencnval/
gencnval.c 223 UErrorCode errorCode=U_ZERO_ERROR;
292 options[COPYRIGHT].doesOccur ? U_COPYRIGHT_STRING : NULL, &errorCode);
293 if(U_FAILURE(errorCode)) {
294 fprintf(stderr, "gencnval: unable to open output file - error %s\n", u_errorName(errorCode));
295 exit(errorCode);
302 udata_finish(out, &errorCode);
303 if(U_FAILURE(errorCode)) {
304 fprintf(stderr, "gencnval: error finishing output file - %s\n", u_errorName(errorCode));
305 exit(errorCode);
    [all...]
  /external/chromium_org/third_party/icu/source/tools/gennorm2/
n2builder.cpp 29 #include "unicode/errorcode.h"
161 Normalizer2DataBuilder::Normalizer2DataBuilder(UErrorCode &errorCode) :
164 normTrie=utrie2_open(0, 0, &errorCode);
216 IcuToolErrorCode errorCode("gennorm2/createNorm()");
217 utrie2_set32(normTrie, c, (uint32_t)(p-norms), errorCode);
256 UErrorCode errorCode=U_ZERO_ERROR;
257 u_strToUTF8(NULL, 0, NULL, s.getBuffer(), s.length(), &errorCode);
258 return U_SUCCESS(errorCode) || errorCode==U_BUFFER_OVERFLOW_ERROR;
353 IcuToolErrorCode errorCode("gennorm2/addComposition()")
    [all...]

Completed in 2296 milliseconds

1 2 3 4 5 6 78 91011>>