Lines Matching full:slen
50 const UChar *source, const int sLen,
660 static UCollationResult ucaTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) {
662 return ucol_strcoll(UCA, source, sLen, target, tLen);
666 static UCollationResult winTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) {
669 return (UCollationResult)CompareString(lcid, 0, source, sLen, target, tLen);
678 const UChar *s, const uint32_t sLen,
688 return func(collator, opts, source, sLen+1, target, tLen+1);
693 const UChar *s, const uint32_t sLen,
699 source[sLen] = s1;
703 return func(collator, opts, source, sLen+1, target, tLen+1);
707 const UChar *s, const uint32_t sLen,
726 if(swampEarlier(func, collator, opts, sSecondary, fSecondary, s, sLen, t, tLen) == result) {
728 } else if((swampEarlier(func, collator, opts, sTertiary, 0x310f, s, sLen, t, tLen) == result) &&
729 (swampEarlier(func, collator, opts, 0x310f, sTertiary, s, sLen, t, tLen) == result)) {
731 } else if((swampLater(func, collator, opts, sTertiary, fTertiary, s, sLen, t, tLen) == result) &&
732 (swampLater(func, collator, opts, fTertiary, sTertiary, s, sLen, t, tLen) == result)) {
734 } else if((swampLater(func, collator, opts, sTertiary, 0x310f, s, sLen, t, tLen) == oposite) &&
735 (swampLater(func, collator, opts, fTertiary, sTertiary, s, sLen, t, tLen) == oposite)) {
767 const UChar *source, const uint32_t sLen,
784 for(i = 0; i<sLen; i++) {
900 uint32_t sLen = u_strlen(first);
903 realResult = func(collator, opts, first, sLen, second, tLen);
904 realStrength = probeStrength(func, collator, opts, first, sLen, second, tLen, realResult);
907 logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_EQUAL, strength, error);
910 logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_LESS, strength, error);
2257 int sLen;
2286 /*for (sLen = 257; sLen<MAXSLEN; sLen++) {*/
2287 /*for (sLen = 4; sLen<MAXSLEN; sLen++) {*/
2288 /*for (sLen = 1000; sLen<1001; sLen++) {*/
2289 for (sLen = 500; sLen<501; sLen++) {
2290 /*for (sLen = 40000; sLen<65000; sLen+=1000) {*/
2293 for (i=1; i<=sLen-1; i++) {
2295 strB[sLen-i] = ccMix[i % 3];
2297 strA[sLen] = 0;
2298 strB[sLen] = 0;
4025 int32_t sLen = 0, tLen = 0;
4033 sLen = u_unescape(cases[j-1], source, 256);
4034 source[sLen] = 0;
4932 int32_t rLen, tLen, ruleLen, sLen, kLen;
5032 sLen = u_strlen(tailorData[0]);
5035 if ( !ucol_equal(coll, tailorData[0], sLen, tailorData[j], tLen)) {