Searched refs:EndianScalar (Results 1 – 8 of 8) sorted by relevance
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test1_generated.h | 58 : a_(flatbuffers::EndianScalar(_a)), in StructInNestedNS() 59 b_(flatbuffers::EndianScalar(_b)) { in StructInNestedNS() 62 return flatbuffers::EndianScalar(a_); in a() 68 return flatbuffers::EndianScalar(b_); in b()
|
/external/flatbuffers/include/flatbuffers/ |
D | base.h | 209 template<typename T> T EndianScalar(T t) { in EndianScalar() function 218 return EndianScalar(*reinterpret_cast<const T *>(p)); in ReadScalar() 222 *reinterpret_cast<T *>(p) = EndianScalar(t); in WriteScalar()
|
D | flatbuffers.h | 65 return EndianScalar((reinterpret_cast<const T *>(p))[i]); in Read() 189 uoffset_t size() const { return EndianScalar(length_); } 309 uoffset_t size() const { return EndianScalar(length_); } 809 T litle_endian_element = EndianScalar(element); 1566 EndianScalar(*reinterpret_cast<uoffset_t *>(buf)));
|
D | flexbuffers.h | 155 return flatbuffers::EndianScalar(u); in ReadUInt64() 671 t = flatbuffers::EndianScalar(t); in Mutate() 1230 val = flatbuffers::EndianScalar(val); in Write()
|
/external/flatbuffers/tests/ |
D | monster_test_generated.h | 201 : a_(flatbuffers::EndianScalar(_a)), 202 b_(flatbuffers::EndianScalar(_b)), 207 return flatbuffers::EndianScalar(a_); 213 return flatbuffers::EndianScalar(b_); 238 : x_(flatbuffers::EndianScalar(_x)), 239 y_(flatbuffers::EndianScalar(_y)), 240 z_(flatbuffers::EndianScalar(_z)), 242 test1_(flatbuffers::EndianScalar(_test1)), 243 test2_(flatbuffers::EndianScalar(static_cast<int8_t>(_test2))), 252 return flatbuffers::EndianScalar(x_); [all …]
|
/external/flatbuffers/samples/ |
D | monster_generated.h | 144 : x_(flatbuffers::EndianScalar(_x)), 145 y_(flatbuffers::EndianScalar(_y)), 146 z_(flatbuffers::EndianScalar(_z)) { 149 return flatbuffers::EndianScalar(x_); 155 return flatbuffers::EndianScalar(y_); 161 return flatbuffers::EndianScalar(z_);
|
/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
|
/external/flatbuffers/tests/union_vector/ |
D | union_vector_generated.h | 145 : hair_length_(flatbuffers::EndianScalar(_hair_length)) { in Rapunzel() 148 return flatbuffers::EndianScalar(hair_length_); in hair_length() 165 : books_read_(flatbuffers::EndianScalar(_books_read)) { in BookReader() 168 return flatbuffers::EndianScalar(books_read_); in books_read()
|