Lines Matching refs:pack
127 return b''.join(struct.pack('B', x) for x in pattern)
195 def pack(self, node_list, ch_map, use_node=False): member in Hyph
317 return struct.pack('<6I', *data)
330 result = [struct.pack('<3I', 0, min_ch, max_ch + 1)]
332 result.append(struct.pack('<B', b))
336 result = [struct.pack('<2I', 1, len(ch_map))]
339 result.append(struct.pack('<I', data))
355 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)]
374 result.append(struct.pack('<I', packed))
403 result = [struct.pack('<4I', *data)]
405 result.append(struct.pack('<I', x))
413 n_trie = hyph.pack(dedup_nodes, ch_map)