Home
last modified time | relevance | path

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

/external/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.py102 for sizePrefix in [True, False]:
105 sizePrefix=sizePrefix, file_identifier=file_identifier)
109 sizePrefix=sizePrefix,
142 for sizePrefix in [True, False]:
145 if sizePrefix:
149 CheckReadBuffer(b1.Bytes, b1.Head(), sizePrefix)
155 for sizePrefix in [True, False]:
158 if sizePrefix:
162 CheckReadBuffer(b2.Bytes, b2.Head(), sizePrefix)
601 def CheckReadBuffer(buf, offset, sizePrefix=False, file_identifier=None): argument
[all …]
DKotlinTest.kt310 fun TestBuilderBasics(fbb: FlatBufferBuilder, sizePrefix: Boolean) { in TestBuilderBasics()
362 if (sizePrefix) { in TestBuilderBasics()
374 val filename = "monsterdata_java_wire" + (if (sizePrefix) "_sp" else "") + ".mon" in TestBuilderBasics()
385 if (sizePrefix) { in TestBuilderBasics()
Dgo_test.go195 func CheckReadBuffer(buf []byte, offset flatbuffers.UOffsetT, sizePrefix bool, fail func(string, ..…
200 if sizePrefix {
370 func CheckMutateBuffer(org []byte, offset flatbuffers.UOffsetT, sizePrefix bool, fail func(string, …
377 if sizePrefix {
464 if sizePrefix {
489 if sizePrefix {
518 func CheckObjectAPI(buf []byte, offset flatbuffers.UOffsetT, sizePrefix bool, fail func(string, ...…
521 if sizePrefix {
1254 func CheckGeneratedBuild(sizePrefix bool, fail func(string, ...interface{})) ([]byte, flatbuffers.U…
1298 if sizePrefix {
DJavaTest.java349 static void TestBuilderBasics(FlatBufferBuilder fbb, boolean sizePrefix) { in TestBuilderBasics() argument
399 if (sizePrefix) { in TestBuilderBasics()
411 String filename = "monsterdata_java_wire" + (sizePrefix ? "_sp" : "") + ".mon"; in TestBuilderBasics()
422 if (sizePrefix) { in TestBuilderBasics()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs902 protected void Finish(int rootTable, bool sizePrefix) in Finish() argument
904 Prep(_minAlign, sizeof(int) + (sizePrefix ? sizeof(int) : 0)); in Finish()
906 if (sizePrefix) { in Finish()
972 protected void Finish(int rootTable, string fileIdentifier, bool sizePrefix) in Finish() argument
974 Prep(_minAlign, sizeof(int) + (sizePrefix ? sizeof(int) : 0) + in Finish()
987 Finish(rootTable, sizePrefix); in Finish()
/external/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
/external/flatbuffers/python/flatbuffers/
Dbuilder.py534 def __Finish(self, rootTable, sizePrefix, file_identifier=None): argument
541 if sizePrefix:
557 if sizePrefix:
/external/flatbuffers/go/
Dbuilder.go616 func (b *Builder) finish(rootTable UOffsetT, sizePrefix bool) {
619 if sizePrefix {
627 if sizePrefix {
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs43 private void CanCreateNewFlatBufferFromScratch(bool sizePrefix) in CanCreateNewFlatBufferFromScratch() argument
107 if (sizePrefix) in CanCreateNewFlatBufferFromScratch()
119 string filename = @"monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; in CanCreateNewFlatBufferFromScratch()
125 string filename = @"monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; in CanCreateNewFlatBufferFromScratch()
132 if (sizePrefix) in CanCreateNewFlatBufferFromScratch()