Home
last modified time | relevance | path

Searched refs:Prep (Results 1 – 25 of 40) sorted by relevance

12

/third_party/flatbuffers/go/
Dbuilder.go255 func (b *Builder) Prep(size, additionalBytes int) { func
276 b.Prep(SizeSOffsetT, 0) // Ensure alignment is already done.
286 b.Prep(SizeUOffsetT, 0) // Ensure alignment is already done.
302 b.Prep(SizeUint32, elemSize*numElems)
303 b.Prep(alignment, elemSize*numElems) // Just in case alignment > int.
337 b.Prep(int(SizeUOffsetT), (len(s)+1)*SizeByte)
353 b.Prep(int(SizeUOffsetT), (len(s)+1)*SizeByte)
369 b.Prep(int(SizeUOffsetT), len(v)*SizeByte)
575 b.Prep(b.minalign, SizeInt32+fileIdentifierLength)
600 b.Prep(b.minalign, SizeInt32+fileIdentifierLength+sizePrefixLength)
[all …]
/third_party/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs129 public void Prep(int size, int additionalBytes) in Prep() method in FlatBuffers.FlatBufferBuilder
237 public void AddBool(bool x) { Prep(sizeof(byte), 0); PutBool(x); } in AddBool()
243 public void AddSbyte(sbyte x) { Prep(sizeof(sbyte), 0); PutSbyte(x); } in AddSbyte()
249 public void AddByte(byte x) { Prep(sizeof(byte), 0); PutByte(x); } in AddByte()
255 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort()
261 public void AddUshort(ushort x) { Prep(sizeof(ushort), 0); PutUshort(x); } in AddUshort()
267 public void AddInt(int x) { Prep(sizeof(int), 0); PutInt(x); } in AddInt()
273 public void AddUint(uint x) { Prep(sizeof(uint), 0); PutUint(x); } in AddUint()
279 public void AddLong(long x) { Prep(sizeof(long), 0); PutLong(x); } in AddLong()
285 public void AddUlong(ulong x) { Prep(sizeof(ulong), 0); PutUlong(x); } in AddUlong()
[all …]
/third_party/flatbuffers/tests/MyGame/Example/
DStructOfStructs.lua31 builder:Prep(4, 20)
32 builder:Prep(4, 8)
35 builder:Prep(2, 4)
39 builder:Prep(4, 8)
DStructOfStructs.go68 builder.Prep(4, 20)
69 builder.Prep(4, 8)
72 builder.Prep(2, 4)
76 builder.Prep(4, 8)
DStructOfStructs.cs24 builder.Prep(4, 20); in CreateStructOfStructs()
25 builder.Prep(4, 8); in CreateStructOfStructs()
28 builder.Prep(2, 4); in CreateStructOfStructs()
32 builder.Prep(4, 8); in CreateStructOfStructs()
DStructOfStructs.py37 builder.Prep(4, 20)
38 builder.Prep(4, 8)
41 builder.Prep(2, 4)
45 builder.Prep(4, 8)
DVec3.lua38 builder:Prep(8, 32)
40 builder:Prep(2, 4)
DVec3.py37 builder.Prep(8, 32)
39 builder.Prep(2, 4)
DVec3.go95 builder.Prep(8, 32)
97 builder.Prep(2, 4)
DVec3.cs32 builder.Prep(8, 32); in CreateVec3()
34 builder.Prep(2, 4); in CreateVec3()
DAbility.lua25 builder:Prep(4, 8)
DTest.lua25 builder:Prep(2, 4)
DArrayStruct.cs32 builder.Prep(8, 160); in CreateArrayStruct()
39 builder.Prep(8, 32); in CreateArrayStruct()
DArrayStruct.py73 builder.Prep(8, 160)
79 builder.Prep(8, 32)
DAbility.py26 builder.Prep(4, 8)
/third_party/flatbuffers/lobster/
Dflatbuffers.lobster131 def Prep(size, additional_bytes):
142 Prep(sz_uoffset, 0)
149 Prep(sz_32, elem_size * num_elems)
150 Prep(alignment, elem_size * num_elems) // In case alignment > int.
162 Prep(sz_32, s.length + 1)
169 Prep(sz_32, s.length)
185 Prep(minalign, prep_size)
208 Prep(sz_16, 0)
212 Prep(sz_32, 0)
216 Prep(sz_64, 0)
[all …]
/third_party/flatbuffers/lua/flatbuffers/
Dbuilder.lua206 function mt:Prep(size, additionalBytes) function
229 self:Prep(4, 0)
236 self:Prep(4, 0)
250 self:Prep(4, elementSize) -- Uint32 length
251 self:Prep(alignment, elementSize)
268 self:Prep(4, #s + 1)
284 self:Prep(4, l)
301 self:Prep(self.minalign, sizePrefix and 8 or 4)
321 self:Prep(flags.bytewidth, 0)
/third_party/flatbuffers/python/flatbuffers/
Dbuilder.py308 def Prep(self, size, additionalBytes): member in Builder
341 self.Prep(N.SOffsetTFlags.bytewidth, 0)
355 self.Prep(N.UOffsetTFlags.bytewidth, 0)
375 self.Prep(N.Uint32Flags.bytewidth, elemSize*numElems)
376 self.Prep(alignment, elemSize*numElems) # In case alignment > int.
407 self.Prep(N.UOffsetTFlags.bytewidth, (len(x)+1)*N.Uint8Flags.bytewidth)
430 self.Prep(N.UOffsetTFlags.bytewidth, len(x)*N.Uint8Flags.bytewidth)
527 self.Prep(self.minalign, prepSize)
530 self.Prep(N.UOffsetTFlags.bytewidth, encode.FILE_IDENTIFIER_LENGTH)
561 self.Prep(flags.bytewidth, 0)
/third_party/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.lua25 builder:Prep(4, 8)
DStructInNestedNS.py26 builder.Prep(4, 8)
/third_party/flatbuffers/samples/lua/MyGame/Sample/
DVec3.lua28 builder:Prep(4, 12)
/third_party/flatbuffers/tests/
Dmonster_test_generated.lobster104 b_.Prep(2, 4)
142 b_.Prep(8, 32)
144 b_.Prep(2, 4)
164 b_.Prep(4, 8)
178 b_.Prep(4, 20)
179 b_.Prep(4, 8)
182 b_.Prep(2, 4)
186 b_.Prep(4, 8)
/third_party/flatbuffers/tests/union_vector/
DRapunzel.cs20 builder.Prep(4, 4); in CreateRapunzel()
DBookReader.cs20 builder.Prep(4, 4); in CreateBookReader()
/third_party/flatbuffers/tests/namespace_test/
Dnamespace_test1_generated.lobster43 b_.Prep(4, 8)

12