Searched defs:platform_handle (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/mojo/embedder/
H A Dplatform_handle_utils_posix.cc14 ScopedPlatformHandle DuplicatePlatformHandle(PlatformHandle platform_handle) { argument
15 DCHECK(platform_handle.is_valid());
18 return ScopedPlatformHandle(PlatformHandle(dup(platform_handle.fd)));
H A Dplatform_handle_utils_win.cc14 ScopedPlatformHandle DuplicatePlatformHandle(PlatformHandle platform_handle) { argument
15 DCHECK(platform_handle.is_valid());
19 platform_handle.handle,
H A Dembedder.cc39 ScopedPlatformHandle platform_handle,
41 DCHECK(platform_handle.is_valid());
45 if (!channel->Init(system::RawChannel::Create(platform_handle.Pass()))) {
46 // This is very unusual (e.g., maybe |platform_handle| was invalid or we
77 ScopedPlatformHandle platform_handle,
82 new ChannelInfo(MakeChannel(platform_handle.Pass(), message_pipe)));
101 ScopedPlatformHandle platform_handle,
105 DCHECK(platform_handle.is_valid());
119 base::Passed(&platform_handle),
139 ScopedPlatformHandle platform_handle,
38 MakeChannel( ScopedPlatformHandle platform_handle, scoped_refptr<system::MessagePipe> message_pipe) argument
76 CreateChannelOnIOThread( ScopedPlatformHandle platform_handle, scoped_refptr<system::MessagePipe> message_pipe, DidCreateChannelCallback callback, scoped_refptr<base::TaskRunner> callback_thread_task_runner) argument
100 CreateChannel( ScopedPlatformHandle platform_handle, scoped_refptr<base::TaskRunner> io_thread_task_runner, DidCreateChannelCallback callback, scoped_refptr<base::TaskRunner> callback_thread_task_runner) argument
138 CreatePlatformHandleWrapper( ScopedPlatformHandle platform_handle, MojoHandle* platform_handle_wrapper_handle) argument
159 PassWrappedPlatformHandle(MojoHandle platform_handle_wrapper_handle, ScopedPlatformHandle* platform_handle) argument
[all...]
H A Dembedder_unittest.cc29 // |TaskRunner|) attached to the given |platform_handle|. After construction,
35 ScopedPlatformHandle platform_handle)
41 platform_handle.Pass(), io_thread_task_runner_,
34 ScopedTestChannel(scoped_refptr<base::TaskRunner> io_thread_task_runner, ScopedPlatformHandle platform_handle) argument
/external/chromium_org/mojo/system/
H A Draw_shared_buffer_win.cc13 #include "mojo/embedder/platform_handle.h"
48 embedder::ScopedPlatformHandle platform_handle) {
47 InitFromPlatformHandle( embedder::ScopedPlatformHandle platform_handle) argument
H A Draw_shared_buffer.cc30 embedder::ScopedPlatformHandle platform_handle) {
34 if (!rv->InitFromPlatformHandle(platform_handle.Pass())) {
28 CreateFromPlatformHandle( size_t num_bytes, embedder::ScopedPlatformHandle platform_handle) argument
H A Dplatform_handle_dispatcher.cc25 embedder::ScopedPlatformHandle platform_handle)
26 : platform_handle_(platform_handle.Pass()) {
54 embedder::PlatformHandle platform_handle; local
66 std::swap(platform_handle, (*platform_handles)[platform_handle_index]);
70 embedder::ScopedPlatformHandle(platform_handle)));
24 PlatformHandleDispatcher( embedder::ScopedPlatformHandle platform_handle) argument
H A Draw_shared_buffer_posix.cc24 #include "mojo/embedder/platform_handle.h"
87 embedder::ScopedPlatformHandle platform_handle) {
97 if (fstat(platform_handle.get().fd, &sb) != 0) {
114 handle_ = platform_handle.Pass();
86 InitFromPlatformHandle( embedder::ScopedPlatformHandle platform_handle) argument
H A Dmultiprocess_message_pipe_unittest.cc48 void Start(embedder::ScopedPlatformHandle platform_handle, argument
54 base::Unretained(this), base::Passed(&platform_handle),
75 void InitChannelOnIOThread(embedder::ScopedPlatformHandle platform_handle, argument
78 CHECK(platform_handle.is_valid());
82 CHECK(channel_->Init(RawChannel::Create(platform_handle.Pass())));
H A Dshared_buffer_dispatcher.cc112 embedder::PlatformHandle platform_handle; local
115 std::swap(platform_handle, (*platform_handles)[platform_handle_index]);
117 // Wrapping |platform_handle| in a |ScopedPlatformHandle| means that it'll be
121 embedder::ScopedPlatformHandle(platform_handle)));
247 embedder::ScopedPlatformHandle platform_handle(
251 if (!platform_handle.is_valid()) {
258 platform_handles->push_back(platform_handle.release());
/external/chromium_org/base/threading/
H A Dplatform_thread.h100 Handle platform_handle() const { function in class:base::PlatformThreadHandle
H A Dplatform_thread_win.cc59 PlatformThreadHandle::Handle platform_handle; local
63 &platform_handle,
71 scoped_platform_handle.Set(platform_handle);

Completed in 218 milliseconds