HomeSort by relevance Sort by last modified time
    Searched defs:errorCode (Results 151 - 175 of 313) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/third_party/icu/source/test/cintltst/
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/chromium_org/third_party/icu/source/test/intltest/
plurfmts.cpp 628 IcuTestErrorCode errorCode(*this, "ordinalFormatTest");
630 PluralFormat pf(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, pattern, errorCode);
631 if (errorCode.logDataIfFailureAndReset("PluralFormat(en, UPLURAL_TYPE_ORDINAL, pattern) failed")) {
634 UnicodeString result = pf.format((int32_t)321, errorCode);
635 if (!errorCode.logIfFailureAndReset("PluralFormat.format(321) failed") &&
639 result = pf.format((int32_t)22, errorCode);
640 if (!errorCode.logIfFailureAndReset("PluralFormat.format(22) failed") &&
644 result = pf.format((int32_t)3, errorCode);
645 if (!errorCode.logIfFailureAndReset("PluralFormat.format(3) failed") &&
651 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/chromium_org/third_party/icu/source/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...]
  /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;
386 int errorCode;
389 errorCode = umfpack_solve(UMFPACK_A,
392 if (errorCode!=0)
  /external/icu/icu4c/source/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/icu/icu4c/source/i18n/
collationiterator.cpp 35 CollationIterator::CEBuffer::ensureAppendCapacity(int32_t appCap, UErrorCode &errorCode) {
38 if(U_FAILURE(errorCode)) { return FALSE; }
48 errorCode = U_MEMORY_ALLOCATION_ERROR;
153 UErrorCode errorCode = U_ZERO_ERROR;
155 if(length > 0 && ceBuffer.ensureAppendCapacity(length, errorCode)) {
196 CollationIterator::fetchCEs(UErrorCode &errorCode) {
197 while(U_SUCCESS(errorCode) && nextCE(errorCode) != Collation::NO_CE) {
205 CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) {
206 c = nextCodePoint(errorCode);
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cintltst.c 86 UErrorCode errorCode = U_ZERO_ERROR;
110 u_init(&errorCode);
111 if (U_FAILURE(errorCode)) {
113 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode));
127 errorCode = U_ZERO_ERROR;
133 u_init(&errorCode);
134 if (U_FAILURE(errorCode)) {
138 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode));
149 cnv = ucnv_open(TRY_CNV_2, &errorCode);
165 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 187 UErrorCode errorCode;
189 errorCode=U_ZERO_ERROR;
190 uenum=utrans_openIDs(&errorCode);
191 if(U_FAILURE(errorCode)) {
192 log_err("utrans_openIDs() failed - %s\n", u_errorName(errorCode));
196 count=uenum_count(uenum, &errorCode);
197 if(U_FAILURE(errorCode) || count<1) {
198 log_err("uenum_count(transliterator IDs)=%d - %s\n", count, u_errorName(errorCode));
203 id=uenum_unext(uenum, &idLength, &errorCode);
204 if(U_FAILURE(errorCode)) {
    [all...]
  /external/icu/icu4c/source/test/intltest/
plurfmts.cpp 628 IcuTestErrorCode errorCode(*this, "ordinalFormatTest");
630 PluralFormat pf(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, pattern, errorCode);
631 if (errorCode.logDataIfFailureAndReset("PluralFormat(en, UPLURAL_TYPE_ORDINAL, pattern) failed")) {
634 UnicodeString result = pf.format((int32_t)321, errorCode);
635 if (!errorCode.logIfFailureAndReset("PluralFormat.format(321) failed") &&
639 result = pf.format((int32_t)22, errorCode);
640 if (!errorCode.logIfFailureAndReset("PluralFormat.format(22) failed") &&
644 result = pf.format((int32_t)3, errorCode);
645 if (!errorCode.logIfFailureAndReset("PluralFormat.format(3) failed") &&
651 PluralFormat pf2(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, errorCode);
    [all...]

Completed in 923 milliseconds

1 2 3 4 5 67 8 91011>>