/external/clang/test/SemaObjC/ |
D | arc-bridged-cast.m | 3 typedef const void *CFTypeRef; typedef 4 CFTypeRef CFBridgingRetain(id X); 5 id CFBridgingRelease(CFTypeRef); 11 CFTypeRef CFCreateSomething(); 13 CFTypeRef CFGetSomething(); 22 …(__bridge int*)CFCreateSomething(); // expected-error{{incompatible types casting 'CFTypeRef' (aka… 28 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); 30 CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); 34 …CFTypeRef cf5 = (__bridge_retain CFTypeRef)CreateSomething(); // expected-error {{unknown cast ann… 38 …id obj1 = (id)CFCreateSomething(); // expected-error{{cast of C pointer type 'CFTypeRef' (aka 'con… [all …]
|
D | illegal-nonarc-bridged-cast.m | 4 typedef const void *CFTypeRef; typedef 10 CFTypeRef CFCreateSomething(); 12 CFTypeRef CFGetSomething(); 28 …CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_re… 30 …CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); // expected-warning {{'__bridge' casts have… 36 CFTypeRef cf1 = (CFTypeRef)CreateSomething(); 42 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // no-warning 43 CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); // no-warning
|
/external/clang/test/ARCMT/ |
D | no-canceling-bridge-to-bridge-cast.m | 4 typedef const void * CFTypeRef; typedef 5 CFTypeRef CFBridgingRetain(id X); 6 id CFBridgingRelease(CFTypeRef); 9 CFTypeRef CFRetain(CFTypeRef cf); 26 …ithFormat:@"PBXLoopMode"]); // expected-error {{cast of C pointer type 'CFTypeRef' (aka 'const voi… 28 …pected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'const voi… 30 …etain((id)((objc_format))); // expected-error {{cast of C pointer type 'CFTypeRef' (aka 'const voi… 32 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons… 34 …result = (id) CFRetain((id)((cf_format))); // expected-error {{cast of C pointer type 'CFTypeRef' … 36 …pected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'const voi… [all …]
|
D | GC-check.m | 7 typedef const void * CFTypeRef; typedef 8 CFTypeRef CFMakeCollectable(CFTypeRef cf) CF_AUTOMATED_REFCOUNT_UNAVAILABLE; // expected-note {{una… 11 void test1(CFTypeRef *cft) { 12 …CFTypeRef c = CFMakeCollectable(cft); // expected-error {{CFMakeCollectable will leak the object t…
|
D | Common.h | 22 typedef const void * CFTypeRef; typedef 23 CFTypeRef CFRetain(CFTypeRef cf); 24 id CFBridgingRelease(CFTypeRef CF_CONSUMED X); 26 NS_INLINE NS_RETURNS_RETAINED id NSMakeCollectable(CFTypeRef CF_CONSUMED cf) NS_AUTOMATED_REFCOUNT_…
|
/external/webkit/Source/JavaScriptGlue/ |
D | JavaScriptGlue.cpp | 38 static CFTypeRef sJSCFNullRef = 0; 43 static CFTypeRef CFJSObjectCopyCFValue(void *data); 51 void JSSetCFNull(CFTypeRef nullRef) in JSSetCFNull() 57 CFTypeRef JSGetCFNull(void) in JSGetCFNull() 170 CFTypeRef JSObjectCopyCFValue(JSObjectRef ref) in JSObjectCopyCFValue() 172 CFTypeRef result = 0; in JSObjectCopyCFValue() 306 CFTypeRef error = JSObjectCopyCFValue(result); in JSRunEvaluate() 384 JSObjectRef JSObjectCreateWithCFType(CFTypeRef inRef) in JSObjectCreateWithCFType() 431 CFTypeRef cfResult = 0; in CFJSObjectCopyProperty() 486 CFTypeRef cfValue = JSObjectCopyCFValue(jsValue); in CFJSObjectSetProperty() [all …]
|
D | JSUtils.h | 59 CFTypeRef KJSValueToCFType(JSValue inValue, ExecState *exec); 61 CFTypeRef GetCFNull(void); 63 inline CFTypeRef RetainCFType(CFTypeRef x) { if (x) x = CFRetain(x); return x; } in RetainCFType() 64 inline void ReleaseCFType(CFTypeRef x) { if (x) CFRelease(x); } in ReleaseCFType()
|
D | JSUtils.cpp | 44 CFTypeRef data; 47 static CFTypeRef KJSValueToCFTypeInternal(JSValue inValue, ExecState *exec, ObjectImpList* inImps); 154 CFTypeRef cfType = (CFTypeRef*)ptr->GetData(); in JSObjectKJSValue() 200 CFTypeRef KJSValueToCFTypeInternal(JSValue inValue, ExecState *exec, ObjectImpList* inImps) in KJSValueToCFTypeInternal() 205 CFTypeRef result = 0; in KJSValueToCFTypeInternal() 309 … CFTypeRef cfValue = KJSValueToCFTypeInternal(object->get(exec, i), exec, &imps); in KJSValueToCFTypeInternal() 335 … CFTypeRef cfValue = KJSValueToCFTypeInternal(object->get(exec, propName), exec, &imps); in KJSValueToCFTypeInternal() 362 CFTypeRef KJSValueToCFType(JSValue inValue, ExecState *exec) in KJSValueToCFType() 367 CFTypeRef GetCFNull(void) in GetCFNull() 370 CFTypeRef result = JSGetCFNull(); in GetCFNull()
|
D | JavaScriptGlue.h | 61 typedef CFTypeRef (*JSObjectCopyCFValueProcPtr)(void *data) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND… 76 void JSSetCFNull(CFTypeRef nullRef) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 77 CFTypeRef JSGetCFNull(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 87 JSObjectRef JSObjectCreateWithCFType(CFTypeRef inRef) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 88 CFTypeRef JSObjectCopyCFValue(JSObjectRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
|
D | JSObject.cpp | 102 CFTypeRef JSUserObject::CopyCFValue() const in CopyCFValue() 104 CFTypeRef result = 0; in CopyCFValue() 124 CFTypeRef cf1 = CopyCFValue(); in Equal() 125 CFTypeRef cf2 = obj->CopyCFValue(); in Equal()
|
/external/clang/test/SemaObjCXX/ |
D | arc-bridged-cast.mm | 3 typedef const void *CFTypeRef; typedef 9 CFTypeRef CFCreateSomething(); 11 CFTypeRef CFGetSomething(); 21 …ype)CFCreateSomething(); // expected-error{{incompatible types casting 'CFTypeRef' (aka 'const voi… 30 CFTypeRef cf1 = (__bridge_retained IdType)CreateSomething(); 32 CFTypeRef cf3 = (__bridge IdType)CreateSomething(); 36 template void to_cf<CFTypeRef, CFStringRef>(id);
|
/external/clang/test/CodeGenObjC/ |
D | arc-bridged-cast.m | 3 typedef const void *CFTypeRef; typedef 9 CFTypeRef CFCreateSomething(void); 11 CFTypeRef CFGetSomething(void); 60 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); 65 (__bridge_retained CFTypeRef)CreateSomething(), *i = 13; 78 CFTypeRef cf1 = (__bridge CFTypeRef)CreateSomething(); 83 (__bridge CFTypeRef)CreateSomething(), *i = 13;
|
/external/clang/test/PCH/Inputs/ |
D | arc.h | 3 typedef const void *CFTypeRef; typedef 6 CFTypeRef CFCreateSomething(); 8 CFTypeRef CFGetSomething(); 24 typedef int array1[sizeof((BRIDGE CFTypeRef)CreateSomething())];
|
/external/clang/test/Analysis/ |
D | retain-release-path-notes-gc.m | 29 typedef struct CFType *CFTypeRef; typedef 30 CFTypeRef CFRetain(CFTypeRef); 31 void CFRelease(CFTypeRef); 33 id NSMakeCollectable(CFTypeRef); 34 CFTypeRef CFMakeCollectable(CFTypeRef); 36 CFTypeRef CFCreateSomething(); 37 CFTypeRef CFGetSomething(); 41 …CFTypeRef leaked = CFCreateSomething(); // expected-warning{{leak}} expected-note{{Call to functio… 46 …CFTypeRef leaked = CFCreateSomething(); // expected-warning{{leak}} expected-note{{Call to functio… 59 …CFRelease((CFTypeRef)object); // expected-warning{{Incorrect decrement of the reference count of a…
|
D | retain-release-path-notes.m | 33 typedef struct CFType *CFTypeRef; typedef 34 CFTypeRef CFRetain(CFTypeRef); 35 void CFRelease(CFTypeRef); 37 id NSMakeCollectable(CFTypeRef); 38 CFTypeRef CFMakeCollectable(CFTypeRef); 40 CFTypeRef CFCreateSomething(); 41 CFTypeRef CFGetSomething(); 50 …CFTypeRef leaked = CFCreateSomething(); // expected-warning{{leak}} expected-note{{Call to functio… 69 …CFTypeRef leaked = CFGetSomething(); // expected-warning{{leak}} expected-note{{Call to function '… 100 …CFTypeRef leaked = CFCreateSomething(); // expected-warning{{leak}} expected-note{{Call to functio… [all …]
|
D | CFDateGC.m | 13 typedef const void * CFTypeRef; typedef 14 void CFRelease(CFTypeRef cf); 15 CFTypeRef CFRetain(CFTypeRef cf); 16 CFTypeRef CFMakeCollectable(CFTypeRef cf); 25 static __inline__ __attribute__((always_inline)) id NSMakeCollectable(CFTypeRef cf) { return 0; }
|
D | PR2599.m | 3 typedef const void * CFTypeRef; typedef 7 CFTypeRef CFMakeCollectable(CFTypeRef cf) ; 47 …_ID(cf) ( (((void*)0) == (cf)) ? ((void*)0) : [(id) CFMakeCollectable( (CFTypeRef) cf) autorelease… 49 #define UTIL_AUTORELEASE_CF_AS_ID_WITHOUT_TEST(cf) ( [(id) CFMakeCollectable( (CFTypeRef) cf) autor…
|
D | objc-arc.m | 122 typedef const void *CFTypeRef; typedef 129 CFTypeRef CFCreateSomething(); 131 CFTypeRef CFGetSomething(); 149 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // expected-warning{{never read}} 151 CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); // expected-warning{{never read}} 204 __attribute__((cf_returns_retained)) CFTypeRef CFBridgingRetain(id X);
|
/external/webkit/WebKitLibraries/ |
D | WebKitSystemInterface.h | 80 CFTypeRef WKCreateAXTextMarker(const void *bytes, size_t len); 81 BOOL WKGetBytesFromAXTextMarker(CFTypeRef textMarker, void *bytes, size_t length); 82 CFTypeRef WKCreateAXTextMarkerRange(CFTypeRef start, CFTypeRef end); 83 CFTypeRef WKCopyAXTextMarkerRangeStart(CFTypeRef range); 84 CFTypeRef WKCopyAXTextMarkerRangeEnd(CFTypeRef range); 384 CFDictionaryRef WKNSURLRequestCreateSerializableRepresentation(NSURLRequest *request, CFTypeRef tok… 385 …*WKNSURLRequestFromSerializableRepresentation(CFDictionaryRef representation, CFTypeRef tokenNull); 387 CFDictionaryRef WKNSURLResponseCreateSerializableRepresentation(NSURLResponse *response, CFTypeRef … 388 …WKNSURLResponseFromSerializableRepresentation(CFDictionaryRef representation, CFTypeRef tokenNull);
|
/external/webkit/Source/WebCore/platform/mac/ |
D | WebCoreSystemInterface.h | 252 extern CFTypeRef (*wkCreateAXTextMarkerRange)(CFTypeRef start, CFTypeRef end); 253 extern CFTypeRef (*wkCopyAXTextMarkerRangeStart)(CFTypeRef range); 254 extern CFTypeRef (*wkCopyAXTextMarkerRangeEnd)(CFTypeRef range); 255 extern CFTypeRef (*wkCreateAXTextMarker)(const void *bytes, size_t len); 256 extern BOOL (*wkGetBytesFromAXTextMarker)(CFTypeRef textMarker, void *bytes, size_t length);
|
D | WebCoreSystemInterface.mm | 174 CFTypeRef (*wkCreateAXTextMarkerRange)(CFTypeRef start, CFTypeRef end); function 175 CFTypeRef (*wkCopyAXTextMarkerRangeStart)(CFTypeRef range); function 176 CFTypeRef (*wkCopyAXTextMarkerRangeEnd)(CFTypeRef range); function 177 CFTypeRef (*wkCreateAXTextMarker)(const void *bytes, size_t len); function 178 BOOL (*wkGetBytesFromAXTextMarker)(CFTypeRef textMarker, void *bytes, size_t length);
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/darwin/ |
D | SDL_sysjoystick.c | 234 static void HIDGetElementInfo (CFTypeRef refElement, recElement *pElement) in HIDGetElementInfo() 237 CFTypeRef refType; in HIDGetElementInfo() 283 static void HIDAddElement (CFTypeRef refElement, recDevice* pDevice) in HIDAddElement() 288 CFTypeRef refElementType = CFDictionaryGetValue (refElement, CFSTR(kIOHIDElementTypeKey)); in HIDAddElement() 289 CFTypeRef refUsagePage = CFDictionaryGetValue (refElement, CFSTR(kIOHIDElementUsagePageKey)); in HIDAddElement() 290 CFTypeRef refUsage = CFDictionaryGetValue (refElement, CFSTR(kIOHIDElementUsageKey)); in HIDAddElement() 378 HIDAddElement ((CFTypeRef) value, (recDevice *) parameter); in HIDGetElementsCFArrayHandler() 383 static void HIDGetElements (CFTypeRef refElementCurrent, recDevice *pDevice) in HIDGetElements() 400 CFTypeRef refElementTop = CFDictionaryGetValue (deviceProperties, CFSTR(kIOHIDElementKey)); in HIDGetCollectionElements() 409 CFTypeRef refCF = 0; in HIDTopLevelElementHandler() [all …]
|
/external/webkit/Source/WebKit2/Shared/cf/ |
D | ArgumentCodersCF.cpp | 36 CFTypeRef tokenNullTypeRef() in tokenNullTypeRef() 58 static CFType typeFromCFTypeRef(CFTypeRef type) in typeFromCFTypeRef() 91 static void encode(ArgumentEncoder* encoder, CFTypeRef typeRef) in encode() 134 static bool decode(ArgumentDecoder* decoder, RetainPtr<CFTypeRef>& result) in decode() 216 Vector<CFTypeRef, 32> values(size); in encode() 237 RetainPtr<CFTypeRef> element; in decode() 284 Vector<CFTypeRef, 32> keys(size); in encode() 285 Vector<CFTypeRef, 32> values(size); in encode() 318 RetainPtr<CFTypeRef> value; in decode()
|
/external/webkit/Source/WebCore/platform/network/cf/ |
D | SocketStreamHandleCFNet.cpp | 206 CFTypeRef proxyType = CFDictionaryGetValue(proxyInfo, kCFProxyTypeKey); in chooseProxyFromArray() 209 … CFTypeRef pacFileURL = CFDictionaryGetValue(proxyInfo, kCFProxyAutoConfigurationURLKey); in chooseProxyFromArray() 221 CFTypeRef proxyType = CFDictionaryGetValue(proxyInfo, kCFProxyTypeKey); in chooseProxyFromArray() 240 CFTypeRef proxyHost = CFDictionaryGetValue(chosenProxy, kCFProxyHostNameKey); in chooseProxyFromArray() 241 CFTypeRef proxyPort = CFDictionaryGetValue(chosenProxy, kCFProxyPortNumberKey); in chooseProxyFromArray() 273 …CFTypeRef socksEnableCF = CFDictionaryGetValue(proxyDictionary.get(), kSCPropNetProxiesSOCKSEnable… in chooseProxy() 276 … CFTypeRef proxyHost = CFDictionaryGetValue(proxyDictionary.get(), kSCPropNetProxiesSOCKSProxy); in chooseProxy() 277 … CFTypeRef proxyPort = CFDictionaryGetValue(proxyDictionary.get(), kSCPropNetProxiesSOCKSPort); in chooseProxy() 286 …CFTypeRef httpsEnableCF = CFDictionaryGetValue(proxyDictionary.get(), kSCPropNetProxiesHTTPSEnable… in chooseProxy() 289 … CFTypeRef proxyHost = CFDictionaryGetValue(proxyDictionary.get(), kSCPropNetProxiesHTTPSProxy); in chooseProxy() [all …]
|
/external/chromium/chrome/browser/ |
D | keychain_mac.h | 41 CFTypeRef keychainOrArray, SecItemClass itemClass, 62 virtual OSStatus FindGenericPassword(CFTypeRef keychainOrArray, 84 virtual void Free(CFTypeRef ref) const;
|