/external/libchrome/base/memory/ |
D | shared_memory_mac.cc | 77 SharedMemory::SharedMemory() in SharedMemory() function in base::SharedMemory 80 SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) in SharedMemory() function in base::SharedMemory 87 SharedMemory::~SharedMemory() { in ~SharedMemory() 93 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { in IsHandleValid() 98 SharedMemoryHandle SharedMemory::NULLHandle() { in NULLHandle() 103 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { in CloseHandle() 108 size_t SharedMemory::GetHandleLimit() { in GetHandleLimit() 114 SharedMemoryHandle SharedMemory::DuplicateHandle( in DuplicateHandle() 119 bool SharedMemory::CreateAndMapAnonymous(size_t size) { in CreateAndMapAnonymous() 124 bool SharedMemory::GetSizeFromSharedMemoryHandle( in GetSizeFromSharedMemoryHandle() [all …]
|
D | shared_memory_posix.cc | 112 SharedMemory::SharedMemory() in SharedMemory() function in base::SharedMemory 121 SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) in SharedMemory() function in base::SharedMemory 130 SharedMemory::~SharedMemory() { in ~SharedMemory() 136 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { in IsHandleValid() 141 SharedMemoryHandle SharedMemory::NULLHandle() { in NULLHandle() 146 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { in CloseHandle() 153 size_t SharedMemory::GetHandleLimit() { in GetHandleLimit() 158 SharedMemoryHandle SharedMemory::DuplicateHandle( in DuplicateHandle() 162 return base::SharedMemory::NULLHandle(); in DuplicateHandle() 167 int SharedMemory::GetFdFromSharedMemoryHandle( in GetFdFromSharedMemoryHandle() [all …]
|
D | shared_memory_unittest.cc | 53 SharedMemory memory; in CleanUp() 60 SharedMemory memory; in ThreadMain() 102 SharedMemory memory1; in TEST() 113 SharedMemory memory2; in TEST() 154 SharedMemory memory1; in TEST() 173 SharedMemory memory2; in TEST() 215 SharedMemory memory; in TEST() 224 EXPECT_EQ(SharedMemory::NULLHandle(), memory.handle()); in TEST() 284 std::unique_ptr<SharedMemory[]> memories(new SharedMemory[count]); in TEST() 324 SharedMemory writable_shmem; in TEST() [all …]
|
D | shared_memory_mac_unittest.cc | 57 std::unique_ptr<SharedMemory> CreateSharedMemory(int size) { in CreateSharedMemory() 63 std::unique_ptr<SharedMemory> shared_memory(new SharedMemory(shm, false)); in CreateSharedMemory() 233 std::unique_ptr<SharedMemory> shared_memory( in TEST_F() 252 SharedMemory shared_memory(shm, false); in MULTIPROCESS_TEST_MAIN() 267 SharedMemory shared_memory(shm, false); in TEST_F() 292 SharedMemory shared_memory(shm, false); in MULTIPROCESS_TEST_MAIN() 335 std::unique_ptr<SharedMemory> shared_memory = in TEST_F() 355 std::unique_ptr<SharedMemory> shared_memory(new SharedMemory(shm, false)); in TEST_F() 366 std::unique_ptr<SharedMemory> shared_memory( in TEST_F() 371 SharedMemory shared_memory2(shm2, true); in TEST_F() [all …]
|
D | shared_memory.h | 66 class BASE_EXPORT SharedMemory { 68 SharedMemory(); 74 explicit SharedMemory(const std::wstring& name); 84 SharedMemory(const SharedMemoryHandle& handle, bool read_only); 87 ~SharedMemory(); 283 DISALLOW_COPY_AND_ASSIGN(SharedMemory);
|
D | shared_memory_android.cc | 25 bool SharedMemory::Create(const SharedMemoryCreateOptions& options) { in Create() 60 bool SharedMemory::Delete(const std::string&) { in Delete() 66 bool SharedMemory::Open(const std::string&, bool /*read_only*/) { in Open()
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | shared_memory.cc | 16 const SharedMemory::Handle SharedMemory::kInvalidHandle = NULL; 18 const SharedMemory::Handle SharedMemory::kInvalidHandle = -1; 21 SharedMemory::SharedMemory(void* data, size_t size, Handle handle, int id) in SharedMemory() function in webrtc::SharedMemory
|
D | shared_memory.h | 31 class SharedMemory { 51 virtual ~SharedMemory() {} in ~SharedMemory() 54 SharedMemory(void* data, size_t size, Handle handle, int id); 62 RTC_DISALLOW_COPY_AND_ASSIGN(SharedMemory);
|
D | desktop_frame.h | 42 SharedMemory* shared_memory() const { return shared_memory_; } in shared_memory() 77 SharedMemory* shared_memory); 86 SharedMemory* const shared_memory_; 116 SharedMemory* shared_memory);
|
D | desktop_frame_win.h | 28 SharedMemory* shared_memory, 37 SharedMemory* shared_memory, 41 rtc::scoped_ptr<SharedMemory> owned_shared_memory_;
|
D | screen_capturer_unittest.cc | 31 SharedMemory* CreateSharedMemory(size_t size); 43 class FakeSharedMemory : public SharedMemory { 46 : SharedMemory(buffer, size, 0, kTestSharedMemoryId), in FakeSharedMemory() 57 SharedMemory* ScreenCapturerTest::CreateSharedMemory(size_t size) { in CreateSharedMemory() 82 .WillRepeatedly(Return(static_cast<SharedMemory*>(NULL))); in TEST_F()
|
D | desktop_capturer.h | 22 class SharedMemory; variable 33 virtual SharedMemory* CreateSharedMemory(size_t size) = 0;
|
D | desktop_frame_win.cc | 20 SharedMemory* shared_memory, in DesktopFrameWin() 33 SharedMemory* shared_memory, in Create()
|
D | desktop_frame.cc | 21 SharedMemory* shared_memory) in DesktopFrame() 84 SharedMemory* shared_memory) in SharedMemoryDesktopFrame()
|
D | screen_capturer_mock_objects.h | 38 MOCK_METHOD1(CreateSharedMemory, SharedMemory*(size_t));
|
D | desktop_and_cursor_composer.h | 41 SharedMemory* CreateSharedMemory(size_t size) override;
|
D | cropping_window_capturer.h | 42 SharedMemory* CreateSharedMemory(size_t size) override;
|
/external/libmojo/mojo/edk/embedder/ |
D | platform_shared_buffer.cc | 146 handle = base::SharedMemory::DuplicateHandle(shared_memory_->handle()); in MapNoCheck() 148 if (handle == base::SharedMemory::NULLHandle()) in MapNoCheck() 164 handle = base::SharedMemory::DuplicateHandle(shared_memory_->handle()); in DuplicatePlatformHandle() 166 if (handle == base::SharedMemory::NULLHandle()) in DuplicatePlatformHandle() 188 return base::SharedMemory::DuplicateHandle(shared_memory_->handle()); in DuplicateSharedMemoryHandle() 197 handle = base::SharedMemory::DuplicateHandle(ro_shared_memory_->handle()); in CreateReadOnlyDuplicate() 198 if (handle == base::SharedMemory::NULLHandle()) in CreateReadOnlyDuplicate() 210 if (!success || handle == base::SharedMemory::NULLHandle()) in CreateReadOnlyDuplicate() 230 shared_memory_.reset(new base::SharedMemory); in Init() 249 shared_memory_.reset(new base::SharedMemory(handle, read_only_)); in InitFromPlatformHandle() [all …]
|
D | platform_shared_buffer.h | 124 std::unique_ptr<base::SharedMemory> shared_memory_; 128 std::unique_ptr<base::SharedMemory> ro_shared_memory_; 170 base::SharedMemory shared_memory_;
|
D | embedder_unittest.cc | 346 base::SharedMemory shared_memory; in TEST_F() 348 base::SharedMemoryHandle shm_handle = base::SharedMemory::DuplicateHandle( in TEST_F() 408 base::SharedMemory shared_memory(shm_handle, false); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 425 base::SharedMemory shared_memory; in TEST_F() 427 base::SharedMemoryHandle shm_handle = base::SharedMemory::DuplicateHandle( in TEST_F() 499 base::SharedMemory shared_memory; in TEST_F() 502 base::SharedMemory::DuplicateHandle(shared_memory.handle()); in TEST_F()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.h | 24 class SharedMemory; variable 377 SharedPersistentMemoryAllocator(std::unique_ptr<SharedMemory> memory, 383 SharedMemory* shared_memory() { return shared_memory_.get(); } in shared_memory() 389 static bool IsSharedMemoryAcceptable(const SharedMemory& memory); 392 std::unique_ptr<SharedMemory> shared_memory_;
|
D | persistent_memory_allocator_unittest.cc | 529 std::unique_ptr<SharedMemory> shmem1(new SharedMemory()); in TEST() 551 std::unique_ptr<SharedMemory> shmem2(new SharedMemory(shared_handle_1, in TEST() 577 std::unique_ptr<SharedMemory> shmem3(new SharedMemory(shared_handle_2, in TEST()
|
/external/libmojo/base/android/library_loader/ |
D | library_prefetcher_unittest.cc | 101 base::SharedMemory shared_mem; in TEST() 123 base::SharedMemory shared_mem; in TEST() 128 base::SharedMemory shared_mem2; in TEST()
|
/external/v4l2_codec2/vda/ |
D | shared_memory_region.h | 46 base::SharedMemory shm_;
|
/external/libchrome/sandbox/win/src/ |
D | interception_internal.h | 51 struct SharedMemory { struct
|