/third_party/flatbuffers/go/ |
D | builder.go | 255 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/ |
D | FlatBufferBuilder.cs | 129 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/ |
D | StructOfStructs.lua | 31 builder:Prep(4, 20) 32 builder:Prep(4, 8) 35 builder:Prep(2, 4) 39 builder:Prep(4, 8)
|
D | StructOfStructs.go | 68 builder.Prep(4, 20) 69 builder.Prep(4, 8) 72 builder.Prep(2, 4) 76 builder.Prep(4, 8)
|
D | StructOfStructs.cs | 24 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()
|
D | StructOfStructs.py | 37 builder.Prep(4, 20) 38 builder.Prep(4, 8) 41 builder.Prep(2, 4) 45 builder.Prep(4, 8)
|
D | Vec3.lua | 38 builder:Prep(8, 32) 40 builder:Prep(2, 4)
|
D | Vec3.py | 37 builder.Prep(8, 32) 39 builder.Prep(2, 4)
|
D | Vec3.go | 95 builder.Prep(8, 32) 97 builder.Prep(2, 4)
|
D | Vec3.cs | 32 builder.Prep(8, 32); in CreateVec3() 34 builder.Prep(2, 4); in CreateVec3()
|
D | Ability.lua | 25 builder:Prep(4, 8)
|
D | Test.lua | 25 builder:Prep(2, 4)
|
D | ArrayStruct.cs | 32 builder.Prep(8, 160); in CreateArrayStruct() 39 builder.Prep(8, 32); in CreateArrayStruct()
|
D | ArrayStruct.py | 73 builder.Prep(8, 160) 79 builder.Prep(8, 32)
|
D | Ability.py | 26 builder.Prep(4, 8)
|
/third_party/flatbuffers/lobster/ |
D | flatbuffers.lobster | 131 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/ |
D | builder.lua | 206 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/ |
D | builder.py | 308 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/ |
D | StructInNestedNS.lua | 25 builder:Prep(4, 8)
|
D | StructInNestedNS.py | 26 builder.Prep(4, 8)
|
/third_party/flatbuffers/samples/lua/MyGame/Sample/ |
D | Vec3.lua | 28 builder:Prep(4, 12)
|
/third_party/flatbuffers/tests/ |
D | monster_test_generated.lobster | 104 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/ |
D | Rapunzel.cs | 20 builder.Prep(4, 4); in CreateRapunzel()
|
D | BookReader.cs | 20 builder.Prep(4, 4); in CreateBookReader()
|
/third_party/flatbuffers/tests/namespace_test/ |
D | namespace_test1_generated.lobster | 43 b_.Prep(4, 8)
|