Home
last modified time | relevance | path

Searched refs:MessageAttachmentSet (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/ipc/
Dipc_message_attachment_set_posix_unittest.cc37 int GetFdAt(MessageAttachmentSet* set, int id) { in GetFdAt()
48 TEST(MessageAttachmentSet, BasicAdd) { in TEST() argument
49 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST()
63 TEST(MessageAttachmentSet, BasicAddAndClose) { in TEST() argument
64 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST()
78 TEST(MessageAttachmentSet, MaxSize) { in TEST() argument
79 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST()
81 for (size_t i = 0; i < MessageAttachmentSet::kMaxDescriptorsPerMessage; ++i) in TEST()
91 TEST(MessageAttachmentSet, WalkInOrder) { in TEST() argument
92 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST()
[all …]
Dipc_message_attachment_set.cc33 MessageAttachmentSet::MessageAttachmentSet() in MessageAttachmentSet() function in IPC::MessageAttachmentSet
37 MessageAttachmentSet::~MessageAttachmentSet() { in ~MessageAttachmentSet()
53 unsigned MessageAttachmentSet::num_descriptors() const { in num_descriptors()
58 unsigned MessageAttachmentSet::size() const { in size()
62 bool MessageAttachmentSet::AddAttachment( in AddAttachment()
86 bool MessageAttachmentSet::AddAttachment( in AddAttachment()
92 scoped_refptr<MessageAttachment> MessageAttachmentSet::GetAttachmentAt( in GetAttachmentAt()
127 void MessageAttachmentSet::CommitAllDescriptors() { in CommitAllDescriptors()
Dipc_message_attachment_set.h29 class IPC_MESSAGE_SUPPORT_EXPORT MessageAttachmentSet
30 : public base::RefCountedThreadSafe<MessageAttachmentSet> {
32 MessageAttachmentSet();
76 friend class base::RefCountedThreadSafe<MessageAttachmentSet>;
78 ~MessageAttachmentSet();
91 DISALLOW_COPY_AND_ASSIGN(MessageAttachmentSet);
Dipc_message.h36 class MessageAttachmentSet; variable
272 scoped_refptr<MessageAttachmentSet> attachment_set_;
277 MessageAttachmentSet* attachment_set() { in attachment_set()
281 const MessageAttachmentSet* attachment_set() const { in attachment_set()
Dipc_message.cc108 attachment_set_ = new MessageAttachmentSet; in EnsureMessageAttachmentSet()
188 MessageAttachmentSet* attachment_set = attachment_set_.get(); in ReadAttachment()
Dipc_send_fds_test.cc52 IPC::MessageAttachmentSet::kMaxDescriptorsPerMessage,
Dipc_channel_nacl.cc284 DCHECK(num_fds <= MessageAttachmentSet::kMaxDescriptorsPerMessage); in ProcessOutgoingMessages()
Dipc_channel_mojo.cc283 MessageAttachmentSet* set = message->attachment_set(); in ReadFromMessageAttachmentSet()