• Home
  • Raw
  • Download

Lines Matching refs:coll

345     OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset = 0);
370 OrderList::OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset) in OrderList() argument
374 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in OrderList()
378 switch (ucol_getStrength(coll)) in OrderList()
734 UCollator *coll = NULL; in sharpSTest() local
742 coll = ucol_openFromShortString("LEN_S1", FALSE, NULL, &status); in sharpSTest()
750 coll, in sharpSTest()
756 coll, in sharpSTest()
785 ucol_close(coll); in sharpSTest()
791 UCollator *coll = NULL; in goodSuffixTest() local
797 coll = ucol_open(NULL, &status); in goodSuffixTest()
802 coll, in goodSuffixTest()
815 ucol_close(coll); in goodSuffixTest()
1060 UCollator *coll; member in StringSetMonkey
1065 : Monkey(), set(theSet), coll(theCollator), collData(theCollData) in StringSetMonkey()
1108 CEList ceList(coll, testCase, status); in generateAlternative()
1154 const CEList altCEs(coll, alt, status); in generateAlternative()
1163 static void generateTestCase(UCollator *coll, Monkey *monkeys[], int32_t monkeyCount, UnicodeString… in generateTestCase() argument
1180 const CEList ceTest(coll, testCase, status); in generateTestCase()
1181 const CEList ceAlt(coll, alternate, status); in generateTestCase()
1187 static UBool simpleSearch(UCollator *coll, const UnicodeString &target, int32_t offset, const Unico… in simpleSearch() argument
1190 OrderList targetOrders(coll, target, offset); in simpleSearch()
1191 OrderList patternOrders(coll, pattern); in simpleSearch()
1194 …UBreakIterator *charBreakIterator = ubrk_open(UBRK_CHARACTER, ucol_getLocaleByType(coll, ULOC_VALI… in simpleSearch()
1314 int32_t SSearchTest::monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeSt… in monkeyTestCase() argument
1324 coll, in monkeyTestCase()
1329 simpleSearch(coll, testCase, 0, pattern, expectedStart, expectedEnd); in monkeyTestCase()
1344 simpleSearch(coll, testCase, 0, altPattern, expectedStart, expectedEnd); in monkeyTestCase()
1369 UCollator *coll = ucol_openFromShortString("S1", FALSE, NULL, &status); in monkeyTest() local
1376 CollData *monkeyData = new CollData(coll, status); in monkeyTest()
1381 ucol_getContractionsAndExpansions(coll, contractions, expansions, FALSE, &status); in monkeyTest()
1387 StringSetMonkey contractionMonkey(contractions, coll, monkeyData); in monkeyTest()
1388 StringSetMonkey expansionMonkey(expansions, coll, monkeyData); in monkeyTest()
1455 ucol_setStrength(coll, strengths[s]); in monkeyTest()
1463 generateTestCase(coll, monkeys, monkeyCount, pattern, altPattern); in monkeyTest()
1464 generateTestCase(coll, monkeys, monkeyCount, prefix, altPrefix); in monkeyTest()
1465 generateTestCase(coll, monkeys, monkeyCount, suffix, altSuffix); in monkeyTest()
1468 …notFoundCount += monkeyTestCase(coll, pattern, pattern, altPattern, "pattern", strengthNames[s], s… in monkeyTest()
1475 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern", strengthN… in monkeyTest()
1480 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern + suffix", … in monkeyTest()
1487 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "pattern + suffix", strengthN… in monkeyTest()
1498 ucol_close(coll); in monkeyTest()