Searched refs:ArrayWrapper (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | array_wrapper.h | 20 class ArrayWrapper { 30 ArrayWrapper() : buffer_(nullptr), capacity_(0), end_(0) {} in ArrayWrapper() function 32 ArrayWrapper(pointer buffer, size_type capacity, size_type size) in ArrayWrapper() function 37 ArrayWrapper(pointer buffer, size_type size) in ArrayWrapper() function 38 : ArrayWrapper(buffer, size, size) {} in ArrayWrapper() 40 ArrayWrapper(const ArrayWrapper& other) { *this = other; } in ArrayWrapper() function 42 ArrayWrapper(ArrayWrapper&& other) noexcept { *this = std::move(other); } in ArrayWrapper() function 44 ArrayWrapper& operator=(const ArrayWrapper& other) { 56 ArrayWrapper& operator=(ArrayWrapper&& other) noexcept { 103 ArrayWrapper<T> WrapArray(T* buffer, SizeType size) { in WrapArray() [all …]
|
D | type_operators.h | 98 struct IsConvertible<std::vector<A, Any...>, ArrayWrapper<B>> 101 struct IsConvertible<ArrayWrapper<A>, std::vector<B, Any...>> 110 struct IsConvertible<ArrayWrapper<A>, std::array<B, Size>> 113 struct IsConvertible<std::array<A, Size>, ArrayWrapper<B>>
|
D | serialization.h | 275 inline std::size_t GetSerializedSize(const ArrayWrapper<T>&); 382 inline std::size_t GetSerializedSize(const ArrayWrapper<T>& v) { 631 inline void SerializeType(const ArrayWrapper<T>& value, void*& buffer) { 859 inline void SerializeObject(const ArrayWrapper<T>&, MessageWriter*, void*&); 992 inline void SerializeObject(const ArrayWrapper<T>& v, MessageWriter* writer, 1423 inline ErrorType DeserializeObject(ArrayWrapper<T>*, MessageReader*, 1841 inline ErrorType DeserializeObject(ArrayWrapper<T>* value,
|
D | encoding.h | 460 inline constexpr EncodingType EncodeType(const ArrayWrapper<T>& value) { in EncodeType()
|
/frameworks/native/libs/vr/libpdx/ |
D | serialization_tests.cpp | 1047 TEST(SerializationTest, ArrayWrapper) { in TEST() argument 1051 ArrayWrapper<std::uint8_t> wrapper; in TEST() 2217 TEST(DeserializationTest, ArrayWrapper) { in TEST() argument 2226 ArrayWrapper<std::uint8_t> wrapper(result.data(), result.capacity()); in TEST()
|