HomeSort by relevance Sort by last modified time
    Searched refs:trie (Results 76 - 100 of 134) sorted by null

1 2 34 5 6

  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationIterator.java 156 void saveTrieState(CharsTrie trie) { trie.saveState(state); }
157 void resetToTrieState(CharsTrie trie) { trie.resetToState(state); }
171 // We save the trie state before we attempt to match a character,
187 trie = d.trie;
195 trie = d.trie;
205 // Compare the iterator state but not the collation data (trie & data fields)
661 protected final Trie2_32 trie; field in class:CollationIterator
    [all...]
CollationData.java 46 return trie.get(c);
50 return trie.get(c); // TODO: port UTRIE2_GET32_FROM_SUPP(trie, c) to Java?
486 /** Main lookup trie. */
487 Trie2_32 trie; field in class:CollationData
CollationDataReader.java 70 /** Byte offset to the collation trie. Its length is a multiple of 8 bytes. */
213 data.trie = tailoring.trie = Trie2_32.createFromSerialized(inBytes);
214 int trieLength = data.trie.getSerializedLength();
216 throw new ICUException("Not enough bytes for the mappings trie"); // No mappings.
237 throw new ICUException("Tailored ces without tailored trie");
254 throw new ICUException("Tailored ce32s without tailored trie");
310 throw new ICUException("Tailored contexts without tailored trie");
ContractionsAndExpansions.java 59 Iterator<Trie2.Range> trieIterator = data.trie.iterator();
71 trieIterator = data.trie.iterator();
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationIterator.java 154 void saveTrieState(CharsTrie trie) { trie.saveState(state); }
155 void resetToTrieState(CharsTrie trie) { trie.resetToState(state); }
169 // We save the trie state before we attempt to match a character,
185 trie = d.trie;
193 trie = d.trie;
203 // Compare the iterator state but not the collation data (trie & data fields)
659 protected final Trie2_32 trie; field in class:CollationIterator
    [all...]
CollationData.java 44 return trie.get(c);
48 return trie.get(c); // TODO: port UTRIE2_GET32_FROM_SUPP(trie, c) to Java?
484 /** Main lookup trie. */
485 Trie2_32 trie; field in class:CollationData
CollationDataReader.java 69 /** Byte offset to the collation trie. Its length is a multiple of 8 bytes. */
212 data.trie = tailoring.trie = Trie2_32.createFromSerialized(inBytes);
213 int trieLength = data.trie.getSerializedLength();
215 throw new ICUException("Not enough bytes for the mappings trie"); // No mappings.
236 throw new ICUException("Tailored ces without tailored trie");
253 throw new ICUException("Tailored ce32s without tailored trie");
309 throw new ICUException("Tailored contexts without tailored trie");
ContractionsAndExpansions.java 55 Iterator<Trie2.Range> trieIterator = data.trie.iterator();
67 trieIterator = data.trie.iterator();
  /external/icu/icu4c/source/common/
