Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DHyphenator.cpp178 uint16_t alpha_codes[MAX_HYPHENATED_SIZE]; in hyphenate() local
179 const HyphenationType hyphenValue = alphabetLookup(alpha_codes, word); in hyphenate()
182 hyphenateFromCodes(alpha_codes, paddedLen, hyphenValue, out); in hyphenate()
346 HyphenationType HyphenatorCXX::alphabetLookup(uint16_t* alpha_codes, in alphabetLookup() argument
356 alpha_codes[0] = 0; // word start in alphabetLookup()
369 alpha_codes[i + 1] = code; in alphabetLookup()
371 alpha_codes[word.size() + 1] = 0; // word termination in alphabetLookup()
378 alpha_codes[0] = 0; in alphabetLookup()
392 alpha_codes[i + 1] = AlphabetTable1::value(entry); in alphabetLookup()
394 alpha_codes[word.size() + 1] = 0; in alphabetLookup()
/frameworks/minikin/rust/
Dhyphenator.rs344 alpha_codes: &mut [u16; MAX_HYPHEN_SIZE as usize], in lookup()
348 alpha_codes[0] = 0; // word start
352 alpha_codes[i + 1] = code;
360 alpha_codes[word.len() + 1] = 0; // word termination
583 let mut alpha_codes: [u16; MAX_HYPHEN_SIZE as usize] = [0; MAX_HYPHEN_SIZE as usize]; in hyphenate() localVariable
585 alphabet.lookup(&mut alpha_codes, word) in hyphenate()
591 self.hyphenate_from_codes(alpha_codes, padded_len, hyphen_value, out); in hyphenate()
/frameworks/minikin/include/minikin/
DHyphenator.h261 HyphenationType alphabetLookup(uint16_t* alpha_codes, const U16StringPiece& word) const;