Home | History | Annotate | Download | only in cintltst

Lines Matching refs:tLen

48                         const UChar *target, const int tLen);
652 static UCollationResult ucaTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) {
654 return ucol_strcoll(UCA, source, sLen, target, tLen);
658 static UCollationResult winTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) {
661 return (UCollationResult)CompareString(lcid, 0, source, sLen, target, tLen);
671 const UChar *t, const uint32_t tLen) {
680 return func(collator, opts, source, sLen+1, target, tLen+1);
686 const UChar *t, const uint32_t tLen) {
693 target[tLen] = s2;
695 return func(collator, opts, source, sLen+1, target, tLen+1);
700 const UChar *t, const uint32_t tLen,
718 if(swampEarlier(func, collator, opts, sSecondary, fSecondary, s, sLen, t, tLen) == result) {
720 } else if((swampEarlier(func, collator, opts, sTertiary, 0x310f, s, sLen, t, tLen) == result) &&
721 (swampEarlier(func, collator, opts, 0x310f, sTertiary, s, sLen, t, tLen) == result)) {
723 } else if((swampLater(func, collator, opts, sTertiary, fTertiary, s, sLen, t, tLen) == result) &&
724 (swampLater(func, collator, opts, fTertiary, sTertiary, s, sLen, t, tLen) == result)) {
726 } else if((swampLater(func, collator, opts, sTertiary, 0x310f, s, sLen, t, tLen) == oposite) &&
727 (swampLater(func, collator, opts, fTertiary, sTertiary, s, sLen, t, tLen) == oposite)) {
760 const UChar *target, const uint32_t tLen,
787 for(i = 0; i<tLen; i++) {
893 uint32_t tLen = u_strlen(second);
895 realResult = func(collator, opts, first, sLen, second, tLen);
896 realStrength = probeStrength(func, collator, opts, first, sLen, second, tLen, realResult);
899 logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_EQUAL, strength, error);
902 logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_LESS, strength, error);
2903 uint32_t tlen = u_unescape(testString, test, 32);
2911 klen = ucol_getSortKey(coll, test, tlen, key, 256);
3937 int32_t sLen = 0, tLen = 0;
3947 tLen = u_unescape(cases[j], target, 256);
3948 source[tLen] = 0;
4844 int32_t rLen, tLen, ruleLen, sLen, kLen;
4903 tLen = u_strlen(tData[j]);
4904 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen);
4905 rLen = ucol_getSortKey(coll, tData[j], tLen, resColl, 100);
4927 tLen = u_strlen(tData[j]);
4928 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen);
4929 rLen = ucol_getSortKey(coll, tData[j], tLen, resColl, 100);
4946 tLen = u_strlen(tailorData[j]);
4947 if ( !ucol_equal(coll, tailorData[0], sLen, tailorData[j], tLen)) {
4952 tLen = u_strlen(tailorData[0]);
4953 kLen=ucol_getSortKey(coll, tailorData[0], tLen, expColl, 100);
4955 tLen = u_strlen(tailorData[j]);
4956 rLen = ucol_getSortKey(coll, tailorData[j], tLen, resColl, 100);
4958 log_err("\n Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
4969 tLen = u_strlen(tailorData2[0]);
4970 kLen=ucol_getSortKey(coll, tailorData2[0], tLen, expColl, 100);
4972 tLen = u_strlen(tailorData2[j]);
4973 rLen = ucol_getSortKey(coll, tailorData2[j], tLen, resColl, 100);
4975 log_err("\n After tailoring Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
4986 tLen = u_strlen(tailorData3[3]);
4987 kLen=ucol_getSortKey(coll, tailorData3[3], tLen, expColl, 100);
4989 tLen = u_strlen(tailorData3[j]);
4990 rLen = ucol_getSortKey(coll, tailorData3[j], tLen, resColl, 100);
4993 log_err("\n After tailoring Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
4999 log_verbose("\n Test Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
5014 int32_t rLen, tLen, ruleLen;
5056 tLen = u_strlen(tData1[0]);
5057 rLen = ucol_getSortKey(coll, tData1[0], tLen, resColl, 100);
5059 log_err("\n Data[%d] :%s \tlen: %d key: ", 0, tData1[0], rLen);
5064 tLen = u_strlen(tData1[1]);
5065 rLen = ucol_getSortKey(coll, tData1[1], tLen, resColl, 100);
5067 log_err("\n Data[%d] :%s \tlen: %d key: ", 1, tData1[1], rLen);
5083 tLen = u_strlen(tData2[0]);
5084 rLen = ucol_getSortKey(coll, tData2[0], tLen, resColl, 100);
5085 log_verbose("\n Data[%d] :%s \tlen: %d key: ", 0, tData2[0], rLen);
5090 log_err("\n Data[%d] :%s \tlen: %d key: ", 0, tData2[0], rLen);
5095 tLen = u_strlen(tData2[1]);
5096 rLen = ucol_getSortKey(coll, tData2[1], tLen, resColl, 100);
5097 log_verbose("\n Data[%d] :%s \tlen: %d key: ", 1, tData2[1], rLen);
5102 log_err("\n Data[%d] :%s \tlen: %d key: ", 1, tData2[1], rLen);
5117 int32_t rLen, tLen, ruleLen;
5143 tLen = u_strlen(tData1[j]);
5144 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5149 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5165 tLen = u_strlen(tData1[j]);
5166 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5171 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5188 tLen = u_strlen(tData1[j]);
5189 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5194 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5211 tLen = u_strlen(tData1[j]);
5212 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5221 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);