Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/java/system/
Dcore_impl.cc89 jint mojo_handle) { in JNI_CoreImpl_Close() argument
90 return MojoClose(mojo_handle); in JNI_CoreImpl_Close()
96 jint mojo_handle, in JNI_CoreImpl_QueryHandleSignalsState() argument
103 return MojoQueryHandleSignalsState(mojo_handle, signals_state); in JNI_CoreImpl_QueryHandleSignalsState()
109 jint mojo_handle, in JNI_CoreImpl_WriteMessage() argument
131 MessagePipeHandle(static_cast<MojoHandle>(mojo_handle)), buffer_start, in JNI_CoreImpl_WriteMessage()
138 jint mojo_handle, in JNI_CoreImpl_ReadMessage() argument
142 ReadMessageNew(MessagePipeHandle(mojo_handle), &message, flags); in JNI_CoreImpl_ReadMessage()
179 jint mojo_handle, in JNI_CoreImpl_ReadData() argument
194 MojoReadData(mojo_handle, &options, buffer_start, &buffer_size); in JNI_CoreImpl_ReadData()
[all …]
Dwatcher_impl.cc33 jint mojo_handle, in Start() argument
41 watcher_.Watch(mojo::Handle(static_cast<MojoHandle>(mojo_handle)), in Start()
85 jint mojo_handle, in JNI_WatcherImpl_Start() argument
88 return watcher->Start(env, jcaller, mojo_handle, signals); in JNI_WatcherImpl_Start()
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc90 MojoHandle mojo_handle; in WrapPlatformSharedMemoryRegion() local
93 access_mode, nullptr, &mojo_handle); in WrapPlatformSharedMemoryRegion()
96 return ScopedSharedBufferHandle(SharedBufferHandle(mojo_handle)); in WrapPlatformSharedMemoryRegion()
100 ScopedSharedBufferHandle mojo_handle) { in UnwrapPlatformSharedMemoryRegion() argument
101 if (!mojo_handle.is_valid()) in UnwrapPlatformSharedMemoryRegion()
112 mojo_handle.release().value(), nullptr, platform_handles, in UnwrapPlatformSharedMemoryRegion()
211 MojoHandle mojo_handle; in WrapPlatformFile() local
213 MojoWrapPlatformHandle(&platform_handle, nullptr, &mojo_handle); in WrapPlatformFile()
216 return ScopedHandle(Handle(mojo_handle)); in WrapPlatformFile()
275 MojoHandle mojo_handle; in WrapSharedMemoryHandle() local
[all …]
/external/libchrome/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_channel_common.cc40 mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle), in CreateClient()
56 mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle), in CreateServer()
Dipc_channel_factory.cc28 mojo::ScopedMessagePipeHandle(handle_.mojo_handle), mode_, listener, in BuildChannel()
Dipc_message_utils_unittest.cc110 EXPECT_EQ(channel_handle.mojo_handle, result_handle.mojo_handle); in TEST()
Dipc_message_utils.cc1294 WriteParam(m, p.mojo_handle); in Write()
1304 return ReadParam(m, iter, &r->mojo_handle); in Read()
1314 LogParam(p.mojo_handle, l); in Log()
/external/libchrome/mojo/public/c/system/
Dplatform_handle.h213 MojoHandle* mojo_handle);
230 MojoUnwrapPlatformHandle(MojoHandle mojo_handle,
271 MojoHandle* mojo_handle);
310 MojoHandle mojo_handle,
Dthunks.cc372 MojoHandle* mojo_handle) { in MojoWrapPlatformHandle() argument
374 mojo_handle); in MojoWrapPlatformHandle()
378 MojoHandle mojo_handle, in MojoUnwrapPlatformHandle() argument
381 return INVOKE_THUNK(UnwrapPlatformHandle, mojo_handle, options, in MojoUnwrapPlatformHandle()
392 MojoHandle* mojo_handle) { in MojoWrapPlatformSharedMemoryRegion() argument
395 options, mojo_handle); in MojoWrapPlatformSharedMemoryRegion()
399 MojoHandle mojo_handle, in MojoUnwrapPlatformSharedMemoryRegion() argument
406 return INVOKE_THUNK(UnwrapPlatformSharedMemoryRegion, mojo_handle, options, in MojoUnwrapPlatformSharedMemoryRegion()
Dthunks.h166 MojoHandle* mojo_handle);
168 MojoHandle mojo_handle,
178 MojoHandle* mojo_handle);
180 MojoHandle mojo_handle,
/external/libchrome/mojo/core/
Dentrypoints.cc250 MojoHandle* mojo_handle) { in MojoWrapPlatformHandleImpl() argument
251 return g_core->WrapPlatformHandle(platform_handle, options, mojo_handle); in MojoWrapPlatformHandleImpl()
255 MojoHandle mojo_handle, in MojoUnwrapPlatformHandleImpl() argument
258 return g_core->UnwrapPlatformHandle(mojo_handle, options, platform_handle); in MojoUnwrapPlatformHandleImpl()
268 MojoHandle* mojo_handle) { in MojoWrapPlatformSharedMemoryRegionImpl() argument
271 options, mojo_handle); in MojoWrapPlatformSharedMemoryRegionImpl()
275 MojoHandle mojo_handle, in MojoUnwrapPlatformSharedMemoryRegionImpl() argument
283 mojo_handle, options, platform_handles, num_platform_handles, num_bytes, in MojoUnwrapPlatformSharedMemoryRegionImpl()
Dcore.h285 MojoHandle* mojo_handle);
287 MojoHandle mojo_handle,
297 MojoHandle* mojo_handle);
299 MojoHandle mojo_handle,
Dcore.cc991 MojoHandle* mojo_handle) { in WrapPlatformHandle() argument
1003 *mojo_handle = h; in WrapPlatformHandle()
1008 MojoHandle mojo_handle, in UnwrapPlatformHandle() argument
1019 dispatcher = handles_->GetDispatcher(mojo_handle); in UnwrapPlatformHandle()
1024 handles_->GetAndRemoveDispatcher(mojo_handle, &dispatcher); in UnwrapPlatformHandle()
1045 MojoHandle* mojo_handle) { in WrapPlatformSharedMemoryRegion() argument
1108 *mojo_handle = h; in WrapPlatformSharedMemoryRegion()
1113 MojoHandle mojo_handle, in UnwrapPlatformSharedMemoryRegion() argument
1124 result = handles_->GetAndRemoveDispatcher(mojo_handle, &dispatcher); in UnwrapPlatformSharedMemoryRegion()
/external/libchrome/libchrome_tools/patches/
DMojo-Check-if-dispatcher-is-null-in-Core-UnwrapPlatf.patch29 dispatcher = handles_->GetDispatcher(mojo_handle);
/external/libchrome/mojo/public/cpp/platform/
Dplatform_handle.h79 MojoPlatformHandle* mojo_handle); in COMPONENT_EXPORT()