Searched refs:link_shift (Results 1 – 3 of 3) sorted by relevance
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 351 link_shift = num_bits(max(ch_map.values())) 352 char_mask = (1 << link_shift) - 1 353 pattern_shift = link_shift + num_bits(n_trie - 1) 354 link_mask = (1 << pattern_shift) - (1 << link_shift) 355 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)] 373 packed = (pat_array[i] << pattern_shift) | (link_array[i] << link_shift) | ch_array[i] 470 (char_mask, link_shift, link_mask, pattern_shift) = struct.unpack('<4I', trie_data[4:20]) 504 link = (edge_entry & link_mask) >> link_shift
|
/frameworks/minikin/libs/minikin/ |
D | Hyphenator.cpp | 52 uint32_t link_shift; member 360 uint32_t link_shift = trie->link_shift; in hyphenateFromCodes() local 370 node = (entry & link_mask) >> link_shift; in hyphenateFromCodes()
|
/frameworks/minikin/doc/ |
D | hyb_file_format.md | 100 uint32_t link_shift 107 Each element in the data table is `(pattern << pattern_shift) | (link << link_shift) | char`.
|