/external/webkit/Source/WebCore/platform/mac/ |
SchedulePairMac.mm | 40 m_mode.adoptCF(CFStringCreateCopy(0, mode));
|
/external/webkit/Source/WebKit/win/ |
WebCache.cpp | 110 RetainPtr<CFMutableDictionaryRef> dictionary(AdoptCF, 113 RetainPtr<CFNumberRef> value(AdoptCF, CFNumberCreate(0, kCFNumberIntType, &stat.images.count)); 116 value.adoptCF(CFNumberCreate(0, kCFNumberIntType, &stat.cssStyleSheets.count)); 120 value.adoptCF(CFNumberCreate(0, kCFNumberIntType, &stat.xslStyleSheets.count)); 122 value.adoptCF(CFNumberCreate(0, kCFNumberIntType, &zero)); 126 value.adoptCF(CFNumberCreate(0, kCFNumberIntType, &stat.scripts.count)); 133 dictionary.adoptCF(CFDictionaryCreateMutable(0, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); 135 value.adoptCF(CFNumberCreate(0, kCFNumberIntType, &stat.images.size)); 138 value.adoptCF(CFNumberCreate(0, kCFNumberIntType, &stat.cssStyleSheets.size)); 142 value.adoptCF(CFNumberCreate(0, kCFNumberIntType, &stat.xslStyleSheets.size)) [all...] |
/external/webkit/Source/WebCore/platform/cf/ |
SchedulePair.cpp | 38 m_mode.adoptCF(CFStringCreateCopy(0, mode));
|
RunLoopTimerCF.cpp | 53 m_timer.adoptCF(CFRunLoopTimerCreate(0, CFAbsoluteTimeGetCurrent() + nextFireInterval, repeatInterval, 0, 0, timerFired, &context));
|
/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()); 170 result.adoptCF(kCFNull); 176 result.adoptCF(number.leakRef()); 183 result.adoptCF(string.leakRef()); 190 result.adoptCF(url.leakRef()); 198 result.adoptCF(certificate.leakRef()); 234 RetainPtr<CFMutableArrayRef> array(AdoptCF, CFArrayCreateMutable(0, 0, &kCFTypeArrayCallBacks)) [all...] |
/external/webkit/Source/WebCore/platform/network/cf/ |
CookieStorageCFNet.cpp | 69 privateCookieStorage().adoptCF(cookieStorage); 83 privateCookieStorage().adoptCF(wkCopyHTTPCookieStorage(privateStorageSession)); 86 privateCookieStorage().adoptCF(wkCreateInMemoryHTTPCookieStorage());
|
/external/webkit/Source/WebCore/platform/network/mac/ |
NetworkStateNotifierMac.cpp | 45 RetainPtr<CFStringRef> str(AdoptCF, SCDynamicStoreKeyCreateNetworkInterface(0, kSCDynamicStoreDomainState)); 47 RetainPtr<CFPropertyListRef> propertyList(AdoptCF, SCDynamicStoreCopyValue(m_store.get(), str.get())); 68 RetainPtr<CFStringRef> key(AdoptCF, SCDynamicStoreKeyCreateNetworkInterfaceEntity(0, kSCDynamicStoreDomainState, interface, kSCEntNetIPv4)); 70 RetainPtr<CFArrayRef> keyList(AdoptCF, SCDynamicStoreCopyKeyList(m_store.get(), key.get())); 108 m_store.adoptCF(SCDynamicStoreCreate(0, CFSTR("com.apple.WebCore"), dynamicStoreCallback, &context)); 118 RetainPtr<CFMutableArrayRef> keys(AdoptCF, CFArrayCreateMutable(0, 0, &kCFTypeArrayCallBacks)); 119 RetainPtr<CFMutableArrayRef> patterns(AdoptCF, CFArrayCreateMutable(0, 0, &kCFTypeArrayCallBacks)); 124 key.adoptCF(SCDynamicStoreKeyCreateNetworkGlobalEntity(0, kSCDynamicStoreDomainState, kSCEntNetIPv4)); 127 pattern.adoptCF(SCDynamicStoreKeyCreateNetworkInterfaceEntity(0, kSCDynamicStoreDomainState, kSCCompAnyRegex, kSCEntNetIPv4)); 130 key.adoptCF(SCDynamicStoreKeyCreateNetworkGlobalEntity(0, kSCDynamicStoreDomainState, kSCEntNetDNS)) [all...] |
CookieStorageMac.mm | 95 privateBrowsingCookieStorage().adoptCF(wkCopyHTTPCookieStorage(ResourceHandle::privateBrowsingStorageSession()));
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
SimpleFontDataCoreText.cpp | 66 attributesDictionary.adoptCF(CFDictionaryCreate(0, keysWithKerningDisabled, valuesWithKerningDisabled, 72 attributesDictionary.adoptCF(CFDictionaryCreate(0, keysWithKerningEnabled, valuesWithKerningEnabled,
|
FontCustomPlatformData.cpp | 73 RetainPtr<CFDataRef> bufferData(AdoptCF, buffer->createCFData()); 74 RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithCFData(bufferData.get())); 76 cgFontRef.adoptCF(CGFontCreateWithDataProvider(dataProvider.get())); 102 cgFontRef.adoptCF(CGFontCreateWithPlatformFont(&fontRef));
|
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/mac/ |
LayoutTestControllerMac.mm | 55 m_waitToDumpWatchdogTimer.adoptCF(CFRunLoopTimerCreate(kCFAllocatorDefault, CFAbsoluteTimeGetCurrent() + waitToDumpWatchdogTimerInterval, 0, 0, 0, WTR::waitUntilDoneWatchdogTimerFired, NULL));
|
/external/webkit/Source/WebCore/platform/image-decoders/cg/ |
ImageDecoderCG.cpp | 56 m_backingStore.adoptCF(CFDataCreateMutableCopy(kCFAllocatorDefault, 0, other.m_backingStore.get())); 70 m_backingStore.adoptCF(backingStoreRef); 84 RetainPtr<CFDataRef> data(AdoptCF, CFDataCreate(kCFAllocatorDefault, reinterpret_cast<const UInt8*>(colorProfile.data()), colorProfile.size())); 88 RetainPtr<CGDataProviderRef> profileDataProvider(AdoptCF, CGDataProviderCreateWithCFData(data.get())); 96 RetainPtr<CGColorSpaceRef> colorSpace(AdoptCF, createColorSpace(m_colorProfile)); 97 RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithCFData(m_backingStore.get()));
|
/external/webkit/Source/WebKit2/Platform/mac/ |
ModuleMac.mm | 33 RetainPtr<CFStringRef> bundlePath(AdoptCF, m_path.createCFString()); 34 RetainPtr<CFURLRef> bundleURL(AdoptCF, CFURLCreateWithFileSystemPath(kCFAllocatorDefault, bundlePath.get(), kCFURLPOSIXPathStyle, FALSE)); 38 RetainPtr<CFBundleRef> bundle(AdoptCF, CFBundleCreate(kCFAllocatorDefault, bundleURL.get())); 45 m_bundle.adoptCF(bundle.releaseRef()); 66 RetainPtr<CFStringRef> functionNameString(AdoptCF, CFStringCreateWithCStringNoCopy(kCFAllocatorDefault, functionName, kCFStringEncodingASCII, kCFAllocatorNull));
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageBufferCG.cpp | 87 RetainPtr<CFDictionaryRef> dict(AdoptCF, CFDictionaryCreate(0, keys, values, 6, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); 91 return RetainPtr<IOSurfaceRef>(AdoptCF, IOSurfaceCreate(dict.get())); 141 cgContext.adoptCF(CGBitmapContextCreate(m_data.m_data, size.width(), size.height(), 8, bytesPerRow, m_data.m_colorSpace, m_data.m_bitmapInfo)); 143 m_data.m_dataProvider.adoptCF(CGDataProviderCreateWithData(0, m_data.m_data, dataSize, releaseImageData)); 147 cgContext.adoptCF(wkIOSurfaceContextCreate(m_data.m_surface.get(), size.width(), size.height(), m_data.m_colorSpace)); 242 image.adoptCF(cgImage(m_size, m_data)); 245 image.adoptCF(wkIOSurfaceContextCreateImage(context()->platformContext())); 293 RetainPtr<CFStringRef> mimeTypeCFString(AdoptCF, mimeType.createCFString()); 294 return RetainPtr<CFStringRef>(AdoptCF, UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeTypeCFString.get(), 0)); 317 RetainPtr<CFMutableDataRef> data(AdoptCF, CFDataCreateMutable(kCFAllocatorDefault, 0)) [all...] |
GraphicsContext3DCG.cpp | 110 decodedImage.adoptCF(decoder.createFrameAtIndex(0)); 134 bitmapContext.adoptCF(CGBitmapContextCreate(0, width, height, 8, width * 4, 145 decodedImage.adoptCF(CGBitmapContextCreateImage(bitmapContext.get())); 239 pixelData.adoptCF(CGDataProviderCopyData(CGImageGetDataProvider(cgImage))); 262 RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithData(0, imagePixels, rowBytes * imageHeight, 0)); 263 RetainPtr<CGImageRef> cgImage(AdoptCF, CGImageCreate(imageWidth, imageHeight, 8, 32, rowBytes, deviceRGBColorSpaceRef(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host,
|
ColorCG.cpp | 126 cachedCGColors[cursor].adoptCF(newCGColor);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontPlatformDataCGWin.cpp | 91 result.adoptCF(CFStringCreateWithBytes(NULL, strings + nameOffset, length, kCFStringEncodingUTF16BE, false)); 98 result.adoptCF(CFStringCreateWithBytes(NULL, strings + nameOffset, length, kCFStringEncodingASCII, false)); 114 m_cgFont.adoptCF(CGFontCreateWithPlatformFont(&logfont));
|
WKCAImageQueue.cpp | 58 m_private->m_imageQueue.adoptCF(wkCAImageQueueCreate(width, height, capacity));
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
BackingStoreMac.mm | 63 m_cgLayer.adoptCF(CGLayerCreateWithContext(containingWindowContext, NSSizeToCGSize(m_size), 0)); 82 RetainPtr<CGColorSpaceRef> colorSpace(AdoptCF, CGColorSpaceCreateDeviceRGB()); 84 m_bitmapContext.adoptCF(CGBitmapContextCreate(0, m_size.width(), m_size.height(), 8, m_size.width() * 4, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
|
ChunkedUpdateDrawingAreaProxyMac.mm | 50 RetainPtr<CGColorSpaceRef> colorSpace(AdoptCF, CGColorSpaceCreateDeviceRGB()); 52 m_bitmapContext.adoptCF(CGBitmapContextCreate(0, viewSize.width(), viewSize.height(), 8, viewSize.width() * 4, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host)); 79 RetainPtr<CGImageRef> image(AdoptCF, CGBitmapContextCreateImage(m_bitmapContext.get()));
|
/external/webkit/Source/WebCore/platform/graphics/cocoa/ |
FontPlatformDataCocoa.mm | 74 m_cgFont.adoptCF(cgFont); 150 m_cgFont.adoptCF(cgFont); 196 m_CTFont.adoptCF(CTFontCreateWithGraphicsFont(m_cgFont.get(), m_size, 0, 0)); 203 RetainPtr<CTFontRef> sourceFont(AdoptCF, CTFontCreateWithGraphicsFont(m_cgFont.get(), m_size, 0, 0)); 204 RetainPtr<CTFontDescriptorRef> sourceDescriptor(AdoptCF, CTFontCopyFontDescriptor(sourceFont.get())); 205 RetainPtr<CFNumberRef> featureType(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &featureTypeValue)); 206 RetainPtr<CFNumberRef> featureSelector(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &featureSelectorValue)); 207 RetainPtr<CTFontDescriptorRef> newDescriptor(AdoptCF, CTFontDescriptorCreateCopyWithFeature(sourceDescriptor.get(), featureType.get(), featureSelector.get())); 208 RetainPtr<CTFontRef> newFont(AdoptCF, CTFontCreateWithFontDescriptor(newDescriptor.get(), m_size, 0)); 218 RetainPtr<CFStringRef> cgFontDescription(AdoptCF, CFCopyDescription(cgFont())) [all...] |
/external/webkit/Source/WebKit2/Shared/mac/ |
ArgumentCodersMac.mm | 225 result.adoptCF(resultString.leakRef()); 290 result.adoptCF(dictionary.leakRef()); 324 result.adoptCF((NSNumber *)number.leakRef()); 339 result.adoptCF((NSString *)string.leakRef());
|
/external/webkit/Source/JavaScriptCore/runtime/ |
GCActivityCallbackCF.cpp | 92 d->timer.adoptCF(CFRunLoopTimerCreate(0, decade, decade, 0, 0, DefaultGCActivityCallbackPlatformData::trigger, &d->context));
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
PlatformImage.cpp | 94 colorSpaceReleaser.adoptCF(CGColorSpaceCreateDeviceRGB()); 98 RetainPtr<CGContextRef> tempContext(AdoptCF, CGBitmapContextCreate(m_pixelData.get(),
|
/external/webkit/Source/WebCore/platform/win/ |
SearchPopupMenuWin.cpp | 55 return RetainPtr<CFStringRef>(AdoptCF, key.createCFString()); 69 items.adoptCF(CFArrayCreateMutable(0, size, &kCFTypeArrayCallBacks)); 71 RetainPtr<CFStringRef> item(AdoptCF, searchItems[i].createCFString()); 88 RetainPtr<CFArrayRef> items(AdoptCF, reinterpret_cast<CFArrayRef>(CFPreferencesCopyAppValue(autosaveKey(name).get(), kCFPreferencesCurrentApplication)));
|