Home
last modified time | relevance | path

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

/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()
DFunction.cpp469 ArrayRef<const char *> NameTable(&IntrinsicNameTable[1], in lookupIntrinsicID() local
471 int Idx = Intrinsic::lookupLLVMIntrinsicByName(NameTable, Name); in lookupIntrinsicID()
478 bool IsPrefixMatch = Name.size() > strlen(NameTable[Idx]); in lookupIntrinsicID()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DIntrinsicInst.cpp61 int llvm::Intrinsic::lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable, in lookupLLVMIntrinsicByName() argument
74 const char *const *Low = NameTable.begin(); in lookupLLVMIntrinsicByName()
75 const char *const *High = NameTable.end(); in lookupLLVMIntrinsicByName()
90 if (LastLow == NameTable.end()) in lookupLLVMIntrinsicByName()
95 return LastLow - NameTable.begin(); in lookupLLVMIntrinsicByName()
DFunction.cpp523 ArrayRef<const char *> NameTable = findTargetSubtable(Name); in lookupIntrinsicID() local
524 int Idx = Intrinsic::lookupLLVMIntrinsicByName(NameTable, Name); in lookupIntrinsicID()
530 int Adjust = NameTable.data() - IntrinsicNameTable; in lookupIntrinsicID()
535 const auto MatchSize = strlen(NameTable[Idx]); in lookupIntrinsicID()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DSampleProfWriter.cpp120 const auto &ret = NameTable.find(FName); in writeNameIdx()
121 if (ret == NameTable.end()) in writeNameIdx()
128 NameTable.insert(std::make_pair(FName, 0)); in addName()
150 for (const auto &I : NameTable) in stablizeNameTable()
154 NameTable[N] = i++; in stablizeNameTable()
163 encodeULEB128(NameTable.size(), OS); in writeNameTable()
177 encodeULEB128(NameTable.size(), OS); in writeNameTable()
DSampleProfReader.cpp334 auto Idx = readStringIndex(NameTable); in readStringFromTable()
338 return NameTable[*Idx]; in readStringFromTable()
342 auto Idx = readStringIndex(NameTable); in readStringFromTable()
346 return StringRef(NameTable[*Idx]); in readStringFromTable()
466 NameTable.reserve(*Size); in readNameTable()
471 NameTable.push_back(*Name); in readNameTable()
481 NameTable.reserve(*Size); in readNameTable()
486 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-7.0/llvm/include/llvm/ProfileData/
DSampleProfReader.h421 std::vector<StringRef> NameTable;
438 std::vector<std::string> NameTable;
DSampleProfWriter.h119 MapVector<StringRef, uint32_t> NameTable; variable
/external/llvm/include/llvm/IR/
DIntrinsics.h78 int lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable,
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DIntrinsics.h87 int lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIntrinsics.h87 int lookupLLVMIntrinsicByName(ArrayRef<const char *> NameTable,
/external/sfntly/cpp/src/sfntly/table/
Dtable.cc103 NameTable::Builder::CreateBuilder(header, table_data)); in GetBuilder()
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRFile.java2095 for (int i = 0; i < NameTable.length; ++i) {
2096 if (!xpath.startsWith(NameTable[i][0])) continue;
2097 if (xpath.indexOf(NameTable[i][1], NameTable[i][0].length()) >= 0) return i;
2125 private static final String[][] NameTable = {
2164 return iterator(NameTable[type][0]);
2179 String[] nameTableRow = NameTable[type];
2211 String[] nameTableRow = NameTable[type];
2505 String[] nameTableRow = NameTable[choice];
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc140 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in HasName()