Searched refs:EndianScalar (Results 1 – 6 of 6) sorted by relevance
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test1_generated.h | 52 : a_(flatbuffers::EndianScalar(_a)), in StructInNestedNS() 53 b_(flatbuffers::EndianScalar(_b)) { in StructInNestedNS() 56 return flatbuffers::EndianScalar(a_); in a() 62 return flatbuffers::EndianScalar(b_); in b()
|
/external/flatbuffers/tests/ |
D | monster_test_generated.h | 157 : a_(flatbuffers::EndianScalar(_a)), 158 b_(flatbuffers::EndianScalar(_b)), 163 return flatbuffers::EndianScalar(a_); 169 return flatbuffers::EndianScalar(b_); 197 : x_(flatbuffers::EndianScalar(_x)), 198 y_(flatbuffers::EndianScalar(_y)), 199 z_(flatbuffers::EndianScalar(_z)), 201 test1_(flatbuffers::EndianScalar(_test1)), 202 test2_(flatbuffers::EndianScalar(static_cast<int8_t>(_test2))), 211 return flatbuffers::EndianScalar(x_); [all …]
|
/external/flatbuffers/samples/ |
D | monster_generated.h | 120 : x_(flatbuffers::EndianScalar(_x)), 121 y_(flatbuffers::EndianScalar(_y)), 122 z_(flatbuffers::EndianScalar(_z)) { 125 return flatbuffers::EndianScalar(x_); 131 return flatbuffers::EndianScalar(y_); 137 return flatbuffers::EndianScalar(z_);
|
/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 189 template<typename T> T EndianScalar(T t) { in EndianScalar() function 198 return EndianScalar(*reinterpret_cast<const T *>(p)); in ReadScalar() 202 *reinterpret_cast<T *>(p) = EndianScalar(t); in WriteScalar() 230 return EndianScalar((reinterpret_cast<const T *>(p))[i]); in Read() 350 uoffset_t size() const { return EndianScalar(length_); } 454 uoffset_t size() const { return EndianScalar(length_); } 774 T litle_endian_element = EndianScalar(element); 1332 EndianScalar(*reinterpret_cast<uoffset_t *>(buf)));
|
D | flexbuffers.h | 146 return flatbuffers::EndianScalar(u); in ReadUInt64() 606 t = flatbuffers::EndianScalar(t); in Mutate() 1086 val = flatbuffers::EndianScalar(val); in Write()
|
/external/flatbuffers/docs/source/ |
D | Internals.md | 180 …: x_(flatbuffers::EndianScalar(x)), y_(flatbuffers::EndianScalar(y)), z_(flatbuffers::EndianScalar… 182 float x() const { return flatbuffers::EndianScalar(x_); } 183 float y() const { return flatbuffers::EndianScalar(y_); } 184 float z() const { return flatbuffers::EndianScalar(z_); } 194 `EndianScalar` then converts back and forth, which is a no-op on all current
|