Home
last modified time | relevance | path

Searched refs:additionalBytes (Results 1 – 9 of 9) sorted by relevance

/external/flatbuffers/lua/flatbuffers/
Dcompat.lua9 getAlignSize = function(self, size, additionalBytes)
10 local alignsize = bit32.bnot(#self.bytes-self:Head() + additionalBytes) + 1
Dbuilder.lua188 function mt:Prep(size, additionalBytes)
195 local k = #self.bytes - h + additionalBytes
198 local desiredSize = alignsize + size + additionalBytes
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs121 public void Prep(int size, int additionalBytes) in Prep() argument
129 ((~((int)_bb.Length - _space + additionalBytes)) + 1) & in Prep()
132 while (_space < alignSize + size + additionalBytes) in Prep()
/external/flatbuffers/python/flatbuffers/
Dbuilder.py316 def Prep(self, size, additionalBytes): argument
331 alignSize = (~(len(self.Bytes) - self.Head() + additionalBytes)) + 1
335 while self.Head() < alignSize+size+additionalBytes:
/external/flatbuffers/go/
Dbuilder.go247 func (b *Builder) Prep(size, additionalBytes int) {
254 alignSize := (^(len(b.Bytes) - int(b.Head()) + additionalBytes)) + 1
258 for int(b.head) <= alignSize+size+additionalBytes {
/external/skia/src/codec/
DSkBmpRLECodec.cpp156 size_t additionalBytes = this->stream()->read(buffer, fCurrRLEByte); in checkForMoreData() local
161 fBytesBuffered = remainingBytes + additionalBytes; in checkForMoreData()
/external/skqp/src/codec/
DSkBmpRLECodec.cpp156 size_t additionalBytes = this->stream()->read(buffer, fCurrRLEByte); in checkForMoreData() local
161 fBytesBuffered = remainingBytes + additionalBytes; in checkForMoreData()
/external/flatbuffers/dart/lib/
Dflat_buffers.dart585 _prepare(_sizeofUint32, 1, additionalBytes: 2 * values.length);
600 _prepare(_sizeofUint32, 1, additionalBytes: 2 * values.length);
620 _prepare(_sizeofUint32, 1, additionalBytes: values.length);
635 _prepare(_sizeofUint32, 1, additionalBytes: values.length);
665 _prepare(4, 1, additionalBytes: length + 1);
700 /// Additionally allocate the specified `additionalBytes`. Update the current
702 void _prepare(int size, int count, {int additionalBytes = 0}) {
708 int dataSize = size * count + additionalBytes;
/external/flatbuffers/lobster/
Dflatbuffers.lobster129 // aligned after `additionalBytes`: