/external/clang/test/CodeGenObjC/ |
D | arc-unbridged-cast.m | 4 typedef const struct __CFString * CFStringRef; typedef 7 @property CFStringRef P; 8 - (CFStringRef) CFMeth __attribute__((cf_returns_retained)); 9 - (CFStringRef) newSomething; 10 - (CFStringRef) P __attribute__((cf_returns_retained)); 21 - (CFStringRef) CFMeth { return 0; } 22 - (CFStringRef) newSomething { return 0; } 23 - (CFStringRef) P { return 0; } 24 - (void) setP : (CFStringRef)arg {} argument 28 CFStringRef SomeOtherFunc() __attribute__((cf_returns_retained)); [all …]
|
/external/webkit/Source/WebKit2/UIProcess/cf/ |
D | WebBackForwardListCF.cpp | 46 DEFINE_STATIC_GETTER(CFStringRef, SessionHistoryCurrentIndexKey, (CFSTR("SessionHistoryCurrentIndex… 47 DEFINE_STATIC_GETTER(CFStringRef, SessionHistoryEntriesKey, (CFSTR("SessionHistoryEntries"))); 48 DEFINE_STATIC_GETTER(CFStringRef, SessionHistoryEntryTitleKey, (CFSTR("SessionHistoryEntryTitle"))); 49 DEFINE_STATIC_GETTER(CFStringRef, SessionHistoryEntryURLKey, (CFSTR("SessionHistoryEntryURL"))); 50 DEFINE_STATIC_GETTER(CFStringRef, SessionHistoryEntryOriginalURLKey, (CFSTR("SessionHistoryEntryOri… 51 DEFINE_STATIC_GETTER(CFStringRef, SessionHistoryEntryDataKey, (CFSTR("SessionHistoryEntryData"))); 70 RetainPtr<CFStringRef> url(AdoptCF, m_entries[i]->url().createCFString()); in createCFDictionaryRepresentation() 71 RetainPtr<CFStringRef> title(AdoptCF, m_entries[i]->title().createCFString()); in createCFDictionaryRepresentation() 72 RetainPtr<CFStringRef> originalURL(AdoptCF, m_entries[i]->originalURL().createCFString()); in createCFDictionaryRepresentation() 129 …CFStringRef entryURL = (CFStringRef)CFDictionaryGetValue(entryDictionary, SessionHistoryEntryURLKe… in restoreFromCFDictionaryRepresentation() [all …]
|
D | WebPageProxyCF.cpp | 44 DEFINE_STATIC_GETTER(CFStringRef, SessionHistoryKey, (CFSTR("SessionHistory"))); 45 DEFINE_STATIC_GETTER(CFStringRef, ProvisionalURLKey, (CFSTR("ProvisionalURL"))); 62 RetainPtr<CFStringRef> provisionalURLString; in sessionStateData() 122 CFStringRef propertyListError = 0; in restoreFromSessionStateData() 146 CFStringRef provisionalURL = 0; in restoreFromSessionStateData() 151 provisionalURL = static_cast<CFStringRef>(value); in restoreFromSessionStateData() 183 static RetainPtr<CFStringRef> autosaveKey(const String& name) in autosaveKey() 186 return RetainPtr<CFStringRef>(AdoptCF, key.createCFString()); in autosaveKey() 199 RetainPtr<CFStringRef> item(AdoptCF, searchItems[i].createCFString()); in saveRecentSearches() 221 CFStringRef item = (CFStringRef)CFArrayGetValueAtIndex(items.get(), i); in loadRecentSearches()
|
/external/webkit/Source/WebCore/platform/network/cf/ |
D | CookieJarCFNet.cpp | 45 static const CFStringRef s_setCookieKeyCF = CFSTR("Set-Cookie"); 46 static const CFStringRef s_cookieCF = CFSTR("Cookie"); 54 SOFT_LINK_OPTIONAL(CFNetwork, CFHTTPCookieCopyDomain, CFStringRef, __cdecl, (CFHTTPCookieRef)) 56 SOFT_LINK_OPTIONAL(CFNetwork, CFHTTPCookieCopyName, CFStringRef, __cdecl, (CFHTTPCookieRef)) 57 SOFT_LINK_OPTIONAL(CFNetwork, CFHTTPCookieCopyPath, CFStringRef, __cdecl, (CFHTTPCookieRef)) 58 SOFT_LINK_OPTIONAL(CFNetwork, CFHTTPCookieCopyValue, CFStringRef, __cdecl, (CFHTTPCookieRef)) 60 static inline RetainPtr<CFStringRef> cookieDomain(CFHTTPCookieRef cookie) in cookieDomain() 63 return RetainPtr<CFStringRef>(AdoptCF, CFHTTPCookieCopyDomainPtr()(cookie)); in cookieDomain() 74 static inline RetainPtr<CFStringRef> cookieName(CFHTTPCookieRef cookie) in cookieName() 77 return RetainPtr<CFStringRef>(AdoptCF, CFHTTPCookieCopyNamePtr()(cookie)); in cookieName() [all …]
|
D | ResourceResponseCFNet.cpp | 45 static CFStringRef const commonHeaderFields[] = { 48 static const int numCommonHeaderFields = sizeof(commonHeaderFields) / sizeof(CFStringRef); 54 RetainPtr<CFStringRef> mimeType(AdoptCF, m_mimeType.createCFString()); in cfURLResponse() 55 RetainPtr<CFStringRef> textEncodingName(AdoptCF, m_textEncodingName.createCFString()); in cfURLResponse() 101 …RetainPtr<CFStringRef> suggestedFilename(AdoptCF, CFURLResponseCopySuggestedFilename(m_cfResponse.… in platformLazyInit() 111 CFStringRef value; in platformLazyInit() 122 … RetainPtr<CFStringRef> statusLine(AdoptCF, CFHTTPMessageCopyResponseStatusLine(httpResponse)); in platformLazyInit() 131 m_httpHeaderFields.set((CFStringRef)keys[i], (CFStringRef)values[i]); in platformLazyInit()
|
D | ResourceErrorCF.cpp | 65 const CFStringRef failingURLStringKey = CFSTR("NSErrorFailingURLStringKey"); 66 const CFStringRef failingURLKey = CFSTR("NSErrorFailingURLKey"); 76 CFStringRef domain = CFErrorGetDomain(m_platformError.get()); in platformLazyInit() 92 …CFStringRef failingURLString = (CFStringRef) CFDictionaryGetValue(userInfo.get(), failingURLString… in platformLazyInit() 105 …m_localizedDescription = (CFStringRef) CFDictionaryGetValue(userInfo.get(), kCFErrorLocalizedDescr… in platformLazyInit() 138 …RetainPtr<CFStringRef> localizedDescriptionString(AdoptCF, m_localizedDescription.createCFString()… in cfError() 143 RetainPtr<CFStringRef> failingURLString(AdoptCF, m_failingURL.createCFString()); in cfError() 154 RetainPtr<CFStringRef> domainString(AdoptCF, m_domain.createCFString()); in cfError()
|
/external/chromium/chrome/browser/ |
D | preferences_mock_mac.h | 18 virtual Boolean AppSynchronize(CFStringRef applicationID); 20 virtual CFPropertyListRef CopyAppValue(CFStringRef key, 21 CFStringRef applicationID); 23 virtual Boolean AppValueIsForced(CFStringRef key, CFStringRef applicationID); 26 void AddTestItem(CFStringRef key, CFPropertyListRef value, bool is_forced);
|
D | preferences_mock_mac.cc | 20 Boolean MockPreferences::AppSynchronize(CFStringRef applicationID) { in AppSynchronize() 24 CFPropertyListRef MockPreferences::CopyAppValue(CFStringRef key, in CopyAppValue() 25 CFStringRef applicationID) { in CopyAppValue() 36 Boolean MockPreferences::AppValueIsForced(CFStringRef key, in AppValueIsForced() 37 CFStringRef applicationID) { in AppValueIsForced() 41 void MockPreferences::AddTestItem(CFStringRef key, in AddTestItem()
|
D | preferences_mac.cc | 7 Boolean MacPreferences::AppSynchronize(CFStringRef applicationID) { in AppSynchronize() 11 CFPropertyListRef MacPreferences::CopyAppValue(CFStringRef key, in CopyAppValue() 12 CFStringRef applicationID) { in CopyAppValue() 16 Boolean MacPreferences::AppValueIsForced(CFStringRef key, in AppValueIsForced() 17 CFStringRef applicationID) { in AppValueIsForced()
|
D | preferences_mac.h | 24 virtual Boolean AppSynchronize(CFStringRef applicationID); 26 virtual CFPropertyListRef CopyAppValue(CFStringRef key, 27 CFStringRef applicationID); 29 virtual Boolean AppValueIsForced(CFStringRef key, CFStringRef applicationID);
|
/external/clang/test/ARCMT/ |
D | nonobjc-to-objc-cast.m.result | 10 typedef const struct __CFString * CFStringRef; 11 extern const CFStringRef kUTTypePlainText; 12 extern const CFStringRef kUTTypeRTF; 19 extern CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid); 34 CFStringRef str = (__bridge CFStringRef)self; 35 CFStringRef str2 = (__bridge CFStringRef)(self);
|
D | nonobjc-to-objc-cast.m | 10 typedef const struct __CFString * CFStringRef; typedef 11 extern const CFStringRef kUTTypePlainText; 12 extern const CFStringRef kUTTypeRTF; 19 extern CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid); 34 CFStringRef str = (CFStringRef)self; 35 CFStringRef str2 = self;
|
/external/chromium/chrome/common/ |
D | launchd_mac.h | 40 virtual CFDictionaryRef CopyJobDictionary(CFStringRef label); 46 virtual bool RemoveJob(CFStringRef label, CFErrorRef* error); 56 CFStringRef name, 57 CFStringRef session_type); 63 CFStringRef name); 68 CFStringRef name, 73 virtual bool DeletePlist(Domain domain, Type type, CFStringRef name);
|
/external/webkit/Source/WebKit/win/ |
D | WebLocalizableStrings.cpp | 76 LocalizedString(CFStringRef string) in LocalizedString() 83 operator CFStringRef() const { return m_cfString; } in operator CFStringRef() 86 CFStringRef m_cfString; 137 CFStringRef bundlePathCFString = bundlePathString.createCFString(); in createWebKitBundle() 161 …stringsBundle->bundle = CFBundleGetBundleWithIdentifier(RetainPtr<CFStringRef>(AdoptCF, CFStringCr… in cfBundleForStringsBundle() 165 static CFStringRef copyLocalizedStringFromBundle(WebLocalizableStringsBundle* stringsBundle, const … in copyLocalizedStringFromBundle() 167 static CFStringRef notFound = CFSTR("localized string not found"); in copyLocalizedStringFromBundle() 173 RetainPtr<CFStringRef> keyString(AdoptCF, key.createCFString()); in copyLocalizedStringFromBundle() 174 …CFStringRef result = CFCopyLocalizedStringWithDefaultValue(keyString.get(), 0, bundle, notFound, 0… in copyLocalizedStringFromBundle() 219 CFStringRef WebLocalizedStringUTF8(WebLocalizableStringsBundle* stringsBundle, LPCSTR key) in WebLocalizedStringUTF8() [all …]
|
/external/webkit/Source/WebCore/loader/archive/cf/ |
D | LegacyWebArchive.cpp | 56 static const CFStringRef LegacyWebArchiveMainResourceKey = CFSTR("WebMainResource"); 57 static const CFStringRef LegacyWebArchiveSubresourcesKey = CFSTR("WebSubresources"); 58 static const CFStringRef LegacyWebArchiveSubframeArchivesKey = CFSTR("WebSubframeArchives"); 59 static const CFStringRef LegacyWebArchiveResourceDataKey = CFSTR("WebResourceData"); 60 static const CFStringRef LegacyWebArchiveResourceFrameNameKey = CFSTR("WebResourceFrameName"); 61 static const CFStringRef LegacyWebArchiveResourceMIMETypeKey = CFSTR("WebResourceMIMEType"); 62 static const CFStringRef LegacyWebArchiveResourceURLKey = CFSTR("WebResourceURL"); 63 static const CFStringRef LegacyWebArchiveResourceTextEncodingNameKey = CFSTR("WebResourceTextEncodi… 64 static const CFStringRef LegacyWebArchiveResourceResponseKey = CFSTR("WebResourceResponse"); 65 static const CFStringRef LegacyWebArchiveResourceResponseVersionKey = CFSTR("WebResourceResponseVer… [all …]
|
/external/chromium/net/base/ |
D | platform_mime_util_mac.cc | 21 base::mac::ScopedCFTypeRef<CFStringRef> ext_ref( in GetPlatformMimeTypeFromExtension() 25 base::mac::ScopedCFTypeRef<CFStringRef> uti( in GetPlatformMimeTypeFromExtension() 31 base::mac::ScopedCFTypeRef<CFStringRef> mime_ref( in GetPlatformMimeTypeFromExtension() 42 base::mac::ScopedCFTypeRef<CFStringRef> mime_ref( in GetPreferredExtensionForMimeType() 46 base::mac::ScopedCFTypeRef<CFStringRef> uti( in GetPreferredExtensionForMimeType() 52 base::mac::ScopedCFTypeRef<CFStringRef> ext_ref( in GetPreferredExtensionForMimeType()
|
/external/webkit/Source/WebCore/plugins/mac/ |
D | PluginPackageMac.cpp | 71 static WTF::RetainPtr<CFDictionaryRef> readPListFile(CFStringRef fileName, bool createFile, CFBundl… in readPListFile() 123 WTF::RetainPtr<CFStringRef> str = CFStringCreateWithPascalString(0, p, encoding); in stringListFromResourceId() 141 WTF::RetainPtr<CFStringRef> fileName = (CFStringRef)mimeTypesFileName.get(); in fetchInfo() 142 WTF::RetainPtr<CFStringRef> homeDir = homeDirectoryPath().createCFString(); in fetchInfo() 143 …WTF::RetainPtr<CFStringRef> path = CFStringCreateWithFormat(0, 0, CFSTR("%@/Library/Preferences/%@… in fetchInfo() 148 WTF::RetainPtr<CFStringRef> localizationName = in fetchInfo() 149 (CFStringRef)CFDictionaryGetValue(plist.get(), CFSTR("WebPluginLocalizationName")); in fetchInfo() 173 String mimeType = (CFStringRef)keys[i]; in fetchInfo() 190 String extension =(CFStringRef)CFArrayGetValueAtIndex(extensions.get(), i); in fetchInfo() 197 …String description = (CFStringRef)CFDictionaryGetValue(extensionsDict.get(), CFSTR("WebPluginTypeD… in fetchInfo() [all …]
|
/external/webkit/Tools/DumpRenderTree/cf/ |
D | WebArchiveDumpSupport.cpp | 36 CFStringRef CFURLResponseGetMIMEType(CFURLResponseRef response); 37 CFStringRef CFURLResponseGetTextEncodingName(CFURLResponseRef response); 65 …CFStringRef textEncodingName = static_cast<CFStringRef>(CFDictionaryGetValue(resource, CFSTR("WebR… in convertWebResourceDataToString() 73 …RetainPtr<CFStringRef> dataAsString(AdoptCF, CFStringCreateFromExternalRepresentation(kCFAllocator… in convertWebResourceDataToString() 126 CFStringRef textEncodingName = CFURLResponseGetTextEncodingName(response.get()); in convertWebResourceResponseToDictionary() 150 …CFStringRef url1 = static_cast<CFStringRef>(CFDictionaryGetValue(static_cast<CFDictionaryRef>(val1… in compareResourceURLs() 151 …CFStringRef url2 = static_cast<CFStringRef>(CFDictionaryGetValue(static_cast<CFDictionaryRef>(val2… in compareResourceURLs() 156 CFStringRef createXMLStringFromWebArchiveData(CFDataRef webArchiveData) in createXMLStringFromWebArchiveData() 174 …return static_cast<CFStringRef>(CFRetain(CFSTR("An unknown error occurred converting data to prope… in createXMLStringFromWebArchiveData() 220 …return static_cast<CFStringRef>(CFRetain(CFSTR("An unknown error occurred converting property list… in createXMLStringFromWebArchiveData() [all …]
|
/external/clang/test/Analysis/ |
D | cfref_PR2519.c | 9 typedef const struct __CFString * CFStringRef; typedef 28 extern void CFNotificationCenterPostNotification(CFNotificationCenterRef center, CFStringRef name, … 34 …CFStringRef _key = ((CFStringRef) __builtin___CFStringMakeConstantString ("" "Process identifier" … in main() 41 ((CFStringRef) __builtin___CFStringMakeConstantString ("" "GrowlPreferencesChanged" "")), in main() 42 ((CFStringRef) __builtin___CFStringMakeConstantString ("" "GrowlUserDefaults" "")), in main()
|
/external/webkit/Source/WebCore/platform/cf/ |
D | SchedulePair.h | 48 …static PassRefPtr<SchedulePair> create(CFRunLoopRef runLoop, CFStringRef mode) { return adoptRef(n… in create() 51 …static PassRefPtr<SchedulePair> create(NSRunLoop* runLoop, CFStringRef mode) { return adoptRef(new… in create() 56 CFStringRef mode() const { return m_mode.get(); } in mode() 61 SchedulePair(CFRunLoopRef, CFStringRef); 64 SchedulePair(NSRunLoop*, CFStringRef); 69 RetainPtr<CFStringRef> m_mode;
|
/external/webkit/Source/WebCore/platform/mac/ |
D | WebCoreSystemInterface.h | 103 void (*formSchedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *), 104 void (*formUnschedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *), 106 extern CFStringRef (*wkCopyCFLocalizationPreferredName)(CFStringRef); 120 extern CFStringRef (*wkSignedPublicKeyAndChallengeString)(unsigned keySize, CFStringRef challenge, … 161 extern void (*wkSetCONNECTProxyForStream)(CFReadStreamRef, CFStringRef proxyHost, CFNumberRef proxy… 162 extern void (*wkSetCONNECTProxyAuthorizationForStream)(CFReadStreamRef, CFStringRef proxyAuthorizat… 172 extern CFStringRef (*wkCopyFullFontName)(CGFontRef font); 190 extern CFIndex (*wkGetHyphenationLocationBeforeIndex)(CFStringRef string, CFIndex index); 260 extern CFURLStorageSessionRef (*wkCreatePrivateStorageSession)(CFStringRef); 270 extern CFStringRef (*wkGetCFURLResponseMIMEType)(CFURLResponseRef); [all …]
|
/external/chromium/base/ |
D | sys_string_conversions.h | 65 CFStringRef SysUTF8ToCFStringRef(const std::string& utf8); 66 CFStringRef SysUTF16ToCFStringRef(const string16& utf16); 67 CFStringRef SysWideToCFStringRef(const std::wstring& wide); 75 std::string SysCFStringRefToUTF8(CFStringRef ref); 76 string16 SysCFStringRefToUTF16(CFStringRef ref); 77 std::wstring SysCFStringRefToWide(CFStringRef ref);
|
/external/wpa_supplicant_8/src/drivers/ |
D | MobileApple80211.c | 49 CFStringRef interface) = NULL; 52 CFStringRef interface) in Apple80211BindToInterface() 59 CFStringRef *name) = NULL; 62 CFStringRef *name) in Apple80211GetInterfaceNameCopy() 105 CFStringRef password) = NULL; 108 CFStringRef password) in Apple80211Associate() 116 CFStringRef password, 121 CFStringRef password, CFDictionaryRef *info) in Apple80211AssociateAndCopyInfo()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | MobileApple80211.c | 49 CFStringRef interface) = NULL; 52 CFStringRef interface) in Apple80211BindToInterface() 59 CFStringRef *name) = NULL; 62 CFStringRef *name) in Apple80211GetInterfaceNameCopy() 105 CFStringRef password) = NULL; 108 CFStringRef password) in Apple80211Associate() 116 CFStringRef password, 121 CFStringRef password, CFDictionaryRef *info) in Apple80211AssociateAndCopyInfo()
|
/external/webkit/Source/WebCore/platform/text/mac/ |
D | TextBreakIteratorInternalICUMac.mm | 30 static inline RetainPtr<CFStringRef> textBreakLocalePreference() 36 return static_cast<CFStringRef>(locale.get()); 39 static RetainPtr<CFStringRef> topLanguagePreference() 49 return reinterpret_cast<CFStringRef>(value); 52 static RetainPtr<CFStringRef> canonicalLanguageIdentifier(CFStringRef locale) 56 RetainPtr<CFStringRef> canonicalLocale(AdoptCF, 63 static void getLocale(CFStringRef locale, char localeStringBuffer[maxLocaleStringLength]) 91 RetainPtr<CFStringRef> locale = textBreakLocalePreference();
|