Home
last modified time | relevance | path

Searched refs:sharedMemory (Results 1 – 8 of 8) sorted by relevance

/external/webkit/Source/WebKit2/Shared/
DShareableBitmap.cpp75 RefPtr<SharedMemory> sharedMemory = SharedMemory::create(numBytes); in createShareable() local
76 if (!sharedMemory) in createShareable()
79 return adoptRef(new ShareableBitmap(size, flags, sharedMemory)); in createShareable()
82 …p> ShareableBitmap::create(const IntSize& size, Flags flags, PassRefPtr<SharedMemory> sharedMemory) in create() argument
84 ASSERT(sharedMemory); in create()
87 ASSERT_UNUSED(numBytes, sharedMemory->size() >= numBytes); in create()
89 return adoptRef(new ShareableBitmap(size, flags, sharedMemory)); in create()
95 …RefPtr<SharedMemory> sharedMemory = SharedMemory::create(handle.m_handle, SharedMemory::ReadWrite); in create() local
96 if (!sharedMemory) in create()
99 return create(handle.m_size, handle.m_flags, sharedMemory.release()); in create()
[all …]
DVisitedLinkTable.cpp52 void VisitedLinkTable::setSharedMemory(PassRefPtr<SharedMemory> sharedMemory) in setSharedMemory() argument
54 m_sharedMemory = sharedMemory; in setSharedMemory()
DVisitedLinkTable.h49 SharedMemory* sharedMemory() const { return m_sharedMemory.get(); } in sharedMemory() function
/external/webkit/Source/WebKit2/Platform/mac/
DSharedMemoryMac.cpp113 RefPtr<SharedMemory> sharedMemory(adoptRef(new SharedMemory)); in create() local
114 sharedMemory->m_size = size; in create()
115 sharedMemory->m_data = toPointer(address); in create()
116 sharedMemory->m_port = port; in create()
118 return sharedMemory.release(); in create()
146 RefPtr<SharedMemory> sharedMemory(adoptRef(new SharedMemory)); in create() local
147 sharedMemory->m_size = handle.m_size; in create()
148 sharedMemory->m_data = toPointer(mappedAddress); in create()
149 sharedMemory->m_port = MACH_PORT_NULL; in create()
151 return sharedMemory.release(); in create()
/external/webkit/Source/WebKit2/WebProcess/WebPage/ca/win/
DLayerTreeHostCAWin.cpp185 …RefPtr<SharedMemory> sharedMemory = SharedMemory::adopt(mapping, fileMappingSize, SharedMemory::Re… in toShareableBitmap() local
186 if (!sharedMemory) { in toShareableBitmap()
192 return ShareableBitmap::create(size(image), 0, sharedMemory.release()); in toShareableBitmap()
/external/webkit/Source/WebKit2/UIProcess/
DVisitedLinkProvider.cpp129 RefPtr<SharedMemory> currentTableMemory = m_table.sharedMemory(); in pendingVisitedLinksTimerFired()
163 if (!m_table.sharedMemory()->createHandle(handle, SharedMemory::ReadOnly)) in pendingVisitedLinksTimerFired()
/external/webkit/Source/WebKit2/WebProcess/
DWebProcess.cpp271 RefPtr<SharedMemory> sharedMemory = SharedMemory::create(handle, SharedMemory::ReadOnly); in setVisitedLinkTable() local
272 if (!sharedMemory) in setVisitedLinkTable()
275 m_visitedLinkTable.setSharedMemory(sharedMemory.release()); in setVisitedLinkTable()
/external/webkit/Source/WebKit2/
DChangeLog-2011-02-1635282 (WebKit::VisitedLinkTable::sharedMemory):