Searched refs:SkOTTableName (Results 1 – 5 of 5) sorted by relevance
/external/skia/tests/ |
D | FontNamesTest.cpp | 17 SkOTTableName header; 18 SkOTTableName::Record nameRecord[R]; 23 SkOTTableName header; 24 SkOTTableName::Record nameRecord[R]; 26 SkOTTableName::Format1Ext header; 27 SkOTTableName::Format1Ext::LangTagRecord langTagRecord[L]; 35 /*format*/ SkOTTableName::format_0, 41 /*platformID*/ { SkOTTableName::Record::PlatformID::Windows }, 42 /*encodingID*/ { SkOTTableName::Record::EncodingID::Windows::UnicodeBMPUCS2 }, 43 /*languageID*/ { SkOTTableName::Record::LanguageID::Windows::English_UnitedStates }, [all …]
|
/external/skia/src/sfnt/ |
D | SkOTUtils.cpp | 52 if (SkOTTableName::TAG == tableEntry.tag) { in RenameFont() 65 const SkOTTableName::Record::NameID::Predefined::Value namesToCreate[] = { in RenameFont() 66 SkOTTableName::Record::NameID::Predefined::FontFamilyName, in RenameFont() 67 SkOTTableName::Record::NameID::Predefined::FontSubfamilyName, in RenameFont() 68 SkOTTableName::Record::NameID::Predefined::UniqueFontIdentifier, in RenameFont() 69 SkOTTableName::Record::NameID::Predefined::FullFontName, in RenameFont() 70 SkOTTableName::Record::NameID::Predefined::PostscriptName, in RenameFont() 76 …size_t nameTableLogicalSize = sizeof(SkOTTableName) + (namesCount * sizeof(SkOTTableName::Record))… in RenameFont() 119 SkOTTableName* nameTable = reinterpret_cast<SkOTTableName*>(data + originalDataSize); in RenameFont() 120 …unsigned short stringOffset = sizeof(SkOTTableName) + (namesCount * sizeof(SkOTTableName::Record)); in RenameFont() [all …]
|
D | SkOTTable_name.cpp | 440 bool SkOTTableName::Iterator::next(SkOTTableName::Iterator::Record& record) { in next() 442 const SkOTTableName::Record* nameRecords = SkTAfter<const SkOTTableName::Record>(&fName); in next() 443 const SkOTTableName::Record* nameRecord; in next() 465 case SkOTTableName::Record::PlatformID::Windows: in next() 466 if (SkOTTableName::Record::EncodingID::Windows::UnicodeBMPUCS2 in next() 468 && SkOTTableName::Record::EncodingID::Windows::UnicodeUCS4 in next() 470 && SkOTTableName::Record::EncodingID::Windows::Symbol in next() 476 case SkOTTableName::Record::PlatformID::Unicode: in next() 477 case SkOTTableName::Record::PlatformID::ISO: in next() 481 case SkOTTableName::Record::PlatformID::Macintosh: in next() [all …]
|
D | SkOTUtils.h | 45 LocalizedStrings_NameTable(SkOTTableName* nameTableData, in LocalizedStrings_NameTable() 46 SkOTTableName::Record::NameID::Predefined::Value types[], in LocalizedStrings_NameTable() 59 static SkOTTableName::Record::NameID::Predefined::Value familyNameTypes[3]; 61 SkOTTableName::Record::NameID::Predefined::Value* fTypes; 64 SkAutoTDeleteArray<SkOTTableName> fNameTableData; 65 SkOTTableName::Iterator fFamilyNameIter;
|
D | SkOTTable_name.h | 18 struct SkOTTableName { struct 23 static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableName>::value; argument 552 Iterator(const SkOTTableName& name) : fName(name), fIndex(0), fType(-1) { } in Iterator() argument 553 Iterator(const SkOTTableName& name, SkOTTableName::Record::NameID::Predefined::Value type) in Iterator() argument 557 void reset(SkOTTableName::Record::NameID::Predefined::Value type) { in reset() argument 570 const SkOTTableName& fName; argument 579 static_assert(sizeof(SkOTTableName) == 6, "sizeof_SkOTTableName_not_6"); argument 580 static_assert(sizeof(SkOTTableName::Format1Ext) == 2, "sizeof_SkOTTableNameF1_not_2"); 581 static_assert(sizeof(SkOTTableName::Format1Ext::LangTagRecord) == 4, "sizeof_SkOTTableNameLangTagRe… 582 static_assert(sizeof(SkOTTableName::Record) == 12, "sizeof_SkOTTableNameRecord_not_12");
|