Home
last modified time | relevance | path

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

12345

/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 …]
DMachObjectWriter.cpp34 StringTable.clear(); in reset()
525 StringTable.add(Symbol.getName()); in computeSymbolTable()
527 StringTable.finalize(); in computeSymbolTable()
544 MSD.StringIndex = StringTable.getOffset(Symbol.getName()); in computeSymbolTable()
570 MSD.StringIndex = StringTable.getOffset(Symbol.getName()); in computeSymbolTable()
885 StringTableOffset, StringTable.data().size()); in writeObject()
980 getStream() << StringTable.data(); in writeObject()
DMCCodeView.cpp80 StringTable.insert(std::make_pair(S, unsigned(Contents.size()))); in addToStringTable()
94 auto I = StringTable.find(S); in getStringTableOffset()
95 assert(I != StringTable.end()); in getStringTableOffset()
104 OS.EmitIntValue(unsigned(ModuleSubstreamKind::StringTable), 4); in emitStringTable()
/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/regex-re2/re2/testing/
Dunicode_test.py76 def StringTable(s, n, f): function
112 StringTable(_UNICODE_TABLE, 3, DoLine)
116 self.assertRaises(unicode.InputError, StringTable, _UNICODE_TABLE, 4, Abort)
117 self.assertRaises(unicode.InputError, StringTable, _UNICODE_TABLE, 2, Abort)
118 self.assertRaises(unicode.InputError, StringTable, _BAD_TABLE1, 3, Abort)
119 self.assertRaises(unicode.InputError, StringTable, _BAD_TABLE2, 3, Abort)
120 self.assertRaises(unicode.InputError, StringTable, _BAD_TABLE3, 3, Abort)
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DOatFile.java316 private StringTable getSectionNameStringTable() {
323 return new StringTable(getSections().get(index));
361 @Nonnull private final StringTable stringTable;
368 this.stringTable = new StringTable(getSections().get(header.getLink()));
437 public String getName() { return stringTable.getString(readSmallUint(offset)); }
447 public String getName() { return stringTable.getString(readSmallUint(offset)); }
454 private class StringTable {
458 public StringTable(@Nonnull SectionHeader header) {
/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/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 …]
DWinCOFFObjectWriter.cpp109 class StringTable { class
117 StringTable();
136 StringTable Strings;
272 // StringTable class implementation
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/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/llvm/include/llvm/MC/
DStringTableBuilder.h25 SmallString<256> StringTable;
53 return StringTable; in data()
69 return !StringTable.empty(); in isFinalized()
/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/libchrome/base/trace_event/etw_manifest/
Dchrome_events_win.man76 <stringTable>
81 </stringTable>
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCMachObjectWriter.h101 SmallString<256> StringTable; variable
222 /// \param StringTable [out] - The string table data.
225 void ComputeSymbolTable(MCAssembler &Asm, SmallString<256> &StringTable,
/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/llvm/lib/DebugInfo/CodeView/
DSymbolDumper.cpp355 StringRef StringTable = ObjDelegate->getStringTable(); in visitDefRangeSubfieldSym() local
357 if (ProgramStringTableOffset >= StringTable.size()) in visitDefRangeSubfieldSym()
360 StringTable.drop_front(ProgramStringTableOffset).split('\0').first; in visitDefRangeSubfieldSym()
374 StringRef StringTable = ObjDelegate->getStringTable(); in visitDefRangeSym() local
376 if (ProgramStringTableOffset >= StringTable.size()) in visitDefRangeSym()
379 StringTable.drop_front(ProgramStringTableOffset).split('\0').first; in visitDefRangeSym()
DModuleSubstreamVisitor.cpp24 return visitUnknown(ModuleSubstreamKind::StringTable, Data); in visitStringTable()
74 case ModuleSubstreamKind::StringTable: in visitModuleSubstream()
/external/v8/src/ast/
Dcontext-slot-cache.cc52 if (StringTable::InternalizeStringIfExists(name->GetIsolate(), name) in Update()
81 if (StringTable::InternalizeStringIfExists(name->GetIsolate(), name) in ValidateEntry()
/external/syslinux/com32/lua/src/
Dlstate.h59 typedef struct stringtable { struct
63 } stringtable; argument
119 stringtable strt; /* hash table for strings */
/external/skia/third_party/lua/src/
Dlstate.h59 typedef struct stringtable { struct
63 } stringtable; argument
119 stringtable strt; /* hash table for strings */
/external/swiftshader/third_party/LLVM/test/Scripts/
Delf-dump46 class StringTable:
195 shstrtab = StringTable(f.read(sections[e_shstrndx[0]].sh_size[0]))
202 strtab = StringTable(f.read(section.sh_size[0]))
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dcoalescer-cross.ll21 …%struct.global_State = type { %struct.stringtable, i8* (i8*, i8*, i32, i32)*, i8*, i8, i8, i32, %s…
25 %struct.stringtable = type { %struct.GCObject**, i32, i32 }
/external/llvm/test/CodeGen/X86/
Dcoalescer-cross.ll21 …%struct.global_State = type { %struct.stringtable, i8* (i8*, i8*, i32, i32)*, i8*, i8, i8, i32, %s…
25 %struct.stringtable = type { %struct.GCObject**, i32, i32 }

12345