Home
last modified time | relevance | path

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

/third_party/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs52 private Dictionary<string, StringOffset> _sharedStringMap = null;
648 public StringOffset CreateString(string s) in CreateString()
652 return new StringOffset(0); in CreateString()
659 return new StringOffset(EndVector().Value); in CreateString()
672 public StringOffset CreateUTF8String(Span<byte> chars) in CreateUTF8String()
679 return new StringOffset(EndVector().Value); in CreateUTF8String()
692 public StringOffset CreateSharedString(string s) in CreateSharedString()
696 return new StringOffset(0); in CreateSharedString()
701 _sharedStringMap = new Dictionary<string, StringOffset>(); in CreateSharedString()
DOffset.cs31 public struct StringOffset struct
34 public StringOffset(int value) in StringOffset() method
/third_party/skia/third_party/externals/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()));
/third_party/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()
90 var _id = _o.Id == null ? default(StringOffset) : builder.CreateString(_o.Id); in Pack()
DStat.php99 * @param StringOffset
DMonster.cs218 StringOffset nameOffset = default(StringOffset), in CreateMonster()
323 …public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset… in AddName()
334 …public static VectorOffset CreateTestarrayofstringVector(FlatBufferBuilder builder, StringOffset[]… in CreateTestarrayofstringVector()
335 …rOffset CreateTestarrayofstringVectorBlock(FlatBufferBuilder builder, StringOffset[] data) { build… in CreateTestarrayofstringVectorBlock()
364 …public static VectorOffset CreateTestarrayofstring2Vector(FlatBufferBuilder builder, StringOffset[… in CreateTestarrayofstring2Vector()
365 …Offset CreateTestarrayofstring2VectorBlock(FlatBufferBuilder builder, StringOffset[] data) { build… in CreateTestarrayofstring2VectorBlock()
572 var _name = _o.Name == null ? default(StringOffset) : builder.CreateString(_o.Name); in Pack()
588 var __testarrayofstring = new StringOffset[_o.Testarrayofstring.Count]; in Pack()
612 var __testarrayofstring2 = new StringOffset[_o.Testarrayofstring2.Count]; in Pack()
DMonster.php835 * @param StringOffset
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/flatbuffers/include/flatbuffers/
Dflexbuffers.h1032 StringOffset so(sloc, len); in String()
1609 typedef std::pair<size_t, size_t> StringOffset; typedef
1613 bool operator()(const StringOffset &a, const StringOffset &b) const { in operator()
1624 typedef std::set<StringOffset, StringOffsetCompare> StringOffsetMap;
Didl.h64 TD(STRING, "string", Offset<void>, int, int, StringOffset, int, unused, Int, Offset<String>) \
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc558 int32_t NameTable::StringOffset() { in StringOffset() function in sfntly::NameTable
573 OffsetForNameRecord(index)) + StringOffset(); in NameOffset()
Dname_table.h709 int32_t StringOffset();
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc558 int32_t NameTable::StringOffset() { in StringOffset() function in sfntly::NameTable
573 OffsetForNameRecord(index)) + StringOffset(); in NameOffset()
Dname_table.h709 int32_t StringOffset();
/third_party/skia/third_party/externals/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()
/third_party/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs50StringOffset[] names = { fbb.CreateString("Frodo"), fbb.CreateString("Barney"), fbb.CreateString("… in CanCreateNewFlatBufferFromScratch()