Home
last modified time | relevance | path

Searched refs:shared_memory_ (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/mojo/public/cpp/base/
Dbig_buffer.cc54 shared_memory_(std::move(shared_memory)) {} in BigBuffer()
69 DCHECK(shared_memory_->buffer_mapping_); in data()
71 const_cast<const void*>(shared_memory_->buffer_mapping_.get())); in data()
83 return shared_memory_->size(); in size()
99 shared_memory_.emplace(std::move(buffer), bytes.size()); in BigBufferView()
101 static_cast<uint8_t*>(shared_memory_->buffer_mapping_.get())); in BigBufferView()
118 DCHECK(!shared_memory_); in SetBytes()
126 DCHECK(!shared_memory_); in SetSharedMemory()
128 shared_memory_ = std::move(shared_memory); in SetSharedMemory()
135 DCHECK(shared_memory_.has_value()); in data()
[all …]
Dbig_buffer.h112 return shared_memory_.value(); in COMPONENT_EXPORT()
120 base::Optional<internal::BigBufferSharedMemoryRegion> shared_memory_; in COMPONENT_EXPORT() local
166 return shared_memory_.value(); in COMPONENT_EXPORT()
172 base::Optional<internal::BigBufferSharedMemoryRegion> shared_memory_; in COMPONENT_EXPORT() local
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc100 : shared_memory_(NULL), in CrashGenerator()
124 return reinterpret_cast<pid_t*>(shared_memory_)[index]; in GetThreadId()
128 return reinterpret_cast<pid_t*>(shared_memory_) + index; in GetThreadIdPointer()
143 shared_memory_ = mapped_memory; in MapSharedMemory()
149 if (!shared_memory_) in UnmapSharedMemory()
152 if (munmap(shared_memory_, shared_memory_size_) == 0) { in UnmapSharedMemory()
153 shared_memory_ = NULL; in UnmapSharedMemory()
Dcrash_generator.h109 void* shared_memory_; variable
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_frame.h42 SharedMemory* shared_memory() const { return shared_memory_; } in shared_memory()
86 SharedMemory* const shared_memory_; variable
Ddesktop_frame.cc25 shared_memory_(shared_memory), in DesktopFrame()
91 delete shared_memory_; in ~SharedMemoryDesktopFrame()
Ddesktop_frame_win.cc24 owned_shared_memory_(shared_memory_) { in DesktopFrameWin()
/external/perfetto/src/tracing/ipc/producer/
Dproducer_ipc_client_impl.cc170 shared_memory_ = PosixSharedMemory::AttachToFd(std::move(shmem_fd)); in OnServiceRequest()
174 shared_memory_.get(), shared_buffer_page_size_kb_ * 1024, this, in OnServiceRequest()
354 return shared_memory_.get(); in shared_memory()
Dproducer_ipc_client_impl.h106 std::unique_ptr<PosixSharedMemory> shared_memory_; variable
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h725 SharedMemory* shared_memory() { return shared_memory_.get(); } in shared_memory()
734 std::unique_ptr<SharedMemory> shared_memory_;
Dpersistent_memory_allocator.cc1031 shared_memory_(std::move(memory)) {} in SharedPersistentMemoryAllocator()
/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc2552 if (!shared_memory_) { in CommitData()
2607 PERFETTO_DCHECK(!shared_memory_ && !shmem_abi_.is_valid()); in SetSharedMemory()
2608 shared_memory_ = std::move(shared_memory); in SetSharedMemory()
2609 shmem_abi_.Initialize(reinterpret_cast<uint8_t*>(shared_memory_->start()), in SetSharedMemory()
2610 shared_memory_->size(), in SetSharedMemory()
2614 shared_memory_->start(), shared_memory_->size(), in SetSharedMemory()
2621 return shared_memory_.get(); in shared_memory()
Dtracing_service_impl.h131 std::unique_ptr<SharedMemory> shared_memory_; variable