/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_frame_win.cc | 20 SharedMemory* shared_memory, in DesktopFrameWin() argument 22 : DesktopFrame(size, stride, data, shared_memory), in DesktopFrameWin() 33 SharedMemory* shared_memory, in Create() argument 47 if (shared_memory) in Create() 48 section_handle = shared_memory->handle(); in Create() 54 delete shared_memory; in Create() 60 shared_memory, bitmap); in Create()
|
D | desktop_frame.cc | 21 SharedMemory* shared_memory) in DesktopFrame() argument 25 shared_memory_(shared_memory), in DesktopFrame() 84 SharedMemory* shared_memory) in SharedMemoryDesktopFrame() argument 86 reinterpret_cast<uint8_t*>(shared_memory->data()), in SharedMemoryDesktopFrame() 87 shared_memory) { in SharedMemoryDesktopFrame()
|
D | desktop_frame.h | 42 SharedMemory* shared_memory() const { return shared_memory_; } in shared_memory() function 77 SharedMemory* shared_memory); 116 SharedMemory* shared_memory);
|
D | desktop_frame_win.h | 28 SharedMemory* shared_memory, 37 SharedMemory* shared_memory,
|
D | screen_capturer_unittest.cc | 92 EXPECT_TRUE(frame->shared_memory() == NULL); in TEST_F() 120 ASSERT_TRUE(frame->shared_memory()); in TEST_F() 121 EXPECT_EQ(frame->shared_memory()->id(), kTestSharedMemoryId); in TEST_F()
|
D | desktop_capture.gypi | 70 "shared_memory.cc", 71 "shared_memory.h",
|
D | BUILD.gn | 73 "shared_memory.cc", 74 "shared_memory.h",
|
D | cropped_desktop_frame.cc | 41 frame->shared_memory()), in CroppedDesktopFrame()
|
D | shared_desktop_frame.cc | 76 core->frame()->shared_memory()), in SharedDesktopFrame()
|
/external/libchrome/mojo/public/cpp/base/ |
D | big_buffer_mojom_traits.cc | 65 mojo_base::BigBuffer>::shared_memory(mojo_base::BigBuffer& buffer) { in shared_memory() function in mojo::UnionTraits::mojom::BigBufferDataView::BigBuffer 66 return buffer.shared_memory(); in shared_memory() 81 mojo_base::internal::BigBufferSharedMemoryRegion shared_memory; in Read() local 82 if (!data.ReadSharedMemory(&shared_memory)) in Read() 84 *out = mojo_base::BigBuffer(std::move(shared_memory)); in Read() 117 mojo_base::BigBufferView>::shared_memory(mojo_base::BigBufferView& view) { in shared_memory() function in mojo::UnionTraits::mojom::BigBufferDataView::BigBufferView 118 return view.shared_memory(); in shared_memory() 135 mojo_base::internal::BigBufferSharedMemoryRegion shared_memory; in Read() local 136 if (!data.ReadSharedMemory(&shared_memory)) in Read() 138 out->SetSharedMemory(std::move(shared_memory)); in Read()
|
D | big_buffer.h | 88 explicit BigBuffer(internal::BigBufferSharedMemoryRegion shared_memory); in COMPONENT_EXPORT() 110 internal::BigBufferSharedMemoryRegion& shared_memory() { in COMPONENT_EXPORT() 152 void SetSharedMemory(internal::BigBufferSharedMemoryRegion shared_memory); in COMPONENT_EXPORT() 164 internal::BigBufferSharedMemoryRegion& shared_memory() { in COMPONENT_EXPORT()
|
D | big_buffer.cc | 52 BigBuffer::BigBuffer(internal::BigBufferSharedMemoryRegion shared_memory) in BigBuffer() argument 54 shared_memory_(std::move(shared_memory)) {} in BigBuffer() 124 internal::BigBufferSharedMemoryRegion shared_memory) { in SetSharedMemory() argument 128 shared_memory_ = std::move(shared_memory); in SetSharedMemory()
|
D | big_buffer_mojom_traits.h | 41 static mojo_base::internal::BigBufferSharedMemoryRegion& shared_memory( in COMPONENT_EXPORT() 55 static mojo_base::internal::BigBufferSharedMemoryRegion& shared_memory( in COMPONENT_EXPORT()
|
D | shared_memory.typemap | 5 mojom = "//mojo/public/mojom/base/shared_memory.mojom"
|
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 602 SharedMemory shared_memory; in TEST_P() local 611 EXPECT_TRUE(shared_memory.Create(options)); in TEST_P() 612 EXPECT_TRUE(shared_memory.Map(shared_memory.requested_size())); in TEST_P() 614 EXPECT_EQ(0, mprotect(shared_memory.memory(), shared_memory.requested_size(), in TEST_P() 628 SharedMemory shared_memory; in TEST() local 632 EXPECT_TRUE(shared_memory.Create(options)); in TEST() 633 EXPECT_TRUE(shared_memory.Map(shared_memory.requested_size())); in TEST() 636 EXPECT_EQ(-1, mprotect(shared_memory.memory(), shared_memory.requested_size(), in TEST() 665 SharedMemory shared_memory; in TEST_P() local 675 EXPECT_TRUE(shared_memory.Create(options)); in TEST_P() [all …]
|
/external/libchrome/mojo/core/ |
D | embedder_unittest.cc | 276 auto shared_memory = base::UnsafeSharedMemoryRegion::Create(123); in TEST_F() local 277 ASSERT_TRUE(shared_memory.IsValid()); in TEST_F() 280 CreateSharedBufferFromRegion(shared_memory.Duplicate(), &sb1)); in TEST_F() 303 auto mapping = shared_memory.Map(); in TEST_F() 334 base::UnsafeSharedMemoryRegion shared_memory; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local 335 ASSERT_EQ(MOJO_RESULT_OK, ExtractRegionFromSharedBuffer(sb1, &shared_memory)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 336 auto mapping = shared_memory.Map(); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 374 auto shared_memory = base::UnsafeSharedMemoryRegion::Create(kShmSize); in TEST_F() local 375 ASSERT_TRUE(shared_memory.IsValid()); in TEST_F() 378 std::move(shared_memory)) in TEST_F()
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_arbiter_impl.cc | 41 SharedMemory* shared_memory, in CreateInstance() argument 46 new SharedMemoryArbiterImpl(shared_memory->start(), shared_memory->size(), in CreateInstance()
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | screen_capturer_win_magnifier.cc | 427 SharedMemory* shared_memory = callback_->CreateSharedMemory(buffer_size); in CreateCurrentFrameIfNecessary() local 430 if (shared_memory) { in CreateCurrentFrameIfNecessary() 432 size, size.width() * DesktopFrame::kBytesPerPixel, shared_memory)); in CreateCurrentFrameIfNecessary()
|
D | screen_capturer_win_gdi.cc | 242 SharedMemory* shared_memory = callback_->CreateSharedMemory(buffer_size); in CaptureImage() local 245 DesktopFrameWin::Create(size, shared_memory, desktop_dc_)); in CaptureImage()
|
/external/perfetto/src/tracing/test/ |
D | fake_producer_endpoint.h | 38 SharedMemory* shared_memory() const override { return nullptr; } in shared_memory() function
|
/external/libchrome/mojo/public/mojom/base/ |
D | big_buffer.mojom | 17 BigBufferSharedMemoryRegion shared_memory;
|
D | BUILD.gn | 18 "shared_memory.mojom",
|
/external/perfetto/include/perfetto/tracing/core/ |
D | BUILD.gn | 27 "shared_memory.h",
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_producer_unittest.cc | 43 MOCK_CONST_METHOD0(shared_memory, SharedMemory*());
|
/external/perfetto/src/tracing/ipc/producer/ |
D | producer_ipc_client_impl.h | 78 SharedMemory* shared_memory() const override;
|