Home
last modified time | relevance | path

Searched refs:mojo_guid (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc139 MojoSharedBufferGuid mojo_guid; in TEST_F() local
141 mojo_guid.high = guid.GetHighForSerialization(); in TEST_F()
142 mojo_guid.low = guid.GetLowForSerialization(); in TEST_F()
147 &os_buffer, 1, kMessage.size(), &mojo_guid, in TEST_F()
155 WriteMessageRaw(MessagePipeHandle(h), &mojo_guid, sizeof(mojo_guid), in TEST_F()
176 MojoSharedBufferGuid mojo_guid; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
180 &num_handles, &size, &mojo_guid, &access_mode)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
184 base::UnguessableToken::Deserialize(mojo_guid.high, mojo_guid.low); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
220 EXPECT_EQ(expected_guid->high, mojo_guid.high); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
221 EXPECT_EQ(expected_guid->low, mojo_guid.low); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc88 MojoSharedBufferGuid mojo_guid = {guid.GetHighForSerialization(), in WrapPlatformSharedMemoryRegion() local
92 platform_handles, num_platform_handles, region.GetSize(), &mojo_guid, in WrapPlatformSharedMemoryRegion()
109 MojoSharedBufferGuid mojo_guid; in UnwrapPlatformSharedMemoryRegion() local
113 &num_platform_handles, &size, &mojo_guid, &access_mode); in UnwrapPlatformSharedMemoryRegion()
177 base::UnguessableToken::Deserialize(mojo_guid.high, mojo_guid.low)); in UnwrapPlatformSharedMemoryRegion()
296 MojoSharedBufferGuid mojo_guid; in UnwrapSharedMemoryHandle() local
300 &num_platform_handles, &num_bytes, &mojo_guid, &access_mode); in UnwrapSharedMemoryHandle()
317 base::UnguessableToken::Deserialize(mojo_guid.high, mojo_guid.low); in UnwrapSharedMemoryHandle()