Searched refs:MachMsgPortDescriptor (Results 1 – 2 of 2) sorted by relevance
78 class MachMsgPortDescriptor : public mach_msg_port_descriptor_t {81 MachMsgPortDescriptor(mach_port_t in_name, in MachMsgPortDescriptor() function91 MachMsgPortDescriptor(mach_port_t in_name) { in MachMsgPortDescriptor() function100 MachMsgPortDescriptor(const MachMsgPortDescriptor& desc) { in MachMsgPortDescriptor() function169 bool AddDescriptor(const MachMsgPortDescriptor &desc);175 MachMsgPortDescriptor *GetDescriptor(int n);208 void SetDescriptor(int n, const MachMsgPortDescriptor &desc);
101 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 …]