Home
last modified time | relevance | path

Searched refs:ControlMessage (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/common/libs/utils/
Dunix_sockets.cpp38 ControlMessage ControlMessage::FromRaw(const cmsghdr* cmsg) { in FromRaw()
39 ControlMessage message; in FromRaw()
55 Result<ControlMessage> ControlMessage::FromFileDescriptors( in FromFileDescriptors()
57 ControlMessage message; in FromFileDescriptors()
73 ControlMessage ControlMessage::FromCredentials(const ucred& credentials) { in FromCredentials()
74 ControlMessage message; in FromCredentials()
85 ControlMessage::ControlMessage(ControlMessage&& existing) { in ControlMessage() function in cuttlefish::ControlMessage
94 ControlMessage& ControlMessage::operator=(ControlMessage&& existing) { in operator =()
104 ControlMessage::~ControlMessage() { in ~ControlMessage()
113 cmsghdr* ControlMessage::Raw() { in Raw()
[all …]
Dunix_sockets.h28 struct ControlMessage { struct
30 static ControlMessage FromRaw(const cmsghdr*);
31 static Result<ControlMessage> FromFileDescriptors(
34 static ControlMessage FromCredentials(const ucred&);
36 ControlMessage(const ControlMessage&) = delete;
37 ControlMessage(ControlMessage&&);
38 ~ControlMessage();
39 ControlMessage& operator=(const ControlMessage&) = delete; argument
40 ControlMessage& operator=(ControlMessage&&); argument
54 ControlMessage() = default;
[all …]
Dunix_sockets_test.cpp49 auto control1 = ControlMessage::FromFileDescriptors({memfd1}); in TEST()
52 auto control2 = ControlMessage::FromFileDescriptors({memfd2}); in TEST()
86 ControlMessage::FromFileDescriptors({CreateMemFDWithData("abc")}); in TEST()
109 auto control_in = ControlMessage::FromFileDescriptors({memfd1, memfd2}); in TEST()
140 auto control_in = ControlMessage::FromCredentials(credentials_in); in TEST()
171 auto control_in = ControlMessage::FromCredentials(credentials_in); in TEST()