Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/lib/
Dbuffer.cc63 size_t additional_bytes = new_cursor - message_payload_size_; in Allocate() local
64 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(additional_bytes)); in Allocate()
67 message_.value(), static_cast<uint32_t>(additional_bytes), nullptr, 0, in Allocate()
110 size_t additional_bytes = cursor_ - message_payload_size_; in Seal() local
111 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(additional_bytes)); in Seal()
119 static_cast<uint32_t>(additional_bytes), in Seal()
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java279 public void prep(int size, int additional_bytes) { in prep() argument
284 int align_size = ((~(bb.capacity() - space + additional_bytes)) + 1) & (size - 1); in prep()
286 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.js290 flatbuffers.Builder.prototype.prep = function(size, additional_bytes) { argument
298 var align_size = ((~(this.bb.capacity() - this.space + additional_bytes)) + 1) & (size - 1);
301 while (this.space < align_size + size + additional_bytes) {
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DInstructionList.java854 int additional_bytes = 0; in setPositions() local
913 additional_bytes += ih.updatePosition(additional_bytes, max_additional_bytes); in setPositions()
/external/flatbuffers/lobster/
Dflatbuffers.lobster131 def Prep(size, additional_bytes):
137 let align_size = ((~(head + additional_bytes)) + 1) & (size - 1)