Home
last modified time | relevance | path

Searched refs:StringTable (Results 1 – 25 of 119) sorted by relevance

12345

/external/perfetto/src/trace_processor/
Dstring_table.cc32 StringTable::StringTable(sqlite3*, const TraceStorage* storage) in StringTable() function in perfetto::trace_processor::StringTable
35 void StringTable::RegisterTable(sqlite3* db, const TraceStorage* storage) { in RegisterTable()
36 Table::Register<StringTable>(db, storage, "strings"); in RegisterTable()
39 base::Optional<Table::Schema> StringTable::Init(int, const char* const*) { in Init()
48 std::unique_ptr<Table::Cursor> StringTable::CreateCursor() { in CreateCursor()
52 int StringTable::BestIndex(const QueryConstraints&, BestIndexInfo* info) { in BestIndex()
58 StringTable::Cursor::Cursor(StringTable* table) in Cursor()
61 StringTable::Cursor::~Cursor() = default;
63 int StringTable::Cursor::Filter(const QueryConstraints&, sqlite3_value**) { in Filter()
69 int StringTable::Cursor::Next() { in Next()
[all …]
Dstring_table.h32 class StringTable : public Table {
41 Cursor(StringTable*);
61 StringTable* table_ = nullptr;
64 StringTable(sqlite3*, const TraceStorage* storage);
/external/llvm/lib/MC/
DStringTableBuilder.cpp114 StringTable += '\x00'; in finalizeStringTable()
118 StringTable.append(4, '\x00'); in finalizeStringTable()
129 size_t Pos = StringTable.size() - S.size() - (K != RAW); in finalizeStringTable()
137 size_t Start = alignTo(StringTable.size(), Alignment); in finalizeStringTable()
139 StringTable.append(Start - StringTable.size(), '\0'); in finalizeStringTable()
141 assert(P->second == StringTable.size() && in finalizeStringTable()
145 StringTable += S; in finalizeStringTable()
147 StringTable += '\x00'; in finalizeStringTable()
157 while (StringTable.size() % 4) in finalizeStringTable()
158 StringTable += '\x00'; in finalizeStringTable()
[all …]
/external/swiftshader/third_party/LLVM/lib/Object/
DArchive.cpp91 const char *addr = Parent->StringTable->Data.begin() in getName()
95 if (Parent->StringTable == Parent->end_children() in getName()
96 || addr < (Parent->StringTable->Data.begin() in getName()
98 || addr > (Parent->StringTable->Data.begin() in getName()
100 + Parent->StringTable->getSize())) in getName()
137 , StringTable(Child(this, StringRef(0, 0))) { in Archive()
154 StringTable = StrTable; in Archive()
DCOFFObjectFile.cpp454 StringTable = reinterpret_cast<const char *>(base()) in COFFObjectFile()
457 if (!checkAddr(Data, ec, uintptr_t(StringTable), sizeof(ulittle32_t))) in COFFObjectFile()
460 StringTableSize = *reinterpret_cast<const ulittle32_t *>(StringTable); in COFFObjectFile()
461 if (!checkAddr(Data, ec, uintptr_t(StringTable), StringTableSize)) in COFFObjectFile()
465 || (StringTableSize > 4 && StringTable[StringTableSize - 1] != 0)) { in COFFObjectFile()
484 ret.p = reinterpret_cast<intptr_t>(StringTable); in end_symbols()
550 Result = StringRef(StringTable + offset); in getString()
/external/v8/src/objects/
Dstring-table.h57 class StringTable : public HashTable<StringTable, StringTableShape> {
70 static Handle<StringTable> CautiousShrink(Isolate* isolate,
71 Handle<StringTable> table);
82 DECL_CAST(StringTable)
92 DISALLOW_IMPLICIT_CONSTRUCTORS(StringTable);
/external/google-breakpad/src/common/linux/
Dsynth_elf.h64 class StringTable : public Section {
66 StringTable(Endianness endianness = kUnsetEndian)
138 StringTable section_header_strings_;
166 SymbolTable(Endianness endianness, size_t addr_size, StringTable& table);
177 StringTable& table_;
Ddump_symbols_unittest.cc57 using google_breakpad::synth_elf::StringTable;
101 StringTable table(kLittleEndian); in TEST_F()
141 StringTable table(kLittleEndian); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DArchiveWriter.cpp245 raw_ostream &StringTable, in printMemberHeader() argument
256 uint64_t NamePos = StringTable.tell(); in printMemberHeader()
257 addToStringTable(StringTable, ArcName, M, Thin); in printMemberHeader()
312 StringRef StringTable) { in writeSymbolTable() argument
313 if (StringTable.empty()) in writeSymbolTable()
330 Size += StringTable.size(); in writeSymbolTable()
365 print<uint32_t>(Out, Kind, StringTable.size()); in writeSymbolTable()
366 Out << StringTable; in writeSymbolTable()
400 computeMemberData(raw_ostream &StringTable, raw_ostream &SymNames, in computeMemberData() argument
428 printMemberHeader(Out, Pos, StringTable, Kind, Thin, ArcName, M, in computeMemberData()
[all …]
DWindowsResource.cpp159 StringTable.push_back(Entry.getTypeString()); in parse()
162 StringTable.push_back(Entry.getNameString()); in parse()
350 const ArrayRef<std::vector<UTF16>> StringTable; member in llvm::object::WindowsResourceCOFFWriter
360 Data(Parser.getData()), StringTable(Parser.getStringTable()) { in WindowsResourceCOFFWriter()
391 for (auto const &String : StringTable) { in performSectionOneLayout()
670 for (auto &String : StringTable) { in writeDirectoryStringTable()
/external/llvm/include/llvm/MC/
DStringTableBuilder.h25 SmallString<256> StringTable;
53 return StringTable; in data()
69 return !StringTable.empty(); in isFinalized()
/external/swiftshader/third_party/LLVM/lib/MC/
DMachObjectWriter.cpp420 ComputeSymbolTable(MCAssembler &Asm, SmallString<256> &StringTable, in ComputeSymbolTable() argument
434 StringTable += '\x00'; in ComputeSymbolTable()
456 Entry = StringTable.size(); in ComputeSymbolTable()
457 StringTable += Symbol.getName(); in ComputeSymbolTable()
458 StringTable += '\x00'; in ComputeSymbolTable()
492 Entry = StringTable.size(); in ComputeSymbolTable()
493 StringTable += Symbol.getName(); in ComputeSymbolTable()
494 StringTable += '\x00'; in ComputeSymbolTable()
525 while (StringTable.size() % 4) in ComputeSymbolTable()
526 StringTable += '\x00'; in ComputeSymbolTable()
[all …]
DWinCOFFObjectWriter.cpp109 class StringTable { class
117 StringTable();
136 StringTable Strings;
276 void StringTable::update_length() { in update_length()
280 StringTable::StringTable() { in StringTable() function in StringTable
286 size_t StringTable::size() const { in size()
292 size_t StringTable::insert(llvm::StringRef String) { in insert()
/external/v8/src/snapshot/
Dobject-deserializer.cc70 StringTable::EnsureCapacityForDeserialization( in CommitPostProcessedObjects()
75 DCHECK_NULL(StringTable::ForwardStringIfExists(isolate(), &key, *string)); in CommitPostProcessedObjects()
76 StringTable::AddKeyNoResize(isolate(), &key); in CommitPostProcessedObjects()
/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp37 StringTable.append(4, char(0)); in COFFParser()
134 unsigned Index = StringTable.size(); in getStringIndex()
135 StringTable.append(Str.begin(), Str.end()); in getStringIndex()
136 StringTable.push_back(0); in getStringIndex()
146 std::string StringTable; member
233 if (NumberOfSymbols > 0 || CP.StringTable.size() > 4) in layoutCOFF()
238 *reinterpret_cast<support::ulittle32_t *>(&CP.StringTable[0]) in layoutCOFF()
239 = CP.StringTable.size(); in layoutCOFF()
531 OS.write(&CP.StringTable[0], CP.StringTable.size()); in writeCOFF()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2coff.cpp39 StringTable.append(4, char(0)); in COFFParser()
136 unsigned Index = StringTable.size(); in getStringIndex()
137 StringTable.append(Str.begin(), Str.end()); in getStringIndex()
138 StringTable.push_back(0); in getStringIndex()
150 std::string StringTable; member
294 if (NumberOfSymbols > 0 || CP.StringTable.size() > 4) in layoutCOFF()
299 *reinterpret_cast<support::ulittle32_t *>(&CP.StringTable[0]) in layoutCOFF()
300 = CP.StringTable.size(); in layoutCOFF()
592 OS.write(&CP.StringTable[0], CP.StringTable.size()); in writeCOFF()
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp269 SequenceToOffsetTable<std::string> StringTable; in EmitPrintInstruction() local
284 StringTable.add(Str); in EmitPrintInstruction()
288 StringTable.layout(); in EmitPrintInstruction()
296 Idx = StringTable.get(""); in EmitPrintInstruction()
300 Idx = StringTable.get(Str); in EmitPrintInstruction()
365 StringTable.emit(O, printChar); in EmitPrintInstruction()
495 SequenceToOffsetTable<std::string> StringTable; in emitRegisterNameString() local
528 StringTable.add(AsmName); in emitRegisterNameString()
531 StringTable.layout(); in emitRegisterNameString()
533 StringTable.emit(O, printChar); in emitRegisterNameString()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DAsmWriterEmitter.cpp287 SequenceToOffsetTable<std::string> StringTable; in EmitPrintInstruction() local
302 StringTable.add(Str); in EmitPrintInstruction()
306 StringTable.layout(); in EmitPrintInstruction()
314 Idx = StringTable.get(""); in EmitPrintInstruction()
318 Idx = StringTable.get(Str); in EmitPrintInstruction()
383 StringTable.emit(O, printChar); in EmitPrintInstruction()
502 SequenceToOffsetTable<std::string> StringTable; in emitRegisterNameString() local
535 StringTable.add(AsmName); in emitRegisterNameString()
538 StringTable.layout(); in emitRegisterNameString()
540 StringTable.emit(O, printChar); in emitRegisterNameString()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DYAMLOutputStyle.cpp101 bool RequestedStringTable = opts::pdb2yaml::StringTable; in dumpStringTable()
109 Obj.StringTable.emplace(); in dumpStringTable()
117 Obj.StringTable->push_back(*S); in dumpStringTable()
180 case DebugSubsectionKind::StringTable: in convertSubsectionKind()
181 return opts::ModuleSubsection::StringTable; in convertSubsectionKind()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DDebugStringTableSubsection.h37 return S->kind() == DebugSubsectionKind::StringTable; in classof()
62 return S->kind() == DebugSubsectionKind::StringTable; in classof()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DOatFile.java383 private StringTable getSectionNameStringTable() {
390 return new StringTable(getSections().get(index));
428 @Nonnull private final StringTable stringTable;
435 this.stringTable = new StringTable(getSections().get(header.getLink()));
521 private class StringTable {
525 public StringTable(@Nonnull SectionHeader header) {
/external/swiftshader/third_party/LLVM/utils/TableGen/
DAsmWriterEmitter.cpp280 StringToOffsetTable StringTable; in EmitPrintInstruction() local
297 Idx = StringTable.GetOrAddStringOffset(""); in EmitPrintInstruction()
301 Idx = StringTable.GetOrAddStringOffset(Str); in EmitPrintInstruction()
377 StringTable.EmitString(O); in EmitPrintInstruction()
465 StringToOffsetTable StringTable; in emitRegisterNameString() local
499 O << StringTable.GetOrAddStringOffset(AsmName); in emitRegisterNameString()
511 StringTable.EmitString(O); in emitRegisterNameString()
574 StringToOffsetTable StringTable; in EmitGetInstructionName() local
594 O << StringTable.GetOrAddStringOffset(AsmName) << ", "; in EmitGetInstructionName()
601 StringTable.EmitString(O); in EmitGetInstructionName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DDebugStringTableSubsection.cpp24 : DebugSubsectionRef(DebugSubsectionKind::StringTable) {} in DebugStringTableSubsectionRef()
46 : DebugSubsection(DebugSubsectionKind::StringTable) {} in DebugStringTableSubsection()
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachOObject.h76 StringRef StringTable; variable
114 return StringTable; in getStringTableData()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_code.cc69 class StringTable { class
71 StringTable() { in StringTable() function in tensorflow::tfprof::__anon1c1cedaa0111::StringTable
99 explicit FunctionTable(StringTable* string_table) in FunctionTable()
131 StringTable* string_table_;
177 explicit Samples(StringTable* string_table, const Options* opts) in Samples()
255 StringTable* string_table_;
376 StringTable string_table_;

12345