• Home
  • Raw
  • Download

Lines Matching refs:coll

335     OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset = 0);
360 OrderList::OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset) in OrderList() argument
364 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in OrderList()
368 switch (ucol_getStrength(coll)) in OrderList()
724 UCollator *coll = NULL; in sharpSTest() local
732 coll = ucol_openFromShortString("LEN_S1", FALSE, NULL, &status); in sharpSTest()
740 coll, in sharpSTest()
746 coll, in sharpSTest()
775 ucol_close(coll); in sharpSTest()
781 UCollator *coll = NULL; in goodSuffixTest() local
787 coll = ucol_open(NULL, &status); in goodSuffixTest()
792 coll, in goodSuffixTest()
805 ucol_close(coll); in goodSuffixTest()
1050 UCollator *coll; member in StringSetMonkey
1055 : Monkey(), set(theSet), coll(theCollator), collData(theCollData) in StringSetMonkey()
1098 CEList ceList(coll, testCase, status); in generateAlternative()
1144 const CEList altCEs(coll, alt, status); in generateAlternative()
1153 static void generateTestCase(UCollator *coll, Monkey *monkeys[], int32_t monkeyCount, UnicodeString… in generateTestCase() argument
1170 const CEList ceTest(coll, testCase, status); in generateTestCase()
1171 const CEList ceAlt(coll, alternate, status); in generateTestCase()
1177 static UBool simpleSearch(UCollator *coll, const UnicodeString &target, int32_t offset, const Unico… in simpleSearch() argument
1180 OrderList targetOrders(coll, target, offset); in simpleSearch()
1181 OrderList patternOrders(coll, pattern); in simpleSearch()
1184 …UBreakIterator *charBreakIterator = ubrk_open(UBRK_CHARACTER, ucol_getLocaleByType(coll, ULOC_VALI… in simpleSearch()
1304 int32_t SSearchTest::monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeSt… in monkeyTestCase() argument
1314 coll, in monkeyTestCase()
1319 simpleSearch(coll, testCase, 0, pattern, expectedStart, expectedEnd); in monkeyTestCase()
1334 simpleSearch(coll, testCase, 0, altPattern, expectedStart, expectedEnd); in monkeyTestCase()
1359 UCollator *coll = ucol_openFromShortString("S1", FALSE, NULL, &status); in monkeyTest() local
1366 CollData *monkeyData = new CollData(coll, status); in monkeyTest()
1371 ucol_getContractionsAndExpansions(coll, contractions, expansions, FALSE, &status); in monkeyTest()
1377 StringSetMonkey contractionMonkey(contractions, coll, monkeyData); in monkeyTest()
1378 StringSetMonkey expansionMonkey(expansions, coll, monkeyData); in monkeyTest()
1445 ucol_setStrength(coll, strengths[s]); in monkeyTest()
1453 generateTestCase(coll, monkeys, monkeyCount, pattern, altPattern); in monkeyTest()
1454 generateTestCase(coll, monkeys, monkeyCount, prefix, altPrefix); in monkeyTest()
1455 generateTestCase(coll, monkeys, monkeyCount, suffix, altSuffix); in monkeyTest()
1458 …notFoundCount += monkeyTestCase(coll, pattern, pattern, altPattern, "pattern", strengthNames[s], s… in monkeyTest()
1465 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern", strengthN… in monkeyTest()
1470 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern + suffix", … in monkeyTest()
1477 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "pattern + suffix", strengthN… in monkeyTest()
1488 ucol_close(coll); in monkeyTest()