Searched refs:StringWrapper (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | string_wrapper.h | 21 class StringWrapper { 32 StringWrapper() : buffer_(nullptr), capacity_(0), end_(0) {} in StringWrapper() function 34 StringWrapper(pointer buffer, size_type capacity, size_type size) in StringWrapper() function 39 StringWrapper(pointer buffer, size_type size) in StringWrapper() function 40 : StringWrapper(buffer, size, size) {} in StringWrapper() 42 explicit StringWrapper(pointer buffer) in StringWrapper() function 43 : StringWrapper(buffer, std::strlen(buffer)) {} in StringWrapper() 45 StringWrapper(const StringWrapper& other) { *this = other; } in StringWrapper() function 47 StringWrapper(StringWrapper&& other) noexcept { *this = std::move(other); } in StringWrapper() function 49 StringWrapper& operator=(const StringWrapper& other) { [all …]
|
D | type_operators.h | 152 struct IsConvertible<std::basic_string<A, Any...>, StringWrapper<B>> 155 struct IsConvertible<StringWrapper<A>, std::basic_string<B, Any...>>
|
D | serialization.h | 258 inline constexpr std::size_t GetSerializedSize(const StringWrapper<T>&); 317 inline constexpr std::size_t GetSerializedSize(const StringWrapper<T>& s) { 319 s.length() * sizeof(typename StringWrapper<T>::value_type); 546 inline void SerializeType(const StringWrapper<T>& value, void*& buffer) { 855 inline void SerializeObject(const StringWrapper<T>&, MessageWriter*, void*&); 959 inline void SerializeObject(const StringWrapper<T>& s, 1403 inline ErrorType DeserializeObject(StringWrapper<T>*, MessageReader*, 1653 inline ErrorType DeserializeObject(StringWrapper<T>* value, 1656 const auto value_type_size = sizeof(typename StringWrapper<T>::value_type);
|
D | encoding.h | 446 inline constexpr EncodingType EncodeType(const StringWrapper<T>& value) { in EncodeType()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | remote_method_tests.cpp | 838 EXPECT_TRUE((IsConvertible<std::vector<StringWrapper<char>>, in TEST() 861 std::map<int, StringWrapper<char>>>::value)); in TEST() 869 std::unordered_map<int, StringWrapper<char>>>::value)); in TEST() 890 EXPECT_TRUE((IsConvertible<StringWrapper<char>, StringWrapper<char>>::value)); in TEST() 891 EXPECT_TRUE((IsConvertible<StringWrapper<char>, std::string>::value)); in TEST() 892 EXPECT_TRUE((IsConvertible<std::string, StringWrapper<char>>::value)); in TEST() 893 EXPECT_FALSE((IsConvertible<StringWrapper<char>, int>::value)); in TEST() 895 (IsConvertible<StringWrapper<char>, BufferWrapper<char*>>::value)); in TEST()
|
/frameworks/native/libs/vr/libpdx/ |
D | serialization_tests.cpp | 799 TEST(SerializationTest, StringWrapper) { in TEST() argument
|