/external/llvm/lib/MC/ |
D | StringTableBuilder.cpp | 43 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 …]
|
D | MachObjectWriter.cpp | 35 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/ |
D | synth_elf.h | 64 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_;
|
D | dump_symbols_unittest.cc | 57 using google_breakpad::synth_elf::StringTable; 101 StringTable table(kLittleEndian); in TEST_F() 141 StringTable table(kLittleEndian); in TEST_F()
|
D | synth_elf_unittest.cc | 47 using google_breakpad::synth_elf::StringTable; 60 StringTable table; 122 StringTable table(kLittleEndian); in TEST_F()
|
D | elf_symbols_to_module_unittest.cc | 48 using google_breakpad::synth_elf::StringTable; 84 StringTable table;
|
D | synth_elf.cc | 215 StringTable& table) : Section(endianness), in SymbolTable()
|
/external/regex-re2/re2/testing/ |
D | unicode_test.py | 76 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/ |
D | StringTableBuilder.h | 21 SmallString<256> StringTable; variable 46 return StringTable; in data() 61 return !StringTable.empty(); in isFinalized()
|
D | MCMachObjectWriter.h | 112 StringTableBuilder StringTable; variable
|
/external/llvm/tools/yaml2obj/ |
D | yaml2coff.cpp | 38 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/ |
D | Archive.cpp | 153 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()
|
D | COFFObjectFile.cpp | 133 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()
|
D | MachOObjectFile.cpp | 344 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/ |
D | AsmWriterEmitter.cpp | 292 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 …]
|
D | AsmMatcherEmitter.cpp | 2428 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/ |
D | macho-dump.cpp | 176 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/ |
D | json-parser.h | 755 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()
|
D | scopeinfo.cc | 454 if (StringTable::InternalizeStringIfExists(name->GetIsolate(), name). in Update() 484 if (StringTable::InternalizeStringIfExists(name->GetIsolate(), name). in ValidateEntry()
|
D | ast-value-factory.cc | 93 string_ = StringTable::LookupKey(isolate, &key); in Internalize()
|
D | factory.h | 591 inline void set_string_table(Handle<StringTable> table) {
|
D | factory.cc | 178 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/ |
D | Archive.h | 213 child_iterator StringTable; variable
|
/external/llvm/test/tools/llvm-readobj/Inputs/ |
D | relocs.py | 154 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/ |
D | heap.h | 209 V(StringTable, string_table, StringTable)
|