Home
last modified time | relevance | path

Searched refs:PlatformId (Results 1 – 25 of 43) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DNameEditingTests.java19 import com.google.typography.font.sfntly.Font.PlatformId;
52 nameBuilder.nameBuilder(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testChangeOneName()
66 String name = nameTable.name(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testChangeOneName()
81 nameBuilder.nameBuilder(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testModifyNameTableAndRevert()
98 String name = nameTable.name(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testModifyNameTableAndRevert()
109 assertTrue(nameBuilder.has(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testRemoveOneName()
112 assertTrue(nameBuilder.remove(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testRemoveOneName()
125 String name = nameTable.name(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testRemoveOneName()
142 nameBuilder.nameBuilder(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testClearAllNamesAndSetOne()
157 String name = nameTable.name(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testClearAllNamesAndSetOne()
DNameTests.java19 import com.google.typography.font.sfntly.Font.PlatformId;
65 if (entry.platformId() == PlatformId.Macintosh.value()) { in testNameEntries()
69 if (entry.platformId() == PlatformId.Windows.value()) { in testNameEntries()
DGlyphTests.java19 import com.google.typography.font.sfntly.Font.PlatformId;
94 PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(),
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DNameEditingTests.java19 import com.google.typography.font.sfntly.Font.PlatformId;
52 nameBuilder.nameBuilder(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testChangeOneName()
66 String name = nameTable.name(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testChangeOneName()
81 nameBuilder.nameBuilder(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testModifyNameTableAndRevert()
98 String name = nameTable.name(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testModifyNameTableAndRevert()
109 assertTrue(nameBuilder.has(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testRemoveOneName()
112 assertTrue(nameBuilder.remove(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testRemoveOneName()
125 String name = nameTable.name(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testRemoveOneName()
142 nameBuilder.nameBuilder(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testClearAllNamesAndSetOne()
157 String name = nameTable.name(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(), in testClearAllNamesAndSetOne()
DNameTests.java19 import com.google.typography.font.sfntly.Font.PlatformId;
65 if (entry.platformId() == PlatformId.Macintosh.value()) { in testNameEntries()
69 if (entry.platformId() == PlatformId.Windows.value()) { in testNameEntries()
DGlyphTests.java19 import com.google.typography.font.sfntly.Font.PlatformId;
94 PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value(),
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dname_editing_test.cc59 name_builder->NameBuilder(PlatformId::kWindows, in TestChangeOneName()
81 UChar* name = name_table->Name(PlatformId::kWindows, in TestChangeOneName()
103 name_builder->NameBuilder(PlatformId::kWindows, in TestModifyNameTableAndRevert()
130 UChar* name = name_table->Name(PlatformId::kWindows, in TestModifyNameTableAndRevert()
152 EXPECT_TRUE(name_builder->Has(PlatformId::kWindows, in TestRemoveOneName()
156 EXPECT_TRUE(name_builder->Remove(PlatformId::kWindows, in TestRemoveOneName()
176 UChar* name = name_table->Name(PlatformId::kWindows, in TestRemoveOneName()
Dcmap_test.cc194 PlatformId::kWindows,
197 PlatformId::kUnicode,
Dverify_name.cc53 EXPECT_EQ(name->PlatformId(i), NAME_IDS[i].platform_id()); in VerifyNAME()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dname_editing_test.cc59 name_builder->NameBuilder(PlatformId::kWindows, in TestChangeOneName()
81 UChar* name = name_table->Name(PlatformId::kWindows, in TestChangeOneName()
103 name_builder->NameBuilder(PlatformId::kWindows, in TestModifyNameTableAndRevert()
130 UChar* name = name_table->Name(PlatformId::kWindows, in TestModifyNameTableAndRevert()
152 EXPECT_TRUE(name_builder->Has(PlatformId::kWindows, in TestRemoveOneName()
156 EXPECT_TRUE(name_builder->Remove(PlatformId::kWindows, in TestRemoveOneName()
176 UChar* name = name_table->Name(PlatformId::kWindows, in TestRemoveOneName()
Dcmap_test.cc194 PlatformId::kWindows,
197 PlatformId::kUnicode,
Dverify_name.cc53 EXPECT_EQ(name->PlatformId(i), NAME_IDS[i].platform_id()); in VerifyNAME()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc251 if (filter_->Accept(container()->PlatformId(name_index_), in HasNext()
450 int32_t NameTable::PlatformId(int32_t index) { in PlatformId() function in sfntly::NameTable
503 return ConvertFromNameBytes(&b, PlatformId(index), EncodingId(index)); in Name()
521 NameEntryPtr instance = new NameEntry(PlatformId(index), in GetNameEntry()
579 case PlatformId::kUnicode: in GetEncodingName()
581 case PlatformId::kMacintosh: in GetEncodingName()
609 case PlatformId::kISO: in GetEncodingName()
611 case PlatformId::kWindows: in GetEncodingName()
630 case PlatformId::kCustom: in GetEncodingName()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc251 if (filter_->Accept(container()->PlatformId(name_index_), in HasNext()
450 int32_t NameTable::PlatformId(int32_t index) { in PlatformId() function in sfntly::NameTable
503 return ConvertFromNameBytes(&b, PlatformId(index), EncodingId(index)); in Name()
521 NameEntryPtr instance = new NameEntry(PlatformId(index), in GetNameEntry()
579 case PlatformId::kUnicode: in GetEncodingName()
581 case PlatformId::kMacintosh: in GetEncodingName()
609 case PlatformId::kISO: in GetEncodingName()
611 case PlatformId::kWindows: in GetEncodingName()
630 case PlatformId::kCustom: in GetEncodingName()
Dcmap_table.cc39 PlatformId::kWindows,
43 PlatformId::kWindows,
47 PlatformId::kWindows,
68 int32_t platform_id = PlatformId(index); in GetCMap()
115 return NewCMapId(PlatformId(index), EncodingId(index)); in GetCMapId()
118 int32_t CMapTable::PlatformId(int32_t index) { in PlatformId() function in sfntly::CMapTable
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontUtils.java123 Font.PlatformId.Windows.value(), Font.WindowsEncodingId.UnicodeUCS4.value()); in getUCSCMap()
126 Font.PlatformId.Windows.value(), Font.WindowsEncodingId.UnicodeUCS2.value()); in getUCSCMap()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontUtils.java123 Font.PlatformId.Windows.value(), Font.WindowsEncodingId.UnicodeUCS4.value()); in getUCSCMap()
126 Font.PlatformId.Windows.value(), Font.WindowsEncodingId.UnicodeUCS2.value()); in getUCSCMap()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapTable.java20 import com.google.typography.font.sfntly.Font.PlatformId;
161 CMapId.getInstance(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value());
163 CMapId.getInstance(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS4.value());
165 CMapId.getInstance(PlatformId.Macintosh.value(), MacintoshEncodingId.Roman.value());
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapTable.java20 import com.google.typography.font.sfntly.Font.PlatformId;
161 CMapId.getInstance(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS2.value());
163 CMapId.getInstance(PlatformId.Windows.value(), WindowsEncodingId.UnicodeUCS4.value());
165 CMapId.getInstance(PlatformId.Macintosh.value(), MacintoshEncodingId.Roman.value());
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DBasicSubsetTests.java21 import com.google.typography.font.sfntly.Font.PlatformId;
81 PlatformId.Macintosh.value(), MacintoshEncodingId.Mongolian.value())); in testSubsetGlyphs()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DBasicSubsetTests.java21 import com.google.typography.font.sfntly.Font.PlatformId;
81 PlatformId.Macintosh.value(), MacintoshEncodingId.Mongolian.value())); in testSubsetGlyphs()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/issue_tests/
DIssue27Tests.java28 nameTableBuilder.nameBuilder(Font.PlatformId.Windows.value(), in testIssue27()
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/issue_tests/
DIssue27Tests.java28 nameTableBuilder.nameBuilder(Font.PlatformId.Windows.value(), in testIssue27()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFont.java142 public enum PlatformId { enum in Font
147 private PlatformId(int value) { in PlatformId() method in Font.PlatformId
159 public static PlatformId valueOf(int value) { in valueOf()
160 for (PlatformId platform : PlatformId.values()) { in valueOf()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFont.java142 public enum PlatformId { enum in Font
147 private PlatformId(int value) { in PlatformId() method in Font.PlatformId
159 public static PlatformId valueOf(int value) { in valueOf()
160 for (PlatformId platform : PlatformId.values()) { in valueOf()

12