/external/lldb/source/Host/macosx/cfcpp/ |
D | CFCMutableDictionary.h | 38 bool AddValue(CFStringRef key, const void *value, bool can_create = false); 39 bool SetValue(CFStringRef key, const void *value, bool can_create = false); 40 bool AddValueSInt8(CFStringRef key, int8_t value, bool can_create = false); 41 bool SetValueSInt8(CFStringRef key, int8_t value, bool can_create = false); 42 bool AddValueSInt16(CFStringRef key, int16_t value, bool can_create = false); 43 bool SetValueSInt16(CFStringRef key, int16_t value, bool can_create = false); 44 bool AddValueSInt32(CFStringRef key, int32_t value, bool can_create = false); 45 bool SetValueSInt32(CFStringRef key, int32_t value, bool can_create = false); 46 bool AddValueSInt64(CFStringRef key, int64_t value, bool can_create = false); 47 bool SetValueSInt64(CFStringRef key, int64_t value, bool can_create = false); [all …]
|
D | CFCString.cpp | 17 CFCString::CFCString(CFStringRef s) : in CFCString() 18 CFCReleaser<CFStringRef> (s) in CFCString() 26 CFCReleaser<CFStringRef> (rhs) in CFCString() 43 CFCReleaser<CFStringRef> () in CFCString() 64 CFStringRef 67 CFStringRef new_value = NULL; in SetFileSystemRepresentation() 75 CFStringRef 78 CFStringRef new_value = NULL; in SetFileSystemRepresentationFromCFType() 86 new_value = (CFStringRef)::CFRetain(cf_type); in SetFileSystemRepresentationFromCFType() 97 CFStringRef [all …]
|
D | CFCString.h | 17 class CFCString : public CFCReleaser<CFStringRef> 23 CFCString (CFStringRef cf_str = NULL); 30 CFStringRef SetFileSystemRepresentation (const char *path); 31 CFStringRef SetFileSystemRepresentationFromCFType (CFTypeRef cf_type); 32 CFStringRef SetFileSystemRepresentationAndExpandTilde (const char *path); 35 static const char *UTF8 (CFStringRef cf_str, std::string& str); 36 static const char *FileSystemRepresentation (CFStringRef cf_str, std::string& str);
|
D | CFCMutableDictionary.cpp | 118 CFCMutableDictionary::AddValue(CFStringRef key, const void *value, bool can_create) in AddValue() 131 CFCMutableDictionary::SetValue(CFStringRef key, const void *value, bool can_create) in SetValue() 144 CFCMutableDictionary::AddValueSInt8(CFStringRef key, int8_t value, bool can_create) in AddValueSInt8() 161 CFCMutableDictionary::SetValueSInt8(CFStringRef key, int8_t value, bool can_create) in SetValueSInt8() 178 CFCMutableDictionary::AddValueSInt16(CFStringRef key, int16_t value, bool can_create) in AddValueSInt16() 195 CFCMutableDictionary::SetValueSInt16(CFStringRef key, int16_t value, bool can_create) in SetValueSInt16() 212 CFCMutableDictionary::AddValueSInt32(CFStringRef key, int32_t value, bool can_create) in AddValueSInt32() 229 CFCMutableDictionary::SetValueSInt32(CFStringRef key, int32_t value, bool can_create) in SetValueSInt32() 246 CFCMutableDictionary::AddValueSInt64(CFStringRef key, int64_t value, bool can_create) in AddValueSInt64() 263 CFCMutableDictionary::SetValueSInt64(CFStringRef key, int64_t value, bool can_create) in SetValueSInt64() [all …]
|
/external/clang/test/SemaObjC/ |
D | arc-unbridged-cast.m | 3 typedef const struct __CFString * CFStringRef; typedef 10 @property CFStringRef property; 11 - (CFStringRef) implicitProperty; 12 - (CFStringRef) newString; 13 - (CFStringRef) makeString; 27 CFStringRef unauditedString(void); 28 CFStringRef plusOneString(void) __attribute__((cf_returns_retained)); 31 CFStringRef auditedString(void); 32 CFStringRef auditedCreateString(void); 40 x = (id) (cond ? (CFStringRef) @"help" : auditedString()); [all …]
|
D | arc-cf.m | 10 typedef const struct __CFString *CFStringRef; typedef 12 extern CFStringRef CFMakeString0(void); 14 extern CFStringRef CFCreateString0(void); 22 extern CFStringRef CFMakeString1(void) __attribute__((cf_returns_not_retained)); 23 extern CFStringRef CFCreateString1(void) __attribute__((cf_returns_retained)); 36 extern CFStringRef CFMakeString2(void); 37 extern CFStringRef CFCreateString2(void) CF_RETURNS_NOT_RETAINED; 38 extern CFStringRef CFMakeString3(void) CF_RETURNS_RETAINED; 39 extern CFStringRef CFCreateString3(void); 53 extern SInt32 CFStringGetIntValue(CFStringRef str); // expected-note {{passing argument to paramete… [all …]
|
D | illegal-nonarc-bridged-cast.m | 5 typedef const struct __CFString *CFStringRef; typedef 11 CFStringRef CFCreateString(); 13 CFStringRef CFGetString(); 28 …CFStringRef cf2 = (__bridge_retained CFStringRef)CreateNSString(); // expected-warning {{'__bridge… 30 CFStringRef cf4 = (__bridge CFStringRef)CreateNSString();
|
/external/clang/test/SemaObjCXX/ |
D | arc-unbridged-cast.mm | 3 typedef const struct __CFString * CFStringRef; typedef 10 @property CFStringRef property; 11 - (CFStringRef) implicitProperty; 12 - (CFStringRef) newString; 13 - (CFStringRef) makeString; 27 CFStringRef unauditedString(void); 28 CFStringRef plusOneString(void) __attribute__((cf_returns_retained)); 31 CFStringRef auditedString(void); 32 CFStringRef auditedCreateString(void); 40 x = (id) (cond ? (CFStringRef) @"help" : auditedString()); [all …]
|
D | arc-bridged-cast.mm | 4 typedef const struct __CFString *CFStringRef; typedef 10 CFStringRef CFCreateString(); 12 CFStringRef CFGetString(); 31 CFStringRef cf2 = (__bridge_retained StringType)CreateNSString(); 33 CFStringRef cf4 = (__bridge StringType)CreateNSString(); 36 template void to_cf<CFTypeRef, CFStringRef>(id); function
|
/external/clang/test/ARCMT/ |
D | nonobjc-to-objc-cast.m.result | 7 typedef const struct __CFString * CFStringRef; 8 extern const CFStringRef kUTTypePlainText; 9 extern const CFStringRef kUTTypeRTF; 16 extern CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid); 19 CFStringRef sref_member; 23 CFStringRef sref; 44 CFStringRef str = (__bridge CFStringRef)self; 45 CFStringRef str2 = (__bridge CFStringRef)(self); 60 extern void consumeParam(CFStringRef CF_CONSUMED p); 63 CFStringRef ref = (__bridge CFStringRef)([s string]); [all …]
|
D | nonobjc-to-objc-cast.m | 7 typedef const struct __CFString * CFStringRef; typedef 8 extern const CFStringRef kUTTypePlainText; 9 extern const CFStringRef kUTTypeRTF; 16 extern CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid); 19 CFStringRef sref_member; 23 CFStringRef sref; 44 CFStringRef str = (CFStringRef)self; 45 CFStringRef str2 = self; 60 extern void consumeParam(CFStringRef CF_CONSUMED p); 63 CFStringRef ref = [s string]; [all …]
|
D | nonobjc-to-objc-cast-2.m | 5 typedef const struct __CFString * CFStringRef; typedef 11 CFStringRef sref_member; 15 CFStringRef sref; 30 …return sref; // expected-error {{implicit conversion of C pointer type 'CFStringRef' (aka 'const s… 32 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con… 37 CFStringRef cfstr; 38 …NSString *str = (NSString *)cfstr; // expected-error {{cast of C pointer type 'CFStringRef' (aka '… 40 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con… 45 CFStringRef ref; 46 …ref = [(CFStringRef)[s string] retain]; // expected-error {{cast of Objective-C pointer type 'id' … [all …]
|
/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/lldb/tools/debugserver/source/MacOSX/ |
D | CFString.cpp | 21 CFString::CFString(CFStringRef s) : in CFString() 22 CFReleaser<CFStringRef> (s) in CFString() 30 CFReleaser<CFStringRef> (rhs) in CFString() 47 CFReleaser<CFStringRef> () in CFString() 68 CFStringRef 71 CFStringRef new_value = NULL; in SetFileSystemRepresentation() 79 CFStringRef 82 CFStringRef new_value = NULL; in SetFileSystemRepresentationFromCFType() 90 new_value = (CFStringRef)::CFRetain(cf_type); in SetFileSystemRepresentationFromCFType() 101 CFStringRef [all …]
|
D | CFString.h | 20 class CFString : public CFReleaser<CFStringRef> 26 CFString (CFStringRef cf_str = NULL); 33 CFStringRef SetFileSystemRepresentation (const char *path); 34 CFStringRef SetFileSystemRepresentationFromCFType (CFTypeRef cf_type); 35 CFStringRef SetFileSystemRepresentationAndExpandTilde (const char *path); 38 static const char *UTF8 (CFStringRef cf_str, std::string& str); 39 static const char *FileSystemRepresentation (CFStringRef cf_str, std::string& str);
|
/external/chromium_org/chrome/common/mac/ |
D | mock_launchd.cc | 126 CFStringRef env_var = in CopyExports() 128 base::ScopedCFTypeRef<CFStringRef> socket_path(CFStringCreateWithCString( in CopyExports() 141 CFDictionaryRef MockLaunchd::CopyJobDictionary(CFStringRef label) { in CopyJobDictionary() 149 CFStringRef program = CFSTR(LAUNCH_JOBKEY_PROGRAM); in CopyJobDictionary() 150 CFStringRef program_pid = CFSTR(LAUNCH_JOBKEY_PID); in CopyJobDictionary() 152 base::ScopedCFTypeRef<CFStringRef> path( in CopyJobDictionary() 169 CFStringRef program = CFSTR(LAUNCH_JOBKEY_PROGRAM); in CopyDictionaryByCheckingIn() 170 CFStringRef program_args = CFSTR(LAUNCH_JOBKEY_PROGRAMARGUMENTS); in CopyDictionaryByCheckingIn() 171 base::ScopedCFTypeRef<CFStringRef> path( in CopyDictionaryByCheckingIn() 190 CFStringRef socket_key = CFSTR(LAUNCH_JOBKEY_SOCKETS); in CopyDictionaryByCheckingIn() [all …]
|
D | launchd.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);
|
D | mock_launchd.h | 36 virtual CFDictionaryRef CopyJobDictionary(CFStringRef label) OVERRIDE; 39 virtual bool RemoveJob(CFStringRef label, CFErrorRef* error) OVERRIDE; 42 CFStringRef name, 43 CFStringRef session_type) OVERRIDE; 47 CFStringRef name) OVERRIDE; 50 CFStringRef name, 54 CFStringRef name) OVERRIDE;
|
/external/chromium_org/components/policy/core/common/ |
D | preferences_mock_mac.h | 18 virtual Boolean AppSynchronize(CFStringRef applicationID) OVERRIDE; 20 virtual CFPropertyListRef CopyAppValue(CFStringRef key, 21 CFStringRef applicationID) OVERRIDE; 23 virtual Boolean AppValueIsForced(CFStringRef key, 24 CFStringRef applicationID) OVERRIDE; 27 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/chromium_org/device/hid/ |
D | hid_utils_mac.cc | 12 int32_t GetHidIntProperty(IOHIDDeviceRef device, CFStringRef key) { in GetHidIntProperty() 19 std::string GetHidStringProperty(IOHIDDeviceRef device, CFStringRef key) { in GetHidStringProperty() 26 CFStringRef key, in TryGetHidIntProperty() 34 CFStringRef key, in TryGetHidStringProperty() 36 CFStringRef ref = base::mac::CFCast<CFStringRef>( in TryGetHidStringProperty()
|
D | hid_utils_mac.h | 16 int32_t GetHidIntProperty(IOHIDDeviceRef device, CFStringRef key); 18 std::string GetHidStringProperty(IOHIDDeviceRef device, CFStringRef key); 21 CFStringRef key, 25 CFStringRef key,
|
/external/clang/test/Analysis/ |
D | cfref_PR2519.c | 7 typedef const struct __CFString * CFStringRef; typedef 26 extern void CFNotificationCenterPostNotification(CFNotificationCenterRef center, CFStringRef name, … 32 …CFStringRef _key = ((CFStringRef) __builtin___CFStringMakeConstantString ("" "Process identifier" … in main() 39 ((CFStringRef) __builtin___CFStringMakeConstantString ("" "GrowlPreferencesChanged" "")), in main() 40 ((CFStringRef) __builtin___CFStringMakeConstantString ("" "GrowlUserDefaults" "")), in main()
|