Home
last modified time | relevance | path

Searched refs:utf8Range (Results 1 – 8 of 8) sorted by relevance

/external/skia/experimental/sktext/src/
DTextRun.cpp14 fUtf8Range = info.utf8Range; in TextRun()
23 leftToRight() ? info.utf8Range.end() : info.utf8Range.begin(); in TextRun()
/external/skia/src/utils/
DSkShaperJSONWriter.cpp85 if (is_one_to_one(fUTF8.c_str(), info.utf8Range.begin(), info.utf8Range.end(), fClusters)) { in commitRunBuffer()
86 std::string utf8{&fUTF8[info.utf8Range.begin()], info.utf8Range.size()}; in commitRunBuffer()
102 info.utf8Range.begin(), info.utf8Range.end(), in commitRunBuffer()
/external/skia/modules/skplaintexteditor/src/
Dshape.cpp114 int utf8RangeSize = SkTFitsIn<int>(info.utf8Range.size()) ? info.utf8Range.size() : INT_MAX; in runBuffer()
121 memcpy(runBuffer.utf8text, fUtf8Text + info.utf8Range.begin(), utf8RangeSize); in runBuffer()
125 fClusterOffset = info.utf8Range.begin(); in runBuffer()
143 info.utf8Range.end(), in commitRunBuffer()
156 fTextOffset = std::max(fTextOffset, info.utf8Range.end()); in commitRunBuffer()
/external/skia/modules/skparagraph/src/
DRun.cpp25 , fTextRange(firstChar + info.utf8Range.begin(), firstChar + info.utf8Range.end()) in Run()
35 fUtf8Range = info.utf8Range; in Run()
49 …fClusterIndexes[info.glyphCount] = this->leftToRight() ? info.utf8Range.end() : info.utf8Range.beg… in Run()
/external/skia/tests/
DShaperTest.cpp39 fRange = info.utf8Range; in runBuffer()
51 REPORTER_ASSERT(fReporter, fRange.begin() == info.utf8Range.begin(), "%s", fResource); in commitRunBuffer()
52 REPORTER_ASSERT(fReporter, fRange.size() == info.utf8Range.size(), "%s", fResource); in commitRunBuffer()
/external/skia/modules/skshaper/src/
DSkShaper.cpp226 int utf8RangeSize = SkTFitsIn<int>(info.utf8Range.size()) ? info.utf8Range.size() : INT_MAX; in runBuffer()
230 memcpy(runBuffer.utf8text, fUtf8Text + info.utf8Range.begin(), utf8RangeSize); in runBuffer()
234 fClusterOffset = info.utf8Range.begin(); in runBuffer()
DSkShaper_harfbuzz.cpp501 … ShapedRun(SkShaper::RunHandler::Range utf8Range, const SkFont& font, SkBidiIterator::Level level, in ShapedRun()
503 : fUtf8Range(utf8Range), fFont(font), fLevel(level)
/external/skia/modules/skshaper/include/
DSkShaper.h195 Range utf8Range; member