Home
last modified time | relevance | path

Searched refs:shared_memory (Results 1 – 25 of 49) sorted by relevance

12

/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_frame_win.cc20 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()
Ddesktop_frame.cc21 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()
Ddesktop_frame.h42 SharedMemory* shared_memory() const { return shared_memory_; } in shared_memory() function
77 SharedMemory* shared_memory);
116 SharedMemory* shared_memory);
Ddesktop_frame_win.h28 SharedMemory* shared_memory,
37 SharedMemory* shared_memory,
Dscreen_capturer_unittest.cc92 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()
Ddesktop_capture.gypi70 "shared_memory.cc",
71 "shared_memory.h",
DBUILD.gn73 "shared_memory.cc",
74 "shared_memory.h",
Dcropped_desktop_frame.cc41 frame->shared_memory()), in CroppedDesktopFrame()
Dshared_desktop_frame.cc76 core->frame()->shared_memory()), in SharedDesktopFrame()
/external/libchrome/mojo/public/cpp/base/
Dbig_buffer_mojom_traits.cc65 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()
Dbig_buffer.h88 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()
Dbig_buffer.cc52 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()
Dbig_buffer_mojom_traits.h41 static mojo_base::internal::BigBufferSharedMemoryRegion& shared_memory( in COMPONENT_EXPORT()
55 static mojo_base::internal::BigBufferSharedMemoryRegion& shared_memory( in COMPONENT_EXPORT()
Dshared_memory.typemap5 mojom = "//mojo/public/mojom/base/shared_memory.mojom"
/external/libchrome/base/memory/
Dshared_memory_unittest.cc602 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/
Dembedder_unittest.cc276 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/
Dshared_memory_arbiter_impl.cc41 SharedMemory* shared_memory, in CreateInstance() argument
46 new SharedMemoryArbiterImpl(shared_memory->start(), shared_memory->size(), in CreateInstance()
/external/webrtc/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_magnifier.cc427 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()
Dscreen_capturer_win_gdi.cc242 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/
Dfake_producer_endpoint.h38 SharedMemory* shared_memory() const override { return nullptr; } in shared_memory() function
/external/libchrome/mojo/public/mojom/base/
Dbig_buffer.mojom17 BigBufferSharedMemoryRegion shared_memory;
DBUILD.gn18 "shared_memory.mojom",
/external/perfetto/include/perfetto/tracing/core/
DBUILD.gn27 "shared_memory.h",
/external/perfetto/src/profiling/memory/
Dheapprofd_producer_unittest.cc43 MOCK_CONST_METHOD0(shared_memory, SharedMemory*());
/external/perfetto/src/tracing/ipc/producer/
Dproducer_ipc_client_impl.h78 SharedMemory* shared_memory() const override;

12