Home
last modified time | relevance | path

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

/third_party/flatbuffers/rust/flatbuffers/src/
Dvtable_writer.rs62 pub fn get_field_offset(&self, vtable_offset: VOffsetT) -> VOffsetT { in get_field_offset()
63 let idx = vtable_offset as usize; in get_field_offset()
72 pub fn write_field_offset(&mut self, vtable_offset: VOffsetT, object_data_offset: VOffsetT) { in write_field_offset()
73 let idx = vtable_offset as usize; in write_field_offset()
/third_party/flatbuffers/java/com/google/flatbuffers/
DTable.java52 protected int __offset(int vtable_offset) { in __offset() argument
53 return vtable_offset < vtable_size ? bb.getShort(vtable_start + vtable_offset) : 0; in __offset()
56 protected static int __offset(int vtable_offset, int offset, ByteBuffer bb) { in __offset() argument
58 return bb.getShort(vtable + vtable_offset - bb.getInt(vtable)) + vtable; in __offset()
/third_party/flatbuffers/php/
DTable.php51 protected function __offset($vtable_offset) argument
54 …return $vtable_offset < $this->bb->getShort($vtable) ? $this->bb->getShort($vtable + $vtable_offse…
/third_party/flatbuffers/ts/
Dbyte-buffer.ts173 __offset(bb_pos: number, vtable_offset: number): Offset {
175 return vtable_offset < this.readInt16(vtable) ? this.readInt16(vtable + vtable_offset) : 0;
/third_party/flatbuffers/tests/
DJavaScriptTest.js414 var vtable_offset = fieldIndexToOffset(f);
416 assert.ok(vtable_offset < view.getInt16(vtable, true));
417 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);