Home
last modified time | relevance | path

Searched refs:ReadScalar (Results 1 – 8 of 8) sorted by relevance

/third_party/flatbuffers/include/flatbuffers/
Dminireflect.h126 auto tval = ReadScalar<uint8_t>(val); in IterateValue()
131 visitor->Bool(ReadScalar<uint8_t>(val) != 0); in IterateValue()
135 auto tval = ReadScalar<int8_t>(val); in IterateValue()
140 auto tval = ReadScalar<uint8_t>(val); in IterateValue()
145 auto tval = ReadScalar<int16_t>(val); in IterateValue()
150 auto tval = ReadScalar<uint16_t>(val); in IterateValue()
155 auto tval = ReadScalar<int32_t>(val); in IterateValue()
160 auto tval = ReadScalar<uint32_t>(val); in IterateValue()
165 visitor->Long(ReadScalar<int64_t>(val)); in IterateValue()
169 visitor->ULong(ReadScalar<uint64_t>(val)); in IterateValue()
[all …]
Dflatbuffers.h119 return reinterpret_cast<return_type>(p + ReadScalar<uoffset_t>(p));
1472 !ReadScalar<voffset_t>(buf_.data() + field_location->id));
1477 auto vt1_size = ReadScalar<voffset_t>(vt1);
1486 auto vt2_size = ReadScalar<voffset_t>(vt2);
2366 auto size = ReadScalar<uoffset_t>(vec);
2402 auto vtableo = tableo - static_cast<size_t>(ReadScalar<soffset_t>(table));
2405 VerifyAlignment<voffset_t>(ReadScalar<voffset_t>(buf_ + vtableo)) &&
2406 Verify(vtableo, ReadScalar<voffset_t>(buf_ + vtableo));
2436 ReadScalar<uoffset_t>(buf_) == size_ - sizeof(uoffset_t) &&
2442 auto o = ReadScalar<uoffset_t>(buf_ + start);
[all …]
Dflexbuffers.h139 ? static_cast<R>(flatbuffers::ReadScalar<T1>(data)) in ReadSizedScalar()
140 : static_cast<R>(flatbuffers::ReadScalar<T2>(data))) in ReadSizedScalar()
142 ? static_cast<R>(flatbuffers::ReadScalar<T4>(data)) in ReadSizedScalar()
143 : static_cast<R>(flatbuffers::ReadScalar<T8>(data))); in ReadSizedScalar()
180 return offset - flatbuffers::ReadScalar<T>(offset); in Indirect()
Dbase.h401 T ReadScalar(const void *p) { in ReadScalar() function
Dreflection.h256 return reinterpret_cast<T *>(elem_ptr + ReadScalar<uoffset_t>(elem_ptr)); in GetAnyVectorElemPointer()
/third_party/flatbuffers/src/
Dreflection.cpp27 #define FLATBUFFERS_GET(T) static_cast<int64_t>(ReadScalar<T>(data)) in GetAnyValueI()
42 auto s = reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + in GetAnyValueI()
54 case reflection::Float: return static_cast<double>(ReadScalar<float>(data)); in GetAnyValueF()
55 case reflection::Double: return ReadScalar<double>(data); in GetAnyValueF()
58 reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + data); in GetAnyValueF()
78 reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + data); in GetAnyValueS()
92 ReadScalar<uoffset_t>(data) + data); in GetAnyValueS()
207 WriteScalar<T>(offsetloc, ReadScalar<T>(offsetloc) + delta_ * D); in Straddle()
255 auto ref = offsetloc + ReadScalar<uoffset_t>(offsetloc); in ResizeTable()
365 auto root_offset = ReadScalar<uoffset_t>(newbuf) - sizeof(uoffset_t); in AddFlatBuffer()
Didl_parser.cpp1417 const auto av = a ? ReadScalar<CTYPE>(a) : def; \ in CompareSerializedScalars()
1418 const auto bv = b ? ReadScalar<CTYPE>(b) : def; \ in CompareSerializedScalars()
1435 auto a = reinterpret_cast<const uint8_t *>(_a) + ReadScalar<uoffset_t>(_a); in CompareTablesByScalarKey()
1436 auto b = reinterpret_cast<const uint8_t *>(_b) + ReadScalar<uoffset_t>(_b); in CompareTablesByScalarKey()
1448 auto a = reinterpret_cast<const uint8_t *>(_a) + ReadScalar<uoffset_t>(_a); in CompareTablesByStringKey()
1449 auto b = reinterpret_cast<const uint8_t *>(_b) + ReadScalar<uoffset_t>(_b); in CompareTablesByStringKey()
1455 a += ReadScalar<uoffset_t>(a); in CompareTablesByStringKey()
1456 b += ReadScalar<uoffset_t>(b); in CompareTablesByStringKey()
1470 a->o = EndianScalar(ReadScalar<uoffset_t>(a) - udiff); in SwapSerializedTables()
1471 b->o = EndianScalar(ReadScalar<uoffset_t>(b) + udiff); in SwapSerializedTables()
Didl_gen_text.cpp178 prev_val + ReadScalar<uoffset_t>(prev_val)); in PrintOffset()