Home
last modified time | relevance | path

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

12

/external/llvm/lib/MC/
DStringTableBuilder.cpp43 StringTable += '\x00'; in finalize()
47 StringTable.append(4, '\x00'); in finalize()
57 StringIndexMap[s] = StringTable.size() - 1 - s.size(); in finalize()
61 StringIndexMap[s] = StringTable.size(); in finalize()
62 StringTable += s; in finalize()
63 StringTable += '\x00'; in finalize()
72 while (StringTable.size() % 4) in finalize()
73 StringTable += '\x00'; in finalize()
77 assert(StringTable.size() <= std::numeric_limits<uint32_t>::max()); in finalize()
78 uint32_t size = static_cast<uint32_t>(StringTable.size()); in finalize()
[all …]
DMachObjectWriter.cpp35 StringTable.clear(); in reset()
544 StringTable.add(Symbol.getName()); in ComputeSymbolTable()
546 StringTable.finalize(StringTableBuilder::MachO); in ComputeSymbolTable()
565 MSD.StringIndex = StringTable.getOffset(Symbol.getName()); in ComputeSymbolTable()
593 MSD.StringIndex = StringTable.getOffset(Symbol.getName()); in ComputeSymbolTable()
899 StringTableOffset, StringTable.data().size()); in WriteObject()
1005 OS << StringTable.data(); in WriteObject()
/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()
Dsynth_elf_unittest.cc47 using google_breakpad::synth_elf::StringTable;
60 StringTable table;
122 StringTable table(kLittleEndian); in TEST_F()
Delf_symbols_to_module_unittest.cc48 using google_breakpad::synth_elf::StringTable;
84 StringTable table;
Dsynth_elf.cc215 StringTable& table) : Section(endianness), in SymbolTable()
/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/llvm/include/llvm/MC/
DStringTableBuilder.h21 SmallString<256> StringTable; variable
46 return StringTable; in data()
61 return !StringTable.empty(); in isFinalized()
DMCMachObjectWriter.h112 StringTableBuilder StringTable; variable
/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp38 StringTable.append(4, char(0)); in COFFParser()
125 unsigned Index = StringTable.size(); in getStringIndex()
126 StringTable.append(Str.begin(), Str.end()); in getStringIndex()
127 StringTable.push_back(0); in getStringIndex()
137 std::string StringTable; member
224 if (NumberOfSymbols > 0 || CP.StringTable.size() > 4) in layoutCOFF()
229 *reinterpret_cast<support::ulittle32_t *>(&CP.StringTable[0]) in layoutCOFF()
230 = CP.StringTable.size(); in layoutCOFF()
524 OS.write(&CP.StringTable[0], CP.StringTable.size()); in writeCOFF()
/external/llvm/lib/Object/
DArchive.cpp153 const char *addr = Parent->StringTable->Data.begin() in getName()
157 if (Parent->StringTable == Parent->child_end() in getName()
158 || addr < (Parent->StringTable->Data.begin() in getName()
160 || addr > (Parent->StringTable->Data.begin() in getName()
162 + Parent->StringTable->getSize())) in getName()
298 StringTable = i; in Archive()
330 StringTable = i; in Archive()
DCOFFObjectFile.cpp133 auto End = reinterpret_cast<uintptr_t>(StringTable); in moveSymbolNext()
462 getObject(StringTable, Data, StringTableAddr, StringTableSize)) in initSymbolTablePtr()
471 if (StringTableSize > 4 && StringTable[StringTableSize - 1] != 0) in initSymbolTablePtr()
602 SymbolTable32(nullptr), StringTable(nullptr), StringTableSize(0), in COFFObjectFile()
734 Ret.p = reinterpret_cast<uintptr_t>(StringTable); in symbol_end_impl()
896 Result = StringRef(StringTable + Offset); in getString()
DMachOObjectFile.cpp344 StringRef StringTable = getStringTableData(); in getSymbolName() local
346 const char *Start = &StringTable.data()[Entry.n_strx]; in getSymbolName()
364 StringRef StringTable = getStringTableData(); in getIndirectName() local
377 if (NValue >= StringTable.size()) in getIndirectName()
379 const char *Start = &StringTable.data()[NValue]; in getIndirectName()
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp292 SequenceToOffsetTable<std::string> StringTable; in EmitPrintInstruction() local
310 StringTable.add(Str); in EmitPrintInstruction()
314 StringTable.layout(); in EmitPrintInstruction()
327 Idx = StringTable.get(""); in EmitPrintInstruction()
331 Idx = StringTable.get(Str); in EmitPrintInstruction()
424 StringTable.emit(O, printChar); in EmitPrintInstruction()
531 SequenceToOffsetTable<std::string> StringTable; in emitRegisterNameString() local
564 StringTable.add(AsmName); in emitRegisterNameString()
567 StringTable.layout(); in emitRegisterNameString()
569 StringTable.emit(O, printChar); in emitRegisterNameString()
[all …]
DAsmMatcherEmitter.cpp2428 StringToOffsetTable &StringTable, in emitCustomOperandParsing() argument
2493 OS << ", " << StringTable.GetOrAddStringOffset(LenMnemonic, false) in emitCustomOperandParsing()
2734 StringToOffsetTable StringTable; in run() local
2746 StringTable.GetOrAddStringOffset(LenMnemonic, false)); in run()
2750 StringTable.EmitString(OS); in run()
2809 OS << " { " << StringTable.GetOrAddStringOffset(LenMnemonic, false) in run()
3021 emitCustomOperandParsing(OS, Target, Info, ClassName, StringTable, in run()
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp176 StringRef StringTable) { in DumpSymbolTableEntryData() argument
177 const char *Name = &StringTable.data()[StringIndex]; in DumpSymbolTableEntryData()
198 StringRef StringTable = Obj.getStringTableData(); in DumpSymtabCommand() local
199 outs().write_escaped(StringTable, in DumpSymtabCommand()
211 StringTable); in DumpSymtabCommand()
216 StringTable); in DumpSymtabCommand()
/external/v8/src/
Djson-parser.h755 StringTable* string_table = isolate()->heap()->string_table(); in ScanJsonString()
757 uint32_t entry = StringTable::FirstProbe(hash, capacity); in ScanJsonString()
779 entry = StringTable::NextProbe(entry, count++, capacity); in ScanJsonString()
Dscopeinfo.cc454 if (StringTable::InternalizeStringIfExists(name->GetIsolate(), name). in Update()
484 if (StringTable::InternalizeStringIfExists(name->GetIsolate(), name). in ValidateEntry()
Dast-value-factory.cc93 string_ = StringTable::LookupKey(isolate, &key); in Internalize()
Dfactory.h591 inline void set_string_table(Handle<StringTable> table) {
Dfactory.cc178 return StringTable::LookupString(isolate(), string); in InternalizeString()
203 return StringTable::LookupKey(isolate(), key); in InternalizeStringWithKey()
430 if (StringTable::LookupTwoCharsStringIfExists(isolate, c1, c2). in MakeOrFindTwoCharacterString()
/external/llvm/include/llvm/Object/
DArchive.h213 child_iterator StringTable; variable
/external/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py154 class StringTable: class
303 shstrtab = StringTable(f.read(sections[e_shstrndx].sh_size))
309 strtab = StringTable(f.read(section.sh_size))
/external/v8/src/heap/
Dheap.h209 V(StringTable, string_table, StringTable)

12