Searched refs:platform_handle (Results 1 - 25 of 35) sorted by relevance

12

/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 Dsimple_platform_support.cc19 ScopedPlatformHandle platform_handle) {
21 num_bytes, platform_handle.Pass());
17 CreateSharedBufferFromHandle( size_t num_bytes, ScopedPlatformHandle platform_handle) argument
H A Dembedder.h32 // Both creation functions have a |platform_handle| argument, which should be an
64 // Creates a channel; must only be called from the I/O thread. |platform_handle|
70 CreateChannelOnIOThread(ScopedPlatformHandle platform_handle,
75 // |platform_handle| should be a handle to a connected OS "pipe".
84 CreateChannel(ScopedPlatformHandle platform_handle,
109 // pipes. Note: This takes ownership (and thus closes) |platform_handle| even on
113 CreatePlatformHandleWrapper(ScopedPlatformHandle platform_handle,
120 ScopedPlatformHandle* platform_handle);
H A Dembedder.cc43 ScopedPlatformHandle platform_handle,
45 DCHECK(platform_handle.is_valid());
50 if (!channel->Init(system::RawChannel::Create(platform_handle.Pass()))) {
51 // This is very unusual (e.g., maybe |platform_handle| was invalid or we
83 ScopedPlatformHandle platform_handle,
89 MakeChannel(core, platform_handle.Pass(), channel_endpoint);
108 ScopedPlatformHandle platform_handle,
110 DCHECK(platform_handle.is_valid());
124 MakeChannel(core, platform_handle.Pass(), channel_endpoint);
130 ScopedPlatformHandle platform_handle,
41 MakeChannel( system::Core* core, ScopedPlatformHandle platform_handle, scoped_refptr<system::ChannelEndpoint> channel_endpoint) argument
81 CreateChannelHelper( system::Core* core, ScopedPlatformHandle platform_handle, scoped_ptr<ChannelInfo> channel_info, scoped_refptr<system::ChannelEndpoint> channel_endpoint, DidCreateChannelCallback callback, scoped_refptr<base::TaskRunner> callback_thread_task_runner) argument
107 CreateChannelOnIOThread( ScopedPlatformHandle platform_handle, ChannelInfo** channel_info) argument
129 CreateChannel( ScopedPlatformHandle platform_handle, scoped_refptr<base::TaskRunner> io_thread_task_runner, DidCreateChannelCallback callback, scoped_refptr<base::TaskRunner> callback_thread_task_runner) argument
197 CreatePlatformHandleWrapper( ScopedPlatformHandle platform_handle, MojoHandle* platform_handle_wrapper_handle) argument
218 PassWrappedPlatformHandle(MojoHandle platform_handle_wrapper_handle, ScopedPlatformHandle* platform_handle) argument
[all...]
H A Dplatform_handle_utils.h8 #include "mojo/embedder/platform_handle.h"
29 DuplicatePlatformHandle(PlatformHandle platform_handle);
H A Dsimple_platform_support.h28 ScopedPlatformHandle platform_handle) OVERRIDE;
H A Dplatform_support.h28 ScopedPlatformHandle platform_handle) = 0;
H A Dsimple_platform_shared_buffer.cc33 ScopedPlatformHandle platform_handle) {
37 if (!rv->InitFromPlatformHandle(platform_handle.Pass())) {
31 CreateFromPlatformHandle( size_t num_bytes, ScopedPlatformHandle platform_handle) argument
H A Dsimple_platform_shared_buffer.h27 ScopedPlatformHandle platform_handle);
50 // should verify that |platform_handle| is an appropriate handle for the
52 bool InitFromPlatformHandle(ScopedPlatformHandle platform_handle);
H A Dsimple_platform_shared_buffer_posix.cc24 #include "mojo/embedder/platform_handle.h"
87 ScopedPlatformHandle platform_handle) {
97 if (fstat(platform_handle.get().fd, &sb) != 0) {
114 handle_ = platform_handle.Pass();
86 InitFromPlatformHandle( ScopedPlatformHandle platform_handle) argument
H A Dsimple_platform_shared_buffer_win.cc13 #include "mojo/embedder/platform_handle.h"
51 ScopedPlatformHandle platform_handle) {
50 InitFromPlatformHandle( ScopedPlatformHandle platform_handle) argument
H A Dembedder_unittest.cc30 // |TaskRunner|) attached to the given |platform_handle|. After construction,
36 ScopedPlatformHandle platform_handle)
42 CreateChannel(platform_handle.Pass(),
35 ScopedTestChannel(scoped_refptr<base::TaskRunner> io_thread_task_runner, ScopedPlatformHandle platform_handle) argument
/external/chromium_org/mojo/system/
H A Dmessage_pipe_test_utils.cc44 void ChannelThread::Start(embedder::ScopedPlatformHandle platform_handle, argument
51 base::Passed(&platform_handle),
72 embedder::ScopedPlatformHandle platform_handle,
75 CHECK(platform_handle.is_valid());
79 CHECK(channel_->Init(RawChannel::Create(platform_handle.Pass())));
71 InitChannelOnIOThread( embedder::ScopedPlatformHandle platform_handle, scoped_refptr<ChannelEndpoint> channel_endpoint) 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 Dmessage_pipe_test_utils.h32 void Start(embedder::ScopedPlatformHandle platform_handle,
37 void InitChannelOnIOThread(embedder::ScopedPlatformHandle platform_handle,
H A Dplatform_handle_dispatcher.h22 embedder::ScopedPlatformHandle platform_handle);
H A Dshared_buffer_dispatcher.cc119 embedder::PlatformHandle platform_handle; local
122 std::swap(platform_handle, (*platform_handles)[platform_handle_index]);
124 // Wrapping |platform_handle| in a |ScopedPlatformHandle| means that it'll be
128 num_bytes, embedder::ScopedPlatformHandle(platform_handle)));
257 embedder::ScopedPlatformHandle platform_handle(
260 if (!platform_handle.is_valid()) {
267 platform_handles->push_back(platform_handle.release());
/external/chromium_org/base/threading/
H A Dplatform_thread_posix.cc77 PlatformThread::CurrentHandle().platform_handle(),
83 PlatformThread::CurrentHandle().platform_handle(),
138 CHECK_EQ(handle, thread_handle->platform_handle());
H A Dplatform_thread_win.cc59 PlatformThreadHandle::Handle platform_handle; local
63 &platform_handle,
71 scoped_platform_handle.Set(platform_handle);
H A Dplatform_thread.h100 Handle platform_handle() const { function in class:base::PlatformThreadHandle
/external/chromium_org/ipc/mojo/
H A Dipc_channel_mojo.cc228 mojo::embedder::ScopedPlatformHandle platform_handle; local
230 handle_buffer[i], &platform_handle);
238 base::ScopedFD(platform_handle.release().fd));
/external/chromium_org/mojo/
H A Dmojo_system_impl.target.darwin-arm64.mk31 mojo/embedder/platform_handle.cc \
H A Dmojo_system_impl.target.darwin-mips.mk31 mojo/embedder/platform_handle.cc \
H A Dmojo_system_impl.target.darwin-mips64.mk31 mojo/embedder/platform_handle.cc \

Completed in 607 milliseconds

12