Searched refs:BufferWrapper (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | buffer_wrapper.h | 17 class BufferWrapper; variable 20 class BufferWrapper<T*> { 30 BufferWrapper() : buffer_(nullptr), capacity_(0), end_(0) {} in BufferWrapper() function 32 BufferWrapper(pointer buffer, size_type capacity, size_type size) in BufferWrapper() function 37 BufferWrapper(pointer buffer, size_type size) in BufferWrapper() function 38 : BufferWrapper(buffer, size, size) {} in BufferWrapper() 40 BufferWrapper(const BufferWrapper& other) { *this = other; } in BufferWrapper() function 42 BufferWrapper(BufferWrapper&& other) noexcept { *this = std::move(other); } in BufferWrapper() function 44 BufferWrapper& operator=(const BufferWrapper& other) { 56 BufferWrapper& operator=(BufferWrapper&& other) noexcept { [all …]
|
D | type_operators.h | 135 struct IsConvertible<BufferWrapper<A*>, 136 BufferWrapper<std::vector<B, Allocator>>> 139 struct IsConvertible<BufferWrapper<std::vector<A, Allocator>>, 140 BufferWrapper<B*>> : IsEquivalent<A, B> {}; 142 struct IsConvertible<BufferWrapper<std::vector<A, AllocatorA>>, 143 BufferWrapper<std::vector<B, AllocatorB>>> 146 struct IsConvertible<BufferWrapper<A*>, BufferWrapper<B*>>
|
D | serialization.h | 260 inline constexpr std::size_t GetSerializedSize(const BufferWrapper<T>&); 324 inline constexpr std::size_t GetSerializedSize(const BufferWrapper<T>& b) { 326 b.size() * sizeof(typename BufferWrapper<T>::value_type); 570 inline void SerializeType(const BufferWrapper<T>& value, void*& buffer) { 573 encoding, value.size() * sizeof(typename BufferWrapper<T>::value_type), 850 inline void SerializeObject(const BufferWrapper<std::vector<T, Allocator>>&, MessageWriter*, void*&… 852 inline void SerializeObject(const BufferWrapper<T*>&, MessageWriter*, void*&); 929 inline void SerializeObject(const BufferWrapper<std::vector<T, Allocator>>& b, 932 sizeof(typename BufferWrapper<std::vector<T, Allocator>>::value_type); 937 inline void SerializeObject(const BufferWrapper<T*>& b, [all …]
|
D | encoding.h | 484 inline constexpr EncodingType EncodeType(const BufferWrapper<T>& value) { in EncodeType() 487 sizeof(typename BufferWrapper<T>::value_type)); in EncodeType()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | remote_method_tests.cpp | 177 std::pair<int, BufferWrapper<std::uint8_t*>>( 505 std::pair<int, BufferWrapper<std::vector<std::uint8_t>>> OnReadFile( in OnReadFile() 507 std::pair<int, BufferWrapper<std::vector<std::uint8_t>>> return_value; in OnReadFile() 748 TEST_F(RemoteMethodTest, BufferWrapper) { in TEST_F() argument 895 (IsConvertible<StringWrapper<char>, BufferWrapper<char*>>::value)); in TEST() 899 (IsConvertible<BufferWrapper<char*>, BufferWrapper<char*>>::value)); in TEST() 901 (IsConvertible<BufferWrapper<char*>, BufferWrapper<const char*>>::value)); in TEST() 903 (IsConvertible<BufferWrapper<char*>, BufferWrapper<int*>>::value)); in TEST() 904 EXPECT_TRUE((IsConvertible<BufferWrapper<char*>, in TEST() 905 BufferWrapper<std::vector<char>>>::value)); in TEST()
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
D | pdx_benchmarks.cpp | 48 using android::pdx::rpc::BufferWrapper; 156 int(const BufferWrapper<std::vector<uint8_t>> data)); 158 BufferWrapper<std::vector<uint8_t>>( 159 const BufferWrapper<std::vector<uint8_t>> data)); 393 using BufferType = BufferWrapper< 458 int WriteVector(const BufferWrapper<std::vector<uint8_t>>& data) { in WriteVector() 467 int WriteVector(const BufferWrapper<T>& data) { in WriteVector() 476 int EchoVector(const BufferWrapper<T>& data, BufferWrapper<U>* data_out) { in EchoVector() 758 thread_local BufferWrapper<std::vector< in ClientCommand()
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | producer_channel.h | 30 using BufferWrapper = pdx::rpc::BufferWrapper<T>; variable
|
/frameworks/native/services/vr/bufferhubd/ |
D | producer_channel.cpp | 21 using android::pdx::rpc::BufferWrapper;
|
/frameworks/native/libs/vr/libpdx/ |
D | encoder_performance_test.cpp | 486 BufferWrapper<uint8_t*>(data_buffers.back().data(), in main()
|