Searched defs:it (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
H A DBreakIteratorTest.java63 BreakIterator it = BreakIterator.getWordInstance(Locale.US);
64 it.setText(s);
68 it.setText(s);
71 BreakIterator clone = (BreakIterator) it.clone();
73 assertExpectedWordBoundaries(it, s);
77 private void assertExpectedWordBoundaries(BreakIterator it, String s) { argument
79 int pos = it.first();
83 pos = it.next();
90 pos = it.next();
96 BreakIterator it
[all...]
H A DCollatorTest.java118 private void assertCollationElementIterator(CollationElementIterator it, Integer... offsets) { argument
120 assertEquals(offset, it.getOffset());
121 it.next();
123 assertEquals(CollationElementIterator.NULLORDER, it.next());
133 CharacterIterator it = new StringCharacterIterator(s);
134 assertCollationElementIterator(coll.getCollationElementIterator(it), offsets);
H A DOldAttributedCharacterIteratorTest.java29 AttributedCharacterIterator it; field in class:OldAttributedCharacterIteratorTest
36 AttributedCharacterIterator it = as.getIterator();
41 2, it.getRunLimit(attr));
46 it = as.getIterator();
48 4, it.getRunLimit(attr));
52 4, it.getRunLimit(attr));
57 AttributedCharacterIterator it = as.getIterator();
59 it.getAllAttributeKeys();
67 it = as.getIterator();
69 it
[all...]
/libcore/luni/src/main/native/
H A Dlibcore_icu_TimeZones.cpp98 // because it creates a new SimpleDateFormat each time.
103 // instead of GMT offsets (a pity, because it's a bit faster than this code).
138 // ICU doesn't have names for the UTC zones; it just says "GMT+00:00" for both
198 // If this abbreviation isn't already in use, we can use it.
199 AbbreviationMap::iterator it = usedAbbreviations.find(uncommonStd); local
200 if (it == usedAbbreviations.end() || *(it->second) == row.longStd) {
204 it = usedAbbreviations.find(uncommonDst);
205 if (it == usedAbbreviations.end() || *(it
[all...]
H A Dlibcore_icu_NativeBreakIterator.cpp28 * ICU4C 4.6 doesn't let us update the pointers inside a UBreakIterator to track our char[] as it
43 BreakIteratorPeer(UBreakIterator* it) : mIt(it), mString(NULL), mChars(NULL) { argument
64 UBreakIterator* it = ubrk_safeClone(mIt, NULL, &bufferSize, &status); local
68 BreakIteratorPeer* result = new BreakIteratorPeer(it);
122 UBreakIterator* it = ubrk_open(type, localeChars.c_str(), NULL, 0, &status); local
126 return (new BreakIteratorPeer(it))->toAddress();
/libcore/luni/src/main/java/java/util/
H A DAbstractList.java25 * modifiable {@code List} it's necessary to override the {@code add()} method that
177 SubAbstractListIterator(ListIterator<E> it, argument
179 iterator = it;
449 Iterator<? extends E> it = collection.iterator();
450 while (it.hasNext()) {
451 add(location++, it.next());
457 * Removes all elements from this list, leaving it empty.
525 Iterator<?> it = iterator();
526 while (it.hasNext()) {
527 Object object = it
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DNativeBreakIterator.java121 private void setText(String s, CharacterIterator it) { argument
122 this.charIter = it;
H A DRuleBasedCollatorICU.java113 public CollationElementIteratorICU getCollationElementIterator(CharacterIterator it) { argument
115 return getCollationElementIterator(characterIteratorToString(it));
118 private String characterIteratorToString(CharacterIterator it) { argument
120 for (char ch = it.current(); ch != CharacterIterator.DONE; ch = it.next()) {

Completed in 165 milliseconds