Home
last modified time | relevance | path

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

12

/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs125 public void Prep(int size, int additionalBytes) in Prep() method in FlatBuffers.FlatBufferBuilder
233 public void AddBool(bool x) { Prep(sizeof(byte), 0); PutBool(x); } in AddBool()
239 public void AddSbyte(sbyte x) { Prep(sizeof(sbyte), 0); PutSbyte(x); } in AddSbyte()
245 public void AddByte(byte x) { Prep(sizeof(byte), 0); PutByte(x); } in AddByte()
251 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort()
257 public void AddUshort(ushort x) { Prep(sizeof(ushort), 0); PutUshort(x); } in AddUshort()
263 public void AddInt(int x) { Prep(sizeof(int), 0); PutInt(x); } in AddInt()
269 public void AddUint(uint x) { Prep(sizeof(uint), 0); PutUint(x); } in AddUint()
275 public void AddLong(long x) { Prep(sizeof(long), 0); PutLong(x); } in AddLong()
281 public void AddUlong(ulong x) { Prep(sizeof(ulong), 0); PutUlong(x); } in AddUlong()
[all …]
/external/flatbuffers/go/
Dbuilder.go248 func (b *Builder) Prep(size, additionalBytes int) { func
269 b.Prep(SizeSOffsetT, 0) // Ensure alignment is already done.
279 b.Prep(SizeUOffsetT, 0) // Ensure alignment is already done.
295 b.Prep(SizeUint32, elemSize*numElems)
296 b.Prep(alignment, elemSize*numElems) // Just in case alignment > int.
330 b.Prep(int(SizeUOffsetT), (len(s)+1)*SizeByte)
346 b.Prep(int(SizeUOffsetT), (len(s)+1)*SizeByte)
362 b.Prep(int(SizeUOffsetT), len(v)*SizeByte)
568 b.Prep(b.minalign, SizeInt32+fileIdentifierLength)
580 b.Prep(b.minalign, SizeUOffsetT)
[all …]
/external/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 …]
/external/flatbuffers/lua/flatbuffers/
Dbuilder.lua205 function mt:Prep(size, additionalBytes) function
228 self:Prep(4, 0)
235 self:Prep(4, 0)
249 self:Prep(4, elementSize) -- Uint32 length
250 self:Prep(alignment, elementSize)
267 self:Prep(4, #s + 1)
283 self:Prep(4, l)
300 self:Prep(self.minalign, sizePrefix and 8 or 4)
320 self:Prep(flags.bytewidth, 0)
/external/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)
374 self.Prep(N.Uint32Flags.bytewidth, elemSize*numElems)
375 self.Prep(alignment, elemSize*numElems) # In case alignment > int.
405 self.Prep(N.UOffsetTFlags.bytewidth, (len(x)+1)*N.Uint8Flags.bytewidth)
427 self.Prep(N.UOffsetTFlags.bytewidth, len(x)*N.Uint8Flags.bytewidth)
522 self.Prep(self.minalign, prepSize)
525 self.Prep(N.UOffsetTFlags.bytewidth, encode.FILE_IDENTIFIER_LENGTH)
556 self.Prep(flags.bytewidth, 0)
/external/flatbuffers/tests/MyGame/Example/
DVec3.lua38 builder:Prep(8, 32)
40 builder:Prep(2, 4)
DVec3.py33 builder.Prep(8, 32)
35 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()
DTest.lua25 builder:Prep(2, 4)
DAbility.lua25 builder:Prep(4, 8)
DArrayStruct.py69 builder.Prep(8, 160)
75 builder.Prep(8, 32)
DArrayStruct.cs32 builder.Prep(8, 160); in CreateArrayStruct()
39 builder.Prep(8, 32); in CreateArrayStruct()
DTest.py22 builder.Prep(2, 4)
DAbility.py22 builder.Prep(4, 8)
DTest.cs25 builder.Prep(2, 4); in CreateTest()
/external/libaom/libaom/test/
Dav1_horz_only_frame_superres_test.cc198 Prep(&rnd); in CorrectnessTest()
218 Prep(&rnd); in SpeedTest()
241 void Prep(ACMRandom *rnd) { in Prep() function in __anon32fe2ce60111::ConvolveHorizRSTestBase
Dav1_convolve_scale_test.cc309 Prep(&rnd); in Run()
322 Prep(&rnd); in Run()
335 Prep(&rnd); in SpeedTest()
369 void Prep(ACMRandom *rnd) { in Prep() function in __anonce3848930111::ConvolveScaleTestBase
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.lua25 builder:Prep(4, 8)
DStructInNestedNS.py22 builder.Prep(4, 8)
DStructInNestedNS.cs25 builder.Prep(4, 8); in CreateStructInNestedNS()
/external/flatbuffers/samples/lua/MyGame/Sample/
DVec3.lua28 builder:Prep(4, 12)
/external/flatbuffers/tests/union_vector/
DBookReader.cs20 builder.Prep(4, 4); in CreateBookReader()
DRapunzel.cs20 builder.Prep(4, 4); in CreateRapunzel()
/external/flatbuffers/tests/namespace_test/
Dnamespace_test1_generated.lobster39 b_.Prep(4, 8)

12