Home
last modified time | relevance | path

Searched refs:MojoHandle (Results 1 – 25 of 106) sorted by relevance

12345

/external/chromium_org/mojo/public/platform/native/
Dsystem_thunks.h40 MojoResult (*Close)(MojoHandle handle);
41 MojoResult (*Wait)(MojoHandle handle,
44 MojoResult (*WaitMany)(const MojoHandle* handles,
50 MojoHandle* message_pipe_handle0,
51 MojoHandle* message_pipe_handle1);
52 MojoResult (*WriteMessage)(MojoHandle message_pipe_handle,
55 const MojoHandle* handles,
58 MojoResult (*ReadMessage)(MojoHandle message_pipe_handle,
61 MojoHandle* handles,
65 MojoHandle* data_pipe_producer_handle,
[all …]
Dsystem_thunks.cc20 MojoResult MojoClose(MojoHandle handle) { in MojoClose()
25 MojoResult MojoWait(MojoHandle handle, in MojoWait()
32 MojoResult MojoWaitMany(const MojoHandle* handles, in MojoWaitMany()
41 MojoHandle* message_pipe_handle0, in MojoCreateMessagePipe()
42 MojoHandle* message_pipe_handle1) { in MojoCreateMessagePipe()
48 MojoResult MojoWriteMessage(MojoHandle message_pipe_handle, in MojoWriteMessage()
51 const MojoHandle* handles, in MojoWriteMessage()
59 MojoResult MojoReadMessage(MojoHandle message_pipe_handle, in MojoReadMessage()
62 MojoHandle* handles, in MojoReadMessage()
71 MojoHandle* data_pipe_producer_handle, in MojoCreateDataPipe()
[all …]
/external/chromium_org/mojo/system/
Dcore.h46 MojoHandle AddDispatcher(const scoped_refptr<Dispatcher>& dispatcher);
50 scoped_refptr<Dispatcher> GetDispatcher(MojoHandle handle);
60 MojoResult Close(MojoHandle handle);
61 MojoResult Wait(MojoHandle handle,
65 MojoResult WaitMany(UserPointer<const MojoHandle> handles,
73 UserPointer<MojoHandle> message_pipe_handle0,
74 UserPointer<MojoHandle> message_pipe_handle1);
75 MojoResult WriteMessage(MojoHandle message_pipe_handle,
78 UserPointer<const MojoHandle> handles,
81 MojoResult ReadMessage(MojoHandle message_pipe_handle,
[all …]
Dentrypoints.cc40 MojoResult MojoClose(MojoHandle handle) { in MojoClose()
44 MojoResult MojoWait(MojoHandle handle, in MojoWait()
51 MojoResult MojoWaitMany(const MojoHandle* handles, in MojoWaitMany()
67 MojoHandle* message_pipe_handle0, in MojoCreateMessagePipe()
68 MojoHandle* message_pipe_handle1) { in MojoCreateMessagePipe()
74 MojoResult MojoWriteMessage(MojoHandle message_pipe_handle, in MojoWriteMessage()
77 const MojoHandle* handles, in MojoWriteMessage()
88 MojoResult MojoReadMessage(MojoHandle message_pipe_handle, in MojoReadMessage()
91 MojoHandle* handles, in MojoReadMessage()
103 MojoHandle* data_pipe_producer_handle, in MojoCreateDataPipe()
[all …]
Dhandle_table.h51 Dispatcher* GetDispatcher(MojoHandle handle);
58 MojoResult GetAndRemoveDispatcher(MojoHandle handle,
63 MojoHandle AddDispatcher(const scoped_refptr<Dispatcher>& dispatcher);
69 std::pair<MojoHandle, MojoHandle> AddDispatcherPair(
80 MojoHandle* handles);
87 MojoHandle disallowed_handle,
88 const MojoHandle* handles,
94 void RemoveBusyHandles(const MojoHandle* handles, uint32_t num_handles);
99 void RestoreBusyHandles(const MojoHandle* handles, uint32_t num_handles);
129 typedef base::hash_map<MojoHandle, Entry> HandleToEntryMap;
[all …]
Dcore.cc86 MojoHandle Core::AddDispatcher(const scoped_refptr<Dispatcher>& dispatcher) { in AddDispatcher()
91 scoped_refptr<Dispatcher> Core::GetDispatcher(MojoHandle handle) { in GetDispatcher()
103 MojoResult Core::Close(MojoHandle handle) { in Close()
123 MojoResult Core::Wait(MojoHandle handle, in Wait()
140 MojoResult Core::WaitMany(UserPointer<const MojoHandle> handles, in WaitMany()
151 UserPointer<const MojoHandle>::Reader handles_reader(handles, num_handles); in WaitMany()
185 UserPointer<MojoHandle> message_pipe_handle0, in CreateMessagePipe()
186 UserPointer<MojoHandle> message_pipe_handle1) { in CreateMessagePipe()
198 std::pair<MojoHandle, MojoHandle> handle_pair; in CreateMessagePipe()
227 MojoResult Core::WriteMessage(MojoHandle message_pipe_handle, in WriteMessage()
[all …]
Dhandle_table.cc34 Dispatcher* HandleTable::GetDispatcher(MojoHandle handle) { in GetDispatcher()
44 MojoHandle handle, in GetAndRemoveDispatcher()
60 MojoHandle HandleTable::AddDispatcher( in AddDispatcher()
67 std::pair<MojoHandle, MojoHandle> HandleTable::AddDispatcherPair( in AddDispatcherPair()
77 MojoHandle* handles) { in AddDispatcherVector()
103 MojoHandle disallowed_handle, in MarkBusyAndStartTransport()
104 const MojoHandle* handles, in MarkBusyAndStartTransport()
187 MojoHandle HandleTable::AddDispatcherNoSizeCheck( in AddDispatcherNoSizeCheck()
202 MojoHandle new_handle = next_handle_; in AddDispatcherNoSizeCheck()
212 void HandleTable::RemoveBusyHandles(const MojoHandle* handles, in RemoveBusyHandles()
[all …]
Dcore_unittest.cc39 MojoHandle h = CreateMockHandle(&info); in TEST_F()
204 MojoHandle h = CreateMockHandle(&info); in TEST_F()
250 MojoHandle handles[2] = {MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID}; in TEST_F()
387 MojoHandle h = CreateMockHandle(&info); in TEST_F()
388 MojoHandle handles[2] = {MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID}; in TEST_F()
447 MojoHandle h2 = CreateMockHandle(&info2); in TEST_F()
512 MojoHandle h = CreateMockHandle(&info); in TEST_F()
541 MojoHandle handle = MOJO_HANDLE_INVALID; in TEST_F()
563 MojoHandle h; in TEST_F()
583 MojoHandle h = CreateMockHandle(&info); in TEST_F()
[all …]
/external/chromium_org/mojo/public/python/mojo/
Dc_core.pxd29 ctypedef uint32_t MojoHandle
30 const MojoHandle MOJO_HANDLE_INVALID
62 MojoResult MojoClose(MojoHandle handle)
63 MojoResult MojoWait(MojoHandle handle,
66 MojoResult MojoWaitMany(const MojoHandle* handles,
88 MojoHandle* message_pipe_handle0,
89 MojoHandle* message_pipe_handle1)
92 MojoHandle message_pipe_handle,
95 const MojoHandle* handles,
100 MojoHandle message_pipe_handle,
[all …]
/external/chromium_org/mojo/public/c/system/
Ddata_pipe.h132 MojoHandle* data_pipe_producer_handle, // Out.
133 MojoHandle* data_pipe_consumer_handle); // Out.
172 MojoWriteData(MojoHandle data_pipe_producer_handle,
217 MojoBeginWriteData(MojoHandle data_pipe_producer_handle,
245 MojoEndWriteData(MojoHandle data_pipe_producer_handle,
290 MOJO_SYSTEM_EXPORT MojoResult MojoReadData(MojoHandle data_pipe_consumer_handle,
332 MojoBeginReadData(MojoHandle data_pipe_consumer_handle,
357 MojoEndReadData(MojoHandle data_pipe_consumer_handle,
Dmessage_pipe.h97 MojoHandle* message_pipe_handle0, // Out.
98 MojoHandle* message_pipe_handle1); // Out.
129 MojoWriteMessage(MojoHandle message_pipe_handle,
132 const MojoHandle* handles, // Optional.
168 MojoReadMessage(MojoHandle message_pipe_handle,
171 MojoHandle* handles, // Optional out.
Dbuffer.h120 MojoHandle* shared_buffer_handle); // Out.
139 MojoHandle buffer_handle,
141 MojoHandle* new_buffer_handle); // Out.
165 MOJO_SYSTEM_EXPORT MojoResult MojoMapBuffer(MojoHandle buffer_handle,
Dfunctions.h43 MOJO_SYSTEM_EXPORT MojoResult MojoClose(MojoHandle handle);
73 MOJO_SYSTEM_EXPORT MojoResult MojoWait(MojoHandle handle,
99 MOJO_SYSTEM_EXPORT MojoResult MojoWaitMany(const MojoHandle* handles,
Dtypes.h27 typedef uint32_t MojoHandle; typedef
30 const MojoHandle MOJO_HANDLE_INVALID = 0;
32 #define MOJO_HANDLE_INVALID ((MojoHandle)0)
Dmain.h25 __cdecl MojoMain(MojoHandle service_provider_handle);
28 MojoMain(MojoHandle service_provider_handle);
/external/chromium_org/mojo/public/cpp/system/tests/
Dcore_unittest.cc35 Handle h1(static_cast<MojoHandle>(123)); in TEST()
36 EXPECT_EQ(static_cast<MojoHandle>(123), h1.value()); in TEST()
37 EXPECT_EQ(static_cast<MojoHandle>(123), *h1.mutable_value()); in TEST()
39 *h1.mutable_value() = static_cast<MojoHandle>(456); in TEST()
40 EXPECT_EQ(static_cast<MojoHandle>(456), h1.value()); in TEST()
44 EXPECT_EQ(static_cast<MojoHandle>(456), h0.value()); in TEST()
48 h1.set_value(static_cast<MojoHandle>(789)); in TEST()
50 EXPECT_EQ(static_cast<MojoHandle>(789), h0.value()); in TEST()
52 EXPECT_EQ(static_cast<MojoHandle>(456), h1.value()); in TEST()
57 EXPECT_EQ(static_cast<MojoHandle>(789), h2.value()); in TEST()
[all …]
/external/chromium_org/mojo/public/cpp/system/
Dhandle.h158 const MojoHandle kInvalidHandleValue = MOJO_HANDLE_INVALID;
164 explicit Handle(MojoHandle value) : value_(value) {} in Handle()
168 MojoHandle temp = value_; in swap()
177 const MojoHandle& value() const { return value_; } in value()
178 MojoHandle* mutable_value() { return &value_; } in mutable_value()
179 void set_value(MojoHandle value) { value_ = value; } in set_value()
182 MojoHandle value_;
188 MOJO_COMPILE_ASSERT(sizeof(Handle) == sizeof(MojoHandle),
222 reinterpret_cast<const MojoHandle*>(&first_handle), in WaitMany()
Dmessage_pipe.h21 explicit MessagePipeHandle(MojoHandle value) : Handle(value) {} in MessagePipeHandle()
57 const MojoHandle* handles, in WriteMessageRaw()
67 MojoHandle* handles, in ReadMessageRaw()
/external/chromium_org/mojo/embedder/
Dembedder_unittest.cc64 MojoHandle bootstrap_message_pipe() const { return bootstrap_message_pipe_; } in bootstrap_message_pipe()
90 MojoHandle bootstrap_message_pipe_;
123 MojoHandle server_mp = server_channel.bootstrap_message_pipe(); in TEST_F()
127 MojoHandle client_mp = client_channel.bootstrap_message_pipe(); in TEST_F()
180 MojoHandle server_mp = server_channel.bootstrap_message_pipe(); in TEST_F()
184 MojoHandle client_mp = client_channel.bootstrap_message_pipe(); in TEST_F()
187 MojoHandle h0, h1; in TEST_F()
230 MojoHandle handles[10] = {}; in TEST_F()
349 MojoHandle server_mp = server_channel.bootstrap_message_pipe(); in TEST_F()
386 MojoHandle mp0, mp1; in TEST_F()
[all …]
Dembedder.h114 MojoHandle* platform_handle_wrapper_handle);
119 PassWrappedPlatformHandle(MojoHandle platform_handle_wrapper_handle,
/external/chromium_org/mojo/android/system/
Dcore_impl.cc69 const MojoHandle* handle_start = static_cast<const MojoHandle*>(buffer_start); in WaitMany()
88 MojoHandle handle1; in CreateMessagePipe()
89 MojoHandle handle2; in CreateMessagePipe()
108 MojoHandle handle1; in CreateDataPipe()
109 MojoHandle handle2; in CreateDataPipe()
129 MojoHandle handle; in CreateSharedBuffer()
162 const MojoHandle* handles = 0; in WriteMessage()
166 static_cast<MojoHandle*>(env->GetDirectBufferAddress(handles_buffer)); in WriteMessage()
187 MojoHandle* handles = 0; in ReadMessage()
191 static_cast<MojoHandle*>(env->GetDirectBufferAddress(handles_buffer)); in ReadMessage()
[all …]
/external/chromium_org/ipc/mojo/
Dipc_message_pipe_reader.h51 MojoHandle handle() const { return pipe_.get().value(); } in handle()
60 void TakeHandleBuffer(std::vector<MojoHandle>* handle_buffer) { in TakeHandleBuffer()
88 std::vector<MojoHandle> handle_buffer_;
Dipc_channel_mojo_readers.cc104 std::vector<MojoHandle> handle_buffer; in OnMessageReceived()
138 std::vector<MojoHandle> handles; in Send()
221 MojoHandle peer_to_send = peer.get().value(); in SendHelloRequest()
270 MojoHandle message_channel) { in RespondHelloRequest()
304 std::vector<MojoHandle> handle_buffer; in OnMessageReceived()
/external/chromium_org/mojo/public/c/system/tests/
Dcore_perftest.cc30 MessagePipeWriterThread(MojoHandle handle, uint32_t num_bytes) in MessagePipeWriterThread()
59 const MojoHandle handle_;
68 explicit MessagePipeReaderThread(MojoHandle handle) in MessagePipeReaderThread()
105 const MojoHandle handle_;
244 MojoHandle h0_;
245 MojoHandle h1_;
/external/chromium_org/mojo/bindings/js/
Dcore.cc51 MojoHandle handle0 = MOJO_HANDLE_INVALID; in CreateMessagePipe()
52 MojoHandle handle1 = MOJO_HANDLE_INVALID; in CreateMessagePipe()
89 std::vector<MojoHandle> raw_handles(handles.size()); in WriteMessage()
132 reinterpret_cast<MojoHandle*>(&handles[0]), in ReadMessage()
150 MojoHandle producer_handle = MOJO_HANDLE_INVALID; in CreateDataPipe()
151 MojoHandle consumer_handle = MOJO_HANDLE_INVALID; in CreateDataPipe()

12345