/frameworks/minikin/tests/unittest/ |
D | HyphenatorTest.cpp | 67 Hyphenator* hyphenator = GetParam()(patternData.data(), patternData.size(), 2, 3, "en"); in TEST_P() local 70 hyphenator->hyphenate(word, &result); in TEST_P() 81 Hyphenator* hyphenator = GetParam()(nullptr, 0, 2, 2, "ca"); in TEST_P() local 84 hyphenator->hyphenate(word, &result); in TEST_P() 95 Hyphenator* hyphenator = GetParam()(nullptr, 0, 2, 2, "ca"); in TEST_P() local 98 hyphenator->hyphenate(word, &result); in TEST_P() 107 Hyphenator* hyphenator = GetParam()(nullptr, 0, 2, 2, "pl"); in TEST_P() local 110 hyphenator->hyphenate(word, &result); in TEST_P() 119 Hyphenator* hyphenator = GetParam()(nullptr, 0, 2, 2, "pl"); in TEST_P() local 122 hyphenator->hyphenate(word, &result); in TEST_P() [all …]
|
D | GreedyLineBreakerTest.cpp | 70 Hyphenator* hyphenator = in SetUp() local 73 HyphenatorMap::add("en-US", hyphenator); in SetUp()
|
D | OptimalLineBreakerTest.cpp | 65 Hyphenator* hyphenator = in SetUp() local 68 HyphenatorMap::add("en-US", hyphenator); in SetUp()
|
/frameworks/minikin/rust/ |
D | minikin.rs | 19 mod hyphenator; module 21 pub use hyphenator::Hyphenator; 40 fn hyphenate(hyphenator: &Hyphenator, word: &[u16], out: &mut [u8]); in hyphenate() 53 fn hyphenate(hyphenator: &Hyphenator, word: &[u16], out: &mut [u8]) { in hyphenate() 54 hyphenator.hyphenate(word, out); in hyphenate()
|
/frameworks/minikin/tests/perftests/ |
D | Hyphenator.cpp | 31 Hyphenator* hyphenator = Hyphenator::loadBinary(hyData.data(), hyData.size(), enUsMinPrefix, in BM_Hyphenator_short_word() local 36 hyphenator->hyphenate(word, &result); in BM_Hyphenator_short_word() 45 Hyphenator* hyphenator = Hyphenator::loadBinary(hyData.data(), hyData.size(), enUsMinPrefix, in BM_Hyphenator_long_word() local 50 hyphenator->hyphenate(word, &result); in BM_Hyphenator_long_word()
|
/frameworks/minikin/libs/minikin/ |
D | HyphenatorMap.h | 34 static void add(const std::string& localeStr, const Hyphenator* hyphenator) { in add() argument 35 getInstance().addInternal(localeStr, hyphenator); in add() 62 void addInternal(const std::string& localeStr, const Hyphenator* hyphenator);
|
D | HyphenatorMap.cpp | 36 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator) { in addHyphenator() argument 37 HyphenatorMap::add(localeStr, hyphenator); in addHyphenator() 48 void HyphenatorMap::addInternal(const std::string& localeStr, const Hyphenator* hyphenator) { in addInternal() argument 52 mMap[locale.getIdentifier()] = hyphenator; in addInternal()
|
D | LineBreakerUtil.cpp | 28 std::vector<HyphenationType> hyphenate(const U16StringPiece& str, const Hyphenator& hyphenator) { in hyphenate() argument 42 hyphenator.hyphenate(word, out.data() + wordStart); in hyphenate()
|
D | LineBreakerUtil.h | 78 const Hyphenator& hyphenator, // A hyphenator to be used for hyphenation. in populateHyphenationPoints() argument 90 hyphenate(textBuf.substr(hyphenationTargetRange), hyphenator); in populateHyphenationPoints() 221 const Hyphenator* hyphenator = nullptr; member 255 hyphenator = HyphenatorMap::lookup(locale); in updateLocaleIfNecessary()
|
D | MeasuredText.cpp | 200 populateHyphenationPoints(textBuf, *run, *proc.hyphenator, proc.contextRange(), in measure()
|
/frameworks/minikin/fuzz/hyphenator_fuzzer/ |
D | hyphenator_fuzzer.cpp | 95 Hyphenator* hyphenator = Hyphenator::loadBinary(&patternData[0], patternData.size(), minPrefix, in LLVMFuzzerTestOneInput() local 101 [&]() { addHyphenator(locale, hyphenator); }, in LLVMFuzzerTestOneInput() 115 hyphenator->hyphenate(textBuf, &result); in LLVMFuzzerTestOneInput()
|
D | Android.bp | 46 dictionary: "hyphenator.dict",
|
/frameworks/minikin/include/minikin/ |
D | Hyphenator.h | 37 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator);
|
/frameworks/base/core/java/android/text/flags/ |
D | flags.aconfig | 218 description: "Reimplement hyphenator for safe file read"
|