HomeSort by relevance Sort by last modified time
    Searched refs:U_ASSERT (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/icu4c/common/
uassert.h 11 * Contains U_ASSERT macro
13 * By default, U_ASSERT just wraps the C library assert macro.
25 #define U_ASSERT(exp)
28 #define U_ASSERT(exp) assert(exp)
ucln_cmn.c 72 U_ASSERT(UCLN_COMMON_START < type && type < UCLN_COMMON_COUNT);
86 U_ASSERT(UCLN_START < type && type < UCLN_COMMON);
umutex.c 246 U_ASSERT(m->owner == mutex);
256 U_ASSERT(m->recursionCount == 1); /* Recursion detection works on Windows. */
276 U_ASSERT(FALSE); /* This mutex is not initialized. */
279 U_ASSERT(m->owner == mutex);
283 U_ASSERT(m->recursionCount == 0); /* Detect unlock of an already unlocked mutex */
308 U_ASSERT(U_SUCCESS(status));
385 U_ASSERT(mutex != NULL);
395 U_ASSERT(m->owner == mutex);
580 U_ASSERT(umtx_atomic_inc(&testInt) == 1); /* Sanity Check. Do the functions work at all? */
581 U_ASSERT(testInt == 1)
    [all...]
uhash.c 182 U_ASSERT(!IS_EMPTY_OR_DELETED(e->hashcode));
190 U_ASSERT(hash != NULL);
191 U_ASSERT(((int32_t)policy) >= 0);
192 U_ASSERT(((int32_t)policy) < 3);
216 U_ASSERT(primeIndex >= 0 && primeIndex < PRIMES_LENGTH);
254 U_ASSERT(keyHash != NULL);
255 U_ASSERT(keyComp != NULL);
376 U_ASSERT(FALSE);
422 U_ASSERT(e != NULL);
423 U_ASSERT(e->hashcode == HASH_EMPTY)
    [all...]
uvectr64.h 232 U_ASSERT(count >= size);
cstring.c 152 U_ASSERT(radix>=2 && radix<=16);
190 U_ASSERT(radix>=2 && radix<=16);
locutil.cpp 108 U_ASSERT(id->extract(0, INT32_MAX, buf, buflen) < buflen);
218 U_ASSERT(cache != NULL);
ustrenum.cpp 131 U_ASSERT(_uenum != 0);
316 U_ASSERT((char*)result==(char*)(&result->uenum));
utext.cpp 219 U_ASSERT(r==TRUE);
    [all...]
uvectr32.h 243 U_ASSERT(count >= size);
uvectr64.cpp 156 U_ASSERT(limit >= 0);
rbbidata.cpp 117 U_ASSERT(data->fRuleSourceLen > 0);
137 U_ASSERT(fRefCount == 0);
  /external/icu4c/i18n/
decnumstr.cpp 55 U_ASSERT(index>=0 && index<fLength);
60 U_ASSERT(index>=0 && index<fLength);
93 U_ASSERT(fText.getCapacity() >= neededSize);
94 U_ASSERT(fText.getAlias() == newBuf);
ucln_in.c 50 U_ASSERT(UCLN_I18N_START < type && type < UCLN_I18N_COUNT);
rematch.cpp 571 U_ASSERT(groupOffset < fPattern->fFrameSize);
572 U_ASSERT(groupOffset >= 0);
652 U_ASSERT(startPos >= 0);
679 U_ASSERT(FALSE);
698 U_ASSERT(fPattern->fMinMatchLen > 0);
728 U_ASSERT(FALSE);
734 U_ASSERT(fPattern->fMinMatchLen > 0);
761 U_ASSERT(FALSE);
842 U_ASSERT(FALSE);
845 U_ASSERT(FALSE)
    [all...]
digitlst.cpp 228 U_ASSERT(destIdx >= 0);
275 U_ASSERT((fDecNumber->bits & DECSPECIAL) == 0); // Not Infinity or NaN
276 U_ASSERT(d-1>-999999999);
277 U_ASSERT(d-1< 999999999);
289 U_ASSERT((fDecNumber->bits & DECSPECIAL) == 0); // Not Infinity or NaN
298 U_ASSERT(c <= fContext.digits);
323 U_ASSERT(i<count);
324 U_ASSERT(v>='0' && v<='9');
333 U_ASSERT(i<count);
341 U_ASSERT(i<count)
    [all...]
uspoof_conf.cpp 288 U_ASSERT(mapString->length() >= 1);
300 U_ASSERT(table != NULL);
332 U_ASSERT(strLen >= previousStringLength);
399 U_ASSERT(fSpoofImpl->fSpoofData->fDataOwned == TRUE);
415 U_ASSERT((key & 0x00ffffff) >= (previousKey & 0x00ffffff));
416 U_ASSERT((key & 0xff000000) != 0);
428 U_ASSERT(numKeys == numValues);
436 U_ASSERT(value < 0xffff);
456 U_ASSERT(rawData->fCFUStringTable == 0);
477 U_ASSERT(offset < stringsLength)
    [all...]
regexcmp.cpp 137 U_ASSERT(fRXPat->fPattern == NULL || utext_nativeLength(fRXPat->fPattern) == 0);
168 U_ASSERT(state != 0);
406 U_ASSERT(URX_TYPE(op) == URX_NOP); // original contents of reserved location
    [all...]
wintzimpl.cpp 55 U_ASSERT(std->getRule()->getDateRuleType() == DateTimeRule::DOW);
56 U_ASSERT(dst->getRule()->getDateRuleType() == DateTimeRule::DOW);
uspoof_impl.cpp 210 U_ASSERT(ix < stringLengthsLimit);
213 U_ASSERT(value + stringLen < fSpoofData->fRawData->fCFUStringTableLen);
251 U_ASSERT(cpScript > USCRIPT_INHERITED);
414 U_ASSERT(limit-start > 0);
425 U_ASSERT(digitVal <= 0xf);
528 U_ASSERT(initialSize == sizeof(SpoofDataHeader));
650 U_ASSERT(FALSE);
692 U_ASSERT(index < sizeof(bits)*4);
712 U_ASSERT(index < sizeof(bits)*4);
gregoimp.cpp 43 U_ASSERT(divisor > 0);
70 U_ASSERT(0 <= remainder && remainder < divisor);
uspoof_wsconf.cpp 228 U_ASSERT(setIndex < scriptSets->size());
367 U_ASSERT(rindex == bSet->rindex);
  /external/icu4c/io/
ucln_io.c 51 U_ASSERT(UCLN_IO_START < type && type < UCLN_IO_COUNT);
  /external/icu4c/tools/genpname/
genpname.cpp 458 U_ASSERT(a >= 0);
468 U_ASSERT(size >= 0);
478 U_ASSERT(e2ng->isContiguous(count));
488 U_ASSERT(IS_VALID_OFFSET(e2ng[i].nameGroupIndex));
498 U_ASSERT(!e2ng->isContiguous(count));
509 U_ASSERT(IS_VALID_OFFSET(e2ng[i].nameGroupIndex));
519 U_ASSERT(!e2v->isContiguous(count));
551 U_ASSERT(result >= 0 && result < total_size);
569 U_ASSERT(IS_VALID_OFFSET(nameToEnum[i].nameIndex));
593 U_ASSERT(!e2v->isContiguous(count))
    [all...]
  /external/icu4c/samples/ucnv/
convsamp.cpp 49 #define U_ASSERT(x) { if(U_FAILURE(x)) {fflush(stdout);fflush(stderr); fprintf(stderr, #x " == %s\n", u_errorName(x)); assert(U_SUCCESS(x)); }}
461 U_ASSERT(status);
545 U_ASSERT(status);
581 U_ASSERT(status);
600 U_ASSERT(status);
637 U_ASSERT(status);
640 U_ASSERT(status);
650 U_ASSERT(status);
665 U_ASSERT(status);
668 U_ASSERT(status)
    [all...]

Completed in 768 milliseconds

1 2 3