/external/chromium_org/ui/gl/ |
D | io_surface_support_mac.cc | 10 typedef CFTypeRef (*IOSurfaceCreateProcPtr)(CFDictionaryRef properties); 11 typedef uint32 (*IOSurfaceGetIDProcPtr)(CFTypeRef io_surface); 12 typedef CFTypeRef (*IOSurfaceLookupProcPtr)(uint32 io_surface_id); 13 typedef mach_port_t (*IOSurfaceCreateMachPortProcPtr)(CFTypeRef io_surface); 14 typedef CFTypeRef (*IOSurfaceLookupFromMachPortProcPtr)(mach_port_t port); 15 typedef size_t (*IOSurfaceGetWidthPtr)(CFTypeRef io_surface); 16 typedef size_t (*IOSurfaceGetHeightPtr)(CFTypeRef io_surface); 17 typedef size_t (*IOSurfaceGetBytesPerRowPtr)(CFTypeRef io_surface); 18 typedef void* (*IOSurfaceGetBaseAddressPtr)(CFTypeRef io_surface); 19 typedef IOReturn (*IOSurfaceLockPtr)(CFTypeRef io_surface, [all …]
|
D | io_surface_support_mac.h | 37 virtual CFTypeRef IOSurfaceCreate(CFDictionaryRef properties) = 0; 41 virtual uint32 IOSurfaceGetID(CFTypeRef io_surface) = 0; 42 virtual CFTypeRef IOSurfaceLookup(uint32 io_surface_id) = 0; 48 virtual mach_port_t IOSurfaceCreateMachPort(CFTypeRef io_surface) = 0; 49 virtual CFTypeRef IOSurfaceLookupFromMachPort(mach_port_t port) = 0; 51 virtual size_t IOSurfaceGetWidth(CFTypeRef io_surface) = 0; 52 virtual size_t IOSurfaceGetHeight(CFTypeRef io_surface) = 0; 53 virtual size_t IOSurfaceGetBytesPerRow(CFTypeRef io_surface) = 0; 54 virtual void* IOSurfaceGetBaseAddress(CFTypeRef io_surface) = 0; 56 virtual IOReturn IOSurfaceLock(CFTypeRef io_surface, [all …]
|
/external/clang/test/SemaObjC/ |
D | arc-bridged-cast.m | 4 typedef const void *CFTypeRef; typedef 5 CFTypeRef CFBridgingRetain(id X); 6 id CFBridgingRelease(CFTypeRef); 12 CFTypeRef CFCreateSomething(); 14 CFTypeRef CFGetSomething(); 23 …(__bridge int*)CFCreateSomething(); // expected-error{{incompatible types casting 'CFTypeRef' (aka… 29 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); 31 CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); 35 …CFTypeRef cf5 = (__bridge_retain CFTypeRef)CreateSomething(); // expected-error {{unknown cast ann… 39 CFTypeRef fixits() { [all …]
|
D | illegal-nonarc-bridged-cast.m | 4 typedef const void *CFTypeRef; typedef 10 CFTypeRef CFCreateSomething(); 12 CFTypeRef CFGetSomething(); 27 …CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_re… 29 CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); 35 CFTypeRef cf1 = (CFTypeRef)CreateSomething(); 41 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // no-warning 42 CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); // no-warning
|
/external/clang/test/Analysis/ |
D | retain-release-cf-audited.m | 8 typedef const void * CFTypeRef; typedef 9 extern CFTypeRef CFRetain(CFTypeRef cf); 10 extern void CFRelease(CFTypeRef cf); 12 extern CFTypeRef CFCreateSomethingAudited(); 15 extern CFTypeRef CFCreateSomethingUnaudited(); 18 CFTypeRef obj = CFCreateSomethingAudited(); // no-warning 21 CFTypeRef obj2 = CFCreateSomethingAudited(); // expected-warning{{leak}} 27 CFTypeRef obj = CFCreateSomethingUnaudited(); // no-warning 30 CFTypeRef obj2 = CFCreateSomethingUnaudited(); // expected-warning{{leak}}
|
D | CFDateGC.m | 12 typedef const void * CFTypeRef; typedef 13 void CFRelease(CFTypeRef cf); 14 CFTypeRef CFRetain(CFTypeRef cf); 15 CFTypeRef CFMakeCollectable(CFTypeRef cf); 24 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 | retain-release-gc-only.m | 23 typedef const void * CFTypeRef; typedef 27 extern CFTypeRef CFRetain(CFTypeRef cf); 28 extern void CFRelease(CFTypeRef cf); 73 …ttribute(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef attrName, CFTypeRef value) ; 223 CFTypeRef CFMakeCollectable(CFTypeRef cf) ; 225 static __inline__ __attribute__((always_inline)) id NSMakeCollectable(CFTypeRef 403 void CFConsumeAndStopTracking(CFTypeRef CF_CONSUMED obj, void (^callback)(void)); 420 …CFConsumeAndStopTracking((CFTypeRef)retained, ^{}); // expected-warning {{Incorrect decrement of t… 424 CFTypeRef retained = returnsRetainedCFDate(); // +1 427 CFTypeRef doubleRetained = CFRetain(returnsRetainedCFDate()); // +2 [all …]
|
/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 | Common.h | 24 typedef const void * CFTypeRef; typedef 25 CFTypeRef CFRetain(CFTypeRef cf); 26 CFTypeRef CFMakeCollectable(CFTypeRef cf) NS_AUTOMATED_REFCOUNT_UNAVAILABLE; 28 NS_INLINE NS_RETURNS_RETAINED id NSMakeCollectable(CFTypeRef CF_CONSUMED cf) NS_AUTOMATED_REFCOUNT_… 87 NS_INLINE CF_RETURNS_RETAINED CFTypeRef CFBridgingRetain(id X) { in CFBridgingRetain() 88 return (__bridge_retained CFTypeRef)X; in CFBridgingRetain() 91 NS_INLINE id CFBridgingRelease(CFTypeRef CF_CONSUMED X) { in CFBridgingRelease() 97 NS_INLINE CF_RETURNS_RETAINED CFTypeRef CFBridgingRetain(id X) { in CFBridgingRetain() 98 return X ? CFRetain((CFTypeRef)X) : NULL; in CFBridgingRetain() 101 NS_INLINE id CFBridgingRelease(CFTypeRef CF_CONSUMED X) { in CFBridgingRelease()
|
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 | checking-in-arc.m | 10 typedef const void * CFTypeRef; typedef 11 CFTypeRef CFBridgingRetain(id X); 12 id CFBridgingRelease(CFTypeRef);
|
/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/chromium_org/base/mac/ |
D | foundation_util_unittest.mm | 19 ScopedCFTypeRef<CFTypeRef> test_array( 21 ScopedCFTypeRef<CFTypeRef> test_array_mutable( 23 ScopedCFTypeRef<CFTypeRef> test_bag( 25 ScopedCFTypeRef<CFTypeRef> test_bag_mutable( 27 CFTypeRef test_bool = kCFBooleanTrue; 28 ScopedCFTypeRef<CFTypeRef> test_data( 30 ScopedCFTypeRef<CFTypeRef> test_data_mutable( 32 ScopedCFTypeRef<CFTypeRef> test_date( 34 ScopedCFTypeRef<CFTypeRef> test_dict( 38 ScopedCFTypeRef<CFTypeRef> test_dict_mutable( [all …]
|
D | foundation_util.h | 157 BASE_EXPORT void* CFTypeRefToNSObjectAutorelease(CFTypeRef cf_object); 262 T CFCast(const CFTypeRef& cf_val); 265 T CFCastStrict(const CFTypeRef& cf_val); 269 CFCast<TypeCF##Ref>(const CFTypeRef& cf_val);\ 272 CFCastStrict<TypeCF##Ref>(const CFTypeRef& cf_val); 341 CFStringRef key, const std::string& expected_type, CFTypeRef value); 347 CFTypeRef value = CFDictionaryGetValue(dict, key); in GetValueFromDictionary()
|
/external/qemu/distrib/sdl-1.2.15/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/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;
|
D | keychain_mac.cc | 32 CFTypeRef keychainOrArray, SecItemClass itemClass, in SearchCreateFromAttributes() 64 OSStatus MacKeychain::FindGenericPassword(CFTypeRef keychainOrArray, in FindGenericPassword() 105 void MacKeychain::Free(CFTypeRef ref) const { in Free()
|
D | keychain_mock_mac.h | 40 CFTypeRef keychainOrArray, SecItemClass itemClass, 61 virtual OSStatus FindGenericPassword(CFTypeRef keychainOrArray, 79 virtual void Free(CFTypeRef ref) const;
|
/external/chromium_org/crypto/ |
D | apple_keychain.h | 34 virtual OSStatus FindGenericPassword(CFTypeRef keychainOrArray, 76 CFTypeRef keychainOrArray, 99 virtual void Free(CFTypeRef ref) const;
|
/external/clang/test/FixIt/ |
D | bridge-cast-in-arc.mm | 12 typedef const void * CFTypeRef; typedef 13 extern "C" CFTypeRef CFBridgingRetain(id X);
|
/external/clang/test/Analysis/inlining/ |
D | InlineObjCInstanceMethod.m | 6 typedef const void * CFTypeRef; typedef 7 extern CFTypeRef CFRetain(CFTypeRef cf); 8 extern void CFRelease(CFTypeRef cf);
|
/external/clang/test/Index/ |
D | arc-complete.m | 1 typedef const void *CFTypeRef; typedef 4 (__bridge CFTypeRef)x;
|