Home
last modified time | relevance | path

Searched refs:getWordInstance (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DBreakIteratorTest.java48 BreakIterator it1 = BreakIterator.getWordInstance(Locale.CANADA_FRENCH); in testGetWordInstanceLocale()
49 assertTrue("Incorrect BreakIterator", it1 != BreakIterator.getWordInstance()); in testGetWordInstanceLocale()
50 BreakIterator it2 = BreakIterator.getWordInstance(new Locale("bad locale")); in testGetWordInstanceLocale()
51 assertTrue("Incorrect BreakIterator", it2 != BreakIterator.getWordInstance()); in testGetWordInstanceLocale()
58 BreakIterator it = BreakIterator.getWordInstance(Locale.US); in testStress()
73 BreakIterator it = BreakIterator.getWordInstance(Locale.US); in testWordBoundaries()
/libcore/ojluni/src/main/java/java/text/
DBreakIterator.java441 public static BreakIterator getWordInstance() in getWordInstance() method in BreakIterator
443 return getWordInstance(Locale.getDefault()); in getWordInstance()
454 public static BreakIterator getWordInstance(Locale locale) in getWordInstance() method in BreakIterator
458 android.icu.text.BreakIterator.getWordInstance(locale)); in getWordInstance()
/libcore/ojluni/src/test/java/text/BreakIterator/
DBug4533872.java70 iter = BreakIterator.getWordInstance(Locale.US); in TestNext()
92 iter = BreakIterator.getWordInstance(Locale.US); in TestIsBoundary()
120 iter = BreakIterator.getWordInstance(Locale.US); in TestPrintEachForward()
159 iter = BreakIterator.getWordInstance(Locale.US); in TestPrintEachBackward()
198 iter = BreakIterator.getWordInstance(Locale.US); in TestPrintAt_1()
227 iter = BreakIterator.getWordInstance(Locale.US); in TestPrintAt_2()
DBug4912404.java37 BreakIterator b = BreakIterator.getWordInstance(); in main()
DExceptionTest.java44 BreakIterator bi = BreakIterator.getWordInstance(); in main()
52 bi = BreakIterator.getWordInstance(); in main()
DBug8032446.java49 BreakIterator bi = BreakIterator.getWordInstance(Locale.ROOT); in main()
DBug7104012.java54 breakIterators.add(BreakIterator.getWordInstance(locale)); in main()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DBreakIteratorTest.java56 BreakIterator wordIterator = BreakIterator.getWordInstance(); in testCache()
229 BreakIterator it = BreakIterator.getWordInstance(); in testGetWordInstance()
237 BreakIterator it = BreakIterator.getWordInstance(Locale.US); in testGetWordInstanceLocale()
271 BreakIterator bi = BreakIterator.getWordInstance(Locale.US); in test_next()
312 BreakIterator.getWordInstance(null); in testGetWordInstanceLocale_NPE()
/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java220 BreakIterator.getWordInstance(sr_Cyrl_BA); in testScriptsPassedToIcu()
221 BreakIterator.getWordInstance(sr_Cyrl_ME); in testScriptsPassedToIcu()
222 BreakIterator.getWordInstance(sr_Latn_BA); in testScriptsPassedToIcu()
223 BreakIterator.getWordInstance(sr_Latn_ME); in testScriptsPassedToIcu()
/libcore/api/
Dcurrent.txt10930 method public static java.text.BreakIterator getWordInstance();
10931 method public static java.text.BreakIterator getWordInstance(java.util.Locale);