Home
last modified time | relevance | path

Searched refs:readWholeFile (Results 1 – 6 of 6) sorted by relevance

/frameworks/minikin/tests/perftests/
DHyphenator.cpp30 Hyphenator* hyphenator = Hyphenator::loadBinary(readWholeFile(enUsHyph).data(), enUsMinPrefix, in BM_Hyphenator_short_word()
43 Hyphenator* hyphenator = Hyphenator::loadBinary(readWholeFile(enUsHyph).data(), enUsMinPrefix, in BM_Hyphenator_long_word()
/frameworks/minikin/tests/util/
DFileUtils.h20 std::vector<uint8_t> readWholeFile(const std::string& filePath);
DFileUtils.cpp26 std::vector<uint8_t> readWholeFile(const std::string& filePath) { in readWholeFile() function
/frameworks/minikin/tests/unittest/
DHyphenatorTest.cpp48 std::vector<uint8_t> patternData = readWholeFile(usHyph); in TEST()
174 std::vector<uint8_t> patternData = readWholeFile(malayalamHyph); in TEST()
DGreedyLineBreakerTest.cpp49 mHyphenationPattern = readWholeFile("/system/usr/hyphen-data/hyph-en-us.hyb"); in SetUp()
DOptimalLineBreakerTest.cpp49 mHyphenationPattern = readWholeFile("/system/usr/hyphen-data/hyph-en-us.hyb"); in SetUp()