Home
last modified time | relevance | path

Searched refs:fbb (Results 1 – 25 of 41) sorted by relevance

12

/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBufferBuilderTests.cs24 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 …]
DFlatBuffersExampleTests.cs40 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/
DJavaTest.java52 FlatBufferBuilder fbb = new FlatBufferBuilder(1); in main() local
54 … int[] names = {fbb.createString("Frodo"), fbb.createString("Barney"), fbb.createString("Wilma")}; in main()
56 Monster.startMonster(fbb); in main()
57 Monster.addName(fbb, names[0]); in main()
58 off[0] = Monster.endMonster(fbb); in main()
59 Monster.startMonster(fbb); in main()
60 Monster.addName(fbb, names[1]); in main()
61 off[1] = Monster.endMonster(fbb); in main()
62 Monster.startMonster(fbb); in main()
63 Monster.addName(fbb, names[2]); in main()
[all …]
DJavaScriptTest.js23 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 …]
DphpTest.php29 $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 …]
Dtest.cpp409 flatbuffers::FlatBufferBuilder fbb; in SizePrefixedTest() local
410 fbb.FinishSizePrefixed(CreateMonster(fbb, 0, 200, 300, in SizePrefixedTest()
411 fbb.CreateString("bob"))); in SizePrefixedTest()
414 flatbuffers::Verifier verifier(fbb.GetBufferPointer(), fbb.GetSize()); in SizePrefixedTest()
419 fbb.GetBufferPointer()); in SizePrefixedTest()
624 flatbuffers::FlatBufferBuilder fbb; in ReflectionTest() local
625 auto root_offset = flatbuffers::CopyTable(fbb, schema, *root_table, in ReflectionTest()
628 fbb.Finish(root_offset, MonsterIdentifier()); in ReflectionTest()
630 AccessFlatBufferTest(fbb.GetBufferPointer(), fbb.GetSize()); in ReflectionTest()
634 fbb.GetBufferPointer(), fbb.GetSize()), true); in ReflectionTest()
[all …]
Dmonster_test_generated.h1301 flatbuffers::FlatBufferBuilder &fbb,
1303 fbb.Finish(root, MonsterIdentifier());
/external/flatbuffers/src/
Dreflection.cpp352 void CopyInline(FlatBufferBuilder &fbb, const reflection::Field &fielddef, in CopyInline() argument
354 fbb.Align(align); in CopyInline()
355 fbb.PushBytes(table.GetStruct<const uint8_t *>(fielddef.offset()), size); in CopyInline()
356 fbb.TrackField(fielddef.offset(), fbb.GetSize()); in CopyInline()
359 Offset<const Table *> CopyTable(FlatBufferBuilder &fbb, in CopyTable() argument
376 ? fbb.CreateSharedString(GetFieldS(table, fielddef)).o in CopyTable()
377 : fbb.CreateString(GetFieldS(table, fielddef)).o; in CopyTable()
383 offset = CopyTable(fbb, schema, subobjectdef, in CopyTable()
390 offset = CopyTable(fbb, schema, subobjectdef, in CopyTable()
407 ? fbb.CreateSharedString(vec_s->Get(i)).o in CopyTable()
[all …]
/external/flatbuffers/grpc/tests/
Dgrpctest.cpp99 flatbuffers::FlatBufferBuilder fbb; in main() local
100 auto monster_offset = CreateMonster(fbb, 0, 0, 0, fbb.CreateString("Fred")); in main()
101 fbb.Finish(monster_offset); in main()
102 auto request = flatbuffers::BufferRef<Monster>(fbb.GetBufferPointer(), in main()
103 fbb.GetSize()); in main()
/external/flatbuffers/docs/source/
DFlexBuffers.md42 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 …]
DCppUsage.md113 FlatBufferBuilder fbb;
114 Pack(fbb, &monsterobj);
385 After each JSON file, the `Parser::fbb` member variable is the
/external/flatbuffers/tests/union_vector/
Dunion_vector_generated.h295 flatbuffers::FlatBufferBuilder &fbb,
297 fbb.Finish(root, MovieIdentifier());
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1346 template<typename T> T *GetMutableTemporaryPointer(FlatBufferBuilder &fbb,
1348 return reinterpret_cast<T *>(fbb.GetCurrentBufferPointer() +
1349 fbb.GetSize() - offset.o);
1352 template<typename T> const T *GetTemporaryPointer(FlatBufferBuilder &fbb,
1354 return GetMutableTemporaryPointer<T>(fbb, offset);
Dreflection_generated.h861 flatbuffers::FlatBufferBuilder &fbb, in FinishSchemaBuffer() argument
863 fbb.Finish(root, SchemaIdentifier()); in FinishSchemaBuffer()
Dreflection.h441 Offset<const Table *> CopyTable(FlatBufferBuilder &fbb,
/external/flatbuffers/samples/
Dmonster_generated.h574 flatbuffers::FlatBufferBuilder &fbb,
576 fbb.Finish(root);
/external/icu/icu4c/
Dicu4c.css332 background-color: #fbb;
/external/tcpdump/tests/
Dkday6.out141 0x0000: 0fbb 1627 4ce2 d5f3 5cca 8010 0410 0594
161 0x0030: ccff ffff 7fbb da80 d5f3 5c05 1614 4a2d
/external/trappy/doc/
DBarPlotter.ipynb55 …\npV3+cWwAkJNHzQHYb9SOO+79H/mV8Ot3/1O43/flL3856uvro1evXjFixIiYMmVKfP3rX+98/fbb\nb48bb7wxrr322vjTP/…
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm.mli1738 (** [build_cond_br cond tbb fbb b] creates a
1739 [br %cond, %tbb, %fbb]
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1990 (** [build_cond_br cond tbb fbb b] creates a
1991 [br %cond, %tbb, %fbb]
/external/lisa/ipynb/residency/
Dtask_residencies_camera.ipynb219fbb\naGhoEB2FAlBERAR++ctfIjExUXQUooDgcDjw/vvvcxSbvEImk+H222/HkCFDREehHmIZIb/Q0NCA\nt956CzqdTnQUCmD…
/external/google-breakpad/src/processor/testdata/symbols/overflow/B0E1FC01EF48E39CAF5C881D2DF0C3840/
Doverflow.sym112 1fbb 7 1534 23
3122 9fbb 3 707 43
/external/google-breakpad/src/tools/windows/dump_syms/testdata/
Domap_stretched_filled.sym1515 3fbb c 45 333
Domap_reorder_funcs.sym2480 4fbb 7 290 1685

12