Home
last modified time | relevance | path

Searched refs:BytePart (Results 1 – 12 of 12) sorted by relevance

/system/ulib/fidl/include/lib/fidl/cpp/
A Dmessage.h31 Message(BytePart bytes, HandlePart handles);
75 BytePart payload() const { in payload()
77 return BytePart(bytes_.data() + n, bytes_.capacity() - n, bytes_.actual() - n); in payload()
95 BytePart& bytes() { return bytes_; } in bytes()
96 const BytePart& bytes() const { return bytes_; } in bytes()
97 void set_bytes(BytePart bytes) { bytes_ = static_cast<BytePart&&>(bytes); } in set_bytes()
166 BytePart bytes_;
A Dbuilder.h81 BytePart Finalize();
A Dmessage_part.h97 using BytePart = MessagePart<uint8_t>; variable
/system/ulib/fidl/include/lib/fidl/llcpp/
A Ddecoded_message.h33 DecodedMessage(BytePart bytes) : in DecodedMessage()
52 void Reset(BytePart bytes) { in Reset()
64 bytes_ = BytePart(); in DecodeFrom()
70 BytePart bytes = msg->ReleaseBytesAndHandles(); in DecodeFrom()
74 Reset(BytePart()); in DecodeFrom()
83 return out_msg->Initialize([this, &out_error_msg] (BytePart& msg_bytes, in EncodeTo()
114 BytePart bytes_;
A Dencoded_message.h63 EncodedMessage(BytePart bytes) : in EncodedMessage()
74 BytePart ReleaseBytesAndHandles() { in ReleaseBytesAndHandles()
76 BytePart return_bytes = std::move(bytes_); in ReleaseBytesAndHandles()
80 const BytePart& bytes() const { return bytes_; } in bytes()
94 BytePart&, in decltype()
100 bytes_ = BytePart(); in decltype()
129 BytePart bytes_;
/system/ulib/fidl/
A Dmessage.cpp20 Message::Message(BytePart bytes, HandlePart handles) in Message()
21 : bytes_(static_cast<BytePart&&>(bytes)), in Message()
32 : bytes_(static_cast<BytePart&&>(other.bytes_)), in Message()
36 bytes_ = static_cast<BytePart&&>(other.bytes_); in operator =()
A Dbuilder.cpp49 BytePart Builder::Finalize() { in Finalize()
50 BytePart bytes(buffer_, capacity_, at_); in Finalize()
A Dmessage_buffer.cpp42 return Message(BytePart(bytes(), bytes_capacity()), in CreateEmptyMessage()
/system/utest/fidl/
A Dllcpp_types_tests.cpp99 encoded_message.Initialize([&buf, &channel_1] (fidl::BytePart& msg_bytes, in EncodedMessageTest()
101 msg_bytes = fidl::BytePart(buf, sizeof(buf), sizeof(buf)); in EncodedMessageTest()
143 fidl::BytePart(buf, sizeof(buf), sizeof(buf))); in DecodedMessageTest()
171 fidl::BytePart& msg_bytes, in RoundTripTest()
174 msg_bytes = fidl::BytePart(buf, sizeof(buf), sizeof(buf)); in RoundTripTest()
A Dmessage_tests.cpp46 fidl::BytePart payload = message.payload(); in message_test()
98 EXPECT_EQ(sizeof(uint8_t), sizeof(fidl::BytePart::value_type)); in message_part_is_stl_container_test()
101 EXPECT_EQ(sizeof(const uint8_t*), sizeof(fidl::BytePart::const_iterator)); in message_part_is_stl_container_test()
/system/uapp/display-test/
A Dmain.cpp62 fidl::Message msg(fidl::BytePart(byte_buffer, ZX_CHANNEL_MAX_MSG_BYTES), fidl::HandlePart()); in bind_display()
194 fidl::Message msg(fidl::BytePart(check_resp_bytes, ZX_CHANNEL_MAX_MSG_BYTES, actual_bytes), in apply_config()
231 fidl::Message msg(fidl::BytePart(byte_buffer, ZX_CHANNEL_MAX_MSG_BYTES), fidl::HandlePart()); in wait_for_vsync()
/system/dev/display/display/
A Dclient.cpp143 fidl::Message msg(fidl::BytePart(in_byte_buffer, ZX_CHANNEL_MAX_MSG_BYTES), in HandleControllerApi()
193 fidl::BytePart resp_bytes = builder.Finalize(); in HandleControllerApi()

Completed in 16 milliseconds