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);
2899 uint32_t tlen = u_unescape(testString, test, 32);
2907 klen = ucol_getSortKey(coll, test, tlen, key, 256);
3924 int32_t sLen = 0, tLen = 0;
3934 tLen = u_unescape(cases[j], target, 256);
3935 source[tLen] = 0;
4859 int32_t rLen, tLen, ruleLen, sLen, kLen;
4918 tLen = u_strlen(tData[j]);
4919 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen);
4920 rLen = ucol_getSortKey(coll, tData[j], tLen, resColl, 100);
4942 tLen = u_strlen(tData[j]);
4943 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen);
4944 rLen = ucol_getSortKey(coll, tData[j], tLen, resColl, 100);
4961 tLen = u_strlen(tailorData[j]);
4962 if ( !ucol_equal(coll, tailorData[0], sLen, tailorData[j], tLen)) {
4967 tLen = u_strlen(tailorData[0]);
4968 kLen=ucol_getSortKey(coll, tailorData[0], tLen, expColl, 100);
4970 tLen = u_strlen(tailorData[j]);
4971 rLen = ucol_getSortKey(coll, tailorData[j], tLen, resColl, 100);
4973 log_err("\n Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
4984 tLen = u_strlen(tailorData2[0]);
4985 kLen=ucol_getSortKey(coll, tailorData2[0], tLen, expColl, 100);
4987 tLen = u_strlen(tailorData2[j]);
4988 rLen = ucol_getSortKey(coll, tailorData2[j], tLen, resColl, 100);
4990 log_err("\n After tailoring Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
5001 tLen = u_strlen(tailorData3[3]);
5002 kLen=ucol_getSortKey(coll, tailorData3[3], tLen, expColl, 100);
5004 tLen = u_strlen(tailorData3[j]);
5005 rLen = ucol_getSortKey(coll, tailorData3[j], tLen, resColl, 100);
5008 log_err("\n After tailoring Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
5014 log_verbose("\n Test Data[%d] :%s \tlen: %d key: ", j, tailorData[j], tLen);
5029 int32_t rLen, tLen, ruleLen;
5068 tLen = u_strlen(tData1[0]);
5069 rLen = ucol_getSortKey(coll, tData1[0], tLen, resColl, 100);
5071 log_err("\n Data[%d] :%s \tlen: %d key: ", 0, tData1[0], rLen);
5076 tLen = u_strlen(tData1[1]);
5077 rLen = ucol_getSortKey(coll, tData1[1], tLen, resColl, 100);
5079 log_err("\n Data[%d] :%s \tlen: %d key: ", 1, tData1[1], rLen);
5095 tLen = u_strlen(tData2[0]);
5096 rLen = ucol_getSortKey(coll, tData2[0], tLen, resColl, 100);
5097 log_verbose("\n Data[%d] :%s \tlen: %d key: ", 0, tData2[0], rLen);
5102 log_err("\n Data[%d] :%s \tlen: %d key: ", 0, tData2[0], rLen);
5107 tLen = u_strlen(tData2[1]);
5108 rLen = ucol_getSortKey(coll, tData2[1], tLen, resColl, 100);
5109 log_verbose("\n Data[%d] :%s \tlen: %d key: ", 1, tData2[1], rLen);
5114 log_err("\n Data[%d] :%s \tlen: %d key: ", 1, tData2[1], rLen);
5129 int32_t rLen, tLen, ruleLen;
5155 tLen = u_strlen(tData1[j]);
5156 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5161 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5177 tLen = u_strlen(tData1[j]);
5178 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5183 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5200 tLen = u_strlen(tData1[j]);
5201 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5206 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);
5223 tLen = u_strlen(tData1[j]);
5224 rLen = ucol_getSortKey(coll, tData1[j], tLen, resColl, 100);
5233 log_verbose("\n Data[%d] :%s \tlen: %d key: ", j, tData1[j], rLen);