Home
last modified time | relevance | path

Searched refs:mojo_handle (Results 1 – 13 of 13) sorted by relevance

/external/libmojo/mojo/android/system/
Dcore_impl.cc126 jint mojo_handle) { in Close() argument
127 return MojoClose(mojo_handle); in Close()
133 jint mojo_handle, in Wait() argument
144 return MojoWait(mojo_handle, signals, deadline, signals_state); in Wait()
149 jint mojo_handle, in WriteMessage() argument
171 mojo_handle, buffer_start, buffer_size, handles, num_handles, flags); in WriteMessage()
177 jint mojo_handle, in ReadMessage() argument
196 mojo_handle, buffer_start, &buffer_size, handles, &num_handles, flags); in ReadMessage()
205 jint mojo_handle, in ReadData() argument
217 MojoReadData(mojo_handle, buffer_start, &buffer_size, flags); in ReadData()
[all …]
Dwatcher_impl.cc35 jint mojo_handle, in Start() argument
43 watcher_.Start(mojo::Handle(static_cast<MojoHandle>(mojo_handle)), in Start()
86 jint mojo_handle, in Start() argument
89 return watcher->Start(env, jcaller, mojo_handle, signals); in Start()
/external/libmojo/mojo/public/cpp/system/
Dplatform_handle.cc40 MojoHandle mojo_handle; in WrapPlatformFile() local
41 MojoResult result = MojoWrapPlatformHandle(&platform_handle, &mojo_handle); in WrapPlatformFile()
44 return ScopedHandle(Handle(mojo_handle)); in WrapPlatformFile()
94 MojoHandle mojo_handle; in WrapSharedMemoryHandle() local
96 &platform_handle, size, flags, &mojo_handle); in WrapSharedMemoryHandle()
99 return ScopedSharedBufferHandle(SharedBufferHandle(mojo_handle)); in WrapSharedMemoryHandle()
157 MojoHandle mojo_handle; in WrapMachPort() local
158 MojoResult result = MojoWrapPlatformHandle(&platform_handle, &mojo_handle); in WrapMachPort()
161 return ScopedHandle(Handle(mojo_handle)); in WrapMachPort()
/external/libmojo/mojo/public/c/system/
Dplatform_handle.h104 MojoHandle* mojo_handle); // Out
119 MojoUnwrapPlatformHandle(MojoHandle mojo_handle,
149 MojoHandle* mojo_handle); // Out
175 MojoHandle mojo_handle,
Dthunks.cc246 MojoHandle* mojo_handle) { in MojoWrapPlatformHandle() argument
248 return g_thunks.WrapPlatformHandle(platform_handle, mojo_handle); in MojoWrapPlatformHandle()
252 MojoHandle mojo_handle, in MojoUnwrapPlatformHandle() argument
255 return g_thunks.UnwrapPlatformHandle(mojo_handle, platform_handle); in MojoUnwrapPlatformHandle()
262 MojoHandle* mojo_handle) { in MojoWrapPlatformSharedBufferHandle() argument
265 flags, mojo_handle); in MojoWrapPlatformSharedBufferHandle()
269 MojoHandle mojo_handle, in MojoUnwrapPlatformSharedBufferHandle() argument
274 return g_thunks.UnwrapPlatformSharedBufferHandle(mojo_handle, platform_handle, in MojoUnwrapPlatformSharedBufferHandle()
Dthunks.h142 MojoHandle* mojo_handle);
144 MojoHandle mojo_handle,
150 MojoHandle* mojo_handle);
152 MojoHandle mojo_handle,
/external/libmojo/mojo/edk/embedder/
Dentrypoints.cc224 MojoHandle* mojo_handle) { in MojoWrapPlatformHandleImpl() argument
225 return g_core->WrapPlatformHandle(platform_handle, mojo_handle); in MojoWrapPlatformHandleImpl()
228 MojoResult MojoUnwrapPlatformHandleImpl(MojoHandle mojo_handle, in MojoUnwrapPlatformHandleImpl() argument
230 return g_core->UnwrapPlatformHandle(mojo_handle, platform_handle); in MojoUnwrapPlatformHandleImpl()
237 MojoHandle* mojo_handle) { in MojoWrapPlatformSharedBufferHandleImpl() argument
239 flags, mojo_handle); in MojoWrapPlatformSharedBufferHandleImpl()
243 MojoHandle mojo_handle, in MojoUnwrapPlatformSharedBufferHandleImpl() argument
247 return g_core->UnwrapPlatformSharedBufferHandle(mojo_handle, platform_handle, in MojoUnwrapPlatformSharedBufferHandleImpl()
Dembedder.cc108 MojoHandle mojo_handle, in PassSharedMemoryHandle() argument
113 mojo_handle, shared_memory_handle, num_bytes, read_only); in PassSharedMemoryHandle()
Dembedder.h116 PassSharedMemoryHandle(MojoHandle mojo_handle,
/external/libmojo/ipc/
Dipc_channel_handle.h31 ChannelHandle(mojo::MessagePipeHandle h) : mojo_handle(h) {}
33 bool is_mojo_channel_handle() const { return mojo_handle.is_valid(); }
35 mojo::MessagePipeHandle mojo_handle;
Dipc_message_utils.cc1029 GetParamSize(sizer, p.mojo_handle); in GetSize()
1038 WriteParam(m, p.mojo_handle); in Write()
1048 return ReadParam(m, iter, &r->mojo_handle); in Read()
1058 LogParam(p.mojo_handle, l); in Log()
/external/libmojo/mojo/edk/system/
Dcore.h111 MojoHandle mojo_handle,
255 MojoHandle* mojo_handle);
256 MojoResult UnwrapPlatformHandle(MojoHandle mojo_handle,
262 MojoHandle* mojo_handle);
264 MojoHandle mojo_handle,
Dcore.cc293 MojoHandle mojo_handle, in PassSharedMemoryHandle() argument
307 dispatcher = handles_.GetDispatcher(mojo_handle); in PassSharedMemoryHandle()
311 result = handles_.GetAndRemoveDispatcher(mojo_handle, &dispatcher); in PassSharedMemoryHandle()
1001 MojoHandle* mojo_handle) { in WrapPlatformHandle() argument
1008 return CreatePlatformHandleWrapper(std::move(handle), mojo_handle); in WrapPlatformHandle()
1011 MojoResult Core::UnwrapPlatformHandle(MojoHandle mojo_handle, in UnwrapPlatformHandle() argument
1014 MojoResult result = PassWrappedPlatformHandle(mojo_handle, &handle); in UnwrapPlatformHandle()
1026 MojoHandle* mojo_handle) { in WrapPlatformSharedBufferHandle() argument
1053 *mojo_handle = h; in WrapPlatformSharedBufferHandle()
1058 MojoHandle mojo_handle, in UnwrapPlatformSharedBufferHandle() argument
[all …]