Home
last modified time | relevance | path

Searched refs:memory_handle (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc124 base::SharedMemoryHandle memory_handle = in TEST_F() local
130 os_buffer.value = reinterpret_cast<uint64_t>(memory_handle.GetHandle()); in TEST_F()
132 os_buffer.value = static_cast<uint64_t>(memory_handle.GetMemoryObject()); in TEST_F()
134 os_buffer.value = static_cast<uint64_t>(memory_handle.GetHandle()); in TEST_F()
140 base::UnguessableToken guid = memory_handle.GetGUID(); in TEST_F()
187 base::SharedMemoryHandle memory_handle( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
191 base::SharedMemoryHandle memory_handle( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
195 base::SharedMemoryHandle memory_handle( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
199 base::SharedMemoryHandle memory_handle( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
204 base::SharedMemory memory(memory_handle, false); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc238 const base::SharedMemoryHandle& memory_handle, in WrapSharedMemoryHandle() argument
241 if (!memory_handle.IsValid()) in WrapSharedMemoryHandle()
248 static_cast<uint64_t>(memory_handle.GetMemoryObject()); in WrapSharedMemoryHandle()
251 PlatformHandleValueFromPlatformFile(memory_handle.GetHandle()); in WrapSharedMemoryHandle()
267 if (!memory_handle.IsRegionReadOnly()) in WrapSharedMemoryHandle()
268 memory_handle.SetRegionReadOnly(); in WrapSharedMemoryHandle()
273 guid.high = memory_handle.GetGUID().GetHighForSerialization(); in WrapSharedMemoryHandle()
274 guid.low = memory_handle.GetGUID().GetLowForSerialization(); in WrapSharedMemoryHandle()
285 base::SharedMemoryHandle* memory_handle, in UnwrapSharedMemoryHandle() argument
321 *memory_handle = base::SharedMemoryHandle( in UnwrapSharedMemoryHandle()
[all …]
Dplatform_handle.h125 const base::SharedMemoryHandle& memory_handle,
147 base::SharedMemoryHandle* memory_handle,