Home
last modified time | relevance | path

Searched refs:vtable_offset (Results 1 – 5 of 5) sorted by relevance

/external/flatbuffers/php/
DTable.php41 protected function __offset($vtable_offset) argument
44 …return $vtable_offset < $this->bb->getShort($vtable) ? $this->bb->getShort($vtable + $vtable_offse…
/external/flatbuffers/java/com/google/flatbuffers/
DTable.java65 protected int __offset(int vtable_offset) { in __offset() argument
67 return vtable_offset < bb.getShort(vtable) ? bb.getShort(vtable + vtable_offset) : 0; in __offset()
70 protected static int __offset(int vtable_offset, int offset, ByteBuffer bb) { in __offset() argument
72 return bb.getShort(vtable + vtable_offset - bb.getInt(vtable)) + vtable; in __offset()
/external/flatbuffers/tests/
DJavaScriptTest.js329 var vtable_offset = fieldIndexToOffset(f);
331 assert.ok(vtable_offset < view.getInt16(vtable, true));
332 var field_offset = offset + view.getInt16(vtable + vtable_offset, true);
DphpTest.php282 $vtable_offset = fieldIndexToOffset($f);
284 $assert->ok($vtable_offset < $view->getShort($vtable));
285 $field_offset = $offset + $view->getShort($vtable + $vtable_offset);
/external/flatbuffers/js/
Dflatbuffers.js1009 flatbuffers.ByteBuffer.prototype.__offset = function(bb_pos, vtable_offset) { argument
1011 return vtable_offset < this.readInt16(vtable) ? this.readInt16(vtable + vtable_offset) : 0;