ucnvsel.cpp 25 * a trie is built when you call ucnvsel_open() that
51 UTrie2 *trie; // 16 bit trie containing offsets into pv member in struct:UConverterSelector
141 result->trie = upvec_compactToUTrie2WithRowIndexes(upvec, status);
240 utrie2_close(sel->trie);
260 UCNVSEL_INDEX_TRIE_SIZE, // trie size in bytes
297 int32_t serializedTrieSize = utrie2_serialize(sel->trie, NULL, 0, status);
338 utrie2_serialize(sel->trie, p, serializedTrieSize, status);
567 // trie
568 sel->trie = utrie2_openFromSerialized(UTRIE2_16_VALUE_BITS
    [all...]
normalizer2impl.cpp 253 UTrie2 *trie; member in struct:CanonIterData
394 /* add the start code point of each same-value range of each trie */
401 /* add the start code point of each same-value range of each trie */
415 /* add the start code point of each same-value range of the canonical iterator data trie */
418 utrie2_enum(fCanonIterData->trie, segmentStarterMapper, enumPropertyStartsRange, sa);
722 // at the cost of building the FCD trie for a decomposition normalizer.
    [all...]
rbbisetb.cpp 28 // - construct the trie table that maps input characters
50 // getFoldedRBBIValue Call-back function used during building of Trie table.
53 // (It'd really be nice if the Trie builder would provide a
60 getFoldedRBBIValue(UNewTrie *trie, UChar32 start, int32_t offset) {
67 value=utrie_get32(trie, start, &inBlockZero);
261 // they doesn't affect the computation of ranges or TRIE.
287 // Build the Trie table for mapping UChar32 values to the corresponding
290 fTrie = utrie_open(NULL, // Pre-existing trie to be filled in
307 // getTrieSize() Return the size that will be required to serialize the Trie.
317 // RBBIDebugPrintf("Trie table size is %d\n", trieSize)
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/width/
width.go 70 var trie = newWidthTrie(0) var
75 v, sz := trie.lookup(b)
82 v, sz := trie.lookupString(s)
90 v, _ := trie.lookup(buf[:n])
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/text/width/
width.go 70 var trie = newWidthTrie(0) var
75 v, sz := trie.lookup(b)
82 v, sz := trie.lookupString(s)
90 v, _ := trie.lookup(buf[:n])
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/
triegen.go 7 // Trie table generator.
8 // Used by make*tables tools to generate a go file with trie data structures
forminfo.go 9 // Rune info is stored in a separate trie per composing form. A composing form
10 // and its corresponding decomposing form share the same trie. Each trie maps
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/
triegen.go 7 // Trie table generator.
8 // Used by make*tables tools to generate a go file with trie data structures
forminfo.go 9 // Rune info is stored in a separate trie per composing form. A composing form
10 // and its corresponding decomposing form share the same trie. Each trie maps
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
TimeZoneNamesImpl.java 215 // All names are not yet loaded into the trie.
218 // Populate the parsing trie from all of the already-loaded names.
227 // There are still some names we haven't loaded into the trie yet.
479 * the set of names into the internal map and trie for future references.
495 * the set of names into the internal map and trie for future references.
510 * An instance of NameInfo is stored in the zone names trie.
798 public void addAsMetaZoneIntoTrie(String mzID, TextTrieMap<NameInfo> trie) {
799 addNamesIntoTrie(mzID, null, trie);
802 public void addAsTimeZoneIntoTrie(String tzID, TextTrieMap<NameInfo> trie) {
803 addNamesIntoTrie(null, tzID, trie);
    [all...]
  /external/icu/icu4c/source/i18n/
collationiterator.cpp 126 void saveTrieState(const UCharsTrie &trie) { trie.saveState(state); }
127 void resetToTrieState(UCharsTrie &trie) const { trie.resetToState(state); }
142 // We save the trie state before we attempt to match a character,
149 trie(other.trie),
174 // Compare the iterator state but not the collation data (trie & data fields):
621 // Reset to the trie state before the failed match of c.
    [all...]
collationsets.cpp 52 utrie2_enum(data->trie, NULL, enumTailoredRange, this);
400 utrie2_enum(data->trie, NULL, enumCnERange, this);
409 utrie2_enum(data->trie, NULL, enumCnERange, this);
collationdatareader.cpp 170 data->trie = tailoring.trie = utrie2_openFromSerialized(
187 errorCode = U_INVALID_FORMAT_ERROR; // Tailored ces without tailored trie.
199 errorCode = U_INVALID_FORMAT_ERROR; // Tailored ce32s without tailored trie.
252 errorCode = U_INVALID_FORMAT_ERROR; // Tailored contexts without tailored trie.
collationdatawriter.cpp 245 length = utrie2_serialize(data.trie, dest + totalSize,
248 length = utrie2_serialize(data.trie, NULL, 0, &errorCode2);
254 // The trie size should be a multiple of 8 bytes due to the way
255 // compactIndex2(UNewTrie2 *trie) currently works.
327 // The trie has already been serialized into the dest buffer.
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
TimeZoneNamesImpl.java 213 // All names are not yet loaded into the trie.
216 // Populate the parsing trie from all of the already-loaded names.
225 // There are still some names we haven't loaded into the trie yet.
477 * the set of names into the internal map and trie for future references.
493 * the set of names into the internal map and trie for future references.
508 * An instance of NameInfo is stored in the zone names trie.
796 public void addAsMetaZoneIntoTrie(String mzID, TextTrieMap<NameInfo> trie) {
797 addNamesIntoTrie(mzID, null, trie);
800 public void addAsTimeZoneIntoTrie(String tzID, TextTrieMap<NameInfo> trie) {
801 addNamesIntoTrie(null, tzID, trie);
    [all...]
  /frameworks/minikin/tools/
mk_hyb_file.py 242 # suffix compression - convert the trie into an acyclic digraph, merging nodes when
302 def generate_header(alphabet, trie, pattern):
305 pattern_off = trie_off + len(trie)
407 trie = generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap)
408 header = generate_header(alphabet, trie, pattern)
413 f.write(trie)
538 # reconstruct trie
  /build/kati/
dep.go 85 glog.V(1).Infof("rule trie: add %q %v %s", name, r.outputPatterns[0], r)
87 glog.V(1).Infof("rule trie: add entry %q %v %s", name, r.outputPatterns[0], r)
103 glog.V(1).Infof("rule trie: lookup %q", name)
117 glog.V(1).Infof("rule trie: lookup %q => %v", name, rules)

Completed in 2989 milliseconds

1 2 34 5 6