Searched refs:PosixSharedMemory (Results 1 – 7 of 7) sorted by relevance
46 std::unique_ptr<PosixSharedMemory> PosixSharedMemory::Create(size_t size) { in Create()76 std::unique_ptr<PosixSharedMemory> PosixSharedMemory::AttachToFd( in AttachToFd()106 std::unique_ptr<PosixSharedMemory> PosixSharedMemory::MapFD(base::ScopedFile fd, in MapFD()113 return std::unique_ptr<PosixSharedMemory>( in MapFD()114 new PosixSharedMemory(start, size, std::move(fd))); in MapFD()117 PosixSharedMemory::PosixSharedMemory(void* start, in PosixSharedMemory() function in perfetto::PosixSharedMemory122 PosixSharedMemory::~PosixSharedMemory() { in ~PosixSharedMemory()126 PosixSharedMemory::Factory::~Factory() {} in ~Factory()128 std::unique_ptr<SharedMemory> PosixSharedMemory::Factory::CreateSharedMemory( in CreateSharedMemory()130 return PosixSharedMemory::Create(size); in CreateSharedMemory()
37 class PosixSharedMemory : public SharedMemory {46 static std::unique_ptr<PosixSharedMemory> Create(size_t size);53 static std::unique_ptr<PosixSharedMemory> AttachToFd(57 ~PosixSharedMemory() override;66 static std::unique_ptr<PosixSharedMemory> MapFD(base::ScopedFile, size_t);68 PosixSharedMemory(void* start, size_t size, base::ScopedFile);69 PosixSharedMemory(const PosixSharedMemory&) = delete;70 PosixSharedMemory& operator=(const PosixSharedMemory&) = delete;
48 PosixSharedMemory::Factory factory; in TEST()65 std::unique_ptr<PosixSharedMemory> shm = in TEST()66 PosixSharedMemory::Create(base::GetSysPageSize()); in TEST()82 std::unique_ptr<PosixSharedMemory> shm = PosixSharedMemory::AttachToFd( in TEST()103 std::unique_ptr<PosixSharedMemory> shm = in TEST()104 PosixSharedMemory::AttachToFd(tmp_file.ReleaseFD()); in TEST()118 std::unique_ptr<PosixSharedMemory> shm = in TEST()119 PosixSharedMemory::Create(kLessThanAPage); in TEST()129 std::unique_ptr<PosixSharedMemory> shm2 = in TEST()130 PosixSharedMemory::AttachToFd(std::move(shm_fd2)); in TEST()
70 new PosixSharedMemory::Factory()); in DoStart()
98 shmem = PosixSharedMemory::AttachToFd( in InitializeConnection()460 static_cast<PosixSharedMemory*>(service_endpoint->shared_memory()) in SendSetupTracing()
162 shm_fd = static_cast<PosixSharedMemory*>(shared_memory_.get())->fd(); in OnConnect()265 PosixSharedMemory::AttachToFd(std::move(shmem_fd), in OnServiceRequest()
173 PosixSharedMemory::Factory factory; in CreateProducerProvidedSmb()