HomeSort by relevance Sort by last modified time
    Searched refs:AdoptNS (Results 1 - 25 of 46) sorted by null

1 2

  /external/webkit/Source/WebKit2/Shared/API/c/mac/
WKURLRequestNS.mm 36 RetainPtr<NSURLRequest> copiedURLRequest(AdoptNS, [urlRequest copy]);
WKURLResponseNS.mm 36 RetainPtr<NSURLResponse> copiedURLResponse(AdoptNS, [urlResponse copy]);
  /external/webkit/Source/WebKit/mac/Storage/
WebDatabaseTrackerClient.mm 90 RetainPtr<WebSecurityOrigin> webSecurityOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:origin]);
103 RetainPtr<WebSecurityOrigin> webSecurityOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:origin]);
104 RetainPtr<NSDictionary> userInfo(AdoptNS, [[NSDictionary alloc]
WebStorageTrackerClient.mm 63 RetainPtr<WebSecurityOrigin> webSecurityOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:origin.get()]);
  /external/webkit/Source/WebCore/platform/text/mac/
LocalizedNumberMac.mm 45 RetainPtr<NSNumberFormatter> formatter(AdoptNS, [[NSNumberFormatter alloc] init]);
70 RetainPtr<NSNumber> number(AdoptNS, [[NSNumber alloc] initWithDouble:inputNumber]);
  /external/webkit/Source/WebKit2/UIProcess/mac/
WebPopupMenuProxyMac.mm 57 m_popup.adoptNS([[NSPopUpButtonCell alloc] initTextCell:@"" pullsDown:NO]);
71 RetainPtr<NSMutableParagraphStyle> paragraphStyle(AdoptNS, [[NSParagraphStyle defaultParagraphStyle] mutableCopy]);
75 RetainPtr<NSMutableDictionary> attributes(AdoptNS, [[NSMutableDictionary alloc] initWithObjectsAndKeys:
80 RetainPtr<NSNumber> writingDirectionValue(AdoptNS, [[NSNumber alloc] initWithInteger:writingDirection + NSTextWritingDirectionOverride]);
81 RetainPtr<NSArray> writingDirectionArray(AdoptNS, [[NSArray alloc] initWithObjects:writingDirectionValue.get(), nil]);
84 RetainPtr<NSAttributedString> string(AdoptNS, [[NSAttributedString alloc] initWithString:nsStringFromWebCoreString(items[i].m_text) attributes:attributes.get()]);
127 RetainPtr<NSView> dummyView(AdoptNS, [[NSView alloc] initWithFrame:rect]);
WebContextMenuProxyMac.mm 154 result.append(RetainPtr<NSMenuItem>(AdoptNS, menuItem));
170 result.append(RetainPtr<NSMenuItem>(AdoptNS, menuItem));
191 m_popup.adoptNS([[NSPopUpButtonCell alloc] initTextCell:@"" pullsDown:NO]);
CorrectionPanel.mm 55 , m_resultCondition(AdoptNS, [[NSCondition alloc] init])
158 m_resultForSynchronousDismissal.adoptNS([acceptedReplacement copy]);
TextCheckerMac.mm 232 RetainPtr<NSString> textString(AdoptNS, [[NSString alloc] initWithCharactersNoCopy:const_cast<UChar*>(text) length:length freeWhenDone:NO]);
350 RetainPtr<NSMutableArray> corrections(AdoptNS, [[NSMutableArray alloc] init]);
358 RetainPtr<NSDictionary> grammarDetailDict(AdoptNS, [[NSDictionary alloc] initWithObjectsAndKeys:[NSValue valueWithRange:grammarRange], NSGrammarRange, grammarUserDescription, NSGrammarUserDescription, corrections.get(), NSGrammarCorrections, nil]);
  /external/webkit/Source/WebKit/mac/WebCoreSupport/
WebApplicationCache.mm 80 RetainPtr<WebSecurityOrigin> webOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:(*it).get()]);
CorrectionPanel.mm 49 , m_resultCondition(AdoptNS, [[NSCondition alloc] init])
151 m_resultForSynchronousDismissal.adoptNS([acceptedReplacement copy]);
WebInspectorClient.mm 78 , m_highlighter(AdoptNS, [[WebNodeHighlighter alloc] initWithInspectedWebView:webView])
90 RetainPtr<WebInspectorWindowController> windowController(AdoptNS, [[WebInspectorWindowController alloc] initWithInspectedWebView:m_webView]);
95 RetainPtr<WebInspectorFrontend> webInspectorFrontend(AdoptNS, [[WebInspectorFrontend alloc] initWithFrontendClient:frontendClient.get()]);
  /external/webkit/Tools/TestWebKitAPI/mac/
PlatformUtilitiesMac.mm 69 RetainPtr<NSURLResponse> response(AdoptNS, WKURLResponseCopyNSURLResponse(wkResponse));
  /external/webkit/Source/WebCore/platform/mac/
PopupMenuMac.mm 102 RetainPtr<NSMutableParagraphStyle> paragraphStyle(AdoptNS, [[NSParagraphStyle defaultParagraphStyle] mutableCopy]);
107 RetainPtr<NSNumber> writingDirectionValue(AdoptNS, [[NSNumber alloc] initWithInteger:writingDirection + NSTextWritingDirectionOverride]);
108 RetainPtr<NSArray> writingDirectionArray(AdoptNS, [[NSArray alloc] initWithObjects:writingDirectionValue.get(), nil]);
188 RetainPtr<NSView> dummyView(AdoptNS, [[NSView alloc] initWithFrame:r]);
SharedBufferMac.mm 113 return (CFDataRef)RetainPtr<WebCoreSharedBufferData>(AdoptNS, [[WebCoreSharedBufferData alloc] initWithSharedBuffer:this]).releaseRef();
CursorMac.mm 50 return RetainPtr<NSCursor>(AdoptNS, [[NSCursor alloc] initWithImage:nsImage hotSpot:hotSpot]);
  /external/webkit/Source/WebCore/platform/network/mac/
ResourceErrorMac.mm 88 RetainPtr<NSMutableDictionary> userInfo(AdoptNS, [[NSMutableDictionary alloc] init]);
99 m_platformError.adoptNS([[NSError alloc] initWithDomain:m_domain code:m_errorCode userInfo:userInfo.get()]);
ResourceResponseMac.mm 65 const_cast<ResourceResponse*>(this)->m_nsResponse.adoptNS([[NSURLResponse alloc] initWithURL:m_url MIMEType:m_mimeType expectedContentLength:expectedContentLength textEncodingName:m_textEncodingName]);
118 RetainPtr<NSString> httpStatusLine(AdoptNS, wkCopyNSURLResponseStatusLine(m_nsResponse.get()));
  /external/webkit/Tools/DumpRenderTree/mac/
WebArchiveDumpSupportMac.mm 55 RetainPtr<NSKeyedUnarchiver> unarchiver(AdoptNS, [[NSKeyedUnarchiver alloc] initForReadingWithData:(NSData *)responseData]);
  /external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/
WebDragClientMac.mm 147 RetainPtr<NSMutableArray> types(AdoptNS, [[NSMutableArray alloc] initWithObjects:NSFilesPromisePboardType, nil]);
150 RetainPtr<WKPasteboardOwner> pasteboardOwner(AdoptNS, [[WKPasteboardOwner alloc] initWithImage:image]);
152 RetainPtr<WKPasteboardFilePromiseOwner> filePromiseOwner(AdoptNS, [(WKPasteboardFilePromiseOwner *)[WKPasteboardFilePromiseOwner alloc] initWithSource:pasteboardOwner.get()]);
  /external/webkit/Source/WebKit2/WebProcess/mac/
WebProcessMac.mm 82 RetainPtr<NSString> nsurlCacheDirectory(AdoptNS, (NSString *)WKCopyFoundationCacheDirectory());
228 RetainPtr<NSURLCache> parentProcessURLCache(AdoptNS, [[NSURLCache alloc] initWithMemoryCapacity:cacheMemoryCapacity diskCapacity:cacheDiskCapacity diskPath:parameters.nsURLCachePath]);
  /external/webkit/Source/JavaScriptCore/wtf/
RetainPtr.h 43 enum AdoptNSTag { AdoptNS };
98 void adoptNS(PtrType);
176 template<typename T> inline void RetainPtr<T>::adoptNS(PtrType optr)
253 using WTF::AdoptNS;
  /external/webkit/Source/WebKit2/UIProcess/API/mac/
PageClientImpl.mm 119 , m_undoTarget(AdoptNS, [[WKEditorUndoTargetObjC alloc] init])
218 RetainPtr<WKEditCommandObjC> commandObjC(AdoptNS, [[WKEditCommandObjC alloc] initWithWebEditCommandProxy:command]);
250 RetainPtr<NSImage> dragNSImage(AdoptNS, [[NSImage alloc] initWithCGImage:dragCGImage.get() size:dragImage->size()]);
383 RetainPtr<NSMutableAttributedString> attributedString(AdoptNS, [[NSMutableAttributedString alloc] initWithString:nsStringFromWebCoreString(text)]);
PDFViewController.mm 132 _pdfPreviewView.adoptNS([[previewViewClass alloc] initWithFrame:frame]);
373 , m_wkPDFView(AdoptNS, [[WKPDFView alloc] initWithFrame:[m_wkView bounds] PDFViewController:this])
406 RetainPtr<NSData> nsData(AdoptNS, [[NSData alloc] initWithBytesNoCopy:const_cast<uint8_t*>(dataReference.data()) length:dataReference.size() freeWhenDone:NO]);
438 RetainPtr<PDFDocument> pdfDocument(AdoptNS, [[pdfDocumentClass() alloc] initWithData:(NSData *)m_pdfData.get()]);
503 RetainPtr<NSNumber> permissions(AdoptNS, [[NSNumber alloc] initWithInt:S_IRUSR]);
504 RetainPtr<NSDictionary> fileAttributes(AdoptNS, [[NSDictionary alloc] initWithObjectsAndKeys:permissions.get(), NSFilePosixPermissions, nil]);
581 m_pathToPDFOnDisk.adoptNS([path copy]);
  /external/webkit/Source/WebKit2/Shared/mac/
ArgumentCodersMac.mm 200 RetainPtr<NSMutableAttributedString> resultString(AdoptNS, [[NSMutableAttributedString alloc] initWithString:plainString.get()]);
276 RetainPtr<NSMutableDictionary> dictionary(AdoptNS, [[NSMutableDictionary alloc] initWithCapacity:size]);

Completed in 1002 milliseconds

1 2