Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
Dluatest.lua3 local function checkReadBuffer(buf, offset, sizePrefix)
10 if sizePrefix then
86 local function generateMonster(sizePrefix)
144 if sizePrefix then
152 local function sizePrefix(sizePrefix) function
153 local buf,offset = generateMonster(sizePrefix)
154 checkReadBuffer(buf, offset, sizePrefix)
216 f = sizePrefix,
DJavaTest.java280 static void TestBuilderBasics(FlatBufferBuilder fbb, boolean sizePrefix) { in TestBuilderBasics() argument
330 if (sizePrefix) { in TestBuilderBasics()
342 String filename = "monsterdata_java_wire" + (sizePrefix ? "_sp" : "") + ".mon"; in TestBuilderBasics()
353 if (sizePrefix) { in TestBuilderBasics()
Dpy_test.py63 for sizePrefix in [True, False]:
64 gen_buf, gen_off = make_monster_from_generated_code(sizePrefix = sizePrefix)
65 CheckReadBuffer(gen_buf, gen_off, sizePrefix = sizePrefix)
81 def CheckReadBuffer(buf, offset, sizePrefix = False): argument
90 if sizePrefix:
1082 def make_monster_from_generated_code(sizePrefix = False): argument
1143 if sizePrefix:
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs692 protected void Finish(int rootTable, bool sizePrefix) in Finish() argument
694 Prep(_minAlign, sizeof(int) + (sizePrefix ? sizeof(int) : 0)); in Finish()
696 if (sizePrefix) { in Finish()
762 protected void Finish(int rootTable, string fileIdentifier, bool sizePrefix) in Finish() argument
764 Prep(_minAlign, sizeof(int) + (sizePrefix ? sizeof(int) : 0) + in Finish()
777 Finish(rootTable, sizePrefix); in Finish()
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs40 private void CanCreateNewFlatBufferFromScratch(bool sizePrefix) in CanCreateNewFlatBufferFromScratch() argument
104 if (sizePrefix) in CanCreateNewFlatBufferFromScratch()
116 string filename = @"Resources/monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; in CanCreateNewFlatBufferFromScratch()
122 … string filename = @"Resources/monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; in CanCreateNewFlatBufferFromScratch()
129 if (sizePrefix) in CanCreateNewFlatBufferFromScratch()
/external/flatbuffers/lua/flatbuffers/
Dbuilder.lua279 local function finish(self, rootTable, sizePrefix)
282 if sizePrefix then
288 if sizePrefix then
/external/flatbuffers/python/flatbuffers/
Dbuilder.py521 def __Finish(self, rootTable, sizePrefix): argument
525 if sizePrefix:
529 if sizePrefix: