Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DHyphenator.cpp126 uint16_t alpha_codes[MAX_HYPHENATED_SIZE]; in hyphenate() local
127 const HyphenationType hyphenValue = alphabetLookup(alpha_codes, word, len); in hyphenate()
129 hyphenateFromCodes(result->data(), alpha_codes, paddedLen, hyphenValue); in hyphenate()
325 HyphenationType Hyphenator::alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, in alphabetLookup() argument
335 alpha_codes[0] = 0; // word start in alphabetLookup()
348 alpha_codes[i + 1] = code; in alphabetLookup()
350 alpha_codes[len + 1] = 0; // word termination in alphabetLookup()
357 alpha_codes[0] = 0; in alphabetLookup()
371 alpha_codes[i + 1] = AlphabetTable1::value(entry); in alphabetLookup()
373 alpha_codes[len + 1] = 0; in alphabetLookup()
/frameworks/minikin/include/minikin/
DHyphenator.h150 HyphenationType alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, size_t len);