/third_party/flatbuffers/tests/ |
D | luatest.lua | 15 local function checkReadBuffer(buf, offset, sizePrefix) 22 if sizePrefix then 97 local function generateMonster(sizePrefix, b) 160 if sizePrefix then 168 local function sizePrefix(sizePrefix) function 169 local buf,offset = generateMonster(sizePrefix) 170 checkReadBuffer(buf, offset, sizePrefix) 323 f = sizePrefix,
|
D | py_test.py | 68 for sizePrefix in [True, False]: 70 …gen_buf, gen_off = make_monster_from_generated_code(sizePrefix=sizePrefix, file_identifier=file_id… 71 … CheckReadBuffer(gen_buf, gen_off, sizePrefix=sizePrefix, file_identifier=file_identifier) 101 for sizePrefix in [True, False]: 104 if sizePrefix: 108 CheckReadBuffer(b1.Bytes, b1.Head(), sizePrefix) 115 for sizePrefix in [True, False]: 118 if sizePrefix: 122 CheckReadBuffer(b2.Bytes, b2.Head(), sizePrefix) 530 def CheckReadBuffer(buf, offset, sizePrefix=False, file_identifier=None): argument [all …]
|
D | go_test.go | 162 func CheckReadBuffer(buf []byte, offset flatbuffers.UOffsetT, sizePrefix bool, fail func(string, ..… 167 if sizePrefix { 337 func CheckMutateBuffer(org []byte, offset flatbuffers.UOffsetT, sizePrefix bool, fail func(string, … 344 if sizePrefix { 431 if sizePrefix { 456 if sizePrefix { 485 func CheckObjectAPI(buf []byte, offset flatbuffers.UOffsetT, sizePrefix bool, fail func(string, ...… 488 if sizePrefix { 1221 func CheckGeneratedBuild(sizePrefix bool, fail func(string, ...interface{})) ([]byte, flatbuffers.U… 1265 if sizePrefix {
|
D | KotlinTest.kt | 289 fun TestBuilderBasics(fbb: FlatBufferBuilder, sizePrefix: Boolean) { in TestBuilderBasics() 341 if (sizePrefix) { in TestBuilderBasics() 353 val filename = "monsterdata_java_wire" + (if (sizePrefix) "_sp" else "") + ".mon" in TestBuilderBasics() 364 if (sizePrefix) { in TestBuilderBasics()
|
D | JavaTest.java | 344 static void TestBuilderBasics(FlatBufferBuilder fbb, boolean sizePrefix) { in TestBuilderBasics() argument 394 if (sizePrefix) { in TestBuilderBasics() 406 String filename = "monsterdata_java_wire" + (sizePrefix ? "_sp" : "") + ".mon"; in TestBuilderBasics() 417 if (sizePrefix) { in TestBuilderBasics()
|
/third_party/flatbuffers/net/FlatBuffers/ |
D | FlatBufferBuilder.cs | 824 protected void Finish(int rootTable, bool sizePrefix) in Finish() argument 826 Prep(_minAlign, sizeof(int) + (sizePrefix ? sizeof(int) : 0)); in Finish() 828 if (sizePrefix) { in Finish() 894 protected void Finish(int rootTable, string fileIdentifier, bool sizePrefix) in Finish() argument 896 Prep(_minAlign, sizeof(int) + (sizePrefix ? sizeof(int) : 0) + in Finish() 909 Finish(rootTable, sizePrefix); in Finish()
|
/third_party/flatbuffers/lua/flatbuffers/ |
D | builder.lua | 299 local function finish(self, rootTable, sizePrefix) 301 self:Prep(self.minalign, sizePrefix and 8 or 4) 303 if sizePrefix then
|
/third_party/flatbuffers/python/flatbuffers/ |
D | builder.py | 518 def __Finish(self, rootTable, sizePrefix, file_identifier=None): argument 525 if sizePrefix: 541 if sizePrefix:
|
/third_party/flatbuffers/go/ |
D | builder.go | 616 func (b *Builder) finish(rootTable UOffsetT, sizePrefix bool) { 619 if sizePrefix { 627 if sizePrefix {
|
/third_party/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffersExampleTests.cs | 42 private void CanCreateNewFlatBufferFromScratch(bool sizePrefix) in CanCreateNewFlatBufferFromScratch() argument 106 if (sizePrefix) in CanCreateNewFlatBufferFromScratch() 118 string filename = @".tmp/monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; in CanCreateNewFlatBufferFromScratch() 124 string filename = @".tmp/monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; in CanCreateNewFlatBufferFromScratch() 131 if (sizePrefix) in CanCreateNewFlatBufferFromScratch()
|