Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc484 ScopedPlatformHandle scoped_handle; in TEST_F() local
490 scoped_handle.reset(PlatformHandle(file.TakePlatformFile())); in TEST_F()
491 EXPECT_EQ(PlatformHandle::Type::POSIX, scoped_handle.get().type); in TEST_F()
493 scoped_handle.reset(PlatformHandle( in TEST_F()
495 EXPECT_EQ(PlatformHandle::Type::MACH, scoped_handle.get().type); in TEST_F()
503 scoped_handle.reset(PlatformHandle(shm_handle.GetMemoryObject())); in TEST_F()
504 EXPECT_EQ(PlatformHandle::Type::MACH, scoped_handle.get().type); in TEST_F()
507 std::move(scoped_handle), platform_handles + i)); in TEST_F()
532 ScopedPlatformHandle scoped_handle; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
534 PassWrappedPlatformHandle(platform_handles[i], &scoped_handle)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
[all …]
/external/libchrome/base/
Dbase.gypi792 'win/scoped_handle.cc',
793 'win/scoped_handle.h',
DBUILD.gn986 "win/scoped_handle.cc",
987 "win/scoped_handle.h",