Home
last modified time | relevance | path

Searched refs:cmap_id (Results 1 – 3 of 3) sorted by relevance

/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.cc70 CMapId cmap_id = NewCMapId(platform_id, encoding_id); in GetCMap() local
73 (CMap::Builder::GetBuilder(data_, offset_, cmap_id)); in GetCMap()
90 CMapTable::GetCMap(const CMapTable::CMapId cmap_id) { in GetCMap() argument
91 CMapIdFilter id_filter(cmap_id); in GetCMap()
224 bool CMapTable::CMapIdFilter::accept(const CMapId& cmap_id) const { in accept()
226 return wanted_id_ == cmap_id; in accept()
227 return (*comparator_)(wanted_id_, cmap_id); in accept()
234 const CMapId& cmap_id) in CMap() argument
235 : SubTable(data), format_(format), cmap_id_(cmap_id) { in CMap()
249 const CMapId& cmap_id) { in GetBuilder() argument
[all …]
Dcmap_table.h76 virtual bool accept(const CMapId& cmap_id) const = 0;
92 virtual bool accept(const CMapId& cmap_id) const;
128 const CMapId& cmap_id);
131 const CMapId& cmap_id);
134 virtual CMapId cmap_id() { return cmap_id_; } in cmap_id() function
144 const CMapId& cmap_id);
147 const CMapId& cmap_id);
177 CMap(ReadableFontData* data, int32_t format, const CMapId& cmap_id);
183 virtual CMapId cmap_id() { return cmap_id_; } in cmap_id() function
224 const CMapId& cmap_id);
[all …]
/external/sfntly/cpp/src/test/
Dcmap_editing_test.cc51 if (it->second->cmap_id() == CMapTable::WINDOWS_BMP) { in TEST()
63 ASSERT_EQ(CMapTable::WINDOWS_BMP, cmap->cmap_id()); in TEST()
88 cmap_table_builder->NewCMapBuilder(cmap->cmap_id(), cmap->ReadFontData()); in TEST()
99 ASSERT_EQ(CMapTable::WINDOWS_BMP, cmap->cmap_id()); in TEST()