Searched refs:shared_memory_ (Results 1 – 13 of 13) sorted by relevance
/external/libchrome/mojo/public/cpp/base/ |
D | big_buffer.cc | 54 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 …]
|
D | big_buffer.h | 112 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/ |
D | crash_generator.cc | 100 : 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()
|
D | crash_generator.h | 109 void* shared_memory_; variable
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_frame.h | 42 SharedMemory* shared_memory() const { return shared_memory_; } in shared_memory() 86 SharedMemory* const shared_memory_; variable
|
D | desktop_frame.cc | 25 shared_memory_(shared_memory), in DesktopFrame() 91 delete shared_memory_; in ~SharedMemoryDesktopFrame()
|
D | desktop_frame_win.cc | 24 owned_shared_memory_(shared_memory_) { in DesktopFrameWin()
|
/external/perfetto/src/tracing/ipc/producer/ |
D | producer_ipc_client_impl.cc | 170 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()
|
D | producer_ipc_client_impl.h | 106 std::unique_ptr<PosixSharedMemory> shared_memory_; variable
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.h | 725 SharedMemory* shared_memory() { return shared_memory_.get(); } in shared_memory() 734 std::unique_ptr<SharedMemory> shared_memory_;
|
D | persistent_memory_allocator.cc | 1031 shared_memory_(std::move(memory)) {} in SharedPersistentMemoryAllocator()
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl.cc | 2552 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()
|
D | tracing_service_impl.h | 131 std::unique_ptr<SharedMemory> shared_memory_; variable
|