Searched refs:RetainPtr (Results 126 - 150 of 447) sorted by relevance

1234567891011>>

/macosx-10.9.5/WebCore-7537.78.1/platform/network/cf/
H A DProxyServerCFNet.cpp31 #include <wtf/RetainPtr.h>
50 RetainPtr<CFStringRef> errorDescriptionCF = adoptCF(CFErrorCopyDescription(error));
84 RetainPtr<CFRunLoopSourceRef> runLoopSource = adoptCF(CFNetworkExecuteProxyAutoConfigurationURL(scriptURL, url, proxyAutoConfigurationResultCallback, &context));
124 RetainPtr<CFDictionaryRef> proxySettings = adoptCF(CFNetworkCopySystemProxySettings());
128 RetainPtr<CFURLRef> cfURL = url.createCFURL();
129 RetainPtr<CFArrayRef> proxiesForURL = adoptCF(CFNetworkCopyProxiesForURL(cfURL.get(), proxySettings.get()));
H A DResourceErrorCF.cpp34 #include <wtf/RetainPtr.h>
100 RetainPtr<CFDictionaryRef> userInfo = adoptCF(CFErrorCopyUserInfo(m_platformError.get()));
108 RetainPtr<CFURLRef> absoluteURLRef = adoptCF(CFURLCopyAbsoluteURL(failingURL));
149 RetainPtr<CFMutableDictionaryRef> userInfo = adoptCF(CFDictionaryCreateMutable(0, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
155 RetainPtr<CFStringRef> failingURLString = m_failingURL.createCFString();
157 RetainPtr<CFURLRef> url = adoptCF(CFURLCreateWithString(0, failingURLString.get(), 0));
H A DResourceResponseCFNet.cpp34 #include <wtf/RetainPtr.h>
53 RetainPtr<CFURLRef> url = m_url.createCFURL();
104 RetainPtr<CFDictionaryRef> headers = adoptCF(CFHTTPMessageCopyAllHeaderFields(httpResponse));
118 RetainPtr<CFStringRef> statusLine = adoptCF(CFHTTPMessageCopyResponseStatusLine(httpResponse));
121 RetainPtr<CFDictionaryRef> headers = adoptCF(CFHTTPMessageCopyAllHeaderFields(httpResponse));
132 RetainPtr<CFStringRef> suggestedFilename = adoptCF(CFURLResponseCopySuggestedFilename(m_cfResponse.get()));
H A DResourceRequest.h31 #include <wtf/RetainPtr.h>
124 RetainPtr<CFURLRequestRef> m_cfRequest;
127 RetainPtr<NSURLRequest> m_nsRequest;
H A DResourceRequestCFNet.cpp116 RetainPtr<CFDictionaryRef> oldHeaderFields = adoptCF(CFURLRequestCopyAllHTTPHeaderFields(request));
133 RetainPtr<CFURLRef> url = ResourceRequest::url().createCFURL();
134 RetainPtr<CFURLRef> firstPartyForCookies = ResourceRequest::firstPartyForCookies().createCFURL();
157 RetainPtr<CFMutableArrayRef> encodingFallbacks = adoptCF(CFArrayCreateMutable(kCFAllocatorDefault, fallbackCount, 0));
159 RetainPtr<CFStringRef> encodingName = m_responseContentDispositionEncodingFallbackArray[i].createCFString();
167 RetainPtr<CFHTTPCookieStorageRef> cookieStorage = adoptCF(CFURLRequestCopyHTTPCookieStorage(m_cfRequest.get()));
178 RetainPtr<CFStringRef> partitionValue = adoptCF(CFStringCreateWithBytes(0, reinterpret_cast<const UInt8*>(utf8String.data()), utf8String.length(), kCFStringEncodingUTF8, false));
193 RetainPtr<CFURLRef> url = ResourceRequest::url().createCFURL();
194 RetainPtr<CFURLRef> firstPartyForCookies = ResourceRequest::firstPartyForCookies().createCFURL();
208 if (RetainPtr<CFReadStreamRe
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebCoreSupport/mac/
H A DWebFrameNetworkingContext.mm82 if (RetainPtr<CFHTTPCookieStorageRef> cookieStorage = NetworkStorageSession::defaultStorageSession().cookieStorage())
106 RetainPtr<CFDataRef> WebFrameNetworkingContext::sourceApplicationAuditData() const
108 return RetainPtr<CFDataRef>();
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/mac/
H A DGraphicsContextMac.mm77 RetainPtr<CGMutablePathRef> focusRingPath = adoptCF(CGPathCreateMutable());
119 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, spellingPatternColor, (createPatternColor(@"NSSpellingDot", @"SpellingDot", [NSColor redColor], usingDotForSpelling)));
128 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, grammarPatternColor, (createPatternColor(@"NSGrammarDot", @"GrammarDot", [NSColor greenColor], usingDotForGrammar)));
140 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, spellingPatternColor, (createPatternColor(@"NSCorrectionDot", @"CorrectionDot", [NSColor blueColor], usingDotForSpelling)));
193 RetainPtr<NSString> iccProfilePath = [[NSBundle bundleWithIdentifier:@"com.apple.WebCore"] pathForResource:@"linearSRGB" ofType:@"icc"];
194 RetainPtr<NSData> iccProfileData = adoptNS([[NSData alloc] initWithContentsOfFile:iccProfilePath.get()]);
/macosx-10.9.5/WebKit-7537.78.2/mac/WebCoreSupport/
H A DWebNotificationClient.h32 #import <wtf/RetainPtr.h>
77 HashMap<RefPtr<WebCore::Notification>, RetainPtr<WebNotification> > m_notificationMap;
79 typedef HashMap<RefPtr<WebCore::ScriptExecutionContext>, Vector<RetainPtr<WebNotification> > > NotificationContextMap;
H A DWebApplicationCache.mm32 #import <wtf/RetainPtr.h>
83 RetainPtr<WebSecurityOrigin> webOrigin = adoptNS([[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:(*it).get()]);
H A DWebInspectorClient.h35 #import <wtf/RetainPtr.h>
88 RetainPtr<WebNodeHighlighter> m_highlighter;
125 RetainPtr<WebInspectorWindowController> m_windowController;
127 HashMap<String, RetainPtr<NSURL>> m_suggestedToActualURLMap;
/macosx-10.9.5/WebKit-7537.78.2/mac/WebView/
H A DWebScriptDebugger.h35 #include <wtf/RetainPtr.h>
71 RetainPtr<WebScriptCallFrame> m_topCallFrame;
74 RetainPtr<WebScriptCallFrame> m_globalCallFrame;
/macosx-10.9.5/WebKit2-7537.78.2/Shared/Network/CustomProtocols/
H A DCustomProtocolManager.h41 #include <wtf/RetainPtr.h>
104 typedef HashMap<uint64_t, RetainPtr<WKCustomProtocol>> CustomProtocolMap;
109 // We return a RetainPtr here because it is unsafe to return a raw pointer since the object might immediately be destroyed from a different thread.
110 RetainPtr<WKCustomProtocol> protocolForID(uint64_t customProtocolID);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/
H A DBackingStore.h34 #include <wtf/RetainPtr.h>
90 RetainPtr<CGLayerRef> m_cgLayer;
91 RetainPtr<CGContextRef> m_bitmapContext;
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/Plugins/PDF/
H A DPDFPlugin.h37 #include <wtf/RetainPtr.h>
166 RetainPtr<CALayer> m_containerLayer;
167 RetainPtr<CALayer> m_contentLayer;
168 RetainPtr<CALayer> m_horizontalScrollbarLayer;
169 RetainPtr<CALayer> m_verticalScrollbarLayer;
170 RetainPtr<CALayer> m_scrollCornerLayer;
171 RetainPtr<PDFLayerController> m_pdfLayerController;
172 RetainPtr<WKPDFPluginAccessibilityObject> m_accessibilityObject;
188 RetainPtr<WKPDFLayerControllerDelegate> m_pdfLayerControllerDelegate;
/macosx-10.9.5/WebCore-7537.78.1/accessibility/ios/
H A DAXObjectCacheIOS.mm36 #import <wtf/RetainPtr.h>
48 RetainPtr<AccessibilityObjectWrapper> wrapper = adoptNS([[WebAccessibilityObjectWrapper alloc] initWithAccessibilityObject:obj]);
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/
H A DSSLKeyGeneratorMac.cpp32 #include <wtf/RetainPtr.h>
/macosx-10.9.5/WebKit-7537.78.2/cf/WebCoreSupport/
H A DWebInspectorClientCF.cpp58 #include <wtf/RetainPtr.h>
67 static inline RetainPtr<CFStringRef> createKeyForPreferences(const String& key)
74 RetainPtr<CFStringRef> preferencesKey = createKeyForPreferences(key);
75 RetainPtr<CFPropertyListRef> value = adoptCF(CFPreferencesCopyAppValue(preferencesKey.get(), kCFPreferencesCurrentApplication));
/macosx-10.9.5/WebKit-7537.78.2/mac/Storage/
H A DWebStorageTrackerClient.mm32 #import <wtf/RetainPtr.h>
61 RetainPtr<WebSecurityOrigin> webSecurityOrigin = adoptNS([[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:origin.get()]);
/macosx-10.9.5/WebKit2-7537.78.2/Shared/Network/CustomProtocols/mac/
H A DCustomProtocolManagerMac.mm212 RetainPtr<WKCustomProtocol> protocol = protocolForID(customProtocolID);
216 RetainPtr<NSError> nsError = error.nsError();
227 RetainPtr<WKCustomProtocol> protocol = protocolForID(customProtocolID);
231 RetainPtr<NSData> nsData = adoptNS([[NSData alloc] initWithBytes:data.data() length:data.size()]);
240 RetainPtr<WKCustomProtocol> protocol = protocolForID(customProtocolID);
244 RetainPtr<NSURLResponse> nsResponse = response.nsURLResponse();
253 RetainPtr<WKCustomProtocol> protocol = protocolForID(customProtocolID);
264 RetainPtr<WKCustomProtocol> CustomProtocolManager::protocolForID(uint64_t customProtocolID)
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cg/
H A DImageBufferCG.cpp42 #include <wtf/RetainPtr.h>
65 static RetainPtr<IOSurfaceRef> createIOSurface(const IntSize& size)
95 RetainPtr<CFDictionaryRef> dict = adoptCF(CFDictionaryCreate(0, keys, values, 6, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
155 RetainPtr<CGContextRef> cgContext;
226 RetainPtr<CGImageRef> image;
231 RetainPtr<CGContextRef> context = adoptCF(CGBitmapContextCreate(0, logicalSize().width(), logicalSize().height(), 8, 4 * logicalSize().width(), deviceRGBColorSpaceRef(), kCGImageAlphaPremultipliedLast));
281 RetainPtr<CGImageRef> image;
315 RetainPtr<CGImageRef> image = adoptCF(copyNativeImage(DontCopyBackingStore));
371 RetainPtr<CGImageRef> sourceCopyImage = adoptCF(sourceCopy->copyNativeImage());
385 static RetainPtr<CFStringRe
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/ios/
H A DClipboardIOS.mm77 RetainPtr<CFStringRef> utiType = adoptCF(UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, (CFStringRef)type, NULL));
79 RetainPtr<CFStringRef> mimeType = adoptCF(UTTypeCopyPreferredTagWithClass(utiType.get(), kUTTagClassMIMEType));
86 static RetainPtr<NSString> cocoaTypeFromHTMLClipboardType(const String& type)
138 if (RetainPtr<NSString> cocoaType = cocoaTypeFromHTMLClipboardType(type)) {
139 RetainPtr<NSDictionary> representations = adoptNS([[NSMutableDictionary alloc] init]);
150 RetainPtr<NSDictionary> representations = adoptNS([[NSMutableDictionary alloc] init]);
159 RetainPtr<NSString> cocoaType = cocoaTypeFromHTMLClipboardType(type);
163 RetainPtr<NSArray> pasteboardItem = m_frame->editor().client()->readDataFromPasteboard(cocoaType.get(), 0);
209 RetainPtr<NSString> cocoaType = cocoaTypeFromHTMLClipboardType(type);
212 RetainPtr<NSDictionar
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/Shared/mac/
H A DObjCObjectGraphCoders.mm180 RetainPtr<NSString> string;
191 RetainPtr<NSMutableArray> array = adoptNS([[NSMutableArray alloc] initWithCapacity:size]);
193 RetainPtr<id> value;
209 RetainPtr<NSMutableDictionary> dictionary = adoptNS([[NSMutableDictionary alloc] initWithCapacity:size]);
212 RetainPtr<id> key;
217 RetainPtr<id> value;
229 RetainPtr<NSNumber> number;
236 RetainPtr<NSDate> date;
243 RetainPtr<NSData> data;
257 ObjCObjectGraphDecoder(RetainPtr<i
[all...]
/macosx-10.9.5/WebCore-7537.78.1/loader/archive/cf/
H A DLegacyWebArchive.cpp52 #include <wtf/RetainPtr.h>
67 RetainPtr<CFDictionaryRef> LegacyWebArchive::createPropertyListRepresentation(ArchiveResource* resource, MainResourceStatus isMainResource)
73 RetainPtr<CFMutableDictionaryRef> propertyList = adoptCF(CFDictionaryCreateMutable(0, 3, 0, 0));
80 RetainPtr<CFMutableDictionaryRef> propertyList = adoptCF(CFDictionaryCreateMutable(0, 6, 0, &kCFTypeDictionaryValueCallBacks));
84 RetainPtr<CFDataRef> cfData;
92 if (RetainPtr<CFStringRef> cfURL = resource->url().string().createCFString())
115 RetainPtr<CFDataRef> resourceResponseData = createPropertyListRepresentation(resource->response());
123 RetainPtr<CFDictionaryRef> LegacyWebArchive::createPropertyListRepresentation(Archive* archive)
125 RetainPtr<CFMutableDictionaryRef> propertyList = adoptCF(CFDictionaryCreateMutable(0, 3, 0, &kCFTypeDictionaryValueCallBacks));
127 RetainPtr<CFDictionaryRe
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/ca/win/
H A DPlatformCAAnimationWin.cpp124 static RetainPtr<CACFTimingFunctionRef> toCACFTimingFunction(const TimingFunction* timingFunction, bool reverse)
350 RetainPtr<CFNumberRef> v = adoptCF(CFNumberCreate(0, kCFNumberFloatType, &value));
359 RetainPtr<CACFVectorRef> v = adoptCF(CACFVectorCreateTransform(value));
369 RetainPtr<CACFVectorRef> v = adoptCF(CACFVectorCreate(3, a));
379 RetainPtr<CACFVectorRef> v = adoptCF(CACFVectorCreate(4, a));
403 RetainPtr<CFNumberRef> v = adoptCF(CFNumberCreate(0, kCFNumberFloatType, &value));
412 RetainPtr<CACFVectorRef> v = adoptCF(CACFVectorCreateTransform(value));
422 RetainPtr<CACFVectorRef> v = adoptCF(CACFVectorCreate(3, a));
432 RetainPtr<CACFVectorRef> v = adoptCF(CACFVectorCreate(4, a));
458 RetainPtr<CFMutableArrayRe
[all...]
/macosx-10.9.5/WebCore-7537.78.1/history/mac/
H A DHistoryItemMac.mm62 m_transientProperties = adoptPtr(new HashMap<String, RetainPtr<id> >);

Completed in 135 milliseconds

1234567891011>>