Lines Matching refs:Attachment
139 Vector<Attachment> attachments = arguments->releaseAttachments();
144 Attachment::Type type = attachments[i].type();
145 if (type == Attachment::MachPortType)
147 else if (type == Attachment::MachOOLMemoryType)
158 attachments.append(Attachment(arguments->buffer(), arguments->bufferSize(), MACH_MSG_VIRTUAL_COPY, false));
182 Attachment attachment = attachments[i];
185 switch (attachment.type()) {
186 case Attachment::MachPortType:
187 descriptor->port.name = attachment.port();
188 descriptor->port.disposition = attachment.disposition();
193 case Attachment::MachOOLMemoryType:
194 descriptor->out_of_line.address = attachment.address();
195 descriptor->out_of_line.size = attachment.size();
196 descriptor->out_of_line.copy = attachment.copyOptions();
197 descriptor->out_of_line.deallocate = attachment.deallocate();
247 // Build attachment list
248 Deque<Attachment> attachments;
252 // as an attachment, since it is really the message body.
261 attachments.append(Attachment(descriptor->port.name, descriptor->port.disposition));
265 attachments.append(Attachment(descriptor->out_of_line.address, descriptor->out_of_line.size,
277 Attachment messageBodyAttachment(descriptor->out_of_line.address, descriptor->out_of_line.size,