Home
last modified time | relevance | path

Searched refs:PutInt (Results 1 – 12 of 12) sorted by relevance

/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.cs20 public void MutateA(int a) { __p.bb.PutInt(__p.bb_pos + 0, a); } in MutateA()
22 public void MutateB(int b) { __p.bb.PutInt(__p.bb_pos + 4, b); } in MutateB()
26 builder.PutInt(B); in CreateStructInNestedNS()
27 builder.PutInt(A); in CreateStructInNestedNS()
DTableInNestedNS.cs23 …public bool MutateFoo(int foo) { int o = __p.__offset(4); if (o != 0) { __p.bb.PutInt(o + __p.bb_p… in MutateFoo()
/external/flatbuffers/tests/MyGame/Example/
DArrayStruct.cs22 public void MutateB(int j, int b) { __p.bb.PutInt(__p.bb_pos + 4 + j * 4, b); } in MutateB()
27 public void MutateE(int e) { __p.bb.PutInt(__p.bb_pos + 136, e); } in MutateE()
37 builder.PutInt(E); in CreateArrayStruct()
49 builder.PutInt(d_A[_idx0-1,_idx1-1]); in CreateArrayStruct()
55 builder.PutInt(B[_idx0-1]); in CreateArrayStruct()
DNestedStruct.cs20 public void MutateA(int j, int a) { __p.bb.PutInt(__p.bb_pos + 0 + j * 4, a); } in MutateA()
39 builder.PutInt(A[_idx0-1]); in CreateNestedStruct()
DTypeAliases.cs31 …public bool MutateI32(int i32) { int o = __p.__offset(12); if (o != 0) { __p.bb.PutInt(o + __p.bb_… in MutateI32()
DMonster.cs73 …1(int testhashs32_fnv1) { int o = __p.__offset(36); if (o != 0) { __p.bb.PutInt(o + __p.bb_pos, te… in MutateTesthashs32Fnv1()
81 …(int testhashs32_fnv1a) { int o = __p.__offset(44); if (o != 0) { __p.bb.PutInt(o + __p.bb_pos, te… in MutateTesthashs32Fnv1a()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs172 public void PutInt(int x) in PutInt() method in FlatBuffers.FlatBufferBuilder
174 _bb.PutInt(_space -= sizeof(int), x); in PutInt()
263 public void AddInt(int x) { Prep(sizeof(int), 0); PutInt(x); } in AddInt()
360 PutInt(off); in AddOffset()
378 PutInt(_vectorNumElems); in EndVector()
677 _bb.PutInt(_space, existingVtable - vtableloc); in EndTable()
692 _bb.PutInt(_bb.Length - vtableloc, Offset - vtableloc); in EndTable()
DByteBuffer.cs467 public void PutInt(int offset, int value) in PutInt() method in FlatBuffers.ByteBuffer
562 public void PutInt(int offset, int value) in PutInt() method in FlatBuffers.ByteBuffer
/external/flatbuffers/tests/union_vector/
DBookReader.cs17 public void MutateBooksRead(int books_read) { __p.bb.PutInt(__p.bb_pos + 0, books_read); } in MutateBooksRead()
21 builder.PutInt(BooksRead); in CreateBookReader()
DRapunzel.cs17 public void MutateHairLength(int hair_length) { __p.bb.PutInt(__p.bb_pos + 0, hair_length); } in MutateHairLength()
21 builder.PutInt(HairLength); in CreateRapunzel()
DAttacker.cs20 …int sword_attack_damage) { int o = __p.__offset(4); if (o != 0) { __p.bb.PutInt(o + __p.bb_pos, sw… in MutateSwordAttackDamage()
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs94 uut.PutInt(0, 0x0A0B0C0D); in ByteBuffer_PutIntPopulatesBufferCorrectly()
108 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(2, 0x0A0B0C0D)); in ByteBuffer_PutIntCannotPutAtOffsetPastLength()
115 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(0, 0x0A0B0C0D)); in ByteBuffer_PutIntChecksLength()
122 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(2, 0x0A0B0C0D)); in ByteBuffer_PutIntChecksLengthAndOffset()