Home
last modified time | relevance | path

Searched refs:StringOffset (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp106 unsigned StringOffset = AccelSection.getU32(&DataOffset); in dump() local
109 StringOffset += Reloc->second.second; in dump()
110 if (!StringOffset) in dump()
112 OS << format(" Name: %08x \"%s\"\n", StringOffset, in dump()
113 StringSection.getCStr(&StringOffset)); in dump()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DStringToOffsetTable.h25 StringMap<unsigned> StringOffset; variable
29 bool Empty() const { return StringOffset.empty(); } in Empty()
33 StringOffset.insert(std::make_pair(Str, AggregateString.size()));
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs52 private Dictionary<string, StringOffset> _sharedStringMap = null;
726 public StringOffset CreateString(string s) in CreateString()
730 return new StringOffset(0); in CreateString()
737 return new StringOffset(EndVector().Value); in CreateString()
750 public StringOffset CreateUTF8String(Span<byte> chars) in CreateUTF8String()
757 return new StringOffset(EndVector().Value); in CreateUTF8String()
770 public StringOffset CreateSharedString(string s) in CreateSharedString()
774 return new StringOffset(0); in CreateSharedString()
779 _sharedStringMap = new Dictionary<string, StringOffset>(); in CreateSharedString()
DOffset.cs31 public struct StringOffset struct
34 public StringOffset(int value) in StringOffset() method
/external/flatbuffers/tests/MyGame/Example/
DStat.cs35 StringOffset idOffset = default(StringOffset), in CreateStat()
46 …public static void AddId(FlatBufferBuilder builder, StringOffset idOffset) { builder.AddOffset(0, … in AddId()
94 var _id = _o.Id == null ? default(StringOffset) : builder.CreateString(_o.Id); in Pack()
DStat.php99 * @param StringOffset
DMonster.cs223 StringOffset nameOffset = default(StringOffset), in CreateMonster()
334 …public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset… in AddName()
347 …public static VectorOffset CreateTestarrayofstringVector(FlatBufferBuilder builder, StringOffset[]… in CreateTestarrayofstringVector()
348 …rOffset CreateTestarrayofstringVectorBlock(FlatBufferBuilder builder, StringOffset[] data) { build… in CreateTestarrayofstringVectorBlock()
349 …eTestarrayofstringVectorBlock(FlatBufferBuilder builder, ArraySegment<StringOffset> data) { builde… in CreateTestarrayofstringVectorBlock()
350 …nt sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<StringOffset>(dataPtr, sizeI… in CreateTestarrayofstringVectorBlock()
385 …public static VectorOffset CreateTestarrayofstring2Vector(FlatBufferBuilder builder, StringOffset[… in CreateTestarrayofstring2Vector()
386 …Offset CreateTestarrayofstring2VectorBlock(FlatBufferBuilder builder, StringOffset[] data) { build… in CreateTestarrayofstring2VectorBlock()
387 …Testarrayofstring2VectorBlock(FlatBufferBuilder builder, ArraySegment<StringOffset> data) { builde… in CreateTestarrayofstring2VectorBlock()
388 …nt sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<StringOffset>(dataPtr, sizeI… in CreateTestarrayofstring2VectorBlock()
[all …]
DMonster.php863 * @param StringOffset
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h357 uint64_t StringOffset; variable
362 uint64_t StringOffset, uint64_t EntryOffset) in NameTableEntry() argument
363 : StrData(StrData), Index(Index), StringOffset(StringOffset), in NameTableEntry()
370 uint64_t getStringOffset() const { return StringOffset; } in getStringOffset()
375 uint64_t Off = StringOffset; in getString()
/external/llvm/include/llvm/TableGen/
DStringToOffsetTable.h26 StringMap<unsigned> StringOffset; variable
32 StringOffset.insert(std::make_pair(Str, AggregateString.size()));
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchive.cpp155 std::size_t StringOffset; in getName() local
156 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName()
170 if (StringOffset >= Parent->getStringTable().size()) { in getName()
173 return malformedError("long name offset " + Twine(StringOffset) + " past " in getName()
181 size_t End = Parent->getStringTable().find('\n', /*From=*/StringOffset); in getName()
185 Twine(StringOffset) + "not terminated"); in getName()
187 return Parent->getStringTable().slice(StringOffset, End - 1); in getName()
189 return Parent->getStringTable().begin() + StringOffset; in getName()
DArchiveWriter.cpp332 for (unsigned StringOffset : M.Symbols) { in writeSymbolTable() local
334 printNBits(Out, Kind, StringOffset); in writeSymbolTable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp173 uint64_t StringOffset = AccelSection.getRelocatedValue(4, DataOffset); in dumpName() local
174 if (!StringOffset) in dumpName()
178 W.startLine() << format("String: 0x%08" PRIx64, StringOffset); in dumpName()
179 W.getOStream() << " \"" << StringSection.getCStr(&StringOffset) << "\"\n"; in dumpName()
354 uint64_t StringOffset = AccelSection.getRelocatedValue(4, &DataOffset); in equal_range() local
355 if (!StringOffset) in equal_range()
359 if (Key == StringSection.getCStr(&StringOffset)) in equal_range()
632 uint64_t StringOffset = AS.getRelocatedValue(4, &StringOffsetOffset); in getNameTableEntry() local
635 return {Section.StringSection, Index, StringOffset, EntryOffset}; in getNameTableEntry()
DDWARFVerifier.cpp623 uint64_t StringOffset = *DieCU->getStringOffsetSectionItem(Index); in verifyDebugInfoForm() local
624 if (StringOffset >= DObj.getStrSection().size()) { in verifyDebugInfoForm()
872 uint64_t StringOffset; in verifyAppleAccelTable() local
886 StringOffset = StrpOffset; in verifyAppleAccelTable()
887 const char *Name = StrData->getCStr(&StringOffset); in verifyAppleAccelTable()
DDWARFContext.cpp185 uint64_t StringOffset = in dumpDWARFv5StringOffsetsSection() local
187 OS << format("%8.8" PRIx64 " ", StringOffset); in dumpDWARFv5StringOffsetsSection()
188 const char *S = StrData.getCStr(&StringOffset); in dumpDWARFv5StringOffsetsSection()
232 uint64_t StringOffset = strOffsetExt.getU32(&offset); in dumpStringOffsetsSection() local
233 OS << format("%8.8" PRIx64 " ", StringOffset); in dumpStringOffsetsSection()
234 const char *S = StrData.getCStr(&StringOffset); in dumpStringOffsetsSection()
/external/llvm/lib/DebugInfo/PDB/Raw/
DNameMap.cpp130 uint32_t StringOffset = StringsOffset + NameOffset; in load() local
134 Stream.setOffset(StringOffset); in load()
/external/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp262 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock() local
265 ++StringOffset; in maybeLexMachineBasicBlock()
273 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexMachineBasicBlock()
300 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName() local
303 ++StringOffset; in maybeLexIndexAndName()
309 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndexAndName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp290 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock() local
296 ++StringOffset; in maybeLexMachineBasicBlock()
304 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexMachineBasicBlock()
331 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName() local
334 ++StringOffset; in maybeLexIndexAndName()
340 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndexAndName()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h1052 StringOffset so(sloc, len); in String()
1633 typedef std::pair<size_t, size_t> StringOffset; typedef
1637 bool operator()(const StringOffset &a, const StringOffset &b) const { in operator()
1647 typedef std::set<StringOffset, StringOffsetCompare> StringOffsetMap;
Didl.h61 TD(STRING, "string", Offset<void>, int, int, StringOffset, int, unused, Int, Offset<String>) \
/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc556 int32_t NameTable::StringOffset() { in StringOffset() function in sfntly::NameTable
571 OffsetForNameRecord(index)) + StringOffset(); in NameOffset()
Dname_table.h709 int32_t StringOffset();
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.cpp746 uint32_t StringOffset = 0; in emitBTFSection() local
748 OS.AddComment("string offset=" + std::to_string(StringOffset)); in emitBTFSection()
751 StringOffset += S.size() + 1; in emitBTFSection()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp1036 uint32_t StringOffset; in getFileNameForFileOffset() local
1037 error(consume(Data, StringOffset)); in getFileNameForFileOffset()
1040 if (StringOffset >= CVStringTable.size()) in getFileNameForFileOffset()
1044 return CVStringTable.drop_front(StringOffset).split('\0').first; in getFileNameForFileOffset()
/external/clang/lib/AST/
DExpr.cpp1019 unsigned StringOffset = 0; in getLocationOfByte() local
1023 StringOffset = *StartTokenByteOffset; in getLocationOfByte()
1024 ByteNo -= StringOffset; in getLocationOfByte()
1042 *StartTokenByteOffset = StringOffset; in getLocationOfByte()
1068 *StartTokenByteOffset = StringOffset; in getLocationOfByte()
1075 StringOffset += TokNumBytes; in getLocationOfByte()

12