Home
last modified time | relevance | path

Searched refs:shared_memory_ (Results 1 – 15 of 15) 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/perfetto/src/tracing/ipc/producer/
Dproducer_ipc_client_impl.cc73 shared_memory_(std::move(shm)), in ProducerIPCClientImpl()
80 if (shared_memory_) { in ProducerIPCClientImpl()
134 if (shared_memory_) { in OnConnect()
135 shm_fd = shared_memory_->fd(); in OnConnect()
186 if (shared_memory_ && !is_shmem_provided_by_producer_) { in OnConnectionInitialized()
232 PERFETTO_CHECK(!is_shmem_provided_by_producer_ && !shared_memory_); in OnServiceRequest()
234 shared_memory_ = in OnServiceRequest()
240 shared_memory_.get(), shared_buffer_page_size_kb_ * 1024, this, in OnServiceRequest()
244 PERFETTO_CHECK(is_shmem_provided_by_producer_ && shared_memory_ && in OnServiceRequest()
443 return shared_memory_.get(); in shared_memory()
Dproducer_ipc_client_impl.h114 std::unique_ptr<SharedMemory> 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/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.cc3034 if (!shared_memory_) { in CommitData()
3091 PERFETTO_DCHECK(!shared_memory_ && !shmem_abi_.is_valid()); in SetupSharedMemory()
3094 shared_memory_ = std::move(shared_memory); in SetupSharedMemory()
3098 shmem_abi_.Initialize(reinterpret_cast<uint8_t*>(shared_memory_->start()), in SetupSharedMemory()
3099 shared_memory_->size(), in SetupSharedMemory()
3103 shared_memory_->start(), shared_memory_->size(), in SetupSharedMemory()
3113 return shared_memory_.get(); in shared_memory()
Dtracing_service_impl.h141 std::unique_ptr<SharedMemory> shared_memory_; variable
/external/v8/src/heap/
Dread-only-spaces.h162 std::vector<std::unique_ptr<PageAllocator::SharedMemory>> shared_memory_; variable
Dread-only-spaces.cc187 shared_memory_[i]->RemapTo(reinterpret_cast<void*>(new_address)); in RemapPageTo()
223 shared_memory_.push_back(std::move(shared_memory)); in Initialize()