Searched refs:EndianScalar (Results 1 – 16 of 16) sorted by relevance
/external/flatbuffers/rust/flatbuffers/src/ |
D | endian_scalar.rs | 29 pub trait EndianScalar: Sized + PartialEq + Copy + Clone { interface 38 impl EndianScalar for $ty { impl 57 impl EndianScalar for $ty { impl 81 impl EndianScalar for f32 { 108 impl EndianScalar for f64 { 152 pub fn emplace_scalar<T: EndianScalar>(s: &mut [u8], x: T) { in emplace_scalar() 164 pub fn read_scalar_at<T: EndianScalar>(s: &[u8], loc: usize) -> T { in read_scalar_at() 172 pub fn read_scalar<T: EndianScalar>(s: &[u8]) -> T { in read_scalar()
|
D | vector.rs | 22 use endian_scalar::{EndianScalar, read_scalar}; 119 impl<'a, T: EndianScalar> Follow<'a> for &'a [T] {
|
D | lib.rs | 42 pub use endian_scalar::{EndianScalar, emplace_scalar, read_scalar, read_scalar_at, byte_swap_f32, b…
|
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test1_generated.h | 63 : a_(flatbuffers::EndianScalar(_a)), in StructInNestedNS() 64 b_(flatbuffers::EndianScalar(_b)) { in StructInNestedNS() 67 return flatbuffers::EndianScalar(a_); in a() 73 return flatbuffers::EndianScalar(b_); in b()
|
D | namespace_test1_generated.rs | 11 use self::flatbuffers::EndianScalar; 21 use self::flatbuffers::EndianScalar; 30 use self::flatbuffers::EndianScalar; 53 impl flatbuffers::EndianScalar for EnumInNestedNS {
|
D | namespace_test2_generated.rs | 11 use self::flatbuffers::EndianScalar; 21 use self::flatbuffers::EndianScalar; 209 use self::flatbuffers::EndianScalar;
|
/external/flatbuffers/include/flatbuffers/ |
D | base.h | 344 template<typename T> T EndianScalar(T t) { in EndianScalar() function 356 return EndianScalar(*reinterpret_cast<const T *>(p)); in ReadScalar() 363 *reinterpret_cast<T *>(p) = EndianScalar(t); in WriteScalar() 368 *reinterpret_cast<uoffset_t *>(p) = EndianScalar(t.o); in WriteScalar()
|
D | flatbuffers.h | 86 return EndianScalar((reinterpret_cast<const T *>(p))[i]); in Read() 227 uoffset_t size() const { return EndianScalar(length_); } 360 uoffset_t size() const { return EndianScalar(length_); } 1116 T litle_endian_element = EndianScalar(element); 1927 EndianScalar(*reinterpret_cast<uoffset_t *>(buf)));
|
D | flexbuffers.h | 160 return flatbuffers::EndianScalar(u); in ReadUInt64() 694 t = flatbuffers::EndianScalar(t); in Mutate() 1275 val = flatbuffers::EndianScalar(val); in Write()
|
/external/flatbuffers/samples/ |
D | monster_generated.h | 172 : x_(flatbuffers::EndianScalar(_x)), 173 y_(flatbuffers::EndianScalar(_y)), 174 z_(flatbuffers::EndianScalar(_z)) { 177 return flatbuffers::EndianScalar(x_); 183 return flatbuffers::EndianScalar(y_); 189 return flatbuffers::EndianScalar(z_);
|
D | monster_generated.rs | 13 use self::flatbuffers::EndianScalar; 23 use self::flatbuffers::EndianScalar; 45 impl flatbuffers::EndianScalar for Color { 106 impl flatbuffers::EndianScalar for Equipment {
|
/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/ |
D | monster_test_generated.h | 522 : a_(flatbuffers::EndianScalar(_a)), 523 b_(flatbuffers::EndianScalar(_b)), 528 return flatbuffers::EndianScalar(a_); 534 return flatbuffers::EndianScalar(b_); 565 : x_(flatbuffers::EndianScalar(_x)), 566 y_(flatbuffers::EndianScalar(_y)), 567 z_(flatbuffers::EndianScalar(_z)), 569 test1_(flatbuffers::EndianScalar(_test1)), 570 test2_(flatbuffers::EndianScalar(static_cast<int8_t>(_test2))), 579 return flatbuffers::EndianScalar(x_); [all …]
|
D | monster_test_generated.rs | 11 use self::flatbuffers::EndianScalar; 21 use self::flatbuffers::EndianScalar; 94 use self::flatbuffers::EndianScalar; 169 use self::flatbuffers::EndianScalar; 192 impl flatbuffers::EndianScalar for Color { 261 impl flatbuffers::EndianScalar for Any { 328 impl flatbuffers::EndianScalar for AnyUniqueAliases { 395 impl flatbuffers::EndianScalar for AnyAmbiguousAliases {
|
/external/flatbuffers/tests/union_vector/ |
D | union_vector_generated.h | 195 : hair_length_(flatbuffers::EndianScalar(_hair_length)) { in Rapunzel() 198 return flatbuffers::EndianScalar(hair_length_); in hair_length() 220 : books_read_(flatbuffers::EndianScalar(_books_read)) { in BookReader() 223 return flatbuffers::EndianScalar(books_read_); in books_read()
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 783 …fn prop<T: PartialEq + ::std::fmt::Debug + Copy + flatbuffers::EndianScalar + flatbuffers::Push>(x… in prop() 1190 …fn prop<'a, T: flatbuffers::Follow<'a> + 'a + flatbuffers::EndianScalar + flatbuffers::Push + ::st… in prop() 1263 fn prop<T: PartialEq + ::std::fmt::Debug + Copy + flatbuffers::EndianScalar>(x: T) { in prop()
|