Home
last modified time | relevance | path

Searched refs:sizePrefix (Results 1 – 10 of 10) sorted by relevance

/third_party/flatbuffers/tests/
Dluatest.lua15 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,
Dpy_test.py68 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 …]
Dgo_test.go162 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 {
DKotlinTest.kt289 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()
DJavaTest.java344 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/
DFlatBufferBuilder.cs824 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/
Dbuilder.lua299 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/
Dbuilder.py518 def __Finish(self, rootTable, sizePrefix, file_identifier=None): argument
525 if sizePrefix:
541 if sizePrefix:
/third_party/flatbuffers/go/
Dbuilder.go616 func (b *Builder) finish(rootTable UOffsetT, sizePrefix bool) {
619 if sizePrefix {
627 if sizePrefix {
/third_party/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs42 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()