Home
last modified time | relevance | path

Searched refs:mach_port_t (Results 1 – 25 of 71) sorted by relevance

123

/external/libchrome/base/mac/
Dscoped_mach_port.h19 static mach_port_t InvalidValue() { in InvalidValue()
23 BASE_EXPORT static void Free(mach_port_t port);
27 static mach_port_t InvalidValue() { in InvalidValue()
31 BASE_EXPORT static void Free(mach_port_t port);
35 static mach_port_t InvalidValue() { in InvalidValue()
39 BASE_EXPORT static void Free(mach_port_t port);
49 ScopedGeneric<mach_port_t, internal::SendRightTraits>;
56 ScopedGeneric<mach_port_t, internal::ReceiveRightTraits>;
62 using ScopedMachPortSet = ScopedGeneric<mach_port_t, internal::PortSetTraits>;
Dmach_port_util.h24 BASE_EXPORT kern_return_t SendMachPort(mach_port_t dest_port,
25 mach_port_t port_to_send,
31 mach_port_t port_to_listen_on);
42 mach_port_t task_port,
Dmach_port_util.cc30 kern_return_t SendMachPort(mach_port_t endpoint, in SendMachPort()
31 mach_port_t port_to_send, in SendMachPort()
60 base::mac::ScopedMachSendRight ReceiveMachPort(mach_port_t port_to_listen_on) { in ReceiveMachPort()
77 mach_port_t task_port, in CreateIntermediateMachPort()
107 mach_port_t send_once_right; in CreateIntermediateMachPort()
Dscoped_mach_port.cc14 void SendRightTraits::Free(mach_port_t port) { in Free()
21 void ReceiveRightTraits::Free(mach_port_t port) { in Free()
29 void PortSetTraits::Free(mach_port_t port) { in Free()
Dmach_port_broker.h72 mach_port_t TaskForPid(base::ProcessHandle process) const override;
85 void FinalizePid(base::ProcessHandle pid, mach_port_t task_port);
97 typedef std::map<base::ProcessHandle, mach_port_t> MachMap;
Dmach_port_broker_unittest.cc43 mach_port_t task_port) { in FinalizePid()
111 EXPECT_NE(static_cast<mach_port_t>(MACH_PORT_NULL), in TEST_F()
129 EXPECT_EQ(static_cast<mach_port_t>(MACH_PORT_NULL), in TEST_F()
/external/google-breakpad/src/common/mac/
DMachIPC.h107 MachMsgPortDescriptor(mach_port_t in_name, in MachMsgPortDescriptor()
117 MachMsgPortDescriptor(mach_port_t in_name) { in MachMsgPortDescriptor()
134 mach_port_t GetMachPort() const { in GetMachPort()
143 operator mach_port_t() const { in mach_port_t() function
190 mach_port_t GetTranslatedPort(int n);
257 explicit ReceivePort(mach_port_t receive_port);
269 mach_port_t GetPort() const { return port_; } in GetPort()
274 mach_port_t port_;
287 explicit MachPortSender(mach_port_t send_port);
295 mach_port_t send_port_;
Dbootstrap_compat.h48 kern_return_t BootstrapRegister(mach_port_t bp,
50 mach_port_t sp);
Dbootstrap_compat.cc35 kern_return_t BootstrapRegister(mach_port_t bp, in BootstrapRegister()
37 mach_port_t sp) { in BootstrapRegister()
Dscoped_task_suspend-inl.h42 explicit ScopedTaskSuspend(mach_port_t target) : target_(target) { in ScopedTaskSuspend()
51 mach_port_t target_;
DMachIPC.mm156 mach_port_t MachMessage::GetTranslatedPort(int n) {
168 mach_port_t current_task = mach_task_self();
185 mach_port_t task_bootstrap_port = 0;
200 mach_port_t current_task = mach_task_self();
218 ReceivePort::ReceivePort(mach_port_t receive_port)
265 mach_port_t task_bootstrap_port = 0;
278 MachPortSender::MachPortSender(mach_port_t send_port)
/external/valgrind/coregrind/m_mach/
Dmach_basics.c42 extern mach_port_t mach_reply_port(void);
54 static mach_port_t reply = 0;
56 mach_port_t mig_get_reply_port(void) in mig_get_reply_port()
66 void mig_dealloc_reply_port(mach_port_t reply_port) in mig_dealloc_reply_port()
71 void mig_put_reply_port(mach_port_t reply_port) in mig_put_reply_port()
Dmach_msg.c55 mach_port_t rcv_name,
57 mach_port_t notify);
65 mach_port_t rcv_name;
67 mach_port_t notify;
/external/google-breakpad/src/client/mac/crash_generation/
DInspector.h144 mach_port_t bootstrap_subset_port_;
146 mach_port_t service_rcv_port_;
151 mach_port_t remote_task_;
152 mach_port_t crashing_thread_;
153 mach_port_t handler_thread_;
154 mach_port_t ack_port_;
Dcrash_generation_server.cc109 mach_port_t remote_task = message.GetTranslatedPort(0); in WaitForOneMessage()
110 mach_port_t crashing_thread = message.GetTranslatedPort(1); in WaitForOneMessage()
111 mach_port_t handler_thread = message.GetTranslatedPort(2); in WaitForOneMessage()
112 mach_port_t ack_port = message.GetTranslatedPort(3); in WaitForOneMessage()
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc106 mach_port_t ports[EXC_TYPES_COUNT];
130 kern_return_t catch_exception_raise(mach_port_t target_port,
131 mach_port_t failed_thread,
132 mach_port_t task,
140 kern_return_t ForwardException(mach_port_t task,
141 mach_port_t failed_thread,
211 kern_return_t catch_exception_raise(mach_port_t port, mach_port_t failed_thread, in catch_exception_raise()
212 mach_port_t task, in catch_exception_raise()
317 bool ExceptionHandler::WriteMinidumpForChild(mach_port_t child, in WriteMinidumpForChild()
318 mach_port_t child_blamed_thread, in WriteMinidumpForChild()
[all …]
Dminidump_generator.h86 MinidumpGenerator(mach_port_t crashing_task, mach_port_t handler_thread);
101 mach_port_t thread_name) { in SetExceptionInformation()
122 virtual bool WriteThreadStream(mach_port_t thread_id, MDRawThread *thread);
204 mach_port_t exception_thread_;
205 mach_port_t crashing_task_;
206 mach_port_t handler_thread_;
Dexception_handler.h99 mach_port_t thread_name);
152 static bool WriteMinidumpForChild(mach_port_t child,
153 mach_port_t child_blamed_thread,
193 mach_port_t thread_name,
246 mach_port_t handler_port_;
Ddynamic_images.h116 mach_port_t task, in DynamicImage()
153 mach_port_t GetTask() {return task_;} in GetTask()
196 mach_port_t task_;
241 explicit DynamicImages(mach_port_t task);
265 mach_port_t GetTask() const {return task_;} in GetTask()
305 mach_port_t task_;
/external/libchrome/base/memory/
Dshared_memory_mac_unittest.cc85 mach_port_t BecomeMachServer(const char* service_name) { in BecomeMachServer()
86 mach_port_t port; in BecomeMachServer()
93 mach_port_t LookupServer(const char* service_name) { in LookupServer()
94 mach_port_t server_port; in LookupServer()
101 mach_port_t MakeReceivingPort() { in MakeReceivingPort()
102 mach_port_t client_port; in MakeReceivingPort()
113 mach_port_t ReceiveMachPort(mach_port_t port_to_listen_on) { in ReceiveMachPort()
127 mach_port_t other_task_port = recv_msg.data.name; in ReceiveMachPort()
132 void SendMachPort(mach_port_t receiving_port, in SendMachPort()
133 mach_port_t port_to_send, in SendMachPort()
[all …]
Dshared_memory_handle.h97 SharedMemoryHandle(mach_port_t memory_object,
122 mach_port_t GetMemoryObject() const;
144 mach_port_t memory_object_ = MACH_PORT_NULL;
Dshared_memory_handle_mac.cc20 mach_port_t named_right; in SharedMemoryHandle()
39 SharedMemoryHandle::SharedMemoryHandle(mach_port_t memory_object, in SharedMemoryHandle()
89 mach_port_t SharedMemoryHandle::GetMemoryObject() const { in GetMemoryObject()
/external/google-breakpad/src/client/mac/Framework/
DOnDemandServer.h130 mach_port_t GetServicePort() { return service_port_; }; in GetServicePort()
142 mach_port_t server_port_;
143 mach_port_t service_port_;
/external/libchrome/base/process/
Dprocess_metrics_mac.cc41 bool GetTaskInfo(mach_port_t task, task_basic_info_64* task_info_data) { in GetTaskInfo()
136 mach_port_t task = TaskForPid(process_); in GetMemoryBytes()
165 mach_port_t object_name; in GetMemoryBytes()
257 mach_port_t task = TaskForPid(process_); in GetCPUUsage()
314 mach_port_t task = TaskForPid(process_); in GetIdleWakeupsPerSecond()
346 mach_port_t ProcessMetrics::TaskForPid(ProcessHandle /* process */) const { in TaskForPid()
347 mach_port_t task = MACH_PORT_NULL; in TaskForPid()
/external/libchrome/sandbox/mac/
Dmessage_server.h63 virtual void ForwardMessage(IPCMessage request, mach_port_t destination) = 0;
71 virtual mach_port_t GetServerPort() const = 0;

123