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-7.0/llvm/include/llvm/TableGen/
DStringToOffsetTable.h26 StringMap<unsigned> StringOffset; variable
30 bool Empty() const { return StringOffset.empty(); } in Empty()
34 StringOffset.insert(std::make_pair(Str, AggregateString.size()));
/external/flatbuffers/net/FlatBuffers/
DOffset.cs31 public struct StringOffset struct
34 public StringOffset(int value) in StringOffset() method
DFlatBufferBuilder.cs551 public StringOffset CreateString(string s) in CreateString()
558 return new StringOffset(EndVector().Value); in CreateString()
571 public StringOffset CreateUTF8String(Span<byte> chars) in CreateUTF8String()
578 return new StringOffset(EndVector().Value); in CreateUTF8String()
/external/flatbuffers/tests/MyGame/Example/
DStat.cs33 StringOffset idOffset = default(StringOffset), in CreateStat()
44 …public static void AddId(FlatBufferBuilder builder, StringOffset idOffset) { builder.AddOffset(0, … in AddId()
DStat.php99 * @param StringOffset
DMonster.cs195 …public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset… in AddName()
206 …public static VectorOffset CreateTestarrayofstringVector(FlatBufferBuilder builder, StringOffset[]… in CreateTestarrayofstringVector()
207 …rOffset CreateTestarrayofstringVectorBlock(FlatBufferBuilder builder, StringOffset[] data) { build… in CreateTestarrayofstringVectorBlock()
236 …public static VectorOffset CreateTestarrayofstring2Vector(FlatBufferBuilder builder, StringOffset[… in CreateTestarrayofstring2Vector()
237 …Offset CreateTestarrayofstring2VectorBlock(FlatBufferBuilder builder, StringOffset[] data) { build… in CreateTestarrayofstring2VectorBlock()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DStringToOffsetTable.h25 StringMap<unsigned> StringOffset; variable
30 unsigned &Entry = StringOffset[Str]; in GetOrAddStringOffset()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h358 uint32_t StringOffset; variable
363 uint32_t StringOffset, uint32_t EntryOffset) in NameTableEntry() argument
364 : StrData(StrData), Index(Index), StringOffset(StringOffset), in NameTableEntry()
371 uint32_t getStringOffset() const { return StringOffset; } in getStringOffset()
376 uint32_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-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp173 unsigned StringOffset = AccelSection.getRelocatedValue(4, DataOffset); in dumpName() local
174 if (!StringOffset) in dumpName()
178 W.startLine() << format("String: 0x%08x", StringOffset); in dumpName()
179 W.getOStream() << " \"" << StringSection.getCStr(&StringOffset) << "\"\n"; in dumpName()
354 unsigned StringOffset = AccelSection.getRelocatedValue(4, &DataOffset); in equal_range() local
355 if (!StringOffset) in equal_range()
359 if (Key == StringSection.getCStr(&StringOffset)) in equal_range()
633 uint32_t StringOffset = AS.getRelocatedValue(4, &StringOffsetOffset); in getNameTableEntry() local
636 return {Section.StringSection, Index, StringOffset, EntryOffset}; in getNameTableEntry()
DDWARFContext.cpp190 uint64_t StringOffset = in dumpDWARFv5StringOffsetsSection() local
194 if (StringOffset <= std::numeric_limits<uint32_t>::max()) { in dumpDWARFv5StringOffsetsSection()
195 uint32_t StringOffset32 = (uint32_t)StringOffset; in dumpDWARFv5StringOffsetsSection()
201 OS << format("%16.16" PRIx64 " ", StringOffset); in dumpDWARFv5StringOffsetsSection()
243 uint32_t StringOffset = strOffsetExt.getU32(&offset); in dumpStringOffsetsSection() local
244 OS << format("%8.8x ", StringOffset); in dumpStringOffsetsSection()
245 const char *S = StrData.getCStr(&StringOffset); in dumpStringOffsetsSection()
DDWARFVerifier.cpp743 uint32_t StringOffset; in verifyAppleAccelTable() local
757 StringOffset = StrpOffset; in verifyAppleAccelTable()
758 const char *Name = StrData->getCStr(&StringOffset); in verifyAppleAccelTable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DArchive.cpp156 std::size_t StringOffset; in getName() local
157 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName()
171 if (StringOffset >= Parent->getStringTable().size()) { in getName()
174 return malformedError("long name offset " + Twine(StringOffset) + " past " in getName()
182 size_t End = Parent->getStringTable().find('\n', /*From=*/StringOffset); in getName()
186 Twine(StringOffset) + "not terminated"); in getName()
188 return Parent->getStringTable().slice(StringOffset, End - 1); in getName()
190 return Parent->getStringTable().begin() + StringOffset; in getName()
DArchiveWriter.cpp355 for (unsigned StringOffset : M.Symbols) { in writeSymbolTable() local
357 print<uint32_t>(Out, Kind, StringOffset); in writeSymbolTable()
/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-7.0/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp280 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock() local
286 ++StringOffset; in maybeLexMachineBasicBlock()
294 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexMachineBasicBlock()
321 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName() local
324 ++StringOffset; in maybeLexIndexAndName()
330 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndexAndName()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h972 StringOffset so(sloc, len); in String()
1512 typedef std::pair<size_t, size_t> StringOffset; typedef
1515 bool operator()(const StringOffset &a, const StringOffset &b) const { in operator()
1526 typedef std::set<StringOffset, StringOffsetCompare> StringOffsetMap;
Didl.h64 TD(STRING, "string", Offset<void>, int, int, StringOffset, int, unused) \
/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc552 int32_t NameTable::StringOffset() { in StringOffset() function in sfntly::NameTable
567 OffsetForNameRecord(index)) + StringOffset(); in NameOffset()
Dname_table.h709 int32_t StringOffset();
/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/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs48StringOffset[] names = { fbb.CreateString("Frodo"), fbb.CreateString("Barney"), fbb.CreateString("… in CanCreateNewFlatBufferFromScratch()
/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