Home
last modified time | relevance | path

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

/frameworks/minikin/tools/
Dmk_hyb_file.py191 def pack(self, node_list, ch_map, use_node=False): argument
198 succ = sorted([ch_map[c] + edge_start for c in node.succ.keys()])
222 size += max(ch_map.values()) + 1
226 def bfs(self, ch_map): argument
234 assert ch_map[c] not in mapped, 'duplicate edge ' + node.str + ' ' + hex(ord(c))
235 mapped[ch_map[c]] = next
281 ch_map = {'.': 0}
291 ch_map[c] = i + 1
292 return ch_map
311 def generate_alphabet(ch_map): argument
[all …]