/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | RetainPtr.h | 64 template<typename T> class RetainPtr { 69 RetainPtr() : m_ptr(0) {} in RetainPtr() function 70 RetainPtr(PtrType ptr) : m_ptr(ptr) { if (ptr) CFRetain(ptr); } in RetainPtr() function 72 RetainPtr(AdoptCFTag, PtrType ptr) : m_ptr(ptr) { } in RetainPtr() function 73 RetainPtr(AdoptNSTag, PtrType ptr) : m_ptr(ptr) { adoptNSReference(ptr); } in RetainPtr() function 75 RetainPtr(const RetainPtr& o) : m_ptr(o.m_ptr) { if (PtrType ptr = m_ptr) CFRetain(ptr); } in RetainPtr() function 78 RetainPtr(RetainPtr&& o) : m_ptr(o.leakRef()) { } in RetainPtr() function 82 RetainPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { } in RetainPtr() function 85 ~RetainPtr() { if (PtrType ptr = m_ptr) CFRelease(ptr); } in ~RetainPtr() 87 template<typename U> RetainPtr(const RetainPtr<U>&); [all …]
|
D | Functional.h | 346 template<typename> class RetainPtr; 348 template<typename T> struct ParamStorageTraits<RetainPtr<T> > { 349 typedef RetainPtr<T> StorageType; 351 static StorageType wrap(const RetainPtr<T>& value) { return value; } 352 static typename RetainPtr<T>::PtrType unwrap(const StorageType& value) { return value.get(); }
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
D | LocaleMac.h | 73 RetainPtr<NSDateFormatter> shortDateFormatter(); 76 RetainPtr<NSLocale> m_locale; 77 RetainPtr<NSCalendar> m_gregorianCalendar; 80 RetainPtr<NSDateFormatter> timeFormatter(); 81 RetainPtr<NSDateFormatter> shortTimeFormatter(); 82 RetainPtr<NSDateFormatter> dateTimeFormatterWithSeconds(); 83 RetainPtr<NSDateFormatter> dateTimeFormatterWithoutSeconds();
|
D | LocaleMac.mm | 39 #include "wtf/RetainPtr.h" 56 static RetainPtr<NSLocale> determineLocale(const String& locale) 58 RetainPtr<NSLocale> currentLocale = [NSLocale currentLocale]; 64 return RetainPtr<NSLocale>(AdoptNS, [[NSLocale alloc] initWithLocaleIdentifier:locale]); 72 static RetainPtr<NSDateFormatter> createDateTimeFormatter(NSLocale* locale, NSCalendar* calendar, N… 102 RetainPtr<NSLocale> locale = [[NSLocale alloc] initWithLocaleIdentifier:localeIdentifier]; 111 RetainPtr<NSDateFormatter> LocaleMac::shortDateFormatter() 163 RetainPtr<NSDateFormatter> LocaleMac::timeFormatter() 168 RetainPtr<NSDateFormatter> LocaleMac::shortTimeFormatter() 173 RetainPtr<NSDateFormatter> LocaleMac::dateTimeFormatterWithSeconds() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
D | ScrollAnimatorMac.h | 73 RetainPtr<id> m_scrollAnimationHelper; 74 RetainPtr<WebScrollAnimationHelperDelegate> m_scrollAnimationHelperDelegate; 76 RetainPtr<ScrollbarPainterController> m_scrollbarPainterController; 77 RetainPtr<WebScrollbarPainterControllerDelegate> m_scrollbarPainterControllerDelegate; 78 RetainPtr<WebScrollbarPainterDelegate> m_horizontalScrollbarPainterDelegate; 79 RetainPtr<WebScrollbarPainterDelegate> m_verticalScrollbarPainterDelegate;
|
D | ColorMac.mm | 29 #import <wtf/RetainPtr.h> 75 …DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, clearColor, ([NSColor colorWithDeviceRed:0 green:0 blue:0 … 79 …DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, blackColor, ([NSColor colorWithDeviceRed:0 green:0 blue:0 … 83 …DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, whiteColor, ([NSColor colorWithDeviceRed:1 green:1 blue:1 … 89 static RetainPtr<NSColor>* cachedColors = new RetainPtr<NSColor>[cacheSize];
|
/external/clang/test/CodeGenObjCXX/ |
D | copy.mm | 31 template<typename T> struct RetainPtr { 32 RetainPtr() {} 36 RetainPtr<id<bork> > x; 37 RetainPtr<id> y;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/ |
D | FontPlatformDataCocoa.mm | 191 …RetainPtr<CFNumberRef> featureTypeIdentifierNumber(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kC… 192 …RetainPtr<CFNumberRef> featureSelectorIdentifierNumber(AdoptCF, CFNumberCreate(kCFAllocatorDefault… 209 …RetainPtr<CFDictionaryRef> attributes(AdoptCF, CFDictionaryCreate(kCFAllocatorDefault, keys, value… 222 …RetainPtr<CFDictionaryRef> lineInitialSwashesOffSetting(AdoptCF, createFeatureSettingDictionary(kS… 223 …RetainPtr<CFDictionaryRef> lineFinalSwashesOffSetting(AdoptCF, createFeatureSettingDictionary(kSma… 226 …RetainPtr<CFArrayRef> featureSettings(AdoptCF, CFArrayCreate(kCFAllocatorDefault, settingDictionar… 230 …RetainPtr<CFDictionaryRef> attributes(AdoptCF, CFDictionaryCreate(kCFAllocatorDefault, keys, value… 255 RetainPtr<CFStringRef> postScriptName(AdoptCF, CTFontCopyPostScriptName(m_CTFont.get())); 268 …RetainPtr<CTFontDescriptorRef> sourceDescriptor(AdoptCF, CTFontCopyFontDescriptor(m_CTFont.get())); 269 …RetainPtr<CFNumberRef> featureType(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, … [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | ComplexTextControllerCoreText.mm | 47 Vector<RetainPtr<CTFontDescriptorRef>, 16> _fontDescriptors; 88 _fontDescriptors[index] = RetainPtr<CTFontDescriptorRef>(AdoptCF, fontDescriptor); 195 RetainPtr<CFDictionaryRef> stringAttributes; 203 …RetainPtr<WebCascadeList> cascadeList(AdoptNS, [[WebCascadeList alloc] initWithFont:&m_font charac… 208 …RetainPtr<CFDictionaryRef> attributes(AdoptCF, CFDictionaryCreate(kCFAllocatorDefault, attributeKe… 209 …RetainPtr<CTFontDescriptorRef> fontDescriptor(AdoptCF, CTFontDescriptorCreateWithAttributes(attrib… 210 …RetainPtr<CTFontRef> fontWithCascadeList(AdoptCF, CTFontCreateCopyWithAttributes(fontData->platfor… 215 RetainPtr<CTLineRef> line; 228 …RetainPtr<CTTypesetterRef> typesetter(AdoptCF, WKCreateCTTypesetterWithUniCharProviderAndOptions(&… 230 …RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, cp,… [all …]
|
D | SimpleFontDataCoreText.cpp | 37 …HashMap<unsigned, RetainPtr<CFDictionaryRef> >::AddResult addResult = m_CFStringAttributes.add(key… in getCFStringAttributes() 38 RetainPtr<CFDictionaryRef>& attributesDictionary = addResult.iterator->value; in getCFStringAttributes()
|
D | GlyphPageTreeNodeMac.cpp | 89 …RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, buf… in fill() 90 …RetainPtr<CFAttributedStringRef> attributedString(AdoptCF, CFAttributedStringCreate(kCFAllocatorDe… in fill() 91 … RetainPtr<CTLineRef> line(AdoptCF, CTLineCreateWithAttributedString(attributedString.get())); in fill() 106 …RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(fontData->platformData().ctFont(), 0)); in fill() 116 RetainPtr<CGFontRef> runCGFont(AdoptCF, CTFontCopyGraphicsFont(runFont, 0)); in fill()
|
D | FontCustomPlatformDataMac.cpp | 60 …RetainPtr<CFDataRef> bufferData(AdoptCF, CFDataCreate(0, reinterpret_cast<const UInt8*>(buffer->da… in create() 61 …RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithCFData(bufferData.get()… in create() 62 RetainPtr<CGFontRef> cgFontRef(AdoptCF, CGFontCreateWithDataProvider(dataProvider.get())); in create()
|
D | MemoryActivatedFont.h | 35 #import <wtf/RetainPtr.h> 88 WTF::RetainPtr<CGFontRef> m_cgFont;
|
D | SimpleFontDataMac.mm | 42 #import <wtf/RetainPtr.h> 85 …RetainPtr<CFArrayRef> tableTags(AdoptCF, CTFontCopyAvailableTables(ctFont, kCTFontTableOptionNoOpt… 105 …DEFINE_STATIC_LOCAL(RetainPtr<NSString>, webFallbackFontFamily, ([[NSFont systemFontOfSize:16.0f] … 111 …if (key && !CFEqual(RetainPtr<CFStringRef>(AdoptCF, CTFontCopyPostScriptName(CTFontRef(key))).get(… 162 RetainPtr<NSFont> initialFont = m_platformData.font(); 268 RetainPtr<CFDataRef> os2Table(AdoptCF, copyFontTableForTag(m_platformData, 'OS/2')); 275 RetainPtr<CFDataRef> headTable(AdoptCF, copyFontTableForTag(m_platformData, 'head')); 430 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(platformData().ctFont(), 0)); 433 …RetainPtr<CTLineRef> line(AdoptCF, CTLineCreateWithUniCharProvider(&provideStringAndAttributes, 0,… 443 RetainPtr<CGFontRef> runCGFont(AdoptCF, CTFontCopyGraphicsFont(runFont, 0));
|
D | ComplexTextController.h | 151 Vector<RetainPtr<CTLineRef> > m_coreTextLines;
|
/external/clang/test/SemaObjCXX/ |
D | deduction.mm | 15 template <typename T> struct RetainPtr { 18 RetainPtr(PtrType ptr); 22 RetainPtr<NSString*> ptr(S); 26 RetainPtr<id> ptr(S);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderThemeChromiumMac.h | 205 mutable RetainPtr<NSPopUpButtonCell> m_popupButton; 206 mutable RetainPtr<NSSearchFieldCell> m_search; 207 mutable RetainPtr<NSMenu> m_searchMenuTemplate; 208 mutable RetainPtr<NSLevelIndicatorCell> m_levelIndicator; 209 mutable RetainPtr<NSTextFieldCell> m_textField; 213 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | FontPlatformData.h | 196 RetainPtr<CGFontRef> m_cgFont; 197 mutable RetainPtr<CTFontRef> m_CTFont;
|
D | FontCustomPlatformData.h | 79 RetainPtr<CGFontRef> m_cgFont;
|
D | SimpleFontData.h | 232 mutable RetainPtr<CFMutableDictionaryRef> compositeFontReferences; 249 mutable HashMap<unsigned, RetainPtr<CFDictionaryRef> > m_CFStringAttributes;
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | StringCF.cpp | 55 RetainPtr<CFStringRef> String::createCFString() const in createCFString()
|
D | StringImplCF.cpp | 127 RetainPtr<CFStringRef> StringImpl::createCFString() in createCFString()
|
D | StringImplMac.mm | 26 #include "wtf/RetainPtr.h"
|
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/icu/ |
D | CollatorICU.cpp | 65 RetainPtr<CFLocaleRef> currentLocale(AdoptCF, CFLocaleCopyCurrent()); in userDefault()
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
D | ImageDecoder.h | 182 … RetainPtr<CGColorSpaceRef> monitorColorSpace(AdoptCF, CGDisplayCopyColorSpace(CGMainDisplayID())); in qcmsOutputDeviceProfile()
|