Searched refs:ReadScalar (Results 1 – 4 of 4) sorted by relevance
25 # define FLATBUFFERS_GET(T) static_cast<int64_t>(ReadScalar<T>(data)) in GetAnyValueI()40 auto s = reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + in GetAnyValueI()51 case reflection::Float: return static_cast<double>(ReadScalar<float>(data)); in GetAnyValueF()52 case reflection::Double: return ReadScalar<double>(data); in GetAnyValueF()54 auto s = reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + in GetAnyValueF()68 auto s = reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + in GetAnyValueS()83 ReadScalar<uoffset_t>(data) + data); in GetAnyValueS()187 WriteScalar<T>(offsetloc, ReadScalar<T>(offsetloc) + delta_ * D); in Straddle()235 auto ref = offsetloc + ReadScalar<uoffset_t>(offsetloc); in ResizeTable()348 auto root_offset = ReadScalar<uoffset_t>(newbuf) - sizeof(uoffset_t); in AddFlatBuffer()
197 template<typename T> T ReadScalar(const void *p) { in ReadScalar() function239 return reinterpret_cast<return_type>(p + ReadScalar<uoffset_t>(p));870 assert(!ReadScalar<voffset_t>(buf_.data() + field_location->id));875 auto vt1_size = ReadScalar<voffset_t>(vt1);910 auto vtable_ptr = table_ptr - ReadScalar<soffset_t>(table_ptr);911 bool ok = ReadScalar<voffset_t>(vtable_ptr + field) != 0;1438 auto size = ReadScalar<uoffset_t>(vec);1477 reinterpret_cast<const T *>(start + ReadScalar<uoffset_t>(start))->1492 ReadScalar<uoffset_t>(buf_) == end_ - buf_ - sizeof(uoffset_t) &&1564 return ReadScalar<T>(&data_[o]);[all …]
124 ? (byte_width < 2 ? static_cast<R>(flatbuffers::ReadScalar<T1>(data)) in ReadSizedScalar()125 : static_cast<R>(flatbuffers::ReadScalar<T2>(data))) in ReadSizedScalar()126 : (byte_width < 8 ? static_cast<R>(flatbuffers::ReadScalar<T4>(data)) in ReadSizedScalar()127 : static_cast<R>(flatbuffers::ReadScalar<T8>(data))); in ReadSizedScalar()163 return offset - flatbuffers::ReadScalar<T>(offset); in Indirect()
213 return (T *)(elem_ptr + ReadScalar<uoffset_t>(elem_ptr)); in GetAnyVectorElemPointer()