HomeSort by relevance Sort by last modified time
    Searched full:leakref (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/webkit/Source/JavaScriptCore/wtf/
PassRefPtr.h 71 PassRefPtr(const PassRefPtr& o) : m_ptr(o.leakRef()) { }
72 template<typename U> PassRefPtr(const PassRefPtr<U>& o) : m_ptr(o.leakRef()) { }
81 T* leakRef() const WARN_UNUSED_RETURN;
102 // FIXME: Remove releaseRef once we change all callers to call leakRef instead.
103 T* releaseRef() const WARN_UNUSED_RETURN { return leakRef(); }
113 // begins life non-null, and can only become null through a call to leakRef()
137 : m_ptr(o.leakRef())
143 : m_ptr(o.leakRef())
149 : m_ptr(o.leakRef())
159 T* leakRef() const WARN_UNUSED_RETURN { T* tmp = m_ptr; m_ptr = 0; return tmp;
    [all...]
RefPtr.h 94 : m_ptr(o.leakRef())
99 : m_ptr(o.leakRef())
142 m_ptr = o.leakRef();
150 m_ptr = o.leakRef();
158 m_ptr = o.leakRef();
166 m_ptr = o.leakRef();
RetainPtr.h 79 PtrType leakRef() WARN_UNUSED_RETURN;
102 // FIXME: Remove releaseRef once we change all callers to call leakRef instead.
103 PtrType releaseRef() { return leakRef(); }
126 template<typename T> inline typename RetainPtr<T>::PtrType RetainPtr<T>::leakRef()
  /external/webkit/Source/WebKit2/Shared/API/c/
WKContextMenuItem.cpp 45 return toAPI(WebContextMenuItem::create(WebContextMenuItemData(ActionType, toImpl(tag), toImpl(title)->string(), enabled, false)).leakRef());
50 return toAPI(WebContextMenuItem::create(WebContextMenuItemData(CheckableActionType, toImpl(tag), toImpl(title)->string(), enabled, checked)).leakRef());
55 return toAPI(WebContextMenuItem::create(toImpl(title)->string(), enabled, toImpl(submenuItems)).leakRef());
90 return toAPI(toImpl(itemRef)->submenuItemsAsImmutableArray().leakRef());
WKSecurityOrigin.cpp 42 return toAPI(securityOrigin.release().leakRef());
48 return toAPI(securityOrigin.release().leakRef());
WKSerializedScriptValue.cpp 43 return toAPI(serializedValue.release().leakRef());
49 return toAPI(serializedValue.release().leakRef());
WKString.cpp 42 return toAPI(webString.release().leakRef());
89 return toAPI(webString.release().leakRef());
WKImage.cpp 42 return toAPI(webImage.release().leakRef());
WKURL.cpp 40 return toAPI(WebURL::create(String::fromUTF8(string)).leakRef());
WKURLRequest.cpp 43 return toAPI(WebURLRequest::create(KURL(KURL(), toImpl(url)->string())).leakRef());
WKUserContentURLPattern.cpp 42 return toAPI(userContentURLPattern.release().leakRef());
  /external/webkit/Source/WebKit/mac/Storage/
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/API/c/cg/
WKImageCG.cpp 39 return toImpl(imageRef)->bitmap()->makeCGImageCopy().leakRef();
48 return toAPI(webImage.release().leakRef());
  /external/webkit/Source/WebKit2/Shared/cg/
WebCoreArgumentCodersCG.cpp 42 // BitmapImage::create adopts the CGImageRef that's passed in, which is why we need to leakRef here.
43 return BitmapImage::create(platformImage.leakRef());
  /external/webkit/Source/WebKit2/UIProcess/API/C/gtk/
WKView.cpp 43 return toAPI(view.release().leakRef());
58 return toCopiedURLAPI(StringImpl::create(url).leakRef());
  /external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
WKBundleNavigationAction.cpp 60 return toAPI(hitTestResult.release().leakRef());
66 return toAPI(formElement.release().leakRef());
  /external/webkit/Source/WebKit2/Shared/cf/
ArgumentCodersCF.cpp 145 result.adoptCF(array.leakRef());
152 result.adoptCF(boolean.leakRef());
159 result.adoptCF(data.leakRef());
166 result.adoptCF(dictionary.leakRef());
176 result.adoptCF(number.leakRef());
183 result.adoptCF(string.leakRef());
190 result.adoptCF(url.leakRef());
198 result.adoptCF(certificate.leakRef());
244 result.adoptCF(array.leakRef());
  /external/webkit/Source/JavaScriptCore/API/
JSStringRef.cpp 39 return OpaqueJSString::create(chars, numChars).leakRef();
50 return OpaqueJSString::create(buffer.data(), p - buffer.data()).leakRef();
54 return OpaqueJSString::create().leakRef();
JSStringRefCF.cpp 48 return OpaqueJSString::create(reinterpret_cast<UChar*>(buffer.get()), length).leakRef();
50 return OpaqueJSString::create(0, 0).leakRef();
JSRetainPtr.h 52 T leakRef();
71 // FIXME: Remove releaseRef once we change all callers to call leakRef instead.
72 T releaseRef() { return leakRef(); }
106 template<typename T> inline T JSRetainPtr<T>::leakRef()
  /external/webkit/Source/WebCore/rendering/style/
ContentData.h 70 m_content.m_image = image.leakRef();
82 m_content.m_text = text.leakRef();
  /external/webkit/Source/WebKit2/Shared/
WebContextMenuItem.cpp 52 return adoptRef(new WebContextMenuItem(WebContextMenuItemData(WebCore::ContextMenuItemTagNoAction, title, enabled, submenu))).leakRef();
57 DEFINE_STATIC_LOCAL(WebContextMenuItem*, separatorItem, (adoptRef(new WebContextMenuItem(WebContextMenuItemData(WebCore::SeparatorType, WebCore::ContextMenuItemTagNoAction, String(), true, false))).leakRef()));
  /external/webkit/Source/WebKit2/Shared/API/c/mac/
WKCertificateInfoMac.mm 37 return toAPI(certificateInfo.release().leakRef());
  /external/webkit/Source/WebCore/storage/
SQLCallbackWrapper.h 74 context = m_scriptExecutionContext.release().leakRef();
75 callback = m_callback.release().leakRef();
  /external/webkit/Source/WebCore/platform/win/
COMPtr.h 71 T* leakRef();
96 // FIXME: Remove releaseRef once we change all callers to call leakRef instead.
97 T* releaseRef() { return leakRef(); }
115 template<typename T> inline T* COMPtr<T>::leakRef()

Completed in 2091 milliseconds

1 2 3