Home
last modified time | relevance | path

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

/frameworks/minikin/tools/
Dmk_hyb_file.py346 def generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap): argument
347 ch_array = [0] * n_trie
348 link_array = [0] * n_trie
349 pat_array = [0] * n_trie
352 pattern_shift = link_shift + num_bits(n_trie - 1)
354 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)]
370 for i in range(n_trie):
412 n_trie = hyph.pack(dedup_nodes, ch_map)
415 trie = generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap)