HomeSort by relevance Sort by last modified time
    Searched refs:adoptCF (Results 26 - 50 of 64) sorted by null

12 3

  /external/webkit/Source/WebKit/cf/WebCoreSupport/
WebInspectorClientCF.cpp 79 RetainPtr<CFStringRef> keyCFString(AdoptCF, key.createCFString());
85 RetainPtr<CFStringRef> preferencesKey(AdoptCF, createKeyForPreferences(key));
86 RetainPtr<CFPropertyListRef> value(AdoptCF, CFPreferencesCopyAppValue(preferencesKey.get(), kCFPreferencesCurrentApplication));
103 objectToStore.adoptCF(setting.createCFString());
106 RetainPtr<CFStringRef> preferencesKey(AdoptCF, createKeyForPreferences(key));
  /external/webkit/Source/WebKit2/WebProcess/WebPage/win/
WebPageWin.cpp 266 RetainPtr<CFURLRef> cfURL(AdoptCF, url.createCFURL());
267 RetainPtr<CFMutableURLRequestRef> request(AdoptCF, CFURLRequestCreateMutable(0, cfURL.get(), kCFURLRequestCachePolicyReloadIgnoringCache, 60, 0));
269 RetainPtr<CFStringRef> userAgent(AdoptCF, userAgent().createCFString());
275 cache.adoptCF(wkCopyURLCache(storageSession));
278 cache.adoptCF(CFURLCacheCopySharedURLCache());
280 RetainPtr<CFCachedURLResponseRef> response(AdoptCF, CFURLCacheCopyResponseForRequest(cache.get(), request.get()));
290 RetainPtr<CFURLRef> cfURL(AdoptCF, url.createCFURL());
291 RetainPtr<CFMutableURLRequestRef> request(AdoptCF, CFURLRequestCreateMutable(0, cfURL.get(), kCFURLRequestCachePolicyReloadIgnoringCache, 60, 0));
293 RetainPtr<CFStringRef> userAgent(AdoptCF, userAgent().createCFString());
299 cache.adoptCF(wkCopyURLCache(storageSession))
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
RetainPtr.h 42 enum AdoptCFTag { AdoptCF };
97 void adoptCF(PtrType);
168 template<typename T> inline void RetainPtr<T>::adoptCF(PtrType optr)
252 using WTF::AdoptCF;
  /external/webkit/Source/WebCore/platform/graphics/chromium/
CrossProcessFontLoading.mm 140 m_cgFont.adoptCF(CGFontCreateWithPlatformFont(&m_atsFontRef));
  /external/webkit/Source/WebCore/platform/graphics/mac/
ComplexTextControllerCoreText.cpp 147 RetainPtr<CTTypesetterRef> typesetter(AdoptCF, wkCreateCTTypesetterWithUniCharProviderAndOptions(&provideStringAndAttributes, 0, &info, m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions));
149 RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, cp, length, kCFAllocatorNull));
150 RetainPtr<CFAttributedStringRef> attributedString(AdoptCF, CFAttributedStringCreate(kCFAllocatorDefault, string.get(), fontData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation())));
151 RetainPtr<CTTypesetterRef> typesetter(AdoptCF, CTTypesetterCreateWithAttributedStringAndOptions(attributedString.get(), m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions));
154 line.adoptCF(CTTypesetterCreateLine(typesetter.get(), CFRangeMake(0, 0)));
158 line.adoptCF(wkCreateCTLineWithUniCharProvider(&provideStringAndAttributes, 0, &info));
WebGLLayer.mm 118 imageColorSpace.adoptCF(CGColorSpaceCreateDeviceRGB());
  /external/webkit/Source/WebCore/platform/network/cf/
ResourceRequestCFNet.cpp 95 RetainPtr<CFDictionaryRef> oldHeaderFields(AdoptCF, CFURLRequestCopyAllHTTPHeaderFields(request));
118 RetainPtr<CFURLRef> url(AdoptCF, ResourceRequest::url().createCFURL());
119 RetainPtr<CFURLRef> firstPartyForCookies(AdoptCF, ResourceRequest::firstPartyForCookies().createCFURL());
130 RetainPtr<CFStringRef> requestMethod(AdoptCF, httpMethod().createCFString());
138 RetainPtr<CFMutableArrayRef> encodingFallbacks(AdoptCF, CFArrayCreateMutable(kCFAllocatorDefault, fallbackCount, 0));
140 RetainPtr<CFStringRef> encodingName(AdoptCF, m_responseContentDispositionEncodingFallbackArray[i].createCFString());
148 RetainPtr<CFHTTPCookieStorageRef> cookieStorage(AdoptCF, CFURLRequestCopyHTTPCookieStorage(m_cfRequest.get()));
155 m_cfRequest.adoptCF(cfRequest);
188 RetainPtr<CFArrayRef> encodingFallbacks(AdoptCF, copyContentDispositionEncodingFallbackArray(m_cfRequest.get()));
207 m_cfRequest.adoptCF(cfRequest)
    [all...]
ResourceErrorCF.cpp 90 RetainPtr<CFDictionaryRef> userInfo(AdoptCF, CFErrorCopyUserInfo(m_platformError.get()));
98 RetainPtr<CFURLRef> absoluteURLRef(AdoptCF, CFURLCopyAbsoluteURL(failingURL));
135 RetainPtr<CFMutableDictionaryRef> userInfo(AdoptCF, CFDictionaryCreateMutable(0, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
138 RetainPtr<CFStringRef> localizedDescriptionString(AdoptCF, m_localizedDescription.createCFString());
143 RetainPtr<CFStringRef> failingURLString(AdoptCF, m_failingURL.createCFString());
145 RetainPtr<CFURLRef> url(AdoptCF, KURL(ParsedURLString, m_failingURL).createCFURL());
154 RetainPtr<CFStringRef> domainString(AdoptCF, m_domain.createCFString());
155 m_platformError.adoptCF(CFErrorCreate(0, domainString.get(), m_errorCode, userInfo.get()));
ResourceResponseCFNet.cpp 53 RetainPtr<CFURLRef> url(AdoptCF, m_url.createCFURL());
54 RetainPtr<CFStringRef> mimeType(AdoptCF, m_mimeType.createCFString());
55 RetainPtr<CFStringRef> textEncodingName(AdoptCF, m_textEncodingName.createCFString());
56 m_cfResponse.adoptCF(CFURLResponseCreate(0, url.get(), mimeType.get(), m_expectedContentLength, textEncodingName.get(), kCFURLCacheStorageAllowed));
101 RetainPtr<CFStringRef> suggestedFilename(AdoptCF, CFURLResponseCopySuggestedFilename(m_cfResponse.get()));
108 RetainPtr<CFDictionaryRef> headers(AdoptCF, CFHTTPMessageCopyAllHeaderFields(httpResponse));
122 RetainPtr<CFStringRef> statusLine(AdoptCF, CFHTTPMessageCopyResponseStatusLine(httpResponse));
125 RetainPtr<CFDictionaryRef> headers(AdoptCF, CFHTTPMessageCopyAllHeaderFields(httpResponse));
SocketStreamHandleCFNet.cpp 73 m_httpsURL.adoptCF(httpsURL.createCFURL());
146 m_pacRunLoopSource.adoptCF(CFNetworkExecuteProxyAutoConfigurationURL(pacFileURL, m_httpsURL.get(), pacExecutionCallback, &clientContext));
171 RetainPtr<CFDictionaryRef> proxyDictionary(AdoptCF, CFNetworkCopySystemProxySettings());
174 RetainPtr<CFDictionaryRef> proxyDictionary(AdoptCF, SCDynamicStoreCopyProxies(0));
189 RetainPtr<CFArrayRef> proxyArray(AdoptCF, CFNetworkCopyProxiesForURL(m_httpsURL.get(), proxyDictionary.get()));
258 RetainPtr<CFDictionaryRef> proxyDictionary(AdoptCF, SCDynamicStoreCopyProxies(0));
313 RetainPtr<CFStringRef> host(AdoptCF, m_url.host().createCFString());
320 m_readStream.adoptCF(readStream);
321 m_writeStream.adoptCF(writeStream);
334 RetainPtr<CFDictionaryRef> connectDictionary(AdoptCF, CFDictionaryCreate(0, proxyKeys, proxyValues, WTF_ARRAY_LENGTH(proxyKeys), &kCFTypeDictionaryKeyC (…)
    [all...]
ResourceHandleCFNet.cpp 147 RetainPtr<CFStringRef> lastHTTPMethod(AdoptCF, handle->lastHTTPMethod().createCFString());
148 RetainPtr<CFStringRef> newMethod(AdoptCF, CFURLRequestCopyHTTPRequestMethod(cfRequest));
150 RetainPtr<CFMutableURLRequestRef> mutableRequest(AdoptCF, CFURLRequestCreateMutableCopy(0, cfRequest));
158 RetainPtr<CFStringRef> originalContentTypeCF(AdoptCF, originalContentType.createCFString());
349 sslProps.adoptCF(CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
359 sslProps.adoptCF(CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
374 RetainPtr<CFArrayRef> cookies(AdoptCF, CFHTTPCookieStorageCopyCookiesForURL(cookieStorage, url, false));
429 RetainPtr<CFURLRequestRef> request(AdoptCF, makeFinalRequest(firstRequest(), shouldContentSniff));
432 RetainPtr<CFDictionaryRef> connectionProperties(AdoptCF, createConnectionProperties(shouldUseCredentialStorage));
434 d->m_connection.adoptCF(CFURLConnectionCreateWithProperties(0, request.get(), reinterpret_cast<CFURLConnectionClient*>(&cl (…)
    [all...]
  /external/webkit/Source/WebKit/mac/WebView/
WebPDFDocumentExtras.mm 114 data.adoptCF(CGPDFStreamCopyData(stream, &format));
  /external/webkit/Source/WebKit2/UIProcess/cf/
WebPageProxyCF.cpp 55 RetainPtr<CFDictionaryRef> sessionHistoryDictionary(AdoptCF, m_backForwardList->createCFDictionaryRepresentation(filter, context));
68 provisionalURLString.adoptCF(provisionalURL.createCFString());
78 RetainPtr<CFDictionaryRef> stateDictionary(AdoptCF, CFDictionaryCreate(0, keys, values, numValues, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
80 RetainPtr<CFWriteStreamRef> writeStream(AdoptCF, CFWriteStreamCreateWithAllocatedBuffers(0, 0));
90 RetainPtr<CFDataRef> stateCFData(AdoptCF, (CFDataRef)CFWriteStreamCopyProperty(writeStream.get(), kCFStreamPropertyDataWritten));
120 RetainPtr<CFDataRef> data(AdoptCF, CFDataCreate(0, webData->bytes() + sizeof(UInt32), webData->size() - sizeof(UInt32)));
123 RetainPtr<CFPropertyListRef> propertyList(AdoptCF, CFPropertyListCreateFromXMLData(0, data.get(), kCFPropertyListImmutable, &propertyListError));
186 return RetainPtr<CFStringRef>(AdoptCF, key.createCFString());
197 items.adoptCF(CFArrayCreateMutable(0, size, &kCFTypeArrayCallBacks));
199 RetainPtr<CFStringRef> item(AdoptCF, searchItems[i].createCFString())
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/Downloads/cfnet/
DownloadCFNet.cpp 66 m_download.adoptCF(CFURLDownloadCreate(0, cfRequest, &client));
89 m_download.adoptCF(CFURLDownloadCreateAndStartWithLoadingConnection(0, connection, initialRequest.cfURLRequest(), response.cfURLResponse(), &client));
112 RetainPtr<CFDataRef> resumeData(AdoptCF, CFURLDownloadCopyResumeData(m_download.get()));
134 RetainPtr<CFStringRef> bundlePath(AdoptCF, CFStringCreateWithCharactersNoCopy(0, reinterpret_cast<const UniChar*>(m_bundlePath.characters()), m_bundlePath.length(), kCFAllocatorNull));
135 RetainPtr<CFURLRef> bundlePathURL(AdoptCF, CFURLCreateWithFileSystemPath(0, bundlePath.get(), kCFURLWindowsPathStyle, false));
  /external/webkit/Source/WebKit2/WebProcess/WebPage/ca/mac/
LayerTreeHostCAMac.mm 83 m_flushPendingLayerChangesRunLoopObserver.adoptCF(CFRunLoopObserverCreate(0, kCFRunLoopBeforeWaiting | kCFRunLoopExit, true, runLoopOrder, flushPendingLayerChangesRunLoopObserverCallback, &context));
  /external/webkit/Source/WebKit/win/
WebDownloadCFNet.cpp 87 m_download.adoptCF(CFURLDownloadCreateAndStartWithLoadingConnection(0, connection, request.cfURLRequest(), response.cfURLResponse(), &client));
116 m_download.adoptCF(CFURLDownloadCreate(0, cfRequest, &client));
147 m_download.adoptCF(CFURLDownloadCreate(0, cfRequest.get(), &client));
169 RetainPtr<CFDataRef> resumeData(AdoptCF, DownloadBundle::extractResumeData(String(bundlePath, SysStringLen(bundlePath))));
183 RetainPtr<CFURLRef> pathURL(AdoptCF, MarshallingHelpers::PathStringToFileCFURLRef(String(bundlePath, SysStringLen(bundlePath))));
186 m_download.adoptCF(CFURLDownloadCreateWithResumeData(0, resumeData.get(), pathURL.get(), &client));
251 resumeData.adoptCF(CFURLDownloadCopyResumeData(m_download.get()));
343 RetainPtr<CFURLCredentialRef> cfCredential(AdoptCF, createCF(webCredential->credential()));
387 RetainPtr<CFURLCredentialRef> cfCredential(AdoptCF, createCF(credential));
CFDictionaryPropertyBag.cpp 181 m_dictionary.adoptCF(CFDictionaryCreateMutable(0, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
WebError.cpp 222 m_cfErrorUserInfoDict.adoptCF(CFErrorCopyUserInfo(cfError));
  /external/webkit/Source/WebKit2/WebProcess/win/
WebProcessWin.cpp 72 RetainPtr<CFStringRef> cfurlCacheDirectory(AdoptCF, wkCopyFoundationCacheDirectory());
74 cfurlCacheDirectory.adoptCF(WebCore::localUserSpecificStorageDirectory().createCFString());
97 RetainPtr<CFURLCacheRef> cfurlCache(AdoptCF, CFURLCacheCopySharedURLCache());
108 CFURLCacheRemoveAllCachedResponses(RetainPtr<CFURLCacheRef>(AdoptCF, CFURLCacheCopySharedURLCache()).get());
117 RetainPtr<CFStringRef> cachePath(AdoptCF, parameters.cfURLCachePath.createCFString());
123 RetainPtr<CFURLCacheRef> uiProcessCache(AdoptCF, CFURLCacheCreate(kCFAllocatorDefault, cacheMemoryCapacity, cacheDiskCapacity, cachePath.get()));
  /external/webkit/Source/WebCore/platform/graphics/cg/
ImageCG.cpp 115 RetainPtr<CGContextRef> bmap(AdoptCF, CGBitmapContextCreate(pixel, 1, 1, 8, sizeof(pixel), deviceRGBColorSpaceRef(),
143 return RetainPtr<CGImageRef>(AdoptCF, CGImageCreateCopyWithColorSpace(originalImage, sRGBColorSpaceRef()));
145 return RetainPtr<CGImageRef>(AdoptCF, CGImageCreateCopyWithColorSpace(originalImage, linearRGBColorSpaceRef()));
219 image.adoptCF(CGImageCreateWithImageInRect(image.get(), subimageRect));
301 subImage.adoptCF(CGImageCreateWithImageInRect(tileImage, tileRect));
333 RetainPtr<CGPatternRef> pattern(AdoptCF, CGPatternCreate(subImage.get(), CGRectMake(0, 0, tileRect.width(), tileRect.height()),
341 RetainPtr<CGColorSpaceRef> patternSpace(AdoptCF, CGColorSpaceCreatePattern(0));
344 RetainPtr<CGColorRef> color(AdoptCF, CGColorCreateWithPattern(patternSpace.get(), pattern.get(), &alpha));
  /external/webkit/Source/WebKit2/WebProcess/WebPage/ca/win/
LayerTreeHostCAWin.cpp 90 RetainPtr<WKCACFViewRef> view(AdoptCF, WKCACFViewCreate(kWKCACFViewDrawingDestinationImage));
127 m_view.adoptCF(WKCACFViewCreate(kWKCACFViewDrawingDestinationImage));
199 RetainPtr<WKCACFImageRef> image(AdoptCF, WKCACFViewCopyDrawnImage(m_view.get(), &imageOrigin, &nextDrawTime));
  /external/webkit/Tools/DumpRenderTree/cg/
ImageDiffCG.cpp 75 RetainPtr<CFMutableDataRef> data(AdoptCF, CFDataCreateMutable(0, bytesRemaining));
83 RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithCFData(data.get()));
84 return RetainPtr<CGImageRef>(AdoptCF, CGImageCreateWithPNGDataProvider(dataProvider.get(), 0, false, kCGRenderingIntentDefault));
100 RetainPtr<CGContextRef> baseContext(AdoptCF, CGBitmapContextCreate(baseBuffer, width, height, 8, rowBytes, CGImageGetColorSpace(baseImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
105 RetainPtr<CGContextRef> context(AdoptCF, CGBitmapContextCreate(buffer, width, height, 8, rowBytes, CGImageGetColorSpace(testImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
154 RetainPtr<CGDataProviderRef> provider(AdoptCF, CGDataProviderCreateWithData(0, diffBuffer, width * height, releaseMallocBuffer));
155 diffImage.adoptCF(CGImageCreate(width, height, 8, 8, width, diffColorspace, 0, provider.get(), 0, false, kCGRenderingIntentDefault));
234 RetainPtr<CFMutableDataRef> imageData(AdoptCF, CFDataCreateMutable(0, 0));
235 RetainPtr<CGImageDestinationRef> imageDest(AdoptCF, CGImageDestinationCreateWithData(imageData.get(), kUTTypePNG, 1, 0));
  /external/webkit/Source/WebCore/loader/archive/cf/
LegacyWebArchive.cpp 73 RetainPtr<CFMutableDictionaryRef> propertyList(AdoptCF, CFDictionaryCreateMutable(0, 3, 0, 0));
80 RetainPtr<CFMutableDictionaryRef> propertyList(AdoptCF, CFDictionaryCreateMutable(0, 6, 0, &kCFTypeDictionaryValueCallBacks));
86 cfData.adoptCF(data->createCFData());
88 cfData.adoptCF(CFDataCreate(0, 0, 0));
92 RetainPtr<CFStringRef> cfURL(AdoptCF, resource->url().string().createCFString());
103 RetainPtr<CFStringRef> cfFrameName(AdoptCF, frameName.createCFString());
110 RetainPtr<CFStringRef> cfMIMEType(AdoptCF, mimeType.createCFString());
116 RetainPtr<CFStringRef> cfTextEncoding(AdoptCF, textEncoding.createCFString());
132 RetainPtr<CFMutableDictionaryRef> propertyList(AdoptCF, CFDictionaryCreateMutable(0, 3, 0, &kCFTypeDictionaryValueCallBacks));
140 RetainPtr<CFMutableArrayRef> subresourcesArray(AdoptCF, CFArrayCreateMutable(0, archive->subresources().size(), &kCFTypeArrayCallBacks))
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/ca/win/
PlatformCAAnimationWin.cpp 130 return RetainPtr<CACFTimingFunctionRef>(AdoptCF, CACFTimingFunctionCreate(static_cast<float>(ctf->x1()), static_cast<float>(ctf->y1()), static_cast<float>(ctf->x2()), static_cast<float>(ctf->y2())));
150 m_animation.adoptCF(CACFAnimationCreate(kCACFBasicAnimation));
152 m_animation.adoptCF(CACFAnimationCreate(kCACFKeyframeAnimation));
154 RetainPtr<CFStringRef> s(AdoptCF, keyPath.createCFString());
335 RetainPtr<CFNumberRef> v(AdoptCF, CFNumberCreate(0, kCFNumberFloatType, &value));
344 RetainPtr<CACFVectorRef> v(AdoptCF, CACFVectorCreateTransform(value));
354 RetainPtr<CACFVectorRef> v(AdoptCF, CACFVectorCreate(3, a));
364 RetainPtr<CACFVectorRef> v(AdoptCF, CACFVectorCreate(4, a));
381 RetainPtr<CFNumberRef> v(AdoptCF, CFNumberCreate(0, kCFNumberFloatType, &value));
390 RetainPtr<CACFVectorRef> v(AdoptCF, CACFVectorCreateTransform(value))
    [all...]
  /external/webkit/Source/WebCore/platform/network/mac/
WebCoreURLResponse.mm 453 RetainPtr<CFStringRef> mimeType(AdoptCF, UTTypeCopyPreferredTagWithClass(uti, kUTTagClassMIMEType));
458 RetainPtr<CFDictionaryRef> decl(AdoptCF, UTTypeCopyDeclaration(uti));
494 RetainPtr<CFStringRef> extension(AdoptCF, CFURLCopyPathExtension(url));
501 extension.adoptCF(mutableExtension);
507 RetainPtr<CFStringRef> uti(AdoptCF, UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, extension.get(), 0));
524 RetainPtr<CFStringRef> contentType(AdoptCF, CFHTTPMessageCopyHeaderFieldValue(message, CFSTR("Content-Type")));

Completed in 683 milliseconds

12 3