Home
last modified time | relevance | path

Searched refs:SkOTUtils (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/sfnt/
DSkOTUtils.cpp32 uint32_t SkOTUtils::CalcTableChecksum(SK_OT_ULONG *data, size_t length) { in CalcTableChecksum()
41 SkData* SkOTUtils::RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen) { in RenameFont()
163 …nameTableEntry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_U… in RenameFont()
171 …uint32_t unadjustedFontChecksum = SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_ULONG*>(data… in RenameFont()
179 sk_sp<SkOTUtils::LocalizedStrings_NameTable>
180 SkOTUtils::LocalizedStrings_NameTable::Make(const SkTypeface& typeface, in Make()
195 return sk_sp<SkOTUtils::LocalizedStrings_NameTable>( in Make()
196 new SkOTUtils::LocalizedStrings_NameTable(std::move(nameTableData), nameTableSize, in Make()
200 sk_sp<SkOTUtils::LocalizedStrings_NameTable>
201 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(const SkTypeface& typeface) { in MakeForFamilyNames()
[all …]
DSkOTUtils.h20 struct SkOTUtils { struct
/external/skqp/src/sfnt/
DSkOTUtils.cpp30 uint32_t SkOTUtils::CalcTableChecksum(SK_OT_ULONG *data, size_t length) { in CalcTableChecksum()
39 SkData* SkOTUtils::RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen) { in RenameFont()
150 …nameTableEntry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_U… in RenameFont()
158 …uint32_t unadjustedFontChecksum = SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_ULONG*>(data… in RenameFont()
166 sk_sp<SkOTUtils::LocalizedStrings_NameTable>
167 SkOTUtils::LocalizedStrings_NameTable::Make(const SkTypeface& typeface, in Make()
182 return sk_sp<SkOTUtils::LocalizedStrings_NameTable>( in Make()
183 new SkOTUtils::LocalizedStrings_NameTable(std::move(nameTableData), nameTableSize, in Make()
187 sk_sp<SkOTUtils::LocalizedStrings_NameTable>
188 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(const SkTypeface& typeface) { in MakeForFamilyNames()
[all …]
DSkOTUtils.h20 struct SkOTUtils { struct
/external/skqp/src/utils/
DSkWhitelistTypefaces.cpp44 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*tf); in whitelist_name_index()
57 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*tf); in whitelist_name_index()
/external/skia/tools/fonts/
DTestTypeface.cpp145 return new SkOTUtils::LocalizedStrings_SingleName(familyName, language); in onCreateFamilyNameIterator()
DTestSVGTypeface.cpp167 return new SkOTUtils::LocalizedStrings_SingleName(familyName, language); in onCreateFamilyNameIterator()
/external/skqp/tools/fonts/
DSkTestTypeface.cpp171 return new SkOTUtils::LocalizedStrings_SingleName(familyName, language); in onCreateFamilyNameIterator()
DSkTestSVGTypeface.cpp155 return new SkOTUtils::LocalizedStrings_SingleName(familyName, language); in onCreateFamilyNameIterator()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp148 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*this); in onCreateFamilyNameIterator()
514 SkOTUtils::SetAdvancedTypefaceFlags(os2Table->version.v4.fsType, info.get()); in onGetAdvancedMetrics()
DSkTypeface_mac_ct.cpp580 SkOTUtils::SetAdvancedTypefaceFlags(fsType, info.get()); in onGetAdvancedMetrics()
767 entry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum((SK_OT_ULONG*)dataPtr, in onOpenStream()
835 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*this); in onCreateFamilyNameIterator()
853 nameIter = sk_make_sp<SkOTUtils::LocalizedStrings_SingleName>(skFamilyName, skLanguage); in onCreateFamilyNameIterator()
DSkFontHost_win.cpp1666 SkOTUtils::SetAdvancedTypefaceFlags(fsType, info.get()); in onGetAdvancedMetrics()
1804 …sk_sp<SkData> rewrittenFontData(SkOTUtils::RenameFont(stream.get(), familyName, familyNameSize-1)); in create_from_stream()
2004 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*this); in onCreateFamilyNameIterator()
2009 nameIter = sk_make_sp<SkOTUtils::LocalizedStrings_SingleName>(familyName, language); in onCreateFamilyNameIterator()
DSkFontHost_FreeType.cpp1803 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*this); in onCreateFamilyNameIterator()
1808 nameIter = sk_make_sp<SkOTUtils::LocalizedStrings_SingleName>(familyName, language); in onCreateFamilyNameIterator()
/external/skqp/src/ports/
DSkTypeface_win_dw.cpp180 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*this); in onCreateFamilyNameIterator()
522 SkOTUtils::SetAdvancedTypefaceFlags(os2Table->version.v4.fsType, info.get()); in onGetAdvancedMetrics()
DSkFontHost_win.cpp1693 SkOTUtils::SetAdvancedTypefaceFlags(fsType, info.get()); in onGetAdvancedMetrics()
1840 …sk_sp<SkData> rewrittenFontData(SkOTUtils::RenameFont(stream.get(), familyName, familyNameSize-1)); in create_from_stream()
2134 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*this); in onCreateFamilyNameIterator()
2139 nameIter = sk_make_sp<SkOTUtils::LocalizedStrings_SingleName>(familyName, language); in onCreateFamilyNameIterator()
DSkFontHost_mac.cpp1694 SkOTUtils::SetAdvancedTypefaceFlags(fsType, info.get()); in onGetAdvancedMetrics()
1874 entry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum((SK_OT_ULONG*)dataPtr, in onOpenStream()
2134 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*this); in onCreateFamilyNameIterator()
2152 nameIter = sk_make_sp<SkOTUtils::LocalizedStrings_SingleName>(skFamilyName, skLanguage); in onCreateFamilyNameIterator()
DSkFontHost_FreeType.cpp1621 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(*this); in onCreateFamilyNameIterator()
1626 nameIter = sk_make_sp<SkOTUtils::LocalizedStrings_SingleName>(familyName, language); in onCreateFamilyNameIterator()
/external/pdfium/skia/
DBUILD.gn198 "//third_party/skia/src/sfnt/SkOTUtils.cpp",
/external/skqp/
DBUILD.gn960 "src/sfnt/SkOTUtils.cpp",
2268 "src/sfnt/SkOTUtils.cpp",
DAndroid.bp1163 "src/sfnt/SkOTUtils.cpp",
/external/skia/
DAndroid.bp777 "src/sfnt/SkOTUtils.cpp",
1273 "src/sfnt/SkOTUtils.cpp",
DBUILD.gn1354 "src/sfnt/SkOTUtils.cpp",