Home
last modified time | relevance | path

Searched refs:leakRef (Results 1 – 25 of 70) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/wtf/
DPassRefPtr.h71 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 …]
DRefPtr.h94 : 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();
DRetainPtr.h79 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/
DWKContextMenuItem.cpp45 …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()
DWKSerializedScriptValue.cpp43 return toAPI(serializedValue.release().leakRef()); in WKSerializedScriptValueCreate()
49 return toAPI(serializedValue.release().leakRef()); in WKSerializedScriptValueCreateWithInternalRepresentation()
DWKSecurityOrigin.cpp42 return toAPI(securityOrigin.release().leakRef()); in WKSecurityOriginCreateFromIdentifier()
48 return toAPI(securityOrigin.release().leakRef()); in WKSecurityOriginCreate()
DWKString.cpp42 return toAPI(webString.release().leakRef()); in WKStringCreateWithUTF8CString()
89 return toAPI(webString.release().leakRef()); in WKStringCreateWithJSString()
DWKUserContentURLPattern.cpp42 return toAPI(userContentURLPattern.release().leakRef()); in WKUserContentURLPatternCreate()
/external/webkit/Source/WebKit2/Shared/cf/
DArgumentCodersCF.cpp145 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/
DJSStringRef.cpp39 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()
DJSStringRefCF.cpp48 return OpaqueJSString::create(reinterpret_cast<UChar*>(buffer.get()), length).leakRef(); in JSStringCreateWithCFString()
50 return OpaqueJSString::create(0, 0).leakRef(); in JSStringCreateWithCFString()
DJSRetainPtr.h52 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/
DWKView.cpp43 return toAPI(view.release().leakRef()); in WKViewCreate()
58 return toCopiedURLAPI(StringImpl::create(url).leakRef()); in WKURLCreateWithURL()
/external/webkit/Source/WebKit2/Shared/API/c/cg/
DWKImageCG.cpp39 return toImpl(imageRef)->bitmap()->makeCGImageCopy().leakRef(); in WKImageCreateCGImage()
48 return toAPI(webImage.release().leakRef()); in WKImageCreateFromCGImage()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
DWKBundleNavigationAction.cpp60 return toAPI(hitTestResult.release().leakRef()); in WKBundleNavigationActionCopyHitTestResult()
66 return toAPI(formElement.release().leakRef()); in WKBundleNavigationActionCopyFormElement()
DWKBundlePage.cpp238 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/
DSQLCallbackWrapper.h74 context = m_scriptExecutionContext.release().leakRef(); in clear()
75 callback = m_callback.release().leakRef(); in clear()
/external/webkit/Source/WebKit2/Shared/
DWebContextMenuItem.cpp52 …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/
DContentData.h70 m_content.m_image = image.leakRef(); in setImage()
82 m_content.m_text = text.leakRef(); in setText()
/external/webkit/Source/WebKit/mac/Storage/
DWebStorageTrackerClient.mm56 // 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/
DWebCoreArgumentCodersCG.cpp43 return BitmapImage::create(platformImage.leakRef()); in createImage()
/external/webkit/Source/WebCore/platform/win/
DCOMPtr.h71 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/
DWKDownload.cpp42 return toAPI(WebURLRequest::create(toImpl(download)->request()).leakRef()); in WKDownloadCopyRequest()
/external/webkit/Source/WebKit2/Shared/API/c/cf/
DWKErrorCF.cpp44 return cfError.leakRef(); in WKErrorCopyCFError()
/external/webkit/Source/JavaScriptCore/wtf/text/
DAtomicString.cpp107 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()

123