Home
last modified time | relevance | path

Searched refs:Trie2 (Results 1 – 25 of 30) sorted by relevance

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrie2Test.java26 import android.icu.impl.Trie2;
61 assertEquals(null, 2, Trie2.getVersion(is, true)); in TestTrie2API()
71 Trie2 trieA = trieWA; in TestTrie2API()
72 Trie2 trieB = trieWB; in TestTrie2API()
92 Iterator<Trie2.Range> it; in TestTrie2API()
95 Trie2.Range r = it.next(); in TestTrie2API()
109 for (Trie2.Range rr: trie) { in TestTrie2API()
136 Trie2.ValueMapper vm = new Trie2.ValueMapper() { in TestTrie2API()
145 Iterator<Trie2.Range> it = trie.iterator(vm); in TestTrie2API()
146 Trie2.Range r = it.next(); in TestTrie2API()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrie2Test.java25 import com.ibm.icu.impl.Trie2;
58 assertEquals(null, 2, Trie2.getVersion(is, true)); in TestTrie2API()
68 Trie2 trieA = trieWA; in TestTrie2API()
69 Trie2 trieB = trieWB; in TestTrie2API()
89 Iterator<Trie2.Range> it; in TestTrie2API()
92 Trie2.Range r = it.next(); in TestTrie2API()
106 for (Trie2.Range rr: trie) { in TestTrie2API()
133 Trie2.ValueMapper vm = new Trie2.ValueMapper() { in TestTrie2API()
142 Iterator<Trie2.Range> it = trie.iterator(vm); in TestTrie2API()
143 Trie2.Range r = it.next(); in TestTrie2API()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java31 public abstract class Trie2 implements Iterable<Trie2.Range> { class
59 public static Trie2 createFromSerialized(ByteBuffer bytes) throws IOException { in createFromSerialized()
128 Trie2 This; in createFromSerialized()
288 if(!(other instanceof Trie2)) { in equals()
291 Trie2 OtherTrie = (Trie2)other; in equals()
294 Iterator<Trie2.Range> otherIter = OtherTrie.iterator(); in equals()
295 for (Trie2.Range rangeFromThis: this) { in equals()
546 private Trie2.CharSequenceValues fResults = new Trie2.CharSequenceValues();
569 public Trie2.CharSequenceValues next() { in next()
584 public Trie2.CharSequenceValues previous() { in previous()
[all …]
DTrie2_16.java32 public final class Trie2_16 extends Trie2 {
58 return (Trie2_16) Trie2.createFromSerialized(bytes); in createFromSerialized()
DTrie2_32.java32 public class Trie2_32 extends Trie2 {
57 return (Trie2_32) Trie2.createFromSerialized(bytes); in createFromSerialized()
DTrie2Writable.java18 public class Trie2Writable extends Trie2 {
145 public Trie2Writable(Trie2 source) { in Trie2Writable()
526 public Trie2Writable setRange(Trie2.Range range, boolean overwrite) { in setRange()
1018 private void freeze(Trie2 dest, ValueWidth valueBits) { in freeze()
1077 dest.header = new Trie2.UTrie2Header(); in freeze()
DUBiDiProps.java103 Iterator<Trie2.Range> trieIterator=trie.iterator(); in addPropertyStarts()
104 Trie2.Range range; in addPropertyStarts()
DUCharacterProperty.java2237 Iterator<Trie2.Range> trieIterator = m_trie_.iterator(); in addPropertyStarts()
2238 Trie2.Range range; in addPropertyStarts()
2331 Iterator<Trie2.Range> trieIterator = m_additionalTrie_.iterator(); in upropsvec_addPropertyStarts()
2332 Trie2.Range range; in upropsvec_addPropertyStarts()
DRBBIDataWrapper.java137 public Trie2 fTrie;
333 This.fTrie = Trie2.createFromSerialized(bytes); // Deserialize the TRIE, leaving buffer in get()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java33 public abstract class Trie2 implements Iterable<Trie2.Range> { class
61 public static Trie2 createFromSerialized(ByteBuffer bytes) throws IOException { in createFromSerialized()
130 Trie2 This; in createFromSerialized()
290 if(!(other instanceof Trie2)) { in equals()
293 Trie2 OtherTrie = (Trie2)other; in equals()
296 Iterator<Trie2.Range> otherIter = OtherTrie.iterator(); in equals()
297 for (Trie2.Range rangeFromThis: this) { in equals()
552 private Trie2.CharSequenceValues fResults = new Trie2.CharSequenceValues();
575 public Trie2.CharSequenceValues next() { in next()
590 public Trie2.CharSequenceValues previous() { in previous()
[all …]
DTrie2_16.java34 public final class Trie2_16 extends Trie2 {
60 return (Trie2_16) Trie2.createFromSerialized(bytes); in createFromSerialized()
DTrie2_32.java34 public class Trie2_32 extends Trie2 {
59 return (Trie2_32) Trie2.createFromSerialized(bytes); in createFromSerialized()
DTrie2Writable.java20 public class Trie2Writable extends Trie2 {
147 public Trie2Writable(Trie2 source) { in Trie2Writable()
528 public Trie2Writable setRange(Trie2.Range range, boolean overwrite) { in setRange()
1020 private void freeze(Trie2 dest, ValueWidth valueBits) { in freeze()
1079 dest.header = new Trie2.UTrie2Header(); in freeze()
DUBiDiProps.java107 Iterator<Trie2.Range> trieIterator=trie.iterator(); in addPropertyStarts()
108 Trie2.Range range; in addPropertyStarts()
DUCharacterProperty.java2238 Iterator<Trie2.Range> trieIterator = m_trie_.iterator(); in addPropertyStarts()
2239 Trie2.Range range; in addPropertyStarts()
2332 Iterator<Trie2.Range> trieIterator = m_additionalTrie_.iterator(); in upropsvec_addPropertyStarts()
2333 Trie2.Range range; in upropsvec_addPropertyStarts()
DRBBIDataWrapper.java140 public Trie2 fTrie;
337 This.fTrie = Trie2.createFromSerialized(bytes); // Deserialize the TRIE, leaving buffer in get()
DUCaseProps.java101 Iterator<Trie2.Range> trieIterator=trie.iterator(); in addPropertyStarts()
102 Trie2.Range range; in addPropertyStarts()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DContractionsAndExpansions.java19 import android.icu.impl.Trie2;
62 Iterator<Trie2.Range> trieIterator = data.trie.iterator(); in forData()
63 Trie2.Range range; in forData()
DTailoredSet.java20 import android.icu.impl.Trie2;
59 Iterator<Trie2.Range> trieIterator = data.trie.iterator(); in forData()
60 Trie2.Range range; in forData()
DCollationDataBuilder.java24 import android.icu.impl.Trie2;
260 Iterator<Trie2.Range> trieIterator = src.trie.iterator(); in copyFrom()
261 Trie2.Range range; in copyFrom()
883 Iterator<Trie2.Range> trieIterator = trie.iteratorForLeadSurrogate(lead); in setLeadSurrogates()
885 Trie2.Range range = trieIterator.next(); in setLeadSurrogates()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DContractionsAndExpansions.java18 import com.ibm.icu.impl.Trie2;
55 Iterator<Trie2.Range> trieIterator = data.trie.iterator(); in forData()
56 Trie2.Range range; in forData()
DTailoredSet.java19 import com.ibm.icu.impl.Trie2;
57 Iterator<Trie2.Range> trieIterator = data.trie.iterator(); in forData()
58 Trie2.Range range; in forData()
DCollationDataBuilder.java23 import com.ibm.icu.impl.Trie2;
259 Iterator<Trie2.Range> trieIterator = src.trie.iterator(); in copyFrom()
260 Trie2.Range range; in copyFrom()
882 Iterator<Trie2.Range> trieIterator = trie.iteratorForLeadSurrogate(lead); in setLeadSurrogates()
884 Trie2.Range range = trieIterator.next(); in setLeadSurrogates()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java29 import com.ibm.icu.impl.Trie2;
824 Trie2 trie = fRData.fTrie; in handleNext()
1000 Trie2 trie = fRData.fTrie; in handleSafePrevious()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java30 import android.icu.impl.Trie2;
803 Trie2 trie = fRData.fTrie; in handleNext()
979 Trie2 trie = fRData.fTrie; in handleSafePrevious()

12