Home
last modified time | relevance | path

Searched refs:MACH_PORT_NULL (Results 1 – 25 of 49) sorted by relevance

12

/external/libchrome/mojo/core/
Dmach_port_relay.cc110 if (task_port == MACH_PORT_NULL) { in SendPortsToProcess()
125 if (intermediate_port == MACH_PORT_NULL) { in SendPortsToProcess()
157 if (port_name == MACH_PORT_NULL) in ExtractPort()
161 if (task_port == MACH_PORT_NULL) { in ExtractPort()
166 mach_port_t extracted_right = MACH_PORT_NULL; in ExtractPort()
Dplatform_handle_in_transit.h81 bool is_mach_port_name() const { return mach_port_name_ != MACH_PORT_NULL; } in is_mach_port_name()
98 mach_port_t mach_port_name_ = MACH_PORT_NULL;
Dplatform_handle_in_transit.cc93 mach_port_name_ = MACH_PORT_NULL; in operator =()
144 if (name == MACH_PORT_NULL) { in CreateForMachPortName()
/external/cronet/base/mac/
Dscoped_mach_port.h20 return MACH_PORT_NULL; in InvalidValue()
28 return MACH_PORT_NULL; in InvalidValue()
36 return MACH_PORT_NULL; in InvalidValue()
Dmach_port_rendezvous.cc77 DCHECK(name_ == MACH_PORT_NULL); in Destroy()
102 name_ = MACH_PORT_NULL; in Destroy()
174 server_port_.get(), 0, MACH_PORT_NULL); in HandleRequest()
201 mr = mach_msg(header, MACH_SEND_MSG, header->msgh_size, 0, MACH_PORT_NULL, in HandleRequest()
202 MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); in HandleRequest()
345 message->header.msgh_local_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); in SendRequest()
Dmach_port_rendezvous_unittest.cc59 MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); in MULTIPROCESS_TEST_MAIN()
90 MACH_PORT_NULL); in TEST_F()
Dmach_port_rendezvous.h69 mach_port_t name_ = MACH_PORT_NULL;
Ddispatch_source_mach_unittest.cc21 mach_port_t port = MACH_PORT_NULL; in SetUp()
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc155 OutHeadP->msgh_local_port = MACH_PORT_NULL; in breakpad_exc_server()
235 handler_port_(MACH_PORT_NULL), in ExceptionHandler()
262 handler_port_(MACH_PORT_NULL), in ExceptionHandler()
324 MinidumpGenerator generator(child, MACH_PORT_NULL); in WriteMinidumpForChild()
397 report_current_thread ? MACH_PORT_NULL : in WriteMinidumpWithException()
496 MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); in WaitForMessage()
524 mach_port_t thread = MACH_PORT_NULL; in WaitForMessage()
606 reply.header.msgh_size, 0, MACH_PORT_NULL, in WaitForMessage()
607 MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); in WaitForMessage()
786 handler_port_ = MACH_PORT_NULL; in Teardown()
[all …]
/external/cronet/base/synchronization/
Dwaitable_event_mac.cc59 MACH_PORT_NULL, 0, MACH_PORT_NULL); in SignalImpl()
111 timeout, MACH_PORT_NULL); in TimedWaitImpl()
200 sizeof(msg.header), port_set.get(), 0, MACH_PORT_NULL); in WaitMany()
225 sizeof(msg), port, 0, MACH_PORT_NULL); in PeekPort()
/external/cronet/base/process/
Dprocess_metrics_mac.cc60 if (task == MACH_PORT_NULL) in GetTaskInfo()
82 if (task == MACH_PORT_NULL) in GetPowerInfo()
123 if (task == MACH_PORT_NULL) in GetCumulativeCPUUsage()
254 mach_port_t task = MACH_PORT_NULL; in TaskForPid()
257 if (task == MACH_PORT_NULL && process_ == getpid()) in TaskForPid()
/external/google-breakpad/src/client/mac/Framework/
DOnDemandServer.h85 : server_port_(MACH_PORT_NULL), in OnDemandServer()
86 service_port_(MACH_PORT_NULL), in OnDemandServer()
DOnDemandServer.mm171 if (service_port_ != MACH_PORT_NULL) {
173 service_port_ = MACH_PORT_NULL;
176 if (server_port_ != MACH_PORT_NULL) {
180 MACH_PORT_NULL);
187 server_port_ = MACH_PORT_NULL;
/external/cronet/ipc/
Dmach_port_attachment_mac.cc16 if (mach_port != MACH_PORT_NULL) { in MachPortAttachmentMac()
28 if (mach_port_ != MACH_PORT_NULL && owns_mach_port_) { in ~MachPortAttachmentMac()
Dmach_port_mac.h23 MachPortMac() : mach_port_(MACH_PORT_NULL) {} in MachPortMac()
/external/google-breakpad/src/common/mac/
DMachIPC.mm43 head.msgh_local_port = MACH_PORT_NULL;
160 return MACH_PORT_NULL;
242 out_message->head.msgh_remote_port = MACH_PORT_NULL;
255 MACH_PORT_NULL);
299 MACH_PORT_NULL,
301 MACH_PORT_NULL);
/external/google-breakpad/src/client/mac/tests/
Dminidump_generator_test.cc179 ASSERT_NE((mach_port_t)MACH_PORT_NULL, child_task); in TEST_F()
182 MinidumpGenerator generator(child_task, MACH_PORT_NULL); in TEST_F()
258 ASSERT_NE((mach_port_t)MACH_PORT_NULL, child_task); in TEST_F()
261 MinidumpGenerator generator(child_task, MACH_PORT_NULL); in TEST_F()
/external/cronet/testing/libfuzzer/fuzzers/mach/
Dmach_message_converter.cc144 if (opt_port.name != MACH_PORT_NULL) { in ConvertProtoToMachMessage()
173 result.message.header->msgh_size, 0, MACH_PORT_NULL, in SendMessage()
174 /*timeout=*/0, MACH_PORT_NULL); in SendMessage()
Dmach_message_converter.h22 mach_port_t name = MACH_PORT_NULL;
/external/cronet/base/profiler/
Dsuspendable_thread_delegate_mac.cc54 : MACH_PORT_NULL) {} in ScopedSuspendThread()
67 return thread_port_ != MACH_PORT_NULL; in WasSuccessful()
/external/cronet/base/memory/
Dplatform_shared_memory_region_mac.cc105 mac::ScopedMachSendRight::Receiver(named_right).get(), MACH_PORT_NULL); in ConvertToReadOnly()
149 MACH_PORT_NULL); // Parent handle. in Create()
/external/google-breakpad/src/client/mac/crash_generation/
Dcrash_generation_client.h52 return RequestDumpForException(0, 0, 0, MACH_PORT_NULL); in RequestDump()
Dcrash_generation_server.cc144 if (ack_port != MACH_PORT_DEAD && ack_port != MACH_PORT_NULL) { in WaitForOneMessage()
/external/cronet/base/message_loop/
Dmessage_pump_kqueue.cc120 port_ = MACH_PORT_NULL; in Reset()
248 DCHECK(port != MACH_PORT_NULL); in WatchMachReceivePort()
252 if (controller->port() != MACH_PORT_NULL) { in WatchMachReceivePort()
/external/libchrome/base/memory/
Dshared_memory_handle.h212 mach_port_t memory_object_ = MACH_PORT_NULL;

12