/external/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBufferBuilderTests.cs | 24 var fbb = new FlatBufferBuilder(16) {ForceDefaults = forceDefaults}; in CreateBuffer() 25 fbb.StartObject(1); in CreateBuffer() 26 return fbb; in CreateBuffer() 32 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddBool_AndDefaultValue_OffsetIncreasesBySize() 33 var storedOffset = fbb.Offset; in FlatBufferBuilder_WithForceDefaults_WhenAddBool_AndDefaultValue_OffsetIncreasesBySize() 34 fbb.AddBool(0, false, false); in FlatBufferBuilder_WithForceDefaults_WhenAddBool_AndDefaultValue_OffsetIncreasesBySize() 35 var endOffset = fbb.Offset; in FlatBufferBuilder_WithForceDefaults_WhenAddBool_AndDefaultValue_OffsetIncreasesBySize() 42 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddSByte_AndDefaultValue_OffsetIncreasesBySize() 43 var storedOffset = fbb.Offset; in FlatBufferBuilder_WithForceDefaults_WhenAddSByte_AndDefaultValue_OffsetIncreasesBySize() 44 fbb.AddSbyte(0, 0, 0); in FlatBufferBuilder_WithForceDefaults_WhenAddSByte_AndDefaultValue_OffsetIncreasesBySize() [all …]
|
D | FlatBuffersExampleTests.cs | 40 var fbb = new FlatBufferBuilder(1); in CanCreateNewFlatBufferFromScratch() 42 …StringOffset[] names = { fbb.CreateString("Frodo"), fbb.CreateString("Barney"), fbb.CreateString("… in CanCreateNewFlatBufferFromScratch() 44 Monster.StartMonster(fbb); in CanCreateNewFlatBufferFromScratch() 45 Monster.AddName(fbb, names[0]); in CanCreateNewFlatBufferFromScratch() 46 off[0] = Monster.EndMonster(fbb); in CanCreateNewFlatBufferFromScratch() 47 Monster.StartMonster(fbb); in CanCreateNewFlatBufferFromScratch() 48 Monster.AddName(fbb, names[1]); in CanCreateNewFlatBufferFromScratch() 49 off[1] = Monster.EndMonster(fbb); in CanCreateNewFlatBufferFromScratch() 50 Monster.StartMonster(fbb); in CanCreateNewFlatBufferFromScratch() 51 Monster.AddName(fbb, names[2]); in CanCreateNewFlatBufferFromScratch() [all …]
|
/external/flatbuffers/tests/ |
D | JavaTest.java | 54 FlatBufferBuilder fbb = new FlatBufferBuilder(1); in main() local 56 TestBuilderBasics(fbb); in main() 58 TestExtendedBuffer(fbb.dataBuffer().asReadOnlyBuffer()); in main() 145 FlatBufferBuilder fbb = new FlatBufferBuilder(1); in TestNamespaceNesting() local 147 TableInNestedNS.startTableInNestedNS(fbb); in TestNamespaceNesting() 148 TableInNestedNS.addFoo(fbb, 1234); in TestNamespaceNesting() 149 int nestedTableOff = TableInNestedNS.endTableInNestedNS(fbb); in TestNamespaceNesting() 151 TableInFirstNS.startTableInFirstNS(fbb); in TestNamespaceNesting() 152 TableInFirstNS.addFooTable(fbb, nestedTableOff); in TestNamespaceNesting() 153 int off = TableInFirstNS.endTableInFirstNS(fbb); in TestNamespaceNesting() [all …]
|
D | JavaScriptTest.js | 23 var fbb = new flatbuffers.Builder(1); 27 var str = fbb.createString('MyMonster'); 29 var inv = MyGame.Example.Monster.createInventoryVector(fbb, [0, 1, 2, 3, 4]); 31 var fred = fbb.createString('Fred'); 32 MyGame.Example.Monster.startMonster(fbb); 33 MyGame.Example.Monster.addName(fbb, fred); 34 var mon2 = MyGame.Example.Monster.endMonster(fbb); 36 MyGame.Example.Monster.startTest4Vector(fbb, 2); 37 MyGame.Example.Test.createTest(fbb, 10, 20); 38 MyGame.Example.Test.createTest(fbb, 30, 40); [all …]
|
D | JavaScriptUnionVectorTest.js | 7 var fbb = new flatbuffers.Builder(); 15 Test.Attacker.startAttacker(fbb); 16 Test.Attacker.addSwordAttackDamage(fbb, 5); 17 var attackerOffset = Test.Attacker.endAttacker(fbb); 19 var charTypesOffset = Test.Movie.createCharactersTypeVector(fbb, charTypes); 21 fbb, 23 Test.BookReader.createBookReader(fbb, 7), 25 Test.BookReader.createBookReader(fbb, 2), 29 Test.Movie.startMovie(fbb); 30 Test.Movie.addCharactersType(fbb, charTypesOffset); [all …]
|
D | phpUnionVectorTest.php | 51 $fbb = new Google\FlatBuffers\FlatBufferBuilder(1); 59 Attacker::startAttacker($fbb); 60 Attacker::addSwordAttackDamage($fbb, 5); 61 $attackerOffset = Attacker::endAttacker($fbb); 63 $charTypesOffset = Movie::createCharactersTypeVector($fbb, $charTypes); 65 $fbb, 67 BookReader::createBookReader($fbb, 7), 69 BookReader::createBookReader($fbb, 2), 73 Movie::startMovie($fbb); 74 Movie::addCharactersType($fbb, $charTypesOffset); [all …]
|
D | phpTest.php | 29 $fbb = new Google\FlatBuffers\FlatBufferBuilder(1); 32 $str = $fbb->createString("MyMonster"); 33 $name = $fbb->createString('Fred'); 34 \MyGame\Example\Monster::startMonster($fbb); 35 \MyGame\Example\Monster::addName($fbb, $name); 36 $enemy = \MyGame\Example\Monster::endMonster($fbb); 38 $inv = \MyGame\Example\Monster::CreateInventoryVector($fbb, array(0, 1, 2, 3, 4)); 40 $fred = $fbb->createString('Fred'); 41 \MyGame\Example\Monster::StartMonster($fbb); 42 \MyGame\Example\Monster::AddName($fbb, $fred); [all …]
|
D | test.cpp | 513 flatbuffers::FlatBufferBuilder fbb; in SizePrefixedTest() local 514 fbb.FinishSizePrefixed(CreateMonster(fbb, 0, 200, 300, in SizePrefixedTest() 515 fbb.CreateString("bob"))); in SizePrefixedTest() 518 flatbuffers::Verifier verifier(fbb.GetBufferPointer(), fbb.GetSize()); in SizePrefixedTest() 523 fbb.GetBufferPointer()); in SizePrefixedTest() 772 flatbuffers::FlatBufferBuilder fbb; in ReflectionTest() local 773 auto root_offset = flatbuffers::CopyTable(fbb, schema, *root_table, in ReflectionTest() 776 fbb.Finish(root_offset, MonsterIdentifier()); in ReflectionTest() 778 AccessFlatBufferTest(fbb.GetBufferPointer(), fbb.GetSize()); in ReflectionTest() 782 fbb.GetBufferPointer(), fbb.GetSize()), true); in ReflectionTest() [all …]
|
D | monster_test_generated.h | 2232 flatbuffers::FlatBufferBuilder &fbb, 2234 fbb.Finish(root, MonsterIdentifier());
|
/external/flatbuffers/grpc/tests/ |
D | grpctest.cpp | 107 flatbuffers::grpc::MessageBuilder fbb; in main() local 111 auto monster_offset = CreateMonster(fbb, 0, 0, 0, fbb.CreateString("Fred")); in main() 112 fbb.Finish(monster_offset); in main() 113 auto request = fbb.ReleaseMessage<Monster>(); in main() 128 fbb.Clear(); in main() 129 auto stat_offset = CreateStat(fbb, fbb.CreateString("Fred")); in main() 130 fbb.Finish(stat_offset); in main() 131 auto request = fbb.ReleaseMessage<Stat>(); in main()
|
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/ |
D | custom_operator.h | 41 flexbuffers::Builder* fbb) const {} in WriteOptions() argument 49 flexbuffers::Builder fbb; in Serialize() local 50 fbb.Map( in Serialize() 51 [&]() { WriteOptions(static_cast<const TocoOperator&>(op), &fbb); }); in Serialize() 52 fbb.Finish(); in Serialize() 53 return Options::Custom(builder->CreateVector(fbb.GetBuffer())); in Serialize()
|
D | operator.cc | 211 flexbuffers::Builder* fbb) const override { in WriteOptions() 212 fbb->Int("src_data_type", DataType::Serialize(op.src_data_type)); in WriteOptions() 213 fbb->Int("dst_data_type", DataType::Serialize(op.dst_data_type)); in WriteOptions() 243 flexbuffers::Builder* fbb) const override { in WriteOptions() 244 fbb->Int("block_size", op.block_size); in WriteOptions() 255 flexbuffers::Builder* fbb) const override { in WriteOptions() 256 fbb->Float("min", op.minmax->min); in WriteOptions() 257 fbb->Float("max", op.minmax->max); in WriteOptions() 666 auto fbb = in Serialize() local 668 if (fbb) { in Serialize() [all …]
|
/external/flatbuffers/src/ |
D | reflection.cpp | 356 void CopyInline(FlatBufferBuilder &fbb, const reflection::Field &fielddef, in CopyInline() argument 358 fbb.Align(align); in CopyInline() 359 fbb.PushBytes(table.GetStruct<const uint8_t *>(fielddef.offset()), size); in CopyInline() 360 fbb.TrackField(fielddef.offset(), fbb.GetSize()); in CopyInline() 363 Offset<const Table *> CopyTable(FlatBufferBuilder &fbb, in CopyTable() argument 380 ? fbb.CreateSharedString(GetFieldS(table, fielddef)).o in CopyTable() 381 : fbb.CreateString(GetFieldS(table, fielddef)).o; in CopyTable() 387 offset = CopyTable(fbb, schema, subobjectdef, in CopyTable() 394 offset = CopyTable(fbb, schema, subobjectdef, in CopyTable() 411 ? fbb.CreateSharedString(vec_s->Get(i)).o in CopyTable() [all …]
|
/external/flatbuffers/docs/source/ |
D | FlexBuffers.md | 42 flexbuffers::Builder fbb; 43 fbb.Int(13); 44 fbb.Finish(); 52 as `fbb.GetBuffer()`. Write it, send it, or store it in a parent FlatBuffer. In 71 Here's a slightly more complex value you could write instead of `fbb.Int` above: 74 fbb.Map([&]() { 75 fbb.Vector("vec", [&]() { 76 fbb.Int(-100); 77 fbb.String("Fred"); 78 fbb.IndirectFloat(4.0f); [all …]
|
D | CppUsage.md | 113 FlatBufferBuilder fbb; 114 Pack(fbb, &monsterobj); 457 After each JSON file, the `Parser::fbb` member variable is the
|
D | Tutorial.md | 828 Monster.startPathVector(fbb, 2); 831 int path = fbb.endVector(); 836 Monster.StartPathVector(fbb, 2); 839 var path = fbb.EndVector();
|
/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 1580 template<typename T> T *GetMutableTemporaryPointer(FlatBufferBuilder &fbb, 1582 return reinterpret_cast<T *>(fbb.GetCurrentBufferPointer() + 1583 fbb.GetSize() - offset.o); 1586 template<typename T> const T *GetTemporaryPointer(FlatBufferBuilder &fbb, 1588 return GetMutableTemporaryPointer<T>(fbb, offset);
|
D | reflection_generated.h | 897 flatbuffers::FlatBufferBuilder &fbb, in FinishSchemaBuffer() argument 899 fbb.Finish(root, SchemaIdentifier()); in FinishSchemaBuffer()
|
D | reflection.h | 472 Offset<const Table *> CopyTable(FlatBufferBuilder &fbb,
|
/external/flatbuffers/tests/union_vector/ |
D | union_vector_generated.h | 721 flatbuffers::FlatBufferBuilder &fbb, in FinishMovieBuffer() argument 723 fbb.Finish(root, MovieIdentifier()); in FinishMovieBuffer()
|
/external/flatbuffers/samples/ |
D | monster_generated.h | 733 flatbuffers::FlatBufferBuilder &fbb, 735 fbb.Finish(root);
|
/external/tcpdump/tests/ |
D | kday6.out | 43 0x0000: 0fbb 1627 4ce2 d5f3 5cca 8010 0410 0594 63 0x0030: ccff ffff 7fbb da80 d5f3 5c05 1614 4a2d
|
/external/icu/icu4c/ |
D | icu4c.css | 332 background-color: #fbb;
|
/external/python/cpython3/Doc/reference/ |
D | simple_stmts.rst | 762 import foo.bar.baz as fbb # foo.bar.baz imported and bound as fbb
|
/external/trappy/doc/ |
D | BarPlotter.ipynb | 55 …\npV3+cWwAkJNHzQHYb9SOO+79H/mV8Ot3/1O43/flL3856uvro1evXjFixIiYMmVKfP3rX+98/fbb\nb48bb7wxrr322vjTP/…
|