Searched refs:PosixSharedMemory (Results 1 – 7 of 7) sorted by relevance
42 std::unique_ptr<PosixSharedMemory> PosixSharedMemory::Create(size_t size) { in Create()72 std::unique_ptr<PosixSharedMemory> PosixSharedMemory::AttachToFd( in AttachToFd()81 std::unique_ptr<PosixSharedMemory> PosixSharedMemory::MapFD(base::ScopedFile fd, in MapFD()88 return std::unique_ptr<PosixSharedMemory>( in MapFD()89 new PosixSharedMemory(start, size, std::move(fd))); in MapFD()92 PosixSharedMemory::PosixSharedMemory(void* start, in PosixSharedMemory() function in perfetto::PosixSharedMemory97 PosixSharedMemory::~PosixSharedMemory() { in ~PosixSharedMemory()101 PosixSharedMemory::Factory::~Factory() {} in ~Factory()103 std::unique_ptr<SharedMemory> PosixSharedMemory::Factory::CreateSharedMemory( in CreateSharedMemory()105 return PosixSharedMemory::Create(size); in CreateSharedMemory()
30 class PosixSharedMemory : public SharedMemory {39 static std::unique_ptr<PosixSharedMemory> Create(size_t size);42 static std::unique_ptr<PosixSharedMemory> AttachToFd(base::ScopedFile);44 ~PosixSharedMemory() override;53 static std::unique_ptr<PosixSharedMemory> MapFD(base::ScopedFile, size_t);55 PosixSharedMemory(void* start, size_t size, base::ScopedFile);56 PosixSharedMemory(const PosixSharedMemory&) = delete;57 PosixSharedMemory& operator=(const PosixSharedMemory&) = delete;
43 PosixSharedMemory::Factory factory; in TEST()59 std::unique_ptr<PosixSharedMemory> shm = in TEST()60 PosixSharedMemory::Create(base::kPageSize); in TEST()75 std::unique_ptr<PosixSharedMemory> shm = in TEST()76 PosixSharedMemory::AttachToFd(tmp_file.ReleaseFD()); in TEST()
45 class PosixSharedMemory; variable106 std::unique_ptr<PosixSharedMemory> shared_memory_;
170 shared_memory_ = PosixSharedMemory::AttachToFd(std::move(shmem_fd)); in OnServiceRequest()
70 new PosixSharedMemory::Factory()); in DoStart()
387 static_cast<PosixSharedMemory*>(service_endpoint->shared_memory())->fd(); in OnTracingSetup()