HomeSort by relevance Sort by last modified time
    Searched refs:MojoHandle (Results 1 - 22 of 22) sorted by null

  /external/chromium_org/mojo/public/system/
core_private.h 22 virtual MojoResult Close(MojoHandle handle) = 0;
23 virtual MojoResult Wait(MojoHandle handle,
26 virtual MojoResult WaitMany(const MojoHandle* handles,
30 virtual MojoResult CreateMessagePipe(MojoHandle* message_pipe_handle_0,
31 MojoHandle* message_pipe_handle_1) = 0;
32 virtual MojoResult WriteMessage(MojoHandle message_pipe_handle,
35 const MojoHandle* handles,
38 virtual MojoResult ReadMessage(MojoHandle message_pipe_handle,
41 MojoHandle* handles,
45 MojoHandle* data_pipe_producer_handle
    [all...]
core.h 24 // |MojoHandle|: Handles to Mojo objects.
27 typedef uint32_t MojoHandle;
30 const MojoHandle MOJO_HANDLE_INVALID = 0;
32 #define MOJO_HANDLE_INVALID ((MojoHandle) 0)
291 MOJO_SYSTEM_EXPORT MojoResult MojoClose(MojoHandle handle);
309 MOJO_SYSTEM_EXPORT MojoResult MojoWait(MojoHandle handle,
326 MOJO_SYSTEM_EXPORT MojoResult MojoWaitMany(const MojoHandle* handles,
347 MojoHandle* message_pipe_handle_0,
348 MojoHandle* message_pipe_handle_1);
377 MOJO_SYSTEM_EXPORT MojoResult MojoWriteMessage(MojoHandle message_pipe_handle
    [all...]
core_private.cc 19 MojoResult MojoClose(MojoHandle handle) {
24 MojoResult MojoWait(MojoHandle handle,
31 MojoResult MojoWaitMany(const MojoHandle* handles,
39 MojoResult MojoCreateMessagePipe(MojoHandle* message_pipe_handle_0,
40 MojoHandle* message_pipe_handle_1) {
46 MojoResult MojoWriteMessage(MojoHandle message_pipe_handle,
49 const MojoHandle* handles,
57 MojoResult MojoReadMessage(MojoHandle message_pipe_handle,
60 MojoHandle* handles,
69 MojoHandle* data_pipe_producer_handle
    [all...]
core_cpp.h 77 const MojoHandle kInvalidHandleValue = MOJO_HANDLE_INVALID;
79 // Wrapper base class for |MojoHandle|.
83 explicit Handle(MojoHandle value) : value_(value) {}
87 MojoHandle temp = value_;
96 MojoHandle value() const { return value_; }
97 MojoHandle* mutable_value() { return &value_; }
98 void set_value(MojoHandle value) { value_ = value; }
101 MojoHandle value_;
107 MOJO_COMPILE_ASSERT(sizeof(Handle) == sizeof(MojoHandle),
140 return MojoWaitMany(reinterpret_cast<const MojoHandle*>(&first_handle)
    [all...]
  /external/chromium_org/mojo/system/
core_impl.h 36 virtual MojoResult Close(MojoHandle handle) OVERRIDE;
37 virtual MojoResult Wait(MojoHandle handle,
40 virtual MojoResult WaitMany(const MojoHandle* handles,
45 MojoHandle* message_pipe_handle_0,
46 MojoHandle* message_pipe_handle_1) OVERRIDE;
47 virtual MojoResult WriteMessage(MojoHandle message_pipe_handle,
50 const MojoHandle* handles,
53 virtual MojoResult ReadMessage(MojoHandle message_pipe_handle,
56 MojoHandle* handles,
61 MojoHandle* data_pipe_producer_handle
    [all...]
core_impl.cc 96 MojoResult CoreImpl::Close(MojoHandle handle) {
119 MojoResult CoreImpl::Wait(MojoHandle handle,
125 MojoResult CoreImpl::WaitMany(const MojoHandle* handles,
129 if (!VerifyUserPointer<MojoHandle>(handles, num_handles))
140 MojoResult CoreImpl::CreateMessagePipe(MojoHandle* message_pipe_handle_0,
141 MojoHandle* message_pipe_handle_1) {
142 if (!VerifyUserPointer<MojoHandle>(message_pipe_handle_0, 1))
144 if (!VerifyUserPointer<MojoHandle>(message_pipe_handle_1, 1))
152 MojoHandle h0, h1;
176 MojoResult CoreImpl::WriteMessage(MojoHandle message_pipe_handle
    [all...]
core_test_base.h 35 MojoHandle CreateMockHandle(MockHandleInfo* info);
core_impl_unittest.cc 35 MojoHandle h = CreateMockHandle(&info);
132 MojoHandle h = CreateMockHandle(&info);
151 MojoHandle handles[2] = { MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID };
188 MojoHandle h;
206 MojoHandle h = CreateMockHandle(&info);
207 MojoHandle handles[2] = { MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID };
255 MojoHandle h_2 = CreateMockHandle(&info_2);
300 MojoHandle h = CreateMockHandle(&info);
326 MojoHandle h[2];
434 MojoHandle handles[10]
    [all...]
core_test_base.cc 176 MojoHandle CoreTestBase::CreateMockHandle(CoreTestBase::MockHandleInfo* info) {
  /external/chromium_org/mojo/apps/js/bindings/
handle.cc 11 return Converter<MojoHandle>::ToV8(isolate, val.value());
17 return Converter<MojoHandle>::FromV8(isolate, val, out->mutable_value());
core.cc 25 MojoHandle handle_0 = MOJO_HANDLE_INVALID;
26 MojoHandle handle_1 = MOJO_HANDLE_INVALID;
36 MojoResult WriteMessage(MojoHandle handle,
38 const std::vector<MojoHandle>& handles,
48 gin::Dictionary ReadMessage(const gin::Arguments& args, MojoHandle handle,
62 std::vector<MojoHandle> handles(num_handles);
  /external/chromium_org/mojo/apps/js/
mojo_runner_delegate.h 20 void Start(gin::Runner* runner, MojoHandle pipe, const std::string& module);
main.cc 26 void Start(MojoHandle pipe, const std::string& module) {
40 extern "C" MOJO_APPS_JS_EXPORT MojoResult CDECL MojoMain(MojoHandle pipe) {
mojo_runner_delegate.cc 34 MojoHandle pipe,
59 MojoHandle pipe,
  /external/chromium_org/mojo/public/tests/
system_core_cpp_unittest.cc 31 Handle h_1(static_cast<MojoHandle>(123));
32 EXPECT_EQ(static_cast<MojoHandle>(123), h_1.value());
33 EXPECT_EQ(static_cast<MojoHandle>(123), *h_1.mutable_value());
35 *h_1.mutable_value() = static_cast<MojoHandle>(456);
36 EXPECT_EQ(static_cast<MojoHandle>(456), h_1.value());
40 EXPECT_EQ(static_cast<MojoHandle>(456), h_0.value());
44 h_1.set_value(static_cast<MojoHandle>(789));
46 EXPECT_EQ(static_cast<MojoHandle>(789), h_0.value());
48 EXPECT_EQ(static_cast<MojoHandle>(456), h_1.value());
53 EXPECT_EQ(static_cast<MojoHandle>(789), h_2.value())
    [all...]
system_core_unittest.cc 23 MojoHandle h_0;
48 MojoHandle h_1;
system_core_perftest.cc 60 MojoHandle h_0_;
61 MojoHandle h_1_;
bindings_connector_unittest.cc 157 MojoHandle mojo_handle = handle0_.get().value();
  /external/chromium_org/mojo/public/bindings/lib/
bindings_serialization.cc 50 handle->set_value(static_cast<MojoHandle>(handles->size() - 1));
53 handle->set_value(static_cast<MojoHandle>(-1));
59 if (handle->value() == static_cast<MojoHandle>(-1)) {
connector.cc 100 reinterpret_cast<MojoHandle*>(&message.handles[0]),
137 reinterpret_cast<const MojoHandle*>(&message->handles[0]),
  /external/chromium_org/mojo/examples/sample_app/
sample_app.cc 39 extern "C" SAMPLE_APP_EXPORT MojoResult CDECL MojoMain(MojoHandle pipe) {
  /external/chromium_org/mojo/shell/
app_container.cc 20 typedef MojoResult (*MojoMainFunction)(MojoHandle pipe);

Completed in 96 milliseconds