Searched refs:shm_handle (Results 1 – 2 of 2) sorted by relevance
/external/libmojo/mojo/edk/system/ |
D | shared_buffer_unittest.cc | 239 base::SharedMemoryHandle shm_handle; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local 242 PassSharedMemoryHandle(b, &shm_handle, nullptr, &read_only)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 243 base::SharedMemory shared_memory(shm_handle, false); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 301 base::SharedMemoryHandle shm_handle; in TEST_F() local 304 PassSharedMemoryHandle(b, &shm_handle, nullptr, &read_only)); in TEST_F() 305 base::SharedMemory shared_memory(shm_handle, false); in TEST_F()
|
/external/libmojo/mojo/edk/embedder/ |
D | embedder_unittest.cc | 348 base::SharedMemoryHandle shm_handle = base::SharedMemory::DuplicateHandle( in TEST_F() local 352 CreateSharedBufferWrapper(shm_handle, 123, false, &sb1)); in TEST_F() 405 base::SharedMemoryHandle shm_handle; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local 407 PassSharedMemoryHandle(sb1, &shm_handle, nullptr, nullptr)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 408 base::SharedMemory shared_memory(shm_handle, false); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 427 base::SharedMemoryHandle shm_handle = base::SharedMemory::DuplicateHandle( in TEST_F() local 431 CreateSharedBufferWrapper(shm_handle, 123, false, &sb1)); in TEST_F() 501 base::SharedMemoryHandle shm_handle = in TEST_F() local 503 scoped_handle.reset(PlatformHandle(shm_handle.GetMemoryObject())); in TEST_F()
|