/external/libchrome/mojo/public/cpp/base/ |
file_mojom_traits.cc | 7 #include "mojo/public/cpp/system/platform_handle.h" 21 base::PlatformFile platform_handle = base::kInvalidPlatformFile; local 22 if (mojo::UnwrapPlatformFile(data.TakeFd(), &platform_handle) != 26 *file = base::File(platform_handle, data.async());
|
/external/libchrome/ipc/ |
ipc_message_attachment.cc | 10 #include "mojo/public/cpp/system/platform_handle.h" 70 MojoPlatformHandle platform_handle = { local 71 sizeof(platform_handle), MOJO_PLATFORM_HANDLE_TYPE_MACH_PORT, 74 if (MojoWrapPlatformHandle(&platform_handle, nullptr, &wrapped_handle) != 84 MojoPlatformHandle platform_handle = { local 85 sizeof(platform_handle), MOJO_PLATFORM_HANDLE_TYPE_FUCHSIA_HANDLE, 88 if (MojoWrapPlatformHandle(&platform_handle, nullptr, &wrapped_handle) != 113 MojoPlatformHandle platform_handle = {sizeof(platform_handle), 0, 0}; 115 handle.release().value(), nullptr, &platform_handle); [all...] |
/external/libchrome/mojo/public/cpp/system/ |
platform_handle.cc | 5 #include "mojo/public/cpp/system/platform_handle.h" 183 MojoPlatformHandle platform_handle; local 184 PlatformHandle::ToMojoPlatformHandle(std::move(handle), &platform_handle); local 188 MojoWrapPlatformHandle(&platform_handle, nullptr, &wrapped_handle); 195 MojoPlatformHandle platform_handle; local 196 platform_handle.struct_size = sizeof(platform_handle); 198 nullptr, &platform_handle); 201 return PlatformHandle::FromMojoPlatformHandle(&platform_handle); 206 MojoPlatformHandle platform_handle; local 220 MojoPlatformHandle platform_handle; local 421 MojoPlatformHandle platform_handle; local [all...] |
invitation.cc | 10 #include "mojo/public/c/system/platform_handle.h" 11 #include "mojo/public/cpp/system/platform_handle.h" 31 PlatformHandle platform_handle, 34 PlatformHandle::ToMojoPlatformHandle(std::move(platform_handle), 66 MojoPlatformHandle platform_handle; local 69 &platform_handle, &endpoint); local
|
/external/libchrome/mojo/core/ |
platform_handle_dispatcher.h | 13 #include "mojo/public/cpp/platform/platform_handle.h" 21 PlatformHandle platform_handle); 47 PlatformHandleDispatcher(PlatformHandle platform_handle);
|
platform_handle_dispatcher.cc | 14 PlatformHandle platform_handle) { 15 return new PlatformHandleDispatcher(std::move(platform_handle)); 23 return Type::PLATFORM_HANDLE; 87 PlatformHandle platform_handle) 88 : platform_handle_(std::move(platform_handle)) {}
|
platform_wrapper_unittest.cc | 18 #include "mojo/public/c/system/platform_handle.h" 99 MojoPlatformHandle platform_handle; local 100 platform_handle.struct_size = sizeof(MojoPlatformHandle); 102 &platform_handle)); 103 EXPECT_EQ(SIMPLE_PLATFORM_HANDLE_TYPE, platform_handle.type); 104 base::File file(PlatformFileFromPlatformHandleValue(platform_handle.value)); 241 MojoPlatformHandle platform_handle; local 242 platform_handle.struct_size = 0; 244 MojoWrapPlatformHandle(&platform_handle, nullptr, &wrapped_handle));
|
entrypoints.cc | 14 #include "mojo/public/c/system/platform_handle.h" 248 const MojoPlatformHandle* platform_handle, 251 return g_core->WrapPlatformHandle(platform_handle, options, mojo_handle); 257 MojoPlatformHandle* platform_handle) { 258 return g_core->UnwrapPlatformHandle(mojo_handle, options, platform_handle);
|
shared_buffer_dispatcher.cc | 22 #include "mojo/public/c/system/platform_handle.h" 369 PlatformHandle platform_handle; local 372 region.PassPlatformHandle(), &platform_handle, &ignored_handle); 373 handles[0] = std::move(platform_handle);
|
core.h | 28 #include "mojo/public/c/system/platform_handle.h" 282 // "mojo/public/c/system/platform_handle.h". 283 MojoResult WrapPlatformHandle(const MojoPlatformHandle* platform_handle, 289 MojoPlatformHandle* platform_handle);
|
core.cc | 1034 PlatformHandle::ToMojoPlatformHandle(std::move(handle), platform_handle); local [all...] |
channel_posix.cc | 300 server_.platform_handle().GetFD().get(), false /* persistent */, 425 CHECK_EQ(fd, server_.platform_handle().GetFD().get()); 430 AcceptSocketConnection(server_.platform_handle().GetFD().get(), &socket_);
|
/external/libchrome/mojo/public/cpp/platform/ |
platform_channel_endpoint.h | 10 #include "mojo/public/cpp/platform/platform_handle.h" 31 const PlatformHandle& platform_handle() const { return handle_; } function
|
platform_channel_server_endpoint.h | 10 #include "mojo/public/cpp/platform/platform_handle.h" 32 const PlatformHandle& platform_handle() const { return handle_; } function
|
platform_channel.cc | 173 info->push_back(remote_endpoint_.platform_handle().GetHandle().Get()); 175 HandleToLong(remote_endpoint_.platform_handle().GetHandle().Get())); 178 info->push_back({id, remote_endpoint_.platform_handle().GetHandle().get()}); 181 int fd = remote_endpoint_.platform_handle().GetFD().get(); 196 info->emplace_back(remote_endpoint_.platform_handle().GetFD().get(), 230 DCHECK(remote_endpoint_.platform_handle().is_valid_handle());
|
/external/libchrome/mojo/public/c/system/ |
platform_handle.h | 196 // |platform_handle|: The platform handle to wrap. 204 // |MOJO_RESULT_INVALID_ARGUMENT| if |platform_handle| was not a valid 207 // NOTE: It is not always possible to detect if |platform_handle| is valid, 208 // particularly when |platform_handle->type| is valid but 209 // |platform_handle->value| does not represent a valid platform object. 211 MojoWrapPlatformHandle(const struct MojoPlatformHandle* platform_handle, 226 // |*platform_handle| contains the unwrapped platform handle. 232 struct MojoPlatformHandle* platform_handle); 262 // |MOJO_RESULT_INVALID_ARGUMENT| if |platform_handle| was not a valid
|
thunks.cc | 370 MojoResult MojoWrapPlatformHandle(const MojoPlatformHandle* platform_handle, 373 return INVOKE_THUNK(WrapPlatformHandle, platform_handle, options, 380 MojoPlatformHandle* platform_handle) { 382 platform_handle);
|
thunks.h | 164 const struct MojoPlatformHandle* platform_handle, 170 struct MojoPlatformHandle* platform_handle);
|
/external/libchrome/base/threading/ |
platform_thread_posix.cc | 73 PlatformThread::CurrentHandle().platform_handle(), 79 PlatformThread::CurrentHandle().platform_handle(), 230 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), nullptr)); 235 CHECK_EQ(0, pthread_detach(thread_handle.platform_handle()));
|
platform_thread.h | 96 Handle platform_handle() const { function in class:base::PlatformThreadHandle
|
/external/v4l2_codec2/ |
C2VDAAdaptorProxy.cpp | 15 #include <mojo/public/cpp/platform/platform_handle.h> 16 #include <mojo/public/cpp/system/platform_handle.h>
|
/external/libchrome/base/debug/ |
activity_tracker.cc | 163 thread_ref.as_tid = ::GetThreadId(handle.platform_handle()); 165 thread_ref.as_handle = handle.platform_handle(); 741 PlatformThread::CurrentHandle().platform_handle(); [all...] |