Home
last modified time | relevance | path

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

12

/external/llvm/lib/MC/
DStringTableBuilder.cpp37 StringTable += '\x00'; in finalize()
42 StringIndexMap[s] = StringTable.size() - 1 - s.size(); in finalize()
46 StringIndexMap[s] = StringTable.size(); in finalize()
47 StringTable += s; in finalize()
48 StringTable += '\x00'; in finalize()
DMachObjectWriter.cpp34 StringTable.clear(); in reset()
533 ComputeSymbolTable(MCAssembler &Asm, SmallString<256> &StringTable, in ComputeSymbolTable() argument
547 StringTable += '\x00'; in ComputeSymbolTable()
568 Entry = StringTable.size(); in ComputeSymbolTable()
569 StringTable += Symbol.getName(); in ComputeSymbolTable()
570 StringTable += '\x00'; in ComputeSymbolTable()
603 Entry = StringTable.size(); in ComputeSymbolTable()
604 StringTable += Symbol.getName(); in ComputeSymbolTable()
605 StringTable += '\x00'; in ComputeSymbolTable()
636 while (StringTable.size() % 4) in ComputeSymbolTable()
[all …]
DWinCOFFObjectWriter.cpp106 class StringTable { class
114 StringTable();
134 StringTable Strings;
261 void StringTable::update_length() { in update_length()
265 StringTable::StringTable() { in StringTable() function in StringTable
272 size_t StringTable::size() const { in size()
278 size_t StringTable::insert(StringRef String) { in insert()
/external/llvm/include/llvm/MC/
DStringTableBuilder.h21 SmallString<256> StringTable; variable
40 return StringTable; in data()
53 return !StringTable.empty(); in isFinalized()
DMCMachObjectWriter.h107 SmallString<256> StringTable; variable
243 void ComputeSymbolTable(MCAssembler &Asm, SmallString<256> &StringTable,
/external/chromium_org/third_party/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/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/tools/yaml2obj/
Dyaml2coff.cpp36 StringTable.append(4, char(0)); in COFFParser()
101 unsigned Index = StringTable.size(); in getStringIndex()
102 StringTable.append(Str.begin(), Str.end()); in getStringIndex()
103 StringTable.push_back(0); in getStringIndex()
113 std::string StringTable; member
180 *reinterpret_cast<support::ulittle32_t *>(&CP.StringTable[0]) in layoutCOFF()
181 = CP.StringTable.size(); in layoutCOFF()
326 OS.write(&CP.StringTable[0], CP.StringTable.size()); in writeCOFF()
/external/llvm/lib/Object/
DArchive.cpp131 const char *addr = Parent->StringTable->Data.begin() in getName()
135 if (Parent->StringTable == Parent->child_end() in getName()
136 || addr < (Parent->StringTable->Data.begin() in getName()
138 || addr > (Parent->StringTable->Data.begin() in getName()
140 + Parent->StringTable->getSize())) in getName()
274 StringTable = i; in Archive()
306 StringTable = i; in Archive()
DCOFFObjectFile.cpp416 getObject(StringTable, *Data, StringTableAddr, StringTableSize)) in initSymbolTablePtr()
425 if (StringTableSize > 4 && StringTable[StringTableSize - 1] != 0) in initSymbolTablePtr()
518 SectionTable(nullptr), SymbolTable(nullptr), StringTable(nullptr), in COFFObjectFile()
609 Ret.p = reinterpret_cast<uintptr_t>(StringTable); in symbol_end_impl()
753 Result = StringRef(StringTable + Offset); in getString()
DMachOObjectFile.cpp476 StringRef StringTable = getStringTableData(); in getSymbolName() local
478 const char *Start = &StringTable.data()[Entry.n_strx]; in getSymbolName()
487 StringRef StringTable = getStringTableData(); in getIndirectName() local
500 if (NValue >= StringTable.size()) in getIndirectName()
502 const char *Start = &StringTable.data()[NValue]; in getIndirectName()
/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/llvm/utils/TableGen/
DAsmWriterEmitter.cpp296 SequenceToOffsetTable<std::string> StringTable; in EmitPrintInstruction() local
314 StringTable.add(Str); in EmitPrintInstruction()
318 StringTable.layout(); in EmitPrintInstruction()
331 Idx = StringTable.get(""); in EmitPrintInstruction()
335 Idx = StringTable.get(Str); in EmitPrintInstruction()
428 StringTable.emit(O, printChar); in EmitPrintInstruction()
526 SequenceToOffsetTable<std::string> StringTable; in emitRegisterNameString() local
559 StringTable.add(AsmName); in emitRegisterNameString()
562 StringTable.layout(); in emitRegisterNameString()
564 StringTable.emit(O, printChar); in emitRegisterNameString()
[all …]
DAsmMatcherEmitter.cpp2473 StringToOffsetTable &StringTable, in emitCustomOperandParsing() argument
2538 OS << ", " << StringTable.GetOrAddStringOffset(LenMnemonic, false) in emitCustomOperandParsing()
2782 StringToOffsetTable StringTable; in run() local
2797 StringTable.GetOrAddStringOffset(LenMnemonic, false)); in run()
2801 StringTable.EmitString(OS); in run()
2862 OS << " { " << StringTable.GetOrAddStringOffset(LenMnemonic, false) in run()
3074 emitCustomOperandParsing(OS, Target, Info, ClassName, StringTable, in run()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp444 StringRef StringTable; in printCodeViewLineTables() local
505 if (PayloadSize == 0 || StringTable.data() != nullptr || in printCodeViewLineTables()
511 StringTable = Contents; in printCodeViewLineTables()
567 if (FilenameOffset == 0 || FilenameOffset + 1 >= StringTable.size() || in printCodeViewLineTables()
568 StringTable.data()[FilenameOffset - 1] != '\0') { in printCodeViewLineTables()
575 StringRef Filename(StringTable.data() + FilenameOffset); in printCodeViewLineTables()
/external/llvm/include/llvm/Object/
DArchive.h198 child_iterator StringTable; variable
DCOFF.h350 const char *StringTable; variable
/external/chromium_org/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/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/chromium_org/tools/symsrc/
Dpefile.py1649 for st_entry in entry.StringTable:
2396 stringfileinfo_struct.StringTable = list()
2424 stringfileinfo_struct.StringTable.append(stringtable_struct)
3207 for st_entry in entry.StringTable:
/external/chromium_org/v8/src/heap/
Dheap.h209 V(StringTable, string_table, StringTable)

12