Home
last modified time | relevance | path

Searched refs:platform_id (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium_org/third_party/ots/src/
Dname.h21 NameRecord(uint16_t platform_id, uint16_t encoding_id, in NameRecord()
23 : platform_id(platform_id), in NameRecord()
29 uint16_t platform_id; member
36 if (platform_id < rhs.platform_id) return true;
37 if (platform_id > rhs.platform_id) return false;
Dname.cc92 if (!table.ReadU16(&rec.platform_id) || in ots_name_parse()
101 switch (rec.platform_id) { in ots_name_parse()
141 if (rec.platform_id == 1) { in ots_name_parse()
147 } else if (rec.platform_id == 0 || rec.platform_id == 3) { in ots_name_parse()
228 if (name_iter->platform_id == 1) { in ots_name_parse()
232 if (name_iter->platform_id == 3) { in ots_name_parse()
295 if (!out->WriteU16(rec.platform_id) || in ots_name_serialise()
/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc38 NameTable::NameEntryId::NameEntryId(int32_t platform_id, in NameEntryId() argument
42 : platform_id_(platform_id), in NameEntryId()
84 Init(name_entry_id.platform_id(), in NameEntry()
91 NameTable::NameEntry::NameEntry(int32_t platform_id, in NameEntry() argument
96 Init(platform_id, encoding_id, language_id, name_id, &name_bytes); in NameEntry()
111 platform_id(), in Name()
120 void NameTable::NameEntry::Init(int32_t platform_id, in Init() argument
125 name_entry_id_ = NameEntryId(platform_id, encoding_id, language_id, name_id); in Init()
142 Init(name_entry_id.platform_id(), in NameEntryBuilder()
151 Init(name_entry_id.platform_id(), in NameEntryBuilder()
[all …]
Dname_table.h418 NameEntryId(int32_t platform_id, int32_t encoding_id, int32_t language_id,
424 int32_t platform_id() const { return platform_id_; } in platform_id() function
450 NameEntry(int32_t platform_id,
458 int32_t platform_id() const { return name_entry_id_.platform_id(); } in platform_id() function
479 void Init(int32_t platform_id, int32_t encoding_id, int32_t language_id,
512 void Init(int32_t platform_id, int32_t encoding_id, int32_t language_id,
524 virtual bool Accept(int32_t platform_id,
535 NameEntryFilterInPlace(int32_t platform_id,
542 virtual bool Accept(int32_t platform_id,
597 bool Has(int32_t platform_id, int32_t encoding_id, int32_t language_id,
[all …]
Dcmap_table.h53 int32_t platform_id; member
56 return platform_id == obj.platform_id && encoding_id == obj.encoding_id;
135 virtual int32_t platform_id() { return cmap_id_.platform_id; } in platform_id() function
184 virtual int32_t platform_id() { return cmap_id_.platform_id; } in platform_id() function
552 static CMapId NewCMapId(int32_t platform_id, int32_t encoding_id);
559 CALLER_ATTACH CMap* GetCMap(const int32_t platform_id,
Dcmap_table.cc68 int32_t platform_id = PlatformId(index); in GetCMap() local
70 CMapId cmap_id = NewCMapId(platform_id, encoding_id); in GetCMap()
84 CALLER_ATTACH CMapTable::CMap* CMapTable::GetCMap(const int32_t platform_id, in GetCMap() argument
86 return GetCMap(NewCMapId(platform_id, encoding_id)); in GetCMap()
137 CMapTable::CMapId CMapTable::NewCMapId(int32_t platform_id, in NewCMapId() argument
140 result.platform_id = platform_id; in NewCMapId()
147 result.platform_id = obj.platform_id; in NewCMapId()
206 return ((lhs.platform_id << 8 | lhs.encoding_id) > in operator ()()
207 (rhs.platform_id << 8 | rhs.encoding_id)); in operator ()()
1139 index_offset += new_data->WriteUShort(index_offset, b->platform_id()); in SubSerialize()
[all …]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc38 NameTable::NameEntryId::NameEntryId(int32_t platform_id, in NameEntryId() argument
42 : platform_id_(platform_id), in NameEntryId()
84 Init(name_entry_id.platform_id(), in NameEntry()
91 NameTable::NameEntry::NameEntry(int32_t platform_id, in NameEntry() argument
96 Init(platform_id, encoding_id, language_id, name_id, &name_bytes); in NameEntry()
111 platform_id(), in Name()
120 void NameTable::NameEntry::Init(int32_t platform_id, in Init() argument
125 name_entry_id_ = NameEntryId(platform_id, encoding_id, language_id, name_id); in Init()
142 Init(name_entry_id.platform_id(), in NameEntryBuilder()
151 Init(name_entry_id.platform_id(), in NameEntryBuilder()
[all …]
Dname_table.h418 NameEntryId(int32_t platform_id, int32_t encoding_id, int32_t language_id,
424 int32_t platform_id() const { return platform_id_; } in platform_id() function
450 NameEntry(int32_t platform_id,
458 int32_t platform_id() const { return name_entry_id_.platform_id(); } in platform_id() function
479 void Init(int32_t platform_id, int32_t encoding_id, int32_t language_id,
512 void Init(int32_t platform_id, int32_t encoding_id, int32_t language_id,
524 virtual bool Accept(int32_t platform_id,
535 NameEntryFilterInPlace(int32_t platform_id,
542 virtual bool Accept(int32_t platform_id,
597 bool Has(int32_t platform_id, int32_t encoding_id, int32_t language_id,
[all …]
Dcmap_table.h53 int32_t platform_id; member
56 return platform_id == obj.platform_id && encoding_id == obj.encoding_id;
135 virtual int32_t platform_id() { return cmap_id_.platform_id; } in platform_id() function
184 virtual int32_t platform_id() { return cmap_id_.platform_id; } in platform_id() function
552 static CMapId NewCMapId(int32_t platform_id, int32_t encoding_id);
559 CALLER_ATTACH CMap* GetCMap(const int32_t platform_id,
Dcmap_table.cc68 int32_t platform_id = PlatformId(index); in GetCMap() local
70 CMapId cmap_id = NewCMapId(platform_id, encoding_id); in GetCMap()
84 CALLER_ATTACH CMapTable::CMap* CMapTable::GetCMap(const int32_t platform_id, in GetCMap() argument
86 return GetCMap(NewCMapId(platform_id, encoding_id)); in GetCMap()
137 CMapTable::CMapId CMapTable::NewCMapId(int32_t platform_id, in NewCMapId() argument
140 result.platform_id = platform_id; in NewCMapId()
147 result.platform_id = obj.platform_id; in NewCMapId()
206 return ((lhs.platform_id << 8 | lhs.encoding_id) > in operator ()()
207 (rhs.platform_id << 8 | rhs.encoding_id)); in operator ()()
1139 index_offset += new_data->WriteUShort(index_offset, b->platform_id()); in SubSerialize()
[all …]
/external/chromium_org/ui/ozone/
Dplatform_selection.cc37 for (int platform_id = 0; platform_id < kPlatformCount; ++platform_id) { in GetOzonePlatformId() local
38 if (platform_name == kPlatformNames[platform_id]) { in GetOzonePlatformId()
39 g_selected_platform = platform_id; in GetOzonePlatformId()
/external/sfntly/cpp/src/test/
Dcmap_iterator_test.cc44 CMapIteratorTestCase(int32_t platform_id, int32_t encoding_id, in CMapIteratorTestCase() argument
46 : platform_id_(platform_id), in CMapIteratorTestCase()
51 int32_t platform_id() const { return platform_id_; } in platform_id() function in sfntly::CMapIteratorTestCase
84 cmap_.Attach(cmap_table->GetCMap(GetParam().platform_id(), in SetUp()
142 CMapIteratorTestCase(CMapTable::WINDOWS_BMP.platform_id,
Dverify_name.cc53 EXPECT_EQ(name->PlatformId(i), NAME_IDS[i].platform_id()); in VerifyNAME()
/external/chromium_org/third_party/sfntly/cpp/src/test/
Dcmap_iterator_test.cc44 CMapIteratorTestCase(int32_t platform_id, int32_t encoding_id, in CMapIteratorTestCase() argument
46 : platform_id_(platform_id), in CMapIteratorTestCase()
51 int32_t platform_id() const { return platform_id_; } in platform_id() function in sfntly::CMapIteratorTestCase
84 cmap_.Attach(cmap_table->GetCMap(GetParam().platform_id(), in SetUp()
142 CMapIteratorTestCase(CMapTable::WINDOWS_BMP.platform_id,
/external/chromium_org/third_party/sfntly/cpp/src/test/autogenerated/
Dcmap_basic_test.cc93 int32_t platform_id = GetAttribute(*it, "platform_id")->IntValue(); in TEST_P() local
96 cmap.Attach(cmap_table_->GetCMap(platform_id, encoding_id)); in TEST_P()
102 ASSERT_EQ(cmap->platform_id(), platform_id); in TEST_P()
/external/sfntly/cpp/src/test/autogenerated/
Dcmap_basic_test.cc93 int32_t platform_id = GetAttribute(*it, "platform_id")->IntValue(); in TEST_P() local
96 cmap.Attach(cmap_table_->GetCMap(platform_id, encoding_id)); in TEST_P()
102 ASSERT_EQ(cmap->platform_id(), platform_id); in TEST_P()
/external/harfbuzz_ng/src/
Dhb-ot-name-table.hh79 inline unsigned int get_name (unsigned int platform_id, in get_name()
87 key.platformID.set (platform_id); in get_name()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-name-table.hh79 inline unsigned int get_name (unsigned int platform_id, in get_name()
87 key.platformID.set (platform_id); in get_name()
/external/freetype/include/
Dftsnames.h100 FT_UShort platform_id; member
/external/chromium_org/third_party/freetype/include/freetype/
Dftsnames.h100 FT_UShort platform_id; member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
Dftsnames.h100 FT_UShort platform_id; member
/external/pdfium/core/include/thirdparties/freetype/freetype/
Dftsnames.h100 FT_UShort platform_id; member
/external/chromium_org/third_party/freetype/src/sfnt/
Dsfobjs.c300 sfnt_find_encoding( int platform_id, in sfnt_find_encoding() argument
305 int platform_id; in sfnt_find_encoding() member
338 if ( cur->platform_id == platform_id ) in sfnt_find_encoding()
897 charmap->encoding = sfnt_find_encoding( charmap->platform_id, in sfnt_load_face()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
Dsfobjs.c302 sfnt_find_encoding( int platform_id, in sfnt_find_encoding() argument
307 int platform_id; in sfnt_find_encoding() member
340 if ( cur->platform_id == platform_id ) in sfnt_find_encoding()
899 charmap->encoding = sfnt_find_encoding( charmap->platform_id, in sfnt_load_face()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftsnames.c76 aname->platform_id = entry->platformID; in FT_Get_Sfnt_Name()

123