Searched refs:ScopedDevZero (Results 1 – 4 of 4) sorted by relevance
20 class ScopedDevZero final : public RefCounted<ScopedDevZero> {28 static scoped_refptr<ScopedDevZero> Get();30 ScopedDevZero(const ScopedDevZero&) = delete;31 ScopedDevZero operator=(const ScopedDevZero&) = delete;34 friend class RefCounted<ScopedDevZero>;37 ScopedDevZero();38 ~ScopedDevZero();46 static ScopedDevZero* instance_;
33 class ScopedDevZero::Server {47 ScopedDevZero::Server::Server( in Server()81 ScopedDevZero* ScopedDevZero::instance_ = nullptr;84 scoped_refptr<ScopedDevZero> ScopedDevZero::Get() { in Get()87 scoped_refptr<ScopedDevZero> result = AdoptRef(new ScopedDevZero); in Get()91 ScopedDevZero::ScopedDevZero() : io_thread_("/dev/zero") { in ScopedDevZero() function in base::ScopedDevZero96 ScopedDevZero::~ScopedDevZero() { in ~ScopedDevZero()103 bool ScopedDevZero::Initialize() { in Initialize()
148 scoped_refptr<base::ScopedDevZero> dev_zero_ = base::ScopedDevZero::Get();
3524 auto dev_zero = ScopedDevZero::Get(); in TEST_F()