Searched refs:pattern_shift (Results 1 – 3 of 3) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | Hyphenator.cpp | 54 uint32_t pattern_shift; member 362 uint32_t pattern_shift = trie->pattern_shift; in hyphenateFromCodes() local 374 uint32_t pat_ix = trie->data[node] >> pattern_shift; in hyphenateFromCodes()
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 352 pattern_shift = link_shift + num_bits(n_trie - 1) 353 link_mask = (1 << pattern_shift) - (1 << link_shift) 354 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)] 372 packed = (pat_array[i] << pattern_shift) | (link_array[i] << link_shift) | ch_array[i] 469 (char_mask, link_shift, link_mask, pattern_shift) = struct.unpack('<4I', trie_data[4:20]) 471 pattern = node_entry >> pattern_shift
|
/frameworks/minikin/doc/ |
D | hyb_file_format.md | 102 uint32_t pattern_shift 107 Each element in the data table is `(pattern << pattern_shift) | (link << link_shift) | char`.
|