• Home
  • Raw
  • Download

Lines Matching refs:coll

61     Strcoll(const UCollator* coll, const CA_uchar* source, UBool useLen);
67 const UCollator *coll; member in Strcoll
73 Strcoll::Strcoll(const UCollator* coll, const CA_uchar* source, UBool useLen) in Strcoll() argument
74 : coll(coll), in Strcoll()
101 cmp += ucol_strcoll(coll, source->dataOf(i), srcLen, source->dataOf(j), tgtLen); in call()
121 Strcoll_2(const UCollator* coll, const CA_uchar* source, const CA_uchar* target, UBool useLen);
127 const UCollator *coll; member in Strcoll_2
133 Strcoll_2::Strcoll_2(const UCollator* coll, const CA_uchar* source, const CA_uchar* target, UBool u… in Strcoll_2() argument
134 : coll(coll), in Strcoll_2()
156 ucol_strcoll(coll, source->dataOf(i), srcLen, target->dataOf(i), tgtLen); in call()
173 StrcollUTF8(const UCollator* coll, const CA_char* source, UBool useLen);
179 const UCollator *coll; member in StrcollUTF8
185 StrcollUTF8::StrcollUTF8(const UCollator* coll, const CA_char* source, UBool useLen) in StrcollUTF8() argument
186 : coll(coll), in StrcollUTF8()
213 … cmp += ucol_strcollUTF8(coll, source->dataOf(i), srcLen, source->dataOf(j), tgtLen, status); in call()
233 … StrcollUTF8_2(const UCollator* coll, const CA_char* source, const CA_char* target, UBool useLen);
239 const UCollator *coll; member in StrcollUTF8_2
245 StrcollUTF8_2::StrcollUTF8_2(const UCollator* coll, const CA_char* source, const CA_char* target, U… in StrcollUTF8_2() argument
246 : coll(coll), in StrcollUTF8_2()
268 ucol_strcollUTF8(coll, source->dataOf(i), srcLen, target->dataOf(i), tgtLen, status); in call()
284 GetSortKey(const UCollator* coll, const CA_uchar* source, UBool useLen);
290 const UCollator *coll; member in GetSortKey
295 GetSortKey::GetSortKey(const UCollator* coll, const CA_uchar* source, UBool useLen) in GetSortKey() argument
296 : coll(coll), in GetSortKey()
317 len = ucol_getSortKey(coll, source->dataOf(i), source->lengthOf(i), key, KEY_BUF_SIZE); in call()
321 len = ucol_getSortKey(coll, source->dataOf(i), -1, key, KEY_BUF_SIZE); in call()
338 …NextSortKeyPart(const UCollator* coll, const CA_uchar* source, int32_t bufSize, int32_t maxIterati…
345 const UCollator *coll; member in NextSortKeyPart
353 NextSortKeyPart::NextSortKeyPart(const UCollator* coll, const CA_uchar* source, int32_t bufSize, in… in NextSortKeyPart() argument
354 : coll(coll), in NextSortKeyPart()
381 partLen = ucol_nextSortKeyPart(coll, &iter, state, part, bufSize, status); in call()
405 …NextSortKeyPartUTF8(const UCollator* coll, const CA_char* source, int32_t bufSize, int32_t maxIter…
412 const UCollator *coll; member in NextSortKeyPartUTF8
420 NextSortKeyPartUTF8::NextSortKeyPartUTF8(const UCollator* coll, const CA_char* source, int32_t bufS… in NextSortKeyPartUTF8() argument
421 : coll(coll), in NextSortKeyPartUTF8()
448 partLen = ucol_nextSortKeyPart(coll, &iter, state, part, bufSize, status); in call()
473 CppCompare(const Collator* coll, const CA_uchar* source, UBool useLen);
479 const Collator *coll; member in CppCompare
485 CppCompare::CppCompare(const Collator* coll, const CA_uchar* source, UBool useLen) in CppCompare() argument
486 : coll(coll), in CppCompare()
512 cmp += coll->compare(source->dataOf(i), srcLen, source->dataOf(j), tgtLen); in call()
532 … CppCompare_2(const Collator* coll, const CA_uchar* source, const CA_uchar* target, UBool useLen);
538 const Collator *coll; member in CppCompare_2
544 CppCompare_2::CppCompare_2(const Collator* coll, const CA_uchar* source, const CA_uchar* target, UB… in CppCompare_2() argument
545 : coll(coll), in CppCompare_2()
566 coll->compare(source->dataOf(i), srcLen, target->dataOf(i), tgtLen); in call()
583 CppCompareUTF8(const Collator* coll, const CA_char* source, UBool useLen);
589 const Collator *coll; member in CppCompareUTF8
595 CppCompareUTF8::CppCompareUTF8(const Collator* coll, const CA_char* source, UBool useLen) in CppCompareUTF8() argument
596 : coll(coll), in CppCompareUTF8()
632 cmp += coll->compareUTF8(src, tgt, *status); in call()
653 …CppCompareUTF8_2(const Collator* coll, const CA_char* source, const CA_char* target, UBool useLen);
659 const Collator *coll; member in CppCompareUTF8_2
665 CppCompareUTF8_2::CppCompareUTF8_2(const Collator* coll, const CA_char* source, const CA_char* targ… in CppCompareUTF8_2() argument
666 : coll(coll), in CppCompareUTF8_2()
693 coll->compareUTF8(src, tgt, *status); in call()
710 CppGetCollationKey(const Collator* coll, const CA_uchar* source, UBool useLen);
716 const Collator *coll; member in CppGetCollationKey
721 CppGetCollationKey::CppGetCollationKey(const Collator* coll, const CA_uchar* source, UBool useLen) in CppGetCollationKey() argument
722 : coll(coll), in CppGetCollationKey()
738 coll->getCollationKey(source->dataOf(i), source->lengthOf(i), key, *status); in call()
749 CollatorAndCounter(const Collator& coll) : coll(coll), ucoll(NULL), counter(0) {} in CollatorAndCounter()
750 CollatorAndCounter(const Collator& coll, const UCollator *ucoll) in CollatorAndCounter()
751 : coll(coll), ucoll(ucoll), counter(0) {} in CollatorAndCounter()
752 const Collator& coll; member
764 return cc.coll.compare(leftString, rightString, errorCode); in UniStrCollatorComparator()
771 CollPerfFunction(const Collator& coll, const UCollator *ucoll) in CollPerfFunction() argument
772 : coll(coll), ucoll(ucoll), ops(0) {} in CollPerfFunction()
778 const Collator& coll; member in CollPerfFunction
793 UniStrCollPerfFunction(const Collator& coll, const UCollator *ucoll, const CA_uchar* data16) in UniStrCollPerfFunction() argument
794 : CollPerfFunction(coll, ucoll), d16(data16), in UniStrCollPerfFunction()
819 UniStrSort(const Collator& coll, const UCollator *ucoll, const CA_uchar* data16) in UniStrSort() argument
820 : UniStrCollPerfFunction(coll, ucoll, data16), in UniStrSort()
836 CollatorAndCounter cc(coll); in call()
853 return cc.coll.compareUTF8(leftString, rightString, errorCode); in StringPieceCollatorComparator()
872 StringPieceCollPerfFunction(const Collator& coll, const UCollator *ucoll, const CA_char* data8) in StringPieceCollPerfFunction() argument
873 : CollPerfFunction(coll, ucoll), d8(data8), in StringPieceCollPerfFunction()
892 StringPieceSort(const Collator& coll, const UCollator *ucoll, const CA_char* data8) in StringPieceSort() argument
893 : StringPieceCollPerfFunction(coll, ucoll, data8), in StringPieceSort()
910 StringPieceSortCpp(const Collator& coll, const UCollator *ucoll, const CA_char* data8) in StringPieceSortCpp() argument
911 : StringPieceSort(coll, ucoll, data8) {} in StringPieceSortCpp()
921 CollatorAndCounter cc(coll); in call()
934 StringPieceSortC(const Collator& coll, const UCollator *ucoll, const CA_char* data8) in StringPieceSortC() argument
935 : StringPieceSort(coll, ucoll, data8) {} in StringPieceSortC()
945 CollatorAndCounter cc(coll, ucoll); in call()
958 UniStrBinSearch(const Collator& coll, const UCollator *ucoll, const CA_uchar* data16) in UniStrBinSearch() argument
959 : UniStrCollPerfFunction(coll, ucoll, data16) {} in UniStrBinSearch()
969 CollatorAndCounter cc(coll); in call()
981 StringPieceBinSearch(const Collator& coll, const UCollator *ucoll, const CA_char* data8) in StringPieceBinSearch() argument
982 : StringPieceCollPerfFunction(coll, ucoll, data8) {} in StringPieceBinSearch()
994 StringPieceBinSearchCpp(const Collator& coll, const UCollator *ucoll, const CA_char* data8) in StringPieceBinSearchCpp() argument
995 : StringPieceBinSearch(coll, ucoll, data8) {} in StringPieceBinSearchCpp()
1005 CollatorAndCounter cc(coll); in call()
1021 StringPieceBinSearchC(const Collator& coll, const UCollator *ucoll, const CA_char* data8) in StringPieceBinSearchC() argument
1022 : StringPieceBinSearch(coll, ucoll, data8) {} in StringPieceBinSearchC()
1032 CollatorAndCounter cc(coll, ucoll); in call()
1052 UCollator* coll; member in CollPerf2Test
1133 coll(NULL), in CollPerf2Test()
1155 coll = ucol_open(locale, &status); in CollPerf2Test()
1161 ucol_close(coll); in ~CollPerf2Test()
1269 ArrayAndColl(const CA_uchar* a, const Collator& c) : d16(a), coll(c) {} in ArrayAndColl()
1271 const Collator& coll; member
1281 return ac.coll.compare(d16->dataOf(leftIndex), d16->lengthOf(leftIndex), in U16CollatorComparator()
1446 Strcoll *testCase = new Strcoll(coll, getData16(status), TRUE /* useLen */); in TestStrcoll()
1457 Strcoll *testCase = new Strcoll(coll, getData16(status), FALSE /* useLen */); in TestStrcollNull()
1468 …Strcoll_2 *testCase = new Strcoll_2(coll, getData16(status), getModData16(status), TRUE /* useLen … in TestStrcollSimilar()
1479 StrcollUTF8 *testCase = new StrcollUTF8(coll, getData8(status), TRUE /* useLen */); in TestStrcollUTF8()
1490 StrcollUTF8 *testCase = new StrcollUTF8(coll, getData8(status),FALSE /* useLen */); in TestStrcollUTF8Null()
1501 …StrcollUTF8_2 *testCase = new StrcollUTF8_2(coll, getData8(status), getModData8(status), TRUE /* u… in TestStrcollUTF8Similar()
1512 GetSortKey *testCase = new GetSortKey(coll, getData16(status), TRUE /* useLen */); in TestGetSortKey()
1523 GetSortKey *testCase = new GetSortKey(coll, getData16(status), FALSE /* useLen */); in TestGetSortKeyNull()
1534 NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 4 /* bufSize */); in TestNextSortKeyPart_4All()
1545 …NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 4 /* bufSize */, 4 /* max… in TestNextSortKeyPart_4x4()
1556 …NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 4 /* bufSize */, 8 /* max… in TestNextSortKeyPart_4x8()
1567 NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 32 /* bufSize */); in TestNextSortKeyPart_32All()
1578 …NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 32 /* bufSize */, 2 /* ma… in TestNextSortKeyPart_32x2()
1589 … NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 4 /* bufSize */); in TestNextSortKeyPartUTF8_4All()
1600 …NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 4 /* bufSize */, 4… in TestNextSortKeyPartUTF8_4x4()
1611 …NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 4 /* bufSize */, 8… in TestNextSortKeyPartUTF8_4x8()
1622 … NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 32 /* bufSize */); in TestNextSortKeyPartUTF8_32All()
1633 …NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 32 /* bufSize */, … in TestNextSortKeyPartUTF8_32x2()
1731 UPerfFunction *testCase = new UniStrSort(*collObj, coll, getRandomData16(status)); in TestUniStrSort()
1741 UPerfFunction *testCase = new StringPieceSortCpp(*collObj, coll, getRandomData8(status)); in TestStringPieceSortCpp()
1751 UPerfFunction *testCase = new StringPieceSortC(*collObj, coll, getRandomData8(status)); in TestStringPieceSortC()
1761 UPerfFunction *testCase = new UniStrBinSearch(*collObj, coll, getSortedData16(status)); in TestUniStrBinSearch()
1771 UPerfFunction *testCase = new StringPieceBinSearchCpp(*collObj, coll, getSortedData8(status)); in TestStringPieceBinSearchCpp()
1781 UPerfFunction *testCase = new StringPieceBinSearchC(*collObj, coll, getSortedData8(status)); in TestStringPieceBinSearchC()