Home
last modified time | relevance | path

Searched refs:U_ASSERT (Results 1 – 25 of 810) sorted by relevance

12345678910>>...33

/third_party/node/deps/icu-small/source/i18n/
Dcollationrootelements.cpp27 U_ASSERT(p > elements[elements[IX_FIRST_PRIMARY_INDEX]]); in lastCEWithPrimaryBefore()
34 U_ASSERT((q & PRIMARY_STEP_MASK) == 0); in lastCEWithPrimaryBefore()
61 U_ASSERT((q & PRIMARY_STEP_MASK) == 0); in lastCEWithPrimaryBefore()
79 U_ASSERT((p & PRIMARY_STEP_MASK) == 0); in firstCEWithPrimaryAtLeast()
107 U_ASSERT(isEndOfPrimaryRange(nextElement)); in getPrimaryBefore()
132 U_ASSERT(s >= sec); in getSecondaryBefore()
135 U_ASSERT((elements[index] & SEC_TER_DELTA_FLAG) != 0); in getSecondaryBefore()
138 U_ASSERT(sec == s); in getSecondaryBefore()
144 U_ASSERT((t & ~Collation::ONLY_TERTIARY_MASK) == 0); in getTertiaryBefore()
165 U_ASSERT((elements[index] & SEC_TER_DELTA_FLAG) != 0); in getTertiaryBefore()
[all …]
Drematch.cpp579 U_ASSERT(groupOffset < fPattern->fFrameSize); in end64()
580 U_ASSERT(groupOffset >= 0); in end64()
695 U_ASSERT(startPos >= 0); in find()
741 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
776 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
976 U_ASSERT(startPos >= 0); in findUsingChunk()
1020 U_ASSERT(fPattern->fMinMatchLen > 0); in findUsingChunk()
1049 U_ASSERT(fPattern->fMinMatchLen > 0); in findUsingChunk()
1194 U_ASSERT(groupOffset < fPattern->fFrameSize); in group()
1195 U_ASSERT(groupOffset >= 0); in group()
[all …]
Dcollationbuilder.cpp297 U_ASSERT(!str.isEmpty()); in addReset()
302 U_ASSERT((ces[0] & Collation::CASE_AND_QUATERNARY_MASK) == 0); in addReset()
320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
387 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
399 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
440 U_ASSERT(strengthFromNode(node) < level || !isTailoredNode(node)); in getWeight16Before()
476 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0); in getWeight16Before()
484 U_ASSERT(str.length() == 2); in getSpecialResetPosition()
489 U_ASSERT(0 <= pos && pos <= CollationRuleParser::LAST_TRAILING); in getSpecialResetPosition()
504 U_ASSERT(strengthFromNode(node) <= UCOL_TERTIARY); in getSpecialResetPosition()
[all …]
/third_party/icu/icu4c/source/i18n/
Dcollationrootelements.cpp27 U_ASSERT(p > elements[elements[IX_FIRST_PRIMARY_INDEX]]); in lastCEWithPrimaryBefore()
34 U_ASSERT((q & PRIMARY_STEP_MASK) == 0); in lastCEWithPrimaryBefore()
61 U_ASSERT((q & PRIMARY_STEP_MASK) == 0); in lastCEWithPrimaryBefore()
79 U_ASSERT((p & PRIMARY_STEP_MASK) == 0); in firstCEWithPrimaryAtLeast()
107 U_ASSERT(isEndOfPrimaryRange(nextElement)); in getPrimaryBefore()
132 U_ASSERT(s >= sec); in getSecondaryBefore()
135 U_ASSERT((elements[index] & SEC_TER_DELTA_FLAG) != 0); in getSecondaryBefore()
138 U_ASSERT(sec == s); in getSecondaryBefore()
144 U_ASSERT((t & ~Collation::ONLY_TERTIARY_MASK) == 0); in getTertiaryBefore()
165 U_ASSERT((elements[index] & SEC_TER_DELTA_FLAG) != 0); in getTertiaryBefore()
[all …]
Drematch.cpp579 U_ASSERT(groupOffset < fPattern->fFrameSize); in end64()
580 U_ASSERT(groupOffset >= 0); in end64()
695 U_ASSERT(startPos >= 0); in find()
741 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
776 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
971 U_ASSERT(startPos >= 0); in findUsingChunk()
1015 U_ASSERT(fPattern->fMinMatchLen > 0); in findUsingChunk()
1044 U_ASSERT(fPattern->fMinMatchLen > 0); in findUsingChunk()
1184 U_ASSERT(groupOffset < fPattern->fFrameSize); in group()
1185 U_ASSERT(groupOffset >= 0); in group()
[all …]
Dcollationbuilder.cpp297 U_ASSERT(!str.isEmpty()); in addReset()
302 U_ASSERT((ces[0] & Collation::CASE_AND_QUATERNARY_MASK) == 0); in addReset()
320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
387 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
399 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
440 U_ASSERT(strengthFromNode(node) < level || !isTailoredNode(node)); in getWeight16Before()
476 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0); in getWeight16Before()
484 U_ASSERT(str.length() == 2); in getSpecialResetPosition()
489 U_ASSERT(0 <= pos && pos <= CollationRuleParser::LAST_TRAILING); in getSpecialResetPosition()
504 U_ASSERT(strengthFromNode(node) <= UCOL_TERTIARY); in getSpecialResetPosition()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationrootelements.cpp27 U_ASSERT(p > elements[elements[IX_FIRST_PRIMARY_INDEX]]); in lastCEWithPrimaryBefore()
34 U_ASSERT((q & PRIMARY_STEP_MASK) == 0); in lastCEWithPrimaryBefore()
61 U_ASSERT((q & PRIMARY_STEP_MASK) == 0); in lastCEWithPrimaryBefore()
79 U_ASSERT((p & PRIMARY_STEP_MASK) == 0); in firstCEWithPrimaryAtLeast()
107 U_ASSERT(isEndOfPrimaryRange(nextElement)); in getPrimaryBefore()
132 U_ASSERT(s >= sec); in getSecondaryBefore()
135 U_ASSERT((elements[index] & SEC_TER_DELTA_FLAG) != 0); in getSecondaryBefore()
138 U_ASSERT(sec == s); in getSecondaryBefore()
144 U_ASSERT((t & ~Collation::ONLY_TERTIARY_MASK) == 0); in getTertiaryBefore()
165 U_ASSERT((elements[index] & SEC_TER_DELTA_FLAG) != 0); in getTertiaryBefore()
[all …]
Drematch.cpp577 U_ASSERT(groupOffset < fPattern->fFrameSize); in end64()
578 U_ASSERT(groupOffset >= 0); in end64()
693 U_ASSERT(startPos >= 0); in find()
720 U_ASSERT(FALSE); in find()
739 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
768 U_ASSERT(FALSE); in find()
774 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
800 U_ASSERT(FALSE); in find()
880 U_ASSERT(FALSE); in find()
883 U_ASSERT(FALSE); in find()
[all …]
Dcollationbuilder.cpp297 U_ASSERT(!str.isEmpty()); in addReset()
302 U_ASSERT((ces[0] & Collation::CASE_AND_QUATERNARY_MASK) == 0); in addReset()
320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
387 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
399 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
440 U_ASSERT(strengthFromNode(node) < level || !isTailoredNode(node)); in getWeight16Before()
476 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0); in getWeight16Before()
484 U_ASSERT(str.length() == 2); in getSpecialResetPosition()
489 U_ASSERT(0 <= pos && pos <= CollationRuleParser::LAST_TRAILING); in getSpecialResetPosition()
504 U_ASSERT(strengthFromNode(node) <= UCOL_TERTIARY); in getSpecialResetPosition()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationrootelements.cpp27 U_ASSERT(p > elements[elements[IX_FIRST_PRIMARY_INDEX]]); in lastCEWithPrimaryBefore()
34 U_ASSERT((q & PRIMARY_STEP_MASK) == 0); in lastCEWithPrimaryBefore()
61 U_ASSERT((q & PRIMARY_STEP_MASK) == 0); in lastCEWithPrimaryBefore()
79 U_ASSERT((p & PRIMARY_STEP_MASK) == 0); in firstCEWithPrimaryAtLeast()
107 U_ASSERT(isEndOfPrimaryRange(nextElement)); in getPrimaryBefore()
132 U_ASSERT(s >= sec); in getSecondaryBefore()
135 U_ASSERT((elements[index] & SEC_TER_DELTA_FLAG) != 0); in getSecondaryBefore()
138 U_ASSERT(sec == s); in getSecondaryBefore()
144 U_ASSERT((t & ~Collation::ONLY_TERTIARY_MASK) == 0); in getTertiaryBefore()
165 U_ASSERT((elements[index] & SEC_TER_DELTA_FLAG) != 0); in getTertiaryBefore()
[all …]
Drematch.cpp579 U_ASSERT(groupOffset < fPattern->fFrameSize); in end64()
580 U_ASSERT(groupOffset >= 0); in end64()
695 U_ASSERT(startPos >= 0); in find()
741 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
776 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
971 U_ASSERT(startPos >= 0); in findUsingChunk()
1015 U_ASSERT(fPattern->fMinMatchLen > 0); in findUsingChunk()
1044 U_ASSERT(fPattern->fMinMatchLen > 0); in findUsingChunk()
1184 U_ASSERT(groupOffset < fPattern->fFrameSize); in group()
1185 U_ASSERT(groupOffset >= 0); in group()
[all …]
Dcollationbuilder.cpp297 U_ASSERT(!str.isEmpty()); in addReset()
302 U_ASSERT((ces[0] & Collation::CASE_AND_QUATERNARY_MASK) == 0); in addReset()
320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
387 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
399 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
440 U_ASSERT(strengthFromNode(node) < level || !isTailoredNode(node)); in getWeight16Before()
476 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0); in getWeight16Before()
484 U_ASSERT(str.length() == 2); in getSpecialResetPosition()
489 U_ASSERT(0 <= pos && pos <= CollationRuleParser::LAST_TRAILING); in getSpecialResetPosition()
504 U_ASSERT(strengthFromNode(node) <= UCOL_TERTIARY); in getSpecialResetPosition()
[all …]
/third_party/icu/icu4c/source/common/
Dstatic_unicode_sets.cpp121 U_ASSERT(FALSE); in put()
168 U_ASSERT(gUnicodeSets[COMMA] != nullptr); in initNumberParseUniSets()
169 U_ASSERT(gUnicodeSets[STRICT_COMMA] != nullptr); in initNumberParseUniSets()
170 U_ASSERT(gUnicodeSets[PERIOD] != nullptr); in initNumberParseUniSets()
171 U_ASSERT(gUnicodeSets[STRICT_PERIOD] != nullptr); in initNumberParseUniSets()
172 U_ASSERT(gUnicodeSets[APOSTROPHE_SIGN] != nullptr); in initNumberParseUniSets()
185 U_ASSERT(gUnicodeSets[MINUS_SIGN] != nullptr); in initNumberParseUniSets()
186 U_ASSERT(gUnicodeSets[PLUS_SIGN] != nullptr); in initNumberParseUniSets()
187 U_ASSERT(gUnicodeSets[PERCENT_SIGN] != nullptr); in initNumberParseUniSets()
188 U_ASSERT(gUnicodeSets[PERMILLE_SIGN] != nullptr); in initNumberParseUniSets()
[all …]
Dunifiedcache.cpp71 U_ASSERT(gCache == NULL); in cacheInit()
93 U_ASSERT(gCache != NULL); in getInstance()
257 U_ASSERT(sharedObject->cachePtr == this); in _flush()
317 U_ASSERT(oldValue == nullptr); in _putNew()
351 U_ASSERT(value == NULL); in _poll()
352 U_ASSERT(status == U_ZERO_ERROR); in _poll()
383 U_ASSERT(value == NULL); in _get()
384 U_ASSERT(status == U_ZERO_ERROR); in _get()
395 U_ASSERT(value == NULL || value->hasHardReferences()); in _get()
396 U_ASSERT(value != NULL || status != U_ZERO_ERROR); in _get()
[all …]
Drbbi_cache.cpp61 U_ASSERT(r > fromPos); in following()
90 U_ASSERT(fBreaks.elementAti(fPositionInCache) == fromPos); in preceding()
98 U_ASSERT(r < fromPos); in preceding()
180 U_ASSERT(foundBreakCount == fBreaks.size()); in populateDictionary()
263 U_ASSERT(startPos > fTextIdx); in preceding()
330 U_ASSERT(fBoundaries[max] > pos); in seek()
333 U_ASSERT(fTextIdx <= pos); in seek()
342 U_ASSERT(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
419 U_ASSERT(fTextIdx == position); in populateNear()
553 U_ASSERT(position > prevPosition); in populatePreceding()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dstatic_unicode_sets.cpp121 U_ASSERT(FALSE); in put()
168 U_ASSERT(gUnicodeSets[COMMA] != nullptr); in initNumberParseUniSets()
169 U_ASSERT(gUnicodeSets[STRICT_COMMA] != nullptr); in initNumberParseUniSets()
170 U_ASSERT(gUnicodeSets[PERIOD] != nullptr); in initNumberParseUniSets()
171 U_ASSERT(gUnicodeSets[STRICT_PERIOD] != nullptr); in initNumberParseUniSets()
172 U_ASSERT(gUnicodeSets[APOSTROPHE_SIGN] != nullptr); in initNumberParseUniSets()
185 U_ASSERT(gUnicodeSets[MINUS_SIGN] != nullptr); in initNumberParseUniSets()
186 U_ASSERT(gUnicodeSets[PLUS_SIGN] != nullptr); in initNumberParseUniSets()
187 U_ASSERT(gUnicodeSets[PERCENT_SIGN] != nullptr); in initNumberParseUniSets()
188 U_ASSERT(gUnicodeSets[PERMILLE_SIGN] != nullptr); in initNumberParseUniSets()
[all …]
Dunifiedcache.cpp71 U_ASSERT(gCache == NULL); in cacheInit()
93 U_ASSERT(gCache != NULL); in getInstance()
257 U_ASSERT(sharedObject->cachePtr == this); in _flush()
317 U_ASSERT(oldValue == nullptr); in _putNew()
351 U_ASSERT(value == NULL); in _poll()
352 U_ASSERT(status == U_ZERO_ERROR); in _poll()
383 U_ASSERT(value == NULL); in _get()
384 U_ASSERT(status == U_ZERO_ERROR); in _get()
395 U_ASSERT(value == NULL || value->hasHardReferences()); in _get()
396 U_ASSERT(value != NULL || status != U_ZERO_ERROR); in _get()
[all …]
Drbbi_cache.cpp61 U_ASSERT(r > fromPos); in following()
90 U_ASSERT(fBreaks.elementAti(fPositionInCache) == fromPos); in preceding()
98 U_ASSERT(r < fromPos); in preceding()
180 U_ASSERT(foundBreakCount == fBreaks.size()); in populateDictionary()
263 U_ASSERT(startPos > fTextIdx); in preceding()
330 U_ASSERT(fBoundaries[max] > pos); in seek()
333 U_ASSERT(fTextIdx <= pos); in seek()
342 U_ASSERT(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
419 U_ASSERT(fTextIdx == position); in populateNear()
553 U_ASSERT(position > prevPosition); in populatePreceding()
[all …]
/third_party/node/deps/icu-small/source/common/
Dstatic_unicode_sets.cpp121 U_ASSERT(FALSE); in put()
168 U_ASSERT(gUnicodeSets[COMMA] != nullptr); in initNumberParseUniSets()
169 U_ASSERT(gUnicodeSets[STRICT_COMMA] != nullptr); in initNumberParseUniSets()
170 U_ASSERT(gUnicodeSets[PERIOD] != nullptr); in initNumberParseUniSets()
171 U_ASSERT(gUnicodeSets[STRICT_PERIOD] != nullptr); in initNumberParseUniSets()
172 U_ASSERT(gUnicodeSets[APOSTROPHE_SIGN] != nullptr); in initNumberParseUniSets()
185 U_ASSERT(gUnicodeSets[MINUS_SIGN] != nullptr); in initNumberParseUniSets()
186 U_ASSERT(gUnicodeSets[PLUS_SIGN] != nullptr); in initNumberParseUniSets()
187 U_ASSERT(gUnicodeSets[PERCENT_SIGN] != nullptr); in initNumberParseUniSets()
188 U_ASSERT(gUnicodeSets[PERMILLE_SIGN] != nullptr); in initNumberParseUniSets()
[all …]
Dunifiedcache.cpp71 U_ASSERT(gCache == NULL); in cacheInit()
93 U_ASSERT(gCache != NULL); in getInstance()
257 U_ASSERT(sharedObject->cachePtr == this); in _flush()
317 U_ASSERT(oldValue == nullptr); in _putNew()
351 U_ASSERT(value == NULL); in _poll()
352 U_ASSERT(status == U_ZERO_ERROR); in _poll()
383 U_ASSERT(value == NULL); in _get()
384 U_ASSERT(status == U_ZERO_ERROR); in _get()
395 U_ASSERT(value == NULL || value->hasHardReferences()); in _get()
396 U_ASSERT(value != NULL || status != U_ZERO_ERROR); in _get()
[all …]
Drbbi_cache.cpp61 U_ASSERT(r > fromPos); in following()
90 U_ASSERT(fBreaks.elementAti(fPositionInCache) == fromPos); in preceding()
98 U_ASSERT(r < fromPos); in preceding()
180 U_ASSERT(foundBreakCount == fBreaks.size()); in populateDictionary()
263 U_ASSERT(startPos > fTextIdx); in preceding()
330 U_ASSERT(fBoundaries[max] > pos); in seek()
333 U_ASSERT(fTextIdx <= pos); in seek()
342 U_ASSERT(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
419 U_ASSERT(fTextIdx == position); in populateNear()
553 U_ASSERT(position > prevPosition); in populatePreceding()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Drbbi_cache.cpp61 U_ASSERT(r > fromPos); in following()
77 U_ASSERT(FALSE); in following()
92 U_ASSERT(fBreaks.elementAti(fPositionInCache) == fromPos); in preceding()
100 U_ASSERT(r < fromPos); in preceding()
119 U_ASSERT(FALSE); in preceding()
182 U_ASSERT(foundBreakCount == fBreaks.size()); in populateDictionary()
265 U_ASSERT(startPos > fTextIdx); in preceding()
332 U_ASSERT(fBoundaries[max] > pos); in seek()
335 U_ASSERT(fTextIdx <= pos); in seek()
344 U_ASSERT(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
[all …]
Dumutex.cpp140 U_ASSERT(FALSE); in umtx_condSignal()
150 U_ASSERT(condition->fExitGate == NULL); in umtx_condWait()
155 U_ASSERT(condition->fEntryGate != NULL); in umtx_condWait()
157 U_ASSERT(condition->fExitGate != NULL); in umtx_condWait()
199 U_ASSERT(sysErr == 0); in umtx_lock()
211 U_ASSERT(sysErr == 0); in umtx_unlock()
222 U_ASSERT(sysErr == 0); in umtx_condWait()
229 U_ASSERT(sysErr == 0); in umtx_condBroadcast()
236 U_ASSERT(sysErr == 0); in umtx_condSignal()
270 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit()
Dunifiedcache.cpp70 U_ASSERT(gCache == NULL); in cacheInit()
90 U_ASSERT(gCache != NULL); in getInstance()
254 U_ASSERT(sharedObject->cachePtr == this); in _flush()
314 U_ASSERT(oldValue == nullptr); in _putNew()
348 U_ASSERT(value == NULL); in _poll()
349 U_ASSERT(status == U_ZERO_ERROR); in _poll()
380 U_ASSERT(value == NULL); in _get()
381 U_ASSERT(status == U_ZERO_ERROR); in _get()
392 U_ASSERT(value == NULL || value->hasHardReferences()); in _get()
393 U_ASSERT(value != NULL || status != U_ZERO_ERROR); in _get()
[all …]
Dstatic_unicode_sets.cpp154 U_ASSERT(gUnicodeSets[COMMA] != nullptr); in initNumberParseUniSets()
155 U_ASSERT(gUnicodeSets[STRICT_COMMA] != nullptr); in initNumberParseUniSets()
156 U_ASSERT(gUnicodeSets[PERIOD] != nullptr); in initNumberParseUniSets()
157 U_ASSERT(gUnicodeSets[STRICT_PERIOD] != nullptr); in initNumberParseUniSets()
165 U_ASSERT(gUnicodeSets[MINUS_SIGN] != nullptr); in initNumberParseUniSets()
166 U_ASSERT(gUnicodeSets[PLUS_SIGN] != nullptr); in initNumberParseUniSets()
172 U_ASSERT(gUnicodeSets[DOLLAR_SIGN] != nullptr); in initNumberParseUniSets()
173 U_ASSERT(gUnicodeSets[POUND_SIGN] != nullptr); in initNumberParseUniSets()
174 U_ASSERT(gUnicodeSets[RUPEE_SIGN] != nullptr); in initNumberParseUniSets()

12345678910>>...33