Home
last modified time | relevance | path

Searched refs:additional_bytes (Results 1 – 3 of 3) sorted by relevance

/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java170 public void prep(int size, int additional_bytes) { in prep() argument
175 int align_size = ((~(bb.capacity() - space + additional_bytes)) + 1) & (size - 1); in prep()
177 while (space < align_size + size + additional_bytes) { in prep()
/external/flatbuffers/php/
DFlatbufferBuilder.php139 public function prep($size, $additional_bytes) argument
145 … $align_size = ((~($this->bb->capacity() - $this->space + $additional_bytes)) + 1) & ($size - 1);
146 while ($this->space < $align_size + $size + $additional_bytes) {
/external/flatbuffers/js/
Dflatbuffers.js271 flatbuffers.Builder.prototype.prep = function(size, additional_bytes) { argument
279 var align_size = ((~(this.bb.capacity() - this.space + additional_bytes)) + 1) & (size - 1);
282 while (this.space < align_size + size + additional_bytes) {