Home
last modified time | relevance | path

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

12

/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs121 public void Prep(int size, int additionalBytes) in Prep() method in FlatBuffers.FlatBufferBuilder
229 public void AddBool(bool x) { Prep(sizeof(byte), 0); PutBool(x); } in AddBool()
235 public void AddSbyte(sbyte x) { Prep(sizeof(sbyte), 0); PutSbyte(x); } in AddSbyte()
241 public void AddByte(byte x) { Prep(sizeof(byte), 0); PutByte(x); } in AddByte()
247 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort()
253 public void AddUshort(ushort x) { Prep(sizeof(ushort), 0); PutUshort(x); } in AddUshort()
259 public void AddInt(int x) { Prep(sizeof(int), 0); PutInt(x); } in AddInt()
265 public void AddUint(uint x) { Prep(sizeof(uint), 0); PutUint(x); } in AddUint()
271 public void AddLong(long x) { Prep(sizeof(long), 0); PutLong(x); } in AddLong()
277 public void AddUlong(ulong x) { Prep(sizeof(ulong), 0); PutUlong(x); } in AddUlong()
[all …]
/external/flatbuffers/go/
Dbuilder.go247 func (b *Builder) Prep(size, additionalBytes int) { func
268 b.Prep(SizeSOffsetT, 0) // Ensure alignment is already done.
278 b.Prep(SizeUOffsetT, 0) // Ensure alignment is already done.
294 b.Prep(SizeUint32, elemSize*numElems)
295 b.Prep(alignment, elemSize*numElems) // Just in case alignment > int.
315 b.Prep(int(SizeUOffsetT), (len(s)+1)*SizeByte)
331 b.Prep(int(SizeUOffsetT), (len(s)+1)*SizeByte)
347 b.Prep(int(SizeUOffsetT), len(v)*SizeByte)
553 b.Prep(b.minalign, SizeInt32+fileIdentifierLength)
565 b.Prep(b.minalign, SizeUOffsetT)
[all …]
/external/flatbuffers/lobster/
Dflatbuffers.lobster124 def Prep(size, additional_bytes):
135 Prep(sz_uoffset, 0)
142 Prep(sz_32, elem_size * num_elems)
143 Prep(alignment, elem_size * num_elems) // In case alignment > int.
155 Prep(sz_32, s.length + 1)
162 Prep(sz_32, s.length)
178 Prep(minalign, prep_size)
201 Prep(sz_16, 0)
205 Prep(sz_32, 0)
209 Prep(sz_64, 0)
[all …]
/external/flatbuffers/lua/flatbuffers/
Dbuilder.lua188 function mt:Prep(size, additionalBytes) function
211 self:Prep(SOffsetT.bytewidth, 0)
218 self:Prep(UOffsetT.bytewidth, 0)
231 self:Prep(Uint32.bytewidth, elemSize * numElements)
232 self:Prep(alignment, elemSize * numElements)
249 self:Prep(UOffsetT.bytewidth, (#s + 1)*Uint8.bytewidth)
263 self:Prep(UOffsetT.bytewidth, #x*Uint8.bytewidth)
286 self:Prep(self.minalign, prepSize)
306 self:Prep(flags.bytewidth, 0)
/external/flatbuffers/python/flatbuffers/
Dbuilder.py316 def Prep(self, size, additionalBytes): member in Builder
349 self.Prep(N.SOffsetTFlags.bytewidth, 0)
363 self.Prep(N.UOffsetTFlags.bytewidth, 0)
382 self.Prep(N.Uint32Flags.bytewidth, elemSize*numElems)
383 self.Prep(alignment, elemSize*numElems) # In case alignment > int.
413 self.Prep(N.UOffsetTFlags.bytewidth, (len(x)+1)*N.Uint8Flags.bytewidth)
435 self.Prep(N.UOffsetTFlags.bytewidth, len(x)*N.Uint8Flags.bytewidth)
527 self.Prep(self.minalign, prepSize)
549 self.Prep(flags.bytewidth, 0)
/external/flatbuffers/tests/MyGame/Example/
DVec3.lua38 builder:Prep(8, 32)
40 builder:Prep(2, 4)
DVec3.py31 builder.Prep(8, 32)
33 builder.Prep(2, 4)
DVec3.cs31 builder.Prep(8, 32); in CreateVec3()
33 builder.Prep(2, 4); in CreateVec3()
DVec3.go66 builder.Prep(8, 32)
68 builder.Prep(2, 4)
DAbility.py20 builder.Prep(4, 8)
DTest.lua25 builder:Prep(2, 4)
DTest.py20 builder.Prep(2, 4)
DAbility.lua25 builder:Prep(4, 8)
DAbility.cs24 builder.Prep(4, 8); in CreateAbility()
DTest.cs24 builder.Prep(2, 4); in CreateTest()
DAbility.go37 builder.Prep(4, 8)
/external/libaom/libaom/test/
Dav1_horz_only_frame_superres_test.cc197 Prep(&rnd); in CorrectnessTest()
217 Prep(&rnd); in SpeedTest()
240 void Prep(ACMRandom *rnd) { in Prep() function in __anon25430c2f0111::ConvolveHorizRSTestBase
Dav1_convolve_scale_test.cc308 Prep(&rnd); in Run()
321 Prep(&rnd); in Run()
334 Prep(&rnd); in SpeedTest()
368 void Prep(ACMRandom *rnd) { in Prep() function in __anonb31ac89c0111::ConvolveScaleTestBase
/external/flatbuffers/tests/union_vector/
DBookReader.cs18 builder.Prep(4, 4); in CreateBookReader()
DRapunzel.cs18 builder.Prep(4, 4); in CreateRapunzel()
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.py20 builder.Prep(4, 8)
DStructInNestedNS.lua25 builder:Prep(4, 8)
DStructInNestedNS.cs24 builder.Prep(4, 8); in CreateStructInNestedNS()
DStructInNestedNS.go37 builder.Prep(4, 8)
/external/flatbuffers/samples/lua/MyGame/Sample/
DVec3.lua28 builder:Prep(4, 12)

12