Home
last modified time | relevance | path

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

1234

/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/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 …]
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_;
Dminidump_generator.h103 MinidumpGenerator(mach_port_t crashing_task, mach_port_t handler_thread);
118 mach_port_t thread_name) { in SetExceptionInformation()
139 virtual bool WriteThreadStream(mach_port_t thread_id, MDRawThread *thread);
221 mach_port_t exception_thread_;
222 mach_port_t crashing_task_;
223 mach_port_t handler_thread_;
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/llvm-project/lldb/tools/debugserver/source/MacOSX/
DMachException.cpp26 catch_mach_exception_raise(mach_port_t exception_port, mach_port_t thread,
27 mach_port_t task, exception_type_t exception,
32 mach_port_t exception_port, exception_type_t exception,
40 mach_port_t exception_port, mach_port_t thread, mach_port_t task,
58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state()
74 mach_port_t exc_port, mach_port_t thread_port, mach_port_t task_port, in catch_mach_exception_raise_state_identity()
93 catch_mach_exception_raise(mach_port_t exc_port, mach_port_t thread_port, in catch_mach_exception_raise()
94 mach_port_t task_port, exception_type_t exc_type, in catch_mach_exception_raise()
223 kern_return_t MachException::Message::Receive(mach_port_t port, in Receive()
226 mach_port_t notify_port) { in Receive()
DMachException.h33 mach_port_t ports[EXC_TYPES_COUNT];
99 kern_return_t Receive(mach_port_t receive_port, mach_msg_option_t options,
101 mach_port_t notify_port = MACH_PORT_NULL);
DMachTask.h64 mach_port_t ExceptionPort() const;
99 mach_port_t m_exception_port; // Exception port on which we will receive child
/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/llvm-project/lldb/tools/darwin-threads/
Dexamine-threads.c172 mach_port_t local_name; in inferior_namespace_mach_port_num()
181 nameslen * sizeof(mach_port_t)); in inferior_namespace_mach_port_num()
183 typeslen * sizeof(mach_port_t)); in inferior_namespace_mach_port_num()
189 nameslen * sizeof(mach_port_t)); in inferior_namespace_mach_port_num()
191 typeslen * sizeof(mach_port_t)); in inferior_namespace_mach_port_num()
272 mach_port_t mytask = mach_task_self(); in main()
/external/google-breakpad/src/client/ios/
Dexception_handler_no_mach.h77 mach_port_t thread_name);
130 mach_port_t thread_name,
/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.cc178 mach_port_t child_task = child_message.GetTranslatedPort(0); in TEST_F()
179 ASSERT_NE((mach_port_t)MACH_PORT_NULL, child_task); in TEST_F()
257 mach_port_t child_task = child_message.GetTranslatedPort(0); in TEST_F()
258 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);
/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,

1234