Home
last modified time | relevance | path

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

123

/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/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/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/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/mojo/core/
Dplatform_handle_in_transit.h79 static PlatformHandleInTransit CreateForMachPortName(mach_port_t name);
82 mach_port_t mach_port_name() const { return mach_port_name_; } in mach_port_name()
98 mach_port_t mach_port_name_ = MACH_PORT_NULL;
Dmach_port_relay.cc100 mach_port_t task_port = port_provider_->TaskForPid(process); in SendPortsToProcess()
154 mach_port_t port_name, in ExtractPort()
160 mach_port_t task_port = port_provider_->TaskForPid(process); in ExtractPort()
166 mach_port_t extracted_right = MACH_PORT_NULL; in ExtractPort()
/external/libchrome/base/memory/
Dshared_memory_handle.h121 SharedMemoryHandle(mach_port_t memory_object,
127 mach_port_t GetMemoryObject() const;
212 mach_port_t memory_object_ = MACH_PORT_NULL;
/external/libchrome/base/synchronization/
Dwaitable_event.h182 static bool PeekPort(mach_port_t port, bool dequeue);
192 ReceiveRight(mach_port_t name, bool create_slow_watch_list);
194 mach_port_t Name() const { return right_.get(); }; in Name()
/external/honggfuzz/mac/
Darch.c84 static mach_port_t g_exception_port = MACH_PORT_NULL;
328 mach_port_t child_bootstrap = MACH_PORT_NULL; in arch_launchChild()
336 mach_port_t exception_port = MACH_PORT_NULL; in arch_launchChild()
469 mach_port_t bootstrap = MACH_PORT_NULL; in arch_archInit()
693 kern_return_t catch_mach_exception_raise(mach_port_t exception_port, mach_port_t thread, in catch_mach_exception_raise()
694 mach_port_t task, exception_type_t exception, mach_exception_data_t code, in catch_mach_exception_raise()
700 kern_return_t catch_mach_exception_raise_state(mach_port_t exception_port, in catch_mach_exception_raise_state()
/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/libchrome/mojo/public/cpp/system/
Dplatform_handle.h176 MOJO_CPP_SYSTEM_EXPORT ScopedHandle WrapMachPort(mach_port_t port);
181 mach_port_t* port);
Dplatform_handle.cc135 region_handle.reset(static_cast<mach_port_t>(platform_handles[0].value)); in UnwrapPlatformSharedMemoryRegion()
322 static_cast<mach_port_t>(platform_handles[0].value), num_bytes, guid); in UnwrapSharedMemoryHandle()
399 ScopedHandle WrapMachPort(mach_port_t port) { in WrapMachPort()
420 MojoResult UnwrapMachPort(ScopedHandle handle, mach_port_t* port) { in UnwrapMachPort()
430 *port = static_cast<mach_port_t>(platform_handle.value); in UnwrapMachPort()
/external/libchrome/base/process/
Dprocess_metrics.h247 mach_port_t TaskForPid(ProcessHandle process) const;
523 BASE_EXPORT MachVMRegionResult GetTopInfo(mach_port_t task,
534 BASE_EXPORT MachVMRegionResult GetBasicInfo(mach_port_t task,
/external/clang/test/Analysis/
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-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.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