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

1 2 3 4 56 7 8 91011>>

  /external/chromium_org/third_party/icu/source/test/cintltst/
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...]
idnatest.c     [all...]
putiltst.c 135 log_verbose("Testing the API u_errorName().. with BOGUS ERRORCODE...\n");
418 static const UErrorCode errorCode[_CODE_ARR_LEN] = {
451 errorName = u_errorName(errorCode[code]);
ucnvseltst.c 510 UErrorCode errorCode = U_ILLEGAL_ARGUMENT_ERROR;
511 UPropsVectors *pv = upvec_open(100, &errorCode);
516 errorCode = U_ZERO_ERROR;
517 pv = upvec_open(-1, &errorCode);
518 if (pv != NULL || U_SUCCESS(errorCode)) {
522 errorCode = U_ZERO_ERROR;
523 pv = upvec_open(100, &errorCode);
524 if (pv == NULL || U_FAILURE(errorCode)) {
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...]
utransts.c 184 UErrorCode errorCode;
186 errorCode=U_ZERO_ERROR;
187 uenum=utrans_openIDs(&errorCode);
188 if(U_FAILURE(errorCode)) {
189 log_err("utrans_openIDs() failed - %s\n", u_errorName(errorCode));
193 count=uenum_count(uenum, &errorCode);
194 if(U_FAILURE(errorCode) || count<1) {
195 log_err("uenum_count(transliterator IDs)=%d - %s\n", count, u_errorName(errorCode));
200 id=uenum_unext(uenum, &idLength, &errorCode);
201 if(U_FAILURE(errorCode)) {
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
uts46test.cpp 57 IcuTestErrorCode errorCode(*this, "init/createUTS46Instance()");
60 errorCode);
64 errorCode);
65 if(errorCode.logDataIfFailureAndReset("createUTS46Instance()")) {
110 UErrorCode errorCode=U_ZERO_ERROR;
115 trans->nameToASCII(input, result, info, errorCode);
116 if(U_FAILURE(errorCode) || info.hasErrors() || result!=expected) {
118 (long)info.getErrors(), result==expected, u_errorName(errorCode));
120 errorCode=U_USELESS_COLLATOR_ERROR;
121 trans->nameToUnicode(input, result, info, errorCode);
    [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/chromium_org/third_party/icu/source/tools/toolutil/
pkgitems.cpp 83 UErrorCode errorCode=U_ZERO_ERROR;
84 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode);
85 if(U_FAILURE(errorCode)) {
86 exit(errorCode); // should succeed because readFile() checks headers
93 UDataSwapper *ds=udata_openSwapper((UBool)pInfo->isBigEndian, pInfo->charsetFamily, U_IS_BIG_ENDIAN, U_CHARSET_FAMILY, &errorCode);
94 if(U_FAILURE(errorCode)) {
96 pItem->name, u_errorName(errorCode));
97 exit(errorCode);
108 swap(ds, pItem->data, pItem->length, swapped, &errorCode);
109 pInfo=::getDataInfo(swapped, pItem->length, infoLength, itemHeaderLength, &errorCode);
    [all...]
ucm.c 221 UErrorCode errorCode;
228 errorCode=U_ZERO_ERROR;
233 FALSE, &errorCode);
256 FALSE, &errorCode);
258 if(U_FAILURE(errorCode)) {
260 u_errorName(errorCode));
261 exit(errorCode);
829 UErrorCode errorCode=U_ZERO_ERROR;
830 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode);
831 if( (U_FAILURE(errorCode) && errorCode!=U_BUFFER_OVERFLOW_ERROR) |
    [all...]
  /external/eigen/Eigen/src/UmfPackSupport/
UmfPackSupport.h 242 int errorCode = 0;
243 errorCode = umfpack_symbolic(matrix.rows(), matrix.cols(), m_outerIndexPtr, m_innerIndexPtr, m_valuePtr,
247 m_info = errorCode ? InvalidInput : Success;
266 int errorCode;
267 errorCode = umfpack_numeric(m_outerIndexPtr, m_innerIndexPtr, m_valuePtr,
270 m_info = errorCode ? NumericalIssue : Success;
385 int errorCode;
388 errorCode = umfpack_solve(UMFPACK_A,
391 if (errorCode!=0)
  /external/icu4c/common/
ubidiln.c 309 UErrorCode errorCode;
313 errorCode=U_ZERO_ERROR;
314 RETURN_VOID_IF_BAD_RANGE(logicalPosition, 0, pBiDi->length, errorCode);
316 runCount=ubidi_countRuns((UBiDi *)pBiDi, &errorCode);
317 if(U_FAILURE(errorCode)) {
369 UErrorCode errorCode = U_ZERO_ERROR;
370 RETURN_IF_NOT_VALID_PARA_OR_LINE(pBiDi, errorCode, UBIDI_LTR);
371 ubidi_getRuns(pBiDi, &errorCode);
372 if(U_FAILURE(errorCode)) {
375 RETURN_IF_BAD_RANGE(runIndex, 0, pBiDi->runCount, errorCode, UBIDI_LTR)
    [all...]
unisetspan.cpp 167 UErrorCode errorCode=U_ZERO_ERROR;
169 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode);
170 if(U_SUCCESS(errorCode) || errorCode==U_BUFFER_OVERFLOW_ERROR) {
182 UErrorCode errorCode=U_ZERO_ERROR;
184 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode);
185 if(U_SUCCESS(errorCode)) {
    [all...]
uprops.cpp 84 UErrorCode errorCode=U_ZERO_ERROR;
85 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode);
86 return U_SUCCESS(errorCode) && impl->isCompNo(impl->getNorm16(c));
97 UErrorCode errorCode=U_ZERO_ERROR;
99 (UNormalizationMode)(which-UCHAR_NFD_INERT+UNORM_NFD), errorCode);
100 return U_SUCCESS(errorCode) && norm2->isInert(c);
111 UErrorCode errorCode=U_ZERO_ERROR;
112 const Normalizer2 *nfcNorm2=Normalizer2Factory::getNFCInstance(errorCode);
113 if(U_FAILURE(errorCode)) {
141 U_FOLD_CASE_DEFAULT, &errorCode);
    [all...]
  /external/icu4c/test/cintltst/
cintltst.c 87 UErrorCode errorCode = U_ZERO_ERROR;
111 u_init(&errorCode);
112 if (U_FAILURE(errorCode)) {
114 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode));
128 errorCode = U_ZERO_ERROR;
134 u_init(&errorCode);
135 if (U_FAILURE(errorCode)) {
139 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode));
150 cnv = ucnv_open(TRY_CNV_2, &errorCode);
166 rb = ures_open(NULL, "en", &errorCode);
    [all...]
cmsgtst.c     [all...]
idnatest.c     [all...]
putiltst.c 152 log_verbose("Testing the API u_errorName().. with BOGUS ERRORCODE...\n");
429 static const UErrorCode errorCode[_CODE_ARR_LEN] = {
462 errorName = u_errorName(errorCode[code]);
ucnvseltst.c 509 UErrorCode errorCode = U_ILLEGAL_ARGUMENT_ERROR;
510 UPropsVectors *pv = upvec_open(100, &errorCode);
515 errorCode = U_ZERO_ERROR;
516 pv = upvec_open(-1, &errorCode);
517 if (pv != NULL || U_SUCCESS(errorCode)) {
521 errorCode = U_ZERO_ERROR;
522 pv = upvec_open(100, &errorCode);
523 if (pv == NULL || U_FAILURE(errorCode)) {
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...]
utransts.c 184 UErrorCode errorCode;
186 errorCode=U_ZERO_ERROR;
187 uenum=utrans_openIDs(&errorCode);
188 if(U_FAILURE(errorCode)) {
189 log_err("utrans_openIDs() failed - %s\n", u_errorName(errorCode));
193 count=uenum_count(uenum, &errorCode);
194 if(U_FAILURE(errorCode) || count<1) {
195 log_err("uenum_count(transliterator IDs)=%d - %s\n", count, u_errorName(errorCode));
200 id=uenum_unext(uenum, &idLength, &errorCode);
201 if(U_FAILURE(errorCode)) {
    [all...]
  /external/icu4c/test/intltest/
plurfmts.cpp 584 IcuTestErrorCode errorCode(*this, "ordinalFormatTest");
586 PluralFormat pf(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, pattern, errorCode);
587 if (errorCode.logDataIfFailureAndReset("PluralFormat(en, UPLURAL_TYPE_ORDINAL, pattern) failed")) {
590 UnicodeString result = pf.format((int32_t)321, errorCode);
591 if (!errorCode.logIfFailureAndReset("PluralFormat.format(321) failed") &&
595 result = pf.format((int32_t)22, errorCode);
596 if (!errorCode.logIfFailureAndReset("PluralFormat.format(22) failed") &&
600 result = pf.format((int32_t)3, errorCode);
601 if (!errorCode.logIfFailureAndReset("PluralFormat.format(3) failed") &&
607 PluralFormat pf2(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, errorCode);
    [all...]
ucharstrietest.cpp 85 IcuTestErrorCode errorCode(*this, "UCharsTrieTest()");
86 builder_=new UCharsTrieBuilder(errorCode);
123 IcuTestErrorCode errorCode(*this, "TestBuilder()");
124 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode);
125 if(errorCode.reset()!=U_INDEX_OUTOFBOUNDS_ERROR) {
130 builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode);
131 if(errorCode.reset()!=U_ILLEGAL_ARGUMENT_ERROR) {
369 IcuTestErrorCode errorCode(*this, "buildLargeTrie()")
    [all...]
uts46test.cpp 57 IcuTestErrorCode errorCode(*this, "init/createUTS46Instance()");
61 trans=IDNA::createUTS46Instance(commonOptions, errorCode);
65 errorCode);
66 if(errorCode.logDataIfFailureAndReset("createUTS46Instance()")) {
111 UErrorCode errorCode=U_ZERO_ERROR;
116 trans->nameToASCII(input, result, info, errorCode);
117 if(U_FAILURE(errorCode) || info.hasErrors() || result!=expected) {
119 (long)info.getErrors(), result==expected, u_errorName(errorCode));
121 errorCode=U_USELESS_COLLATOR_ERROR;
122 trans->nameToUnicode(input, result, info, errorCode);
    [all...]
  /external/icu4c/test/iotest/
iotest.cpp 197 UErrorCode errorCode;
222 errorCode=U_ZERO_ERROR;
223 dataModule=TestDataModule::getTestDataModule("icuio", logger, errorCode);
224 if(U_SUCCESS(errorCode)) {
225 testData=dataModule->createTestData("printf", errorCode);
226 if(U_SUCCESS(errorCode)) {
227 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
228 if(U_FAILURE(errorCode)) {
230 i, u_errorName(errorCode));
231 errorCode=U_ZERO_ERROR
    [all...]

Completed in 762 milliseconds

1 2 3 4 56 7 8 91011>>