/external/flatbuffers/rust/flatbuffers/src/ |
D | endian_scalar.rs | 29 pub trait EndianScalar: Sized + PartialEq + Copy + Clone { trait 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 | lib.rs | 43 byte_swap_f32, byte_swap_f64, emplace_scalar, read_scalar, read_scalar_at, EndianScalar,
|
D | vector.rs | 25 use endian_scalar::EndianScalar; 142 impl<'a, T: EndianScalar> Follow<'a> for &'a [T] {
|
/external/flatbuffers/tests/ |
D | native_type_test_generated.h | 37 : x_(flatbuffers::EndianScalar(_x)), in Vector3D() 38 y_(flatbuffers::EndianScalar(_y)), in Vector3D() 39 z_(flatbuffers::EndianScalar(_z)) { in Vector3D() 42 return flatbuffers::EndianScalar(x_); in x() 48 return flatbuffers::EndianScalar(y_); in y() 54 return flatbuffers::EndianScalar(z_); in z()
|
D | arrays_test_generated.h | 82 : b_(flatbuffers::EndianScalar(static_cast<int8_t>(_b))) { in NestedStruct() 95 return static_cast<MyGame::Example::TestEnum>(flatbuffers::EndianScalar(b_)); in b() 147 : a_(flatbuffers::EndianScalar(_a)), in ArrayStruct() 148 c_(flatbuffers::EndianScalar(_c)), in ArrayStruct() 152 e_(flatbuffers::EndianScalar(_e)), in ArrayStruct() 161 return flatbuffers::EndianScalar(a_); in a() 173 return flatbuffers::EndianScalar(c_); in c() 185 return flatbuffers::EndianScalar(e_); in e()
|
D | monster_test_generated.h | 599 : a_(flatbuffers::EndianScalar(_a)), 600 b_(flatbuffers::EndianScalar(_b)), 605 return flatbuffers::EndianScalar(a_); 611 return flatbuffers::EndianScalar(b_); 650 : x_(flatbuffers::EndianScalar(_x)), 651 y_(flatbuffers::EndianScalar(_y)), 652 z_(flatbuffers::EndianScalar(_z)), 654 test1_(flatbuffers::EndianScalar(_test1)), 655 test2_(flatbuffers::EndianScalar(static_cast<uint8_t>(_test2))), 664 return flatbuffers::EndianScalar(x_); [all …]
|
D | monster_test_generated.rs | 11 use self::flatbuffers::EndianScalar; 22 use self::flatbuffers::EndianScalar; 100 use self::flatbuffers::EndianScalar; 180 use self::flatbuffers::EndianScalar; 207 impl flatbuffers::EndianScalar for Color { 276 impl flatbuffers::EndianScalar for Race { 342 impl flatbuffers::EndianScalar for Any { 409 impl flatbuffers::EndianScalar for AnyUniqueAliases { 476 impl flatbuffers::EndianScalar for AnyAmbiguousAliases {
|
/external/flatbuffers/tests/include_test/sub/ |
D | include_test2_generated.rs | 10 use self::flatbuffers::EndianScalar; 20 use self::flatbuffers::EndianScalar; 29 use self::flatbuffers::EndianScalar; 50 impl flatbuffers::EndianScalar for FromInclude {
|
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test1_generated.rs | 9 use self::flatbuffers::EndianScalar; 18 use self::flatbuffers::EndianScalar; 26 use self::flatbuffers::EndianScalar; 49 impl flatbuffers::EndianScalar for EnumInNestedNS {
|
D | namespace_test1_generated.h | 73 : a_(flatbuffers::EndianScalar(_a)), in StructInNestedNS() 74 b_(flatbuffers::EndianScalar(_b)) { in StructInNestedNS() 77 return flatbuffers::EndianScalar(a_); in a() 83 return flatbuffers::EndianScalar(b_); in b()
|
D | namespace_test2_generated.rs | 10 use self::flatbuffers::EndianScalar; 20 use self::flatbuffers::EndianScalar; 208 use self::flatbuffers::EndianScalar;
|
/external/flatbuffers/include/flatbuffers/ |
D | base.h | 362 template<typename T> T EndianScalar(T t) { in EndianScalar() function 374 return EndianScalar(*reinterpret_cast<const T *>(p)); in ReadScalar() 381 *reinterpret_cast<T *>(p) = EndianScalar(t); in WriteScalar() 386 *reinterpret_cast<uoffset_t *>(p) = EndianScalar(t.o); in WriteScalar()
|
D | flatbuffers.h | 105 return EndianScalar((reinterpret_cast<const T *>(p))[i]); in Read() 247 uoffset_t size() const { return EndianScalar(length_); } 385 uoffset_t size() const { return EndianScalar(length_); } 1270 T litle_endian_element = EndianScalar(element); 2083 EndianScalar(*reinterpret_cast<uoffset_t *>(buf)));
|
D | flexbuffers.h | 162 return flatbuffers::EndianScalar(u); in ReadUInt64() 742 t = flatbuffers::EndianScalar(t); in Mutate() 1347 val = flatbuffers::EndianScalar(val); in Write()
|
/external/flatbuffers/tests/evolution_test/ |
D | evolution_v1_generated.h | 109 : a_(flatbuffers::EndianScalar(_a)), 111 b_(flatbuffers::EndianScalar(_b)) { 115 return flatbuffers::EndianScalar(a_); 118 return flatbuffers::EndianScalar(b_);
|
D | evolution_v2_generated.h | 124 : a_(flatbuffers::EndianScalar(_a)), 126 b_(flatbuffers::EndianScalar(_b)) { 130 return flatbuffers::EndianScalar(a_); 133 return flatbuffers::EndianScalar(b_);
|
/external/flatbuffers/samples/ |
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 {
|
D | monster_generated.h | 186 : x_(flatbuffers::EndianScalar(_x)), 187 y_(flatbuffers::EndianScalar(_y)), 188 z_(flatbuffers::EndianScalar(_z)) { 191 return flatbuffers::EndianScalar(x_); 197 return flatbuffers::EndianScalar(y_); 203 return flatbuffers::EndianScalar(z_);
|
/external/flatbuffers/tests/include_test/ |
D | include_test1_generated.rs | 10 use self::flatbuffers::EndianScalar;
|
/external/flatbuffers/docs/source/ |
D | Internals.md | 186 …: x_(flatbuffers::EndianScalar(x)), y_(flatbuffers::EndianScalar(y)), z_(flatbuffers::EndianScalar… 188 float x() const { return flatbuffers::EndianScalar(x_); } 189 float y() const { return flatbuffers::EndianScalar(y_); } 190 float z() const { return flatbuffers::EndianScalar(z_); } 200 `EndianScalar` then converts back and forth, which is a no-op on all current
|
/external/flatbuffers/tests/cpp17/generated_cpp17/ |
D | monster_test_generated.h | 484 : a_(flatbuffers::EndianScalar(_a)), 485 b_(flatbuffers::EndianScalar(_b)), 490 return flatbuffers::EndianScalar(a_); 496 return flatbuffers::EndianScalar(b_); 524 : x_(flatbuffers::EndianScalar(_x)), 525 y_(flatbuffers::EndianScalar(_y)), 526 z_(flatbuffers::EndianScalar(_z)), 528 test1_(flatbuffers::EndianScalar(_test1)), 529 test2_(flatbuffers::EndianScalar(static_cast<uint8_t>(_test2))), 538 return flatbuffers::EndianScalar(x_); [all …]
|
/external/flatbuffers/tests/union_vector/ |
D | union_vector_generated.h | 209 : hair_length_(flatbuffers::EndianScalar(_hair_length)) { in Rapunzel() 212 return flatbuffers::EndianScalar(hair_length_); in hair_length() 242 : books_read_(flatbuffers::EndianScalar(_books_read)) { in BookReader() 245 return flatbuffers::EndianScalar(books_read_); in books_read()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | verifier.cc | 56 return flatbuffers::EndianScalar(*reinterpret_cast<const uint32_t*>(ptr)); in GetIntPtr()
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 946 + flatbuffers::EndianScalar in prop() 1372 + flatbuffers::EndianScalar in prop() 1452 fn prop<T: PartialEq + ::std::fmt::Debug + Copy + flatbuffers::EndianScalar>(x: T) { in prop() 1827 use flatbuffers::EndianScalar;
|
/external/flatbuffers/src/ |
D | idl_parser.cpp | 1391 a->o = EndianScalar(ReadScalar<uoffset_t>(a) - udiff); in ParseVector() 1392 b->o = EndianScalar(ReadScalar<uoffset_t>(b) + udiff); in ParseVector()
|