Home
last modified time | relevance | path

Searched refs:MachMsgPortDescriptor (Results 1 – 2 of 2) sorted by relevance

/external/chromium/base/
Dmach_ipc_mac.h78 class MachMsgPortDescriptor : public mach_msg_port_descriptor_t {
81 MachMsgPortDescriptor(mach_port_t in_name, in MachMsgPortDescriptor() function
91 MachMsgPortDescriptor(mach_port_t in_name) { in MachMsgPortDescriptor() function
100 MachMsgPortDescriptor(const MachMsgPortDescriptor& desc) { in MachMsgPortDescriptor() function
169 bool AddDescriptor(const MachMsgPortDescriptor &desc);
175 MachMsgPortDescriptor *GetDescriptor(int n);
208 void SetDescriptor(int n, const MachMsgPortDescriptor &desc);
Dmach_ipc_mac.mm101 size += GetDescriptorCount() * sizeof(MachMsgPortDescriptor);
110 int desc_size = sizeof(MachMsgPortDescriptor)*GetDescriptorCount();
119 const MachMsgPortDescriptor &desc) {
120 MachMsgPortDescriptor *desc_array =
121 reinterpret_cast<MachMsgPortDescriptor*>(storage_->padding);
127 bool MachMessage::AddDescriptor(const MachMsgPortDescriptor &desc) {
130 int new_size = size + sizeof(MachMsgPortDescriptor);
139 bcopy(p, p+sizeof(MachMsgPortDescriptor), GetDataLength()+2*sizeof(int32_t));
161 MachMsgPortDescriptor *MachMessage::GetDescriptor(int n) {
163 MachMsgPortDescriptor *desc =
[all …]