Home
last modified time | relevance | path

Searched refs:mach_port_t (Results 1 – 25 of 54) 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>;
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()
/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()
Dcrash_generation_client.h49 mach_port_t crashing_thread);
/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/sandbox/mac/
Dxpc_private_stubs.sig10 void xpc_dictionary_set_mach_send(xpc_object_t dictionary, const char* name, mach_port_t port);
14 mach_port_t xpc_mach_send_get_right(xpc_object_t value);
17 xpc_pipe_t xpc_pipe_create_from_port(mach_port_t port, int flags);
18 int xpc_pipe_receive(mach_port_t port, xpc_object_t* message);
Dmessage_server.h63 virtual void ForwardMessage(IPCMessage request, mach_port_t destination) = 0;
71 virtual mach_port_t GetServerPort() const = 0;
/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()
133 mach_port_t task = TaskForPid(process_); in GetMemoryBytes()
162 mach_port_t object_name; in GetMemoryBytes()
254 mach_port_t task = TaskForPid(process_); in GetCPUUsage()
311 mach_port_t task = TaskForPid(process_); in GetIdleWakeupsPerSecond()
343 mach_port_t ProcessMetrics::TaskForPid(ProcessHandle /* process */) const { in TaskForPid()
344 mach_port_t task = MACH_PORT_NULL; in TaskForPid()
/external/google-breakpad/src/client/mac/tests/
DBreakpadFramework_Test.mm43 mach_port_t last_exception_thread_;
60 andThread:(mach_port_t)thread; argument
66 mach_port_t crashing_thread,
71 mach_port_t crashing_thread,
85 const mach_port_t kNoLastExceptionThread = MACH_PORT_NULL;
110 andThread:(mach_port_t)thread { argument
Dminidump_generator_test.cc177 mach_port_t child_task = child_message.GetTranslatedPort(0); in TEST_F()
178 ASSERT_NE((mach_port_t)MACH_PORT_NULL, child_task); in TEST_F()
256 mach_port_t child_task = child_message.GetTranslatedPort(0); in TEST_F()
257 ASSERT_NE((mach_port_t)MACH_PORT_NULL, child_task); in TEST_F()
/external/clang/test/Analysis/
Dretain-release-inline.m71 typedef mach_port_name_t mach_port_t; typedef
149 typedef mach_port_t io_object_t;
155 io_service_t IOServiceGetMatchingService( mach_port_t masterPort, CFDictionaryRef matching );
156 kern_return_t IOServiceGetMatchingServices( mach_port_t masterPort, CFDictionaryRef matching, io…
157 …IOServiceAddNotification( mach_port_t masterPort, const io_name_t notificationType, CFDictionar…
161 CFMutableDictionaryRef IOBSDNameMatching( mach_port_t masterPort, uint32_t options, const char *…
162 CFMutableDictionaryRef IOOpenFirmwarePathMatching( mach_port_t masterPort, uint32_t options, con…
Dretain-release-gc-only.m61 typedef mach_port_name_t mach_port_t; typedef
145 typedef mach_port_t io_object_t;
151 io_service_t IOServiceGetMatchingService( mach_port_t masterPort, CFDictionaryRef matching );
152 kern_return_t IOServiceGetMatchingServices( mach_port_t masterPort, CFDictionaryRef matching, io…
153 …IOServiceAddNotification( mach_port_t masterPort, const io_name_t notificationType, CFDictionar…
157 CFMutableDictionaryRef IOBSDNameMatching( mach_port_t masterPort, uint32_t options, const char *…
158 CFMutableDictionaryRef IOOpenFirmwarePathMatching( mach_port_t masterPort, uint32_t options, con…
Dretain-release.mm95 typedef mach_port_name_t mach_port_t; typedef
172 typedef mach_port_t io_object_t;
178 io_service_t IOServiceGetMatchingService( mach_port_t masterPort, CFDictionaryRef matching );
179 kern_return_t IOServiceGetMatchingServices( mach_port_t masterPort, CFDictionaryRef matching, io…
180 …IOServiceAddNotification( mach_port_t masterPort, const io_name_t notificationType, CFDictionar…
184 CFMutableDictionaryRef IOBSDNameMatching( mach_port_t masterPort, uint32_t options, const char *…
185 CFMutableDictionaryRef IOOpenFirmwarePathMatching( mach_port_t masterPort, uint32_t options, con…

123