/external/webkit/Source/JavaScriptCore/wtf/ |
D | PassRefPtr.h | 71 PassRefPtr(const PassRefPtr& o) : m_ptr(o.leakRef()) { } in PassRefPtr() 72 template<typename U> PassRefPtr(const PassRefPtr<U>& o) : m_ptr(o.leakRef()) { } in PassRefPtr() 81 T* leakRef() const WARN_UNUSED_RETURN; 103 T* releaseRef() const WARN_UNUSED_RETURN { return leakRef(); } in releaseRef() 137 : m_ptr(o.leakRef()) in NonNullPassRefPtr() 143 : m_ptr(o.leakRef()) in NonNullPassRefPtr() 149 : m_ptr(o.leakRef()) in NonNullPassRefPtr() 159 T* leakRef() const WARN_UNUSED_RETURN { T* tmp = m_ptr; m_ptr = 0; return tmp; } in leakRef() function 165 T* releaseRef() const WARN_UNUSED_RETURN { return leakRef(); } in releaseRef() 185 template<typename T> inline T* PassRefPtr<T>::leakRef() const in leakRef() function [all …]
|
D | RefPtr.h | 94 : m_ptr(o.leakRef()) in RefPtr() 99 : m_ptr(o.leakRef()) in RefPtr() 142 m_ptr = o.leakRef(); 150 m_ptr = o.leakRef(); 158 m_ptr = o.leakRef(); 166 m_ptr = o.leakRef();
|
D | RetainPtr.h | 79 PtrType leakRef() WARN_UNUSED_RETURN; 103 PtrType releaseRef() { return leakRef(); } in releaseRef() 126 template<typename T> inline typename RetainPtr<T>::PtrType RetainPtr<T>::leakRef() in leakRef() function
|
/external/webkit/Source/WebKit2/Shared/API/c/ |
D | WKContextMenuItem.cpp | 45 …bContextMenuItemData(ActionType, toImpl(tag), toImpl(title)->string(), enabled, false)).leakRef()); in WKContextMenuItemCreateAsAction() 50 …uItemData(CheckableActionType, toImpl(tag), toImpl(title)->string(), enabled, checked)).leakRef()); in WKContextMenuItemCreateAsCheckableAction() 55 …oAPI(WebContextMenuItem::create(toImpl(title)->string(), enabled, toImpl(submenuItems)).leakRef()); in WKContextMenuItemCreateAsSubmenu() 90 return toAPI(toImpl(itemRef)->submenuItemsAsImmutableArray().leakRef()); in WKContextMenuCopySubmenuItems()
|
D | WKSerializedScriptValue.cpp | 43 return toAPI(serializedValue.release().leakRef()); in WKSerializedScriptValueCreate() 49 return toAPI(serializedValue.release().leakRef()); in WKSerializedScriptValueCreateWithInternalRepresentation()
|
D | WKSecurityOrigin.cpp | 42 return toAPI(securityOrigin.release().leakRef()); in WKSecurityOriginCreateFromIdentifier() 48 return toAPI(securityOrigin.release().leakRef()); in WKSecurityOriginCreate()
|
D | WKString.cpp | 42 return toAPI(webString.release().leakRef()); in WKStringCreateWithUTF8CString() 89 return toAPI(webString.release().leakRef()); in WKStringCreateWithJSString()
|
D | WKUserContentURLPattern.cpp | 42 return toAPI(userContentURLPattern.release().leakRef()); in WKUserContentURLPatternCreate()
|
/external/webkit/Source/WebKit2/Shared/cf/ |
D | ArgumentCodersCF.cpp | 145 result.adoptCF(array.leakRef()); in decode() 152 result.adoptCF(boolean.leakRef()); in decode() 159 result.adoptCF(data.leakRef()); in decode() 166 result.adoptCF(dictionary.leakRef()); in decode() 176 result.adoptCF(number.leakRef()); in decode() 183 result.adoptCF(string.leakRef()); in decode() 190 result.adoptCF(url.leakRef()); in decode() 198 result.adoptCF(certificate.leakRef()); in decode() 244 result.adoptCF(array.leakRef()); in decode()
|
/external/webkit/Source/JavaScriptCore/API/ |
D | JSStringRef.cpp | 39 return OpaqueJSString::create(chars, numChars).leakRef(); in JSStringCreateWithCharacters() 50 return OpaqueJSString::create(buffer.data(), p - buffer.data()).leakRef(); in JSStringCreateWithUTF8CString() 54 return OpaqueJSString::create().leakRef(); in JSStringCreateWithUTF8CString()
|
D | JSStringRefCF.cpp | 48 return OpaqueJSString::create(reinterpret_cast<UChar*>(buffer.get()), length).leakRef(); in JSStringCreateWithCFString() 50 return OpaqueJSString::create(0, 0).leakRef(); in JSStringCreateWithCFString()
|
D | JSRetainPtr.h | 52 T leakRef(); 72 T releaseRef() { return leakRef(); } in releaseRef() 106 template<typename T> inline T JSRetainPtr<T>::leakRef() in leakRef() function
|
/external/webkit/Source/WebKit2/UIProcess/API/C/gtk/ |
D | WKView.cpp | 43 return toAPI(view.release().leakRef()); in WKViewCreate() 58 return toCopiedURLAPI(StringImpl::create(url).leakRef()); in WKURLCreateWithURL()
|
/external/webkit/Source/WebKit2/Shared/API/c/cg/ |
D | WKImageCG.cpp | 39 return toImpl(imageRef)->bitmap()->makeCGImageCopy().leakRef(); in WKImageCreateCGImage() 48 return toAPI(webImage.release().leakRef()); in WKImageCreateFromCGImage()
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
D | WKBundleNavigationAction.cpp | 60 return toAPI(hitTestResult.release().leakRef()); in WKBundleNavigationActionCopyHitTestResult() 66 return toAPI(formElement.release().leakRef()); in WKBundleNavigationActionCopyFormElement()
|
D | WKBundlePage.cpp | 238 return toAPI(webImage.release().leakRef()); in WKBundlePageCreateSnapshotInViewCoordinates() 244 return toAPI(webImage.release().leakRef()); in WKBundlePageCreateSnapshotInDocumentCoordinates() 250 return toAPI(webImage.release().leakRef()); in WKBundlePageCreateScaledSnapshotInDocumentCoordinates()
|
/external/webkit/Source/WebCore/storage/ |
D | SQLCallbackWrapper.h | 74 context = m_scriptExecutionContext.release().leakRef(); in clear() 75 callback = m_callback.release().leakRef(); in clear()
|
/external/webkit/Source/WebKit2/Shared/ |
D | WebContextMenuItem.cpp | 52 …m(WebContextMenuItemData(WebCore::ContextMenuItemTagNoAction, title, enabled, submenu))).leakRef(); in create() 57 …(WebCore::SeparatorType, WebCore::ContextMenuItemTagNoAction, String(), true, false))).leakRef())); in separatorItem()
|
/external/webkit/Source/WebCore/rendering/style/ |
D | ContentData.h | 70 m_content.m_image = image.leakRef(); in setImage() 82 m_content.m_text = text.leakRef(); in setText()
|
/external/webkit/Source/WebKit/mac/Storage/ |
D | WebStorageTrackerClient.mm | 56 // adoptRef is balanced by leakRef in dispatchDidModifyOrigin. 74 // leakRef is balanced by adoptRef in dispatchDidModifyOriginOnMainThread. 75 callOnMainThread(dispatchDidModifyOriginOnMainThread, origin.leakRef());
|
/external/webkit/Source/WebKit2/Shared/cg/ |
D | WebCoreArgumentCodersCG.cpp | 43 return BitmapImage::create(platformImage.leakRef()); in createImage()
|
/external/webkit/Source/WebCore/platform/win/ |
D | COMPtr.h | 71 T* leakRef(); 97 T* releaseRef() { return leakRef(); } in releaseRef() 115 template<typename T> inline T* COMPtr<T>::leakRef() in leakRef() function
|
/external/webkit/Source/WebKit2/UIProcess/API/C/ |
D | WKDownload.cpp | 42 return toAPI(WebURLRequest::create(toImpl(download)->request()).leakRef()); in WKDownloadCopyRequest()
|
/external/webkit/Source/WebKit2/Shared/API/c/cf/ |
D | WKErrorCF.cpp | 44 return cfError.leakRef(); in WKErrorCopyCFError()
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
D | AtomicString.cpp | 107 location = StringImpl::create(c).leakRef(); in translate() 189 location = StringImpl::create(buf.s, buf.length).leakRef(); in translate() 215 location = StringImpl::create(buffer.characters, buffer.length).leakRef(); in translate()
|