Home
last modified time | relevance | path

Searched refs:tLen (Results 1 – 6 of 6) sorted by relevance

/external/icu4c/test/cintltst/
Dcmsccoll.c45 const UChar *target, const int tLen);
648 …ator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) { in ucaTest() argument
650 return ucol_strcoll(UCA, source, sLen, target, tLen); in ucaTest()
667 const UChar *t, const uint32_t tLen) { in swampEarlier() argument
676 return func(collator, opts, source, sLen+1, target, tLen+1); in swampEarlier()
682 const UChar *t, const uint32_t tLen) { in swampLater() argument
689 target[tLen] = s2; in swampLater()
691 return func(collator, opts, source, sLen+1, target, tLen+1); in swampLater()
696 const UChar *t, const uint32_t tLen, in probeStrength() argument
714 if(swampEarlier(func, collator, opts, sSecondary, fSecondary, s, sLen, t, tLen) == result) { in probeStrength()
[all …]
Dcallcoll.c229 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,… in compareUsingPartials() argument
246 uiter_setString(&tIter, target, tLen); in compareUsingPartials()
274 uint32_t tLen = u_strlen(target); in doTestVariant() local
282 uiter_setString(&tIter, target, tLen); in doTestVariant()
296 u_strToUTF8(utf8Target, 256, &utf8TargetLen, target, tLen, &status); in doTestVariant()
339 …partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &… in doTestVariant()
349 …partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialS… in doTestVariant()
361 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen); in doTestVariant()
368 sortklen2=ucol_getSortKey(myCollation, target, tLen, NULL, 0); in doTestVariant()
380 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1); in doTestVariant()
/external/icu4c/test/intltest/
Dtscoll.cpp98 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,… in compareUsingPartials() argument
110 uiter_setString(&tIter, target, tLen); in compareUsingPartials()
152 int32_t sLen = source.length(), tLen = target.length(); in doTestVariant() local
160 uiter_setString(&tIter, trg, tLen); in doTestVariant()
174 u_strToUTF8(utf8Target, 256, &utf8TargetLen, trg, tLen, &status); in doTestVariant()
217 …partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); in doTestVariant()
225 …partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i… in doTestVariant()
Dtscoll.h46 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,…
/external/icu4c/i18n/
Ducol.cpp6936 int32_t tLen = 0; in ucol_checkIdent() local
6954 tLen = (tColl->flags & UCOL_ITER_HASLEN) ? tColl->endp - tColl->string : -1; in ucol_checkIdent()
6990 if (unorm_quickCheck(tBuf, tLen, UNORM_NFD, status) != UNORM_YES) { in ucol_checkIdent()
6991 tLen = unorm_decompose(tColl->writableBuffer, (int32_t)tColl->writableBufSize, in ucol_checkIdent()
6992 tBuf, tLen, in ucol_checkIdent()
6998 (int32_t *)&tColl->writableBufSize, tLen, in ucol_checkIdent()
7005 tLen = unorm_decompose(tColl->writableBuffer, (int32_t)tColl->writableBufSize, in ucol_checkIdent()
7006 tBuf, tLen, in ucol_checkIdent()
7021 if (sLen == -1 && tLen == -1) { in ucol_checkIdent()
7027 if (tLen == -1) { in ucol_checkIdent()
[all …]
/external/icu4c/tools/genrb/
Dwrtxml.c744 int32_t tLen = ( outDir == NULL) ? 0 :(int32_t)uprv_strlen(outDir); in bin_write_xml() local
745 char* fn = (char*) uprv_malloc(sizeof(char) * (tLen+1024 + in bin_write_xml()