/external/icu4c/i18n/ |
D | rematch.cpp | 571 U_ASSERT(groupOffset < fPattern->fFrameSize); in end64() 572 U_ASSERT(groupOffset >= 0); in end64() 652 U_ASSERT(startPos >= 0); in find() 679 U_ASSERT(FALSE); in find() 698 U_ASSERT(fPattern->fMinMatchLen > 0); in find() 728 U_ASSERT(FALSE); in find() 734 U_ASSERT(fPattern->fMinMatchLen > 0); in find() 761 U_ASSERT(FALSE); in find() 842 U_ASSERT(FALSE); in find() 845 U_ASSERT(FALSE); in find() [all …]
|
D | digitlst.cpp | 228 U_ASSERT(destIdx >= 0); in formatBase10() 285 U_ASSERT((fDecNumber->bits & DECSPECIAL) == 0); // Not Infinity or NaN in setDecimalAt() 286 U_ASSERT(d-1>-999999999); in setDecimalAt() 287 U_ASSERT(d-1< 999999999); in setDecimalAt() 299 U_ASSERT((fDecNumber->bits & DECSPECIAL) == 0); // Not Infinity or NaN in getDecimalAt() 308 U_ASSERT(c <= fContext.digits); in setCount() 333 U_ASSERT(i<count); in setDigit() 334 U_ASSERT(v>='0' && v<='9'); in setDigit() 343 U_ASSERT(i<count); in getDigit() 351 U_ASSERT(i<count); in getDigitValue() [all …]
|
D | regexcmp.cpp | 137 U_ASSERT(fRXPat->fPattern == NULL || utext_nativeLength(fRXPat->fPattern) == 0); in compile() 168 U_ASSERT(state != 0); in compile() 406 U_ASSERT(URX_TYPE(op) == URX_NOP); // original contents of reserved location in doParseActions() 1007 U_ASSERT(digitValue >= 0); in doParseActions() 1022 U_ASSERT(digitValue >= 0); in doParseActions() 1065 U_ASSERT(URX_TYPE(loopOp) == URX_CTR_LOOP && URX_VAL(loopOp) == topLoc); in doParseActions() 1275 U_ASSERT(groupNum > 0); in doParseActions() 1408 U_ASSERT(FALSE); // Should never happen. Other chars are filtered out in doParseActions() 1422 U_ASSERT(fNewModeFlags < 0); in doParseActions() 1453 U_ASSERT(fNewModeFlags < 0); in doParseActions() [all …]
|
D | uspoof_conf.cpp | 291 U_ASSERT(mapString->length() >= 1); in build() 303 U_ASSERT(table != NULL); in build() 335 U_ASSERT(strLen >= previousStringLength); in build() 402 U_ASSERT(fSpoofImpl->fSpoofData->fDataOwned == TRUE); in outputData() 418 U_ASSERT((key & 0x00ffffff) >= (previousKey & 0x00ffffff)); in outputData() 419 U_ASSERT((key & 0xff000000) != 0); in outputData() 431 U_ASSERT(numKeys == numValues); in outputData() 439 U_ASSERT(value < 0xffff); in outputData() 459 U_ASSERT(rawData->fCFUStringTable == 0); in outputData() 480 U_ASSERT(offset < stringsLength); in outputData() [all …]
|
D | tzgnames.cpp | 464 U_ASSERT(!tzCanonicalID.isEmpty()); in getGenericLocationName() 472 U_ASSERT(status == U_ZERO_ERROR); // already checked length above in getGenericLocationName() 498 U_ASSERT(usCountryCode.length() < ULOC_COUNTRY_CAPACITY); in getGenericLocationName() 534 U_ASSERT(cacheID != NULL); in getGenericLocationName() 559 U_ASSERT(type == UTZGNM_LONG || type == UTZGNM_SHORT); in formatGenericNonLocationName() 726 U_ASSERT(!tzCanonicalID.isEmpty()); in getPartialLocationName() 727 U_ASSERT(!mzID.isEmpty()); in getPartialLocationName() 728 U_ASSERT(!mzDisplayName.isEmpty()); in getPartialLocationName() 734 U_ASSERT(key.tzID != NULL && key.mzID != NULL); in getPartialLocationName() 746 U_ASSERT(usCountryCode.length() < ULOC_COUNTRY_CAPACITY); in getPartialLocationName() [all …]
|
D | uspoof_impl.cpp | 209 U_ASSERT(ix < stringLengthsLimit); in confusableLookup() 212 U_ASSERT(value + stringLen <= fSpoofData->fRawData->fCFUStringTableLen); in confusableLookup() 250 U_ASSERT(cpScript > USCRIPT_INHERITED); in wholeScriptCheck() 423 U_ASSERT(limit-start > 0); in ScanHex() 434 U_ASSERT(digitVal <= 0xf); in ScanHex() 537 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); in SpoofData() 659 U_ASSERT(FALSE); in reserveSpace() 701 U_ASSERT(index < sizeof(bits)*4); in Union() 721 U_ASSERT(index < sizeof(bits)*4); in intersect()
|
D | wintzimpl.cpp | 55 U_ASSERT(std->getRule()->getDateRuleType() == DateTimeRule::DOW); in getSystemTimeInformation() 56 U_ASSERT(dst->getRule()->getDateRuleType() == DateTimeRule::DOW); in getSystemTimeInformation()
|
D | zonemeta.cpp | 253 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already in getCanonicalCLDRID() 341 U_ASSERT(canonicalID != NULL); // canocanilD must be non-NULL here in getCanonicalCLDRID() 349 U_ASSERT(key != NULL); in getCanonicalCLDRID() 352 U_ASSERT(idInCache == NULL); in getCanonicalCLDRID() 360 U_ASSERT(canonicalInCache == NULL); in getCanonicalCLDRID() 467 U_ASSERT(u_strlen(region) == 2); in getSingleCountry()
|
D | ucln_in.c | 50 U_ASSERT(UCLN_I18N_START < type && type < UCLN_I18N_COUNT); in ucln_i18n_registerCleanup()
|
D | transreg.cpp | 167 U_ASSERT(FALSE); // don't call create() if isRuleBased() returns TRUE! in create() 179 U_ASSERT(type == RULES); in parse() 532 U_ASSERT(aliasReturn == NULL); in get() 542 U_ASSERT(aliasReturn == NULL); in reget() 1248 U_ASSERT(aliasReturn == 0); in instantiateEntry() 1351 U_ASSERT(FALSE); // can't get here in instantiateEntry()
|
D | gregoimp.cpp | 43 U_ASSERT(divisor > 0); in floorDivide() 70 U_ASSERT(0 <= remainder && remainder < divisor); in floorDivide()
|
/external/icu4c/common/ |
D | umutex.c | 230 U_ASSERT(m->owner == mutex); in umtx_lock() 240 U_ASSERT(m->recursionCount == 1); /* Recursion detection works on Windows. */ in umtx_lock() 260 U_ASSERT(FALSE); /* This mutex is not initialized. */ in umtx_unlock() 263 U_ASSERT(m->owner == mutex); in umtx_unlock() 267 U_ASSERT(m->recursionCount == 0); /* Detect unlock of an already unlocked mutex */ in umtx_unlock() 292 U_ASSERT(U_SUCCESS(status)); in umtx_ct() 369 U_ASSERT(mutex != NULL); in umtx_destroy() 379 U_ASSERT(m->owner == mutex); in umtx_destroy() 564 … U_ASSERT(umtx_atomic_inc(&testInt) == 1); /* Sanity Check. Do the functions work at all? */ in u_setAtomicIncDecFunctions() 565 U_ASSERT(testInt == 1); in u_setAtomicIncDecFunctions() [all …]
|
D | uhash.c | 182 U_ASSERT(!IS_EMPTY_OR_DELETED(e->hashcode)); in _uhash_internalRemoveElement() 190 U_ASSERT(hash != NULL); in _uhash_internalSetResizePolicy() 191 U_ASSERT(((int32_t)policy) >= 0); in _uhash_internalSetResizePolicy() 192 U_ASSERT(((int32_t)policy) < 3); in _uhash_internalSetResizePolicy() 216 U_ASSERT(primeIndex >= 0 && primeIndex < PRIMES_LENGTH); in _uhash_allocate() 254 U_ASSERT(keyHash != NULL); in _uhash_init() 255 U_ASSERT(keyComp != NULL); in _uhash_init() 376 U_ASSERT(FALSE); in _uhash_find() 422 U_ASSERT(e != NULL); in _uhash_rehash() 423 U_ASSERT(e->hashcode == HASH_EMPTY); in _uhash_rehash() [all …]
|
D | uassert.h | 25 #define U_ASSERT(exp) macro 28 #define U_ASSERT(exp) assert(exp) macro
|
D | ucln_cmn.c | 72 U_ASSERT(UCLN_COMMON_START < type && type < UCLN_COMMON_COUNT); in ucln_common_registerCleanup() 86 U_ASSERT(UCLN_START < type && type < UCLN_COMMON); in ucln_registerCleanup()
|
D | mutex.cpp | 43 U_ASSERT(instance!=NULL); in getInstance() 105 U_ASSERT(instance!=NULL); in getInstance()
|
D | bytestrie.cpp | 103 U_ASSERT(node>=kMinValueLead); in branchNext() 173 U_ASSERT(*pos<kMinValueLead); in nextImpl() 307 U_ASSERT(*pos<kMinValueLead); in next() 402 U_ASSERT(node<kMinValueLead); in getNextBytes()
|
D | cstring.c | 152 U_ASSERT(radix>=2 && radix<=16); in T_CString_integerToString() 190 U_ASSERT(radix>=2 && radix<=16); in T_CString_int64ToString()
|
D | locutil.cpp | 108 U_ASSERT(id->extract(0, INT32_MAX, buf, buflen) < buflen); in canonicalLocaleString() 218 U_ASSERT(cache != NULL); in getAvailableLocaleNames()
|
D | rbbitblb.cpp | 411 U_ASSERT(userRuleRoot != NULL); in calcChainedFollowPos() 506 U_ASSERT(bofNode->fType == RBBINode::leafChar); in bofFixup() 507 U_ASSERT(bofNode->fVal == 2); in bofFixup() 639 U_ASSERT(U->size() > 0); in buildStateTable() 1122 U_ASSERT (-32768 < sd->fAccepting && sd->fAccepting <= 32767); in exportTable() 1123 U_ASSERT (-32768 < sd->fLookAhead && sd->fLookAhead <= 32767); in exportTable()
|
D | utext.cpp | 219 U_ASSERT(r==TRUE); in utext_current32() 1460 U_ASSERT(ix>=u8b->bufNativeStart); in utf8TextAccess() 1461 U_ASSERT(ix<=u8b->bufNativeLimit); in utf8TextAccess() 1463 U_ASSERT(mapIndex>=0); in utf8TextAccess() 1464 U_ASSERT(mapIndex<(int32_t)sizeof(u8b->mapToUChars)); in utf8TextAccess() 1496 U_ASSERT(ix == u8b->bufNativeStart); in utf8TextAccess() 1871 U_ASSERT(ut->chunkOffset>ut->nativeIndexingLimit && ut->chunkOffset<=ut->chunkLength); in utf8TextMapOffsetToNative() 1873 U_ASSERT(nativeOffset >= ut->chunkNativeStart && nativeOffset <= ut->chunkNativeLimit); in utf8TextMapOffsetToNative() 1882 U_ASSERT(index64 <= 0x7fffffff); in utf8TextMapIndexToUTF16() 1885 U_ASSERT(index>=ut->chunkNativeStart+ut->nativeIndexingLimit); in utf8TextMapIndexToUTF16() [all …]
|
D | ustrenum.cpp | 130 U_ASSERT(_uenum != 0); in UStringEnumeration() 315 U_ASSERT((char*)result==(char*)(&result->uenum)); in uenum_openCharStringsEnumeration()
|
D | stringtriebuilder.cpp | 336 U_ASSERT(oldValue==0); in registerNode() 365 U_ASSERT(oldValue==0); in registerFinalValue() 545 U_ASSERT(equal[unitNumber]->getOffset()>0); in write() 583 U_ASSERT(lessThan->getOffset()>0); in write()
|
/external/icu4c/samples/ucnv/ |
D | convsamp.cpp | 49 #define U_ASSERT(x) { if(U_FAILURE(x)) {fflush(stdout);fflush(stderr); fprintf(stderr, #x " == %s\… macro 458 U_ASSERT(status); in convsample_06() 545 U_ASSERT(status); in convsample_12() 581 U_ASSERT(status); in convsample_13() 600 U_ASSERT(status); in convsample_13() 637 U_ASSERT(status); in convsample_20_didSubstitute() 640 U_ASSERT(status); in convsample_20_didSubstitute() 650 U_ASSERT(status); in convsample_20_didSubstitute() 665 U_ASSERT(status); in convsample_20_didSubstitute() 668 U_ASSERT(status); in convsample_20_didSubstitute() [all …]
|
/external/icu4c/io/ |
D | ucln_io.c | 51 U_ASSERT(UCLN_IO_START < type && type < UCLN_IO_COUNT); in ucln_io_registerCleanup()
|