Home
last modified time | relevance | path

Searched refs:patternData (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/libs/minikin/
DHyphenator.cpp108 HyphenatorRust(const uint8_t* patternData, size_t dataSize, size_t minPrefix, size_t minSuffix, in HyphenatorRust() argument
110 : mHyphenator(rust::load_hyphenator(::rust::cxxbridge1::Slice(patternData, dataSize), in HyphenatorRust()
126 Hyphenator* Hyphenator::loadBinary(const uint8_t* patternData, size_t dataSize, size_t minPrefix, in loadBinary() argument
129 return HyphenatorCXX::loadBinary(patternData, dataSize, minPrefix, minSuffix, locale); in loadBinary()
132 return new HyphenatorRust(patternData, dataSize, minPrefix, minSuffix, locale); in loadBinary()
134 return HyphenatorCXX::loadBinary(patternData, dataSize, minPrefix, minSuffix, locale); in loadBinary()
146 Hyphenator* Hyphenator::loadBinaryForRust(const uint8_t* patternData, size_t dataSize, in loadBinaryForRust() argument
149 return new HyphenatorRust(patternData, dataSize, minPrefix, minSuffix, locale); in loadBinaryForRust()
153 Hyphenator* HyphenatorCXX::loadBinary(const uint8_t* patternData, size_t, size_t minPrefix, in loadBinary() argument
163 return new HyphenatorCXX(patternData, minPrefix, minSuffix, hyphenLocale); in loadBinary()
[all …]
/frameworks/minikin/fuzz/hyphenator_fuzzer/
Dhyphenator_fuzzer.cpp93 std::vector<uint8_t> patternData(fdp.ConsumeIntegralInRange<uint32_t>(0, 256)); in LLVMFuzzerTestOneInput() local
95 Hyphenator* hyphenator = Hyphenator::loadBinary(&patternData[0], patternData.size(), minPrefix, in LLVMFuzzerTestOneInput()
/frameworks/minikin/include/minikin/
DHyphenator.h205 static Hyphenator* loadBinary(const uint8_t* patternData, size_t dataSize, size_t minPrefix,
209 static Hyphenator* loadBinaryForRust(const uint8_t* patternData, size_t dataSize,
246 static Hyphenator* loadBinary(const uint8_t* patternData, size_t dataSize, size_t minPrefix,
251 HyphenatorCXX(const uint8_t* patternData, size_t minPrefix, size_t minSuffix,
/frameworks/minikin/tests/unittest/
DHyphenatorTest.cpp66 std::vector<uint8_t> patternData = readWholeFile(usHyph); in TEST_P() local
67 Hyphenator* hyphenator = GetParam()(patternData.data(), patternData.size(), 2, 3, "en"); in TEST_P()
192 std::vector<uint8_t> patternData = readWholeFile(malayalamHyph); in TEST_P() local
193 Hyphenator* hyphenator = GetParam()(patternData.data(), patternData.size(), 2, 2, "en"); in TEST_P()