Lines Matching refs:LocaleMatcher
99 LocaleMatcher matcher = LocaleMatcher::Builder().build(errorCode); in testEmpty()
102 LocaleMatcher::Result result = matcher.getBestMatchResult("fr", errorCode); in testEmpty()
115 LocaleMatcher::Builder builder; in testCopyErrorTo()
128 LocaleMatcher matcher = LocaleMatcher::Builder(). in testBasics()
142 LocaleMatcher matcher = LocaleMatcher::Builder(). in testBasics()
155 LocaleMatcher matcher = LocaleMatcher::Builder(). in testBasics()
170 LocaleMatcher matcher = LocaleMatcher::Builder(). in testBasics()
184 LocaleMatcher matcher = LocaleMatcher::Builder(). in testBasics()
199 LocaleMatcher matcher = LocaleMatcher::Builder(). in testBasics()
216 LocaleMatcher matcher = LocaleMatcher::Builder(). in testBasics()
231 LocaleMatcher::Result result = matcher.getBestMatchResult(desired, errorCode); in testBasics()
266 LocaleMatcher matcher = LocaleMatcher::Builder(). in testSupportedDefault()
278 LocaleMatcher::Result result = matcher.getBestMatchResult("ja_JP", errorCode); in testSupportedDefault()
290 LocaleMatcher matcher = LocaleMatcher::Builder(). in testUnsupportedDefault()
302 LocaleMatcher::Result result = matcher.getBestMatchResult("ja_JP", errorCode); in testUnsupportedDefault()
313 LocaleMatcher matcher = LocaleMatcher::Builder(). in testNoDefault()
325 LocaleMatcher::Result result = matcher.getBestMatchResult("ja_JP", errorCode); in testNoDefault()
337 LocaleMatcher noDemotion = LocaleMatcher::Builder(). in testDemotion()
346 LocaleMatcher regionDemotion = LocaleMatcher::Builder(). in testDemotion()
359 LocaleMatcher::Builder builder; in testDirection()
365 LocaleMatcher built = builder.build(errorCode); in testDirection()
366 LocaleMatcher withOneWay(std::move(built)); in testDirection()
375 LocaleMatcher onlyTwoWay = builder.build(errorCode); in testDirection()
376 LocaleMatcher built = in testDirection()
387 LocaleMatcher::Builder builder; in testMaxDistanceAndIsMatch()
388 LocaleMatcher standard = builder.build(errorCode); in testMaxDistanceAndIsMatch()
397 LocaleMatcher loose = in testMaxDistanceAndIsMatch()
405 LocaleMatcher regional = in testMaxDistanceAndIsMatch()
417 LocaleMatcher matcher = LocaleMatcher::Builder().build(errorCode); in testMatch()
446 LocaleMatcher matcher = LocaleMatcher::Builder(). in testResolvedLocale()
450 LocaleMatcher::Result result = matcher.getBestMatchResult(desired, errorCode); in testResolvedLocale()
561 LocaleMatcher::Builder builder; in dataDriven()
586 LocaleMatcher matcher = builder.build(errorCode); in dataDriven()
608 LocaleMatcher::Result result = matcher.getBestMatchResult(desiredLocale, errorCode); in dataDriven()
619 LocaleMatcher::Result result = matcher.getBestMatchResult(desiredIter, errorCode); in dataDriven()