Home
last modified time | relevance | path

Searched full:stringtable (Results 1 – 25 of 204) sorted by relevance

123456789

/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-7.0/llvm/test/tools/llvm-rc/Inputs/
Dtag-stringtable-basic.rc1 STRINGTABLE
8 STRINGTABLE {
13 STRINGTABLE
20 STRINGTABLE
28 STRINGTABLE {
34 STRINGTABLE
40 STRINGTABLE
Dmemoryflags-stringtable.rc1 // Flags set on the first stringtable of a bundle gets set
2 STRINGTABLE IMPURE {
7 STRINGTABLE
12 STRINGTABLE
17 // Flags set on a later stringtable as part of an earlier bundle
19 STRINGTABLE FIXED PRELOAD
25 STRINGTABLE FIXED PRELOAD
Dcpp-output.rc2 STRINGTABLE {
7 STRINGTABLE {
18 STRINGTABLE {
26 STRINGTABLE {
Dparser-correct-everything.rc6 STRINGTABLE
15 STRINGTABLE BEGIN END
/external/v8/src/objects/
Dstring-table.h53 // StringTable.
57 class StringTable : public HashTable<StringTable, StringTableShape> {
68 // Shink the StringTable if it's very empty (kMaxEmptyFactor) to avoid the
69 // performance overhead of re-allocating the StringTable over and over again.
70 static Handle<StringTable> CautiousShrink(Isolate* isolate,
71 Handle<StringTable> table);
82 DECL_CAST(StringTable)
92 DISALLOW_IMPLICIT_CONSTRUCTORS(StringTable);
/external/skia/tools/trace/
DSkChromeTracingTracer.cpp50 char* stringTable() { in stringTable() function
124 char* stringTableBase = traceEvent->stringTable(); in addTraceEvent()
125 char* stringTable = stringTableBase; in addTraceEvent() local
131 traceEventArgs[i].fArgValue = stringTable - stringTableBase; in addTraceEvent()
137 *stringTable++ = *value.as_string++; in addTraceEvent()
139 *stringTable++ = 0; in addTraceEvent()
253 const char* stringTable = traceEvent->stringTable(); in trace_event_to_json() local
272 trace_value_to_json(writer, arg->fArgValue, arg->fArgType, stringTable); in trace_event_to_json()
275 trace_value_to_json(writer, arg->fArgValue, arg->fArgType, stringTable); in trace_event_to_json()
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp50 char* stringTable() { in stringTable() function
124 char* stringTableBase = traceEvent->stringTable(); in addTraceEvent()
125 char* stringTable = stringTableBase; in addTraceEvent() local
131 traceEventArgs[i].fArgValue = stringTable - stringTableBase; in addTraceEvent()
137 *stringTable++ = *value.as_string++; in addTraceEvent()
139 *stringTable++ = 0; in addTraceEvent()
253 const char* stringTable = traceEvent->stringTable(); in trace_event_to_json() local
272 trace_value_to_json(writer, arg->fArgValue, arg->fArgType, stringTable); in trace_event_to_json()
275 trace_value_to_json(writer, arg->fArgValue, arg->fArgType, stringTable); in trace_event_to_json()
/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/google-breakpad/src/common/linux/
Dsynth_elf.h64 class StringTable : public Section {
66 StringTable(Endianness endianness = kUnsetEndian)
138 StringTable section_header_strings_;
163 // table is the StringTable that contains symbol names. The caller
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 …]
/external/swiftshader/third_party/LLVM/lib/MC/
DMachObjectWriter.cpp416 /// \param StringTable [out] - The string table data.
420 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()
[all …]
/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()));
504 public String getName() { return stringTable.getString(readSmallUint(offset)); }
514 public String getName() { return stringTable.getString(readSmallUint(offset)); }
521 private class StringTable {
525 public StringTable(@Nonnull SectionHeader header) {
/external/llvm/include/llvm/MC/
DStringTableBuilder.h25 SmallString<256> StringTable;
53 return StringTable; in data()
69 return !StringTable.empty(); in isFinalized()
/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/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/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/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/test/tools/llvm-rc/
Dtag-stringtable.test1 ; RUN: llvm-rc /FO %t %p/Inputs/tag-stringtable-basic.rc
84 ; RUN: llvm-rc /N /FO %t0 %p/Inputs/tag-stringtable-basic.rc
169 ; RUN: not llvm-rc /FO %t %p/Inputs/tag-stringtable-same-ids.rc 2>&1 | FileCheck %s --check-prefix …
170 ; SAMEIDS: llvm-rc: Multiple STRINGTABLE strings located under ID 1
/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 …]

123456789