Home
last modified time | relevance | path

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

12

/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc29 NameTable::NameEntryId::NameEntryId() in NameEntryId()
36 NameTable::NameEntryId::NameEntryId(int32_t platform_id, in NameEntryId()
46 NameTable::NameEntryId::NameEntryId(const NameTable::NameEntryId& rhs) { in NameEntryId()
50 const NameTable::NameEntryId&
51 NameTable::NameEntryId::operator=(const NameTable::NameEntryId& rhs) const { in operator =()
59 bool NameTable::NameEntryId::operator==(const NameEntryId& rhs) const { in operator ==()
66 bool NameTable::NameEntryId::operator<(const NameEntryId& rhs) const { in operator <()
76 NameTable::NameEntry::NameEntry() { in NameEntry()
80 NameTable::NameEntry::NameEntry(const NameEntryId& name_entry_id, in NameEntry()
89 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/IR/
DIntrinsicInst.cpp49 int llvm::Intrinsic::lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable, in lookupLLVMIntrinsicByName() argument
62 const char *const *Low = NameTable.begin(); in lookupLLVMIntrinsicByName()
63 const char *const *High = NameTable.end(); in lookupLLVMIntrinsicByName()
78 if (LastLow == NameTable.end()) in lookupLLVMIntrinsicByName()
83 return LastLow - NameTable.begin(); in lookupLLVMIntrinsicByName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp59 int llvm::Intrinsic::lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable, in lookupLLVMIntrinsicByName() argument
71 const char *const *Low = NameTable.begin(); in lookupLLVMIntrinsicByName()
72 const char *const *High = NameTable.end(); in lookupLLVMIntrinsicByName()
87 if (LastLow == NameTable.end()) in lookupLLVMIntrinsicByName()
92 return LastLow - NameTable.begin(); in lookupLLVMIntrinsicByName()
/external/llvm/lib/ProfileData/
DSampleProfWriter.cpp84 const auto &ret = NameTable.find(FName); in writeNameIdx()
85 if (ret == NameTable.end()) in writeNameIdx()
92 auto NextIdx = NameTable.size(); in addName()
93 NameTable.insert(std::make_pair(FName, NextIdx)); in addName()
131 encodeULEB128(NameTable.size(), OS); in writeHeader()
132 for (auto N : NameTable) { in writeHeader()
DSampleProfReader.cpp283 if (*Idx >= NameTable.size()) in readStringFromTable()
285 return NameTable[*Idx]; in readStringFromTable()
413 NameTable.reserve(*Size); in readHeader()
418 NameTable.push_back(*Name); in readHeader()
/external/llvm-project/llvm/lib/IR/
DIntrinsicInst.cpp61 int llvm::Intrinsic::lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable, in lookupLLVMIntrinsicByName() argument
73 const char *const *Low = NameTable.begin(); in lookupLLVMIntrinsicByName()
74 const char *const *High = NameTable.end(); in lookupLLVMIntrinsicByName()
89 if (LastLow == NameTable.end()) in lookupLLVMIntrinsicByName()
94 return LastLow - NameTable.begin(); in lookupLLVMIntrinsicByName()
/external/llvm-project/llvm/lib/ProfileData/
DSampleProfWriter.cpp180 encodeULEB128(NameTable.size(), OS); in writeNameTable()
327 const auto &ret = NameTable.find(FName); in writeNameIdx()
328 if (ret == NameTable.end()) in writeNameIdx()
335 NameTable.insert(std::make_pair(FName, 0)); in addName()
357 for (const auto &I : NameTable) in stablizeNameTable()
361 NameTable[N] = i++; in stablizeNameTable()
370 encodeULEB128(NameTable.size(), OS); in writeNameTable()
408 encodeULEB128(NameTable.size(), OS); in writeNameTable()
DSampleProfReader.cpp363 auto Idx = readStringIndex(NameTable); in readStringFromTable()
367 return NameTable[*Idx]; in readStringFromTable()
375 auto Idx = readStringIndex(NameTable); in readStringFromTable()
381 StringRef &SR = NameTable[*Idx]; in readStringFromTable()
399 auto Idx = readStringIndex(NameTable); in readStringFromTable()
403 return StringRef(NameTable[*Idx]); in readStringFromTable()
760 NameTable.reserve(*Size); in readNameTable()
765 NameTable.push_back(*Name); in readNameTable()
782 NameTable.resize(*Size + NameTable.size()); in readMD5NameTable()
788 NameTable.reserve(*Size); in readMD5NameTable()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfWriter.cpp276 const auto &ret = NameTable.find(FName); in writeNameIdx()
277 if (ret == NameTable.end()) in writeNameIdx()
284 NameTable.insert(std::make_pair(FName, 0)); in addName()
306 for (const auto &I : NameTable) in stablizeNameTable()
310 NameTable[N] = i++; in stablizeNameTable()
319 encodeULEB128(NameTable.size(), OS); in writeNameTable()
357 encodeULEB128(NameTable.size(), OS); in writeNameTable()
DSampleProfReader.cpp350 auto Idx = readStringIndex(NameTable); in readStringFromTable()
354 return NameTable[*Idx]; in readStringFromTable()
358 auto Idx = readStringIndex(NameTable); in readStringFromTable()
362 return StringRef(NameTable[*Idx]); in readStringFromTable()
697 NameTable.reserve(*Size); in readNameTable()
702 NameTable.push_back(*Name); in readNameTable()
712 NameTable.reserve(*Size); in readNameTable()
717 NameTable.push_back(std::to_string(*FID)); in readNameTable()
/external/llvm/include/llvm/ProfileData/
DSampleProfWriter.h117 : SampleProfileWriter(OS), NameTable() {} in SampleProfileWriterBinary()
129 MapVector<StringRef, uint32_t> NameTable; variable
DSampleProfReader.h384 std::vector<StringRef> NameTable; variable
/external/llvm/tools/llvm-pdbdump/
DLLVMOutputStyle.cpp319 NameHashTable NameTable; in dumpNamedStream() local
320 if (auto EC = NameTable.load(Reader)) in dumpNamedStream()
323 P.printHex("Signature", NameTable.getSignature()); in dumpNamedStream()
324 P.printNumber("Version", NameTable.getHashVersion()); in dumpNamedStream()
325 P.printNumber("Name Count", NameTable.getNameCount()); in dumpNamedStream()
327 for (uint32_t ID : NameTable.name_ids()) { in dumpNamedStream()
328 StringRef Str = NameTable.getStringForID(ID); in dumpNamedStream()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DSampleProfReader.h483 virtual std::vector<StringRef> *getNameTable() override { return &NameTable; } in getNameTable()
534 std::vector<StringRef> NameTable; variable
646 std::vector<std::string> NameTable;
DSampleProfWriter.h129 MapVector<StringRef, uint32_t> NameTable; variable
/external/llvm-project/llvm/include/llvm/ProfileData/
DSampleProfReader.h502 virtual std::vector<StringRef> *getNameTable() override { return &NameTable; } in getNameTable()
553 std::vector<StringRef> NameTable; variable
693 std::vector<std::string> NameTable;
DSampleProfWriter.h132 MapVector<StringRef, uint32_t> NameTable; variable
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DIntrinsics.h87 int lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable,
/external/llvm/include/llvm/IR/
DIntrinsics.h78 int lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsics.h89 int lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable,
/external/llvm-project/llvm/include/llvm/IR/
DIntrinsics.h90 int lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable,
/external/sfntly/cpp/src/sfntly/table/
Dtable.cc103 NameTable::Builder::CreateBuilder(header, table_data)); in GetBuilder()

12