Home
last modified time | relevance | path

Searched refs:ScopedDevZero (Results 1 – 4 of 4) sorted by relevance

/external/cronet/base/test/
Dscoped_dev_zero_fuchsia.h20 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_;
Dscoped_dev_zero_fuchsia.cc33 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::ScopedDevZero
96 ScopedDevZero::~ScopedDevZero() { in ~ScopedDevZero()
103 bool ScopedDevZero::Initialize() { in Initialize()
/external/cronet/ipc/
Dipc_send_fds_test.cc148 scoped_refptr<base::ScopedDevZero> dev_zero_ = base::ScopedDevZero::Get();
/external/cronet/base/files/
Dfile_util_unittest.cc3524 auto dev_zero = ScopedDevZero::Get(); in TEST_F()