Home | History | Annotate | Download | only in cintltst

Lines Matching full:tlen

51                         const UChar *target, const int tLen);
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);
679 const UChar *t, const uint32_t tLen) {
688 return func(collator, opts, source, sLen+1, target, tLen+1);
694 const UChar *t, const uint32_t tLen) {
701 target[tLen] = s2;
703 return func(collator, opts, source, sLen+1, target, tLen+1);
708 const UChar *t, const uint32_t tLen,
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)) {
768 const UChar *target, const uint32_t tLen,
795 for(i = 0; i<tLen; i++) {
901 uint32_t tLen = u_strlen(second);
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);
2948 uint32_t tlen = u_unescape(testString, test, 32);
2956 klen = ucol_getSortKey(coll, test, tlen, key, 256);
4025 int32_t sLen = 0, tLen = 0;
4035 tLen = u_unescape(cases[j], target, 256);
4036 source[tLen] = 0;
4932 int32_t rLen, tLen, ruleLen, sLen, kLen;
4991 tLen = u_strlen(tData[j]);
4992 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen);
4993 rLen = ucol_getSortKey(coll, tData[j], tLen, resColl, 100);
5015 tLen = u_strlen(tData[j]);
5016 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen);
5017 rLen = ucol_getSortKey(coll, tData[j], tLen, resColl, 100);
5034 tLen = u_strlen(tailorData[j]);
5035 if ( !ucol_equal(coll, tailorData[0], sLen, tailorData[j], tLen)) {
5040 tLen = u_strlen(tailorData[0]);
5041 kLen=ucol_getSortKey(coll, tailorData[0], tLen, expColl, 100);
5043 tLen = u_strlen(tailorData[j]);
5044 rLen = ucol_getSortKey(coll, tailorData[j], tLen, resColl, 100);
5046 log_err("\n Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
5057 tLen = u_strlen(tailorData2[0]);
5058 kLen=ucol_getSortKey(coll, tailorData2[0], tLen, expColl, 100);
5060 tLen = u_strlen(tailorData2[j]);
5061 rLen = ucol_getSortKey(coll, tailorData2[j], tLen, resColl, 100);
5063 log_err("\n After tailoring Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
5074 tLen = u_strlen(tailorData3[3]);
5075 kLen=ucol_getSortKey(coll, tailorData3[3], tLen, expColl, 100);
5077 tLen = u_strlen(tailorData3[j]);
5078 rLen = ucol_getSortKey(coll, tailorData3[j], tLen, resColl, 100);
5081 log_err("\n After tailoring Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
5087 log_verbose("\n Test Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
5102 int32_t rLen, tLen, ruleLen;
5146 tLen = u_strlen(tData1[0]);
5147 rLen = ucol_getSortKey(coll, tData1[0], tLen, resColl, 100);
5149 log_err("Bad result for &[lpi]<<a...: Data[%d] :%s \tlen: %d key: ", 0, tData1[0], rLen);
5155 tLen = u_strlen(tData1[1]);
5156 rLen = ucol_getSortKey(coll, tData1[1], tLen, resColl, 100);
5158 log_err("Bad result for &[lpi]<<a...: Data[%d] :%s \tlen: %d key: ", 1, tData1[1], rLen);
5175 tLen = u_strlen(tData2[0]);
5176 rLen = ucol_getSortKey(coll, tData2[0], tLen, resColl, 100);
5178 log_err("Bad result for &[lsi]<<<a...: Data[%d] :%s \tlen: %d key: ", 0, tData2[0], rLen);
5185 tLen = u_strlen(tData2[1]);
5186 rLen = ucol_getSortKey(coll, tData2[1], tLen, resColl, 100);
5188 log_err("Bad result for &[lsi]<<<a...: Data[%d] :%s \tlen: %d key: ", 1, tData2[1], rLen);
5205 int32_t rLen, tLen, ruleLen;
5231 tLen = u_strlen(tData1[j]);
5232 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5237 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5253 tLen = u_strlen(tData1[j]);
5254 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5259 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5276 tLen = u_strlen(tData1[j]);
5277 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5282 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5299 tLen = u_strlen(tData1[j]);
5300 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5309 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);