Home
last modified time | relevance | path

Searched refs:NameTable (Results 1 – 10 of 10) sorted by relevance

/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc31 NameTable::NameEntryId::NameEntryId() in NameEntryId()
38 NameTable::NameEntryId::NameEntryId(int32_t platform_id, in NameEntryId()
48 NameTable::NameEntryId::NameEntryId(const NameTable::NameEntryId& rhs) { in NameEntryId()
52 const NameTable::NameEntryId&
53 NameTable::NameEntryId::operator=(const NameTable::NameEntryId& rhs) const { in operator =()
61 bool NameTable::NameEntryId::operator==(const NameEntryId& rhs) const { in operator ==()
68 bool NameTable::NameEntryId::operator<(const NameEntryId& rhs) const { in operator <()
78 NameTable::NameEntry::NameEntry() { in NameEntry()
82 NameTable::NameEntry::NameEntry(const NameEntryId& name_entry_id, in NameEntry()
91 NameTable::NameEntry::NameEntry(int32_t platform_id, in NameEntry()
[all …]
Dname_table.h412 class NameTable : public SubTableContainerTable, public RefCounted<NameTable> {
554 class NameEntryIterator : public RefIterator<NameEntry, NameTable> {
557 explicit NameEntryIterator(NameTable* table);
558 NameEntryIterator(NameTable* table, NameEntryFilter* filter);
627 virtual ~NameTable();
706 NameTable(Header* header, ReadableFontData* data);
736 typedef Ptr<NameTable> NameTablePtr;
737 typedef Ptr<NameTable::NameEntry> NameEntryPtr;
738 typedef Ptr<NameTable::Builder> NameTableBuilderPtr;
739 typedef Ptr<NameTable::NameEntryBuilder> NameEntryBuilderPtr;
/external/sfntly/cpp/src/test/
Dverify_name.cc26 const NameTable::NameEntryId NAME_IDS[] = {
27 NameTable::NameEntryId(1, 0, 0, 0), // 0
28 NameTable::NameEntryId(1, 0, 0, 1), // 1
29 NameTable::NameEntryId(1, 0, 0, 2), // 2
30 NameTable::NameEntryId(1, 0, 0, 3), // 3
31 NameTable::NameEntryId(1, 0, 0, 4), // 4
32 NameTable::NameEntryId(1, 0, 0, 5), // 5
33 NameTable::NameEntryId(1, 0, 0, 6), // 6
34 NameTable::NameEntryId(1, 0, 0, 9), // 7
35 NameTable::NameEntryId(1, 0, 0, 11), // 8
[all …]
Dname_editing_test.cc54 NameTableBuilderPtr name_builder = down_cast<NameTable::Builder*>( in TestChangeOneName()
80 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestChangeOneName()
98 NameTableBuilderPtr name_builder = down_cast<NameTable::Builder*>( in TestModifyNameTableAndRevert()
107 NameTable::NameEntry* neb_entry = neb->name_entry(); in TestModifyNameTableAndRevert()
129 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestModifyNameTableAndRevert()
149 NameTableBuilderPtr name_builder = down_cast<NameTable::Builder*>( in TestRemoveOneName()
175 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestRemoveOneName()
/external/llvm/lib/ProfileData/
DSampleProfWriter.cpp86 const auto &ret = NameTable.find(FName); in writeNameIdx()
87 if (ret == NameTable.end()) in writeNameIdx()
94 auto NextIdx = NameTable.size(); in addName()
95 NameTable.insert(std::make_pair(FName, NextIdx)); in addName()
130 encodeULEB128(NameTable.size(), OS); in writeHeader()
131 for (auto N : NameTable) { in writeHeader()
DSampleProfReader.cpp282 if (*Idx >= NameTable.size()) in readStringFromTable()
284 return NameTable[*Idx]; in readStringFromTable()
407 NameTable.reserve(*Size); in readHeader()
412 NameTable.push_back(*Name); in readHeader()
/external/llvm/include/llvm/ProfileData/
DSampleProfWriter.h112 : SampleProfileWriter(OS), NameTable() {} in SampleProfileWriterBinary()
123 MapVector<StringRef, uint32_t> NameTable; variable
DSampleProfReader.h350 std::vector<StringRef> NameTable; variable
/external/sfntly/cpp/src/sfntly/table/
Dtable.cc103 NameTable::Builder::CreateBuilder(header, table_data)); in GetBuilder()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc101 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in HasName()