/external/llvm-project/lldb/source/Host/macosx/cfcpp/ |
D | CFCMutableDictionary.h | 30 bool AddValue(CFStringRef key, const void *value, bool can_create = false); 31 bool SetValue(CFStringRef key, const void *value, bool can_create = false); 32 bool AddValueSInt8(CFStringRef key, int8_t value, bool can_create = false); 33 bool SetValueSInt8(CFStringRef key, int8_t value, bool can_create = false); 34 bool AddValueSInt16(CFStringRef key, int16_t value, bool can_create = false); 35 bool SetValueSInt16(CFStringRef key, int16_t value, bool can_create = false); 36 bool AddValueSInt32(CFStringRef key, int32_t value, bool can_create = false); 37 bool SetValueSInt32(CFStringRef key, int32_t value, bool can_create = false); 38 bool AddValueSInt64(CFStringRef key, int64_t value, bool can_create = false); 39 bool SetValueSInt64(CFStringRef key, int64_t value, bool can_create = false); [all …]
|
D | CFCString.cpp | 14 CFCString::CFCString(CFStringRef s) : CFCReleaser<CFStringRef>(s) {} in CFCString() 17 CFCString::CFCString(const CFCString &rhs) : CFCReleaser<CFStringRef>(rhs) {} in CFCString() 27 : CFCReleaser<CFStringRef>() { in CFCString() 41 CFStringRef CFCString::SetFileSystemRepresentation(const char *path) { in SetFileSystemRepresentation() 42 CFStringRef new_value = NULL; in SetFileSystemRepresentation() 50 CFStringRef 52 CFStringRef new_value = NULL; in SetFileSystemRepresentationFromCFType() 58 new_value = (CFStringRef)::CFRetain(cf_type); in SetFileSystemRepresentationFromCFType() 68 CFStringRef 89 const char *CFCString::UTF8(CFStringRef cf_str, std::string &str) { in UTF8() [all …]
|
D | CFCMutableDictionary.cpp | 91 bool CFCMutableDictionary::AddValue(CFStringRef key, const void *value, in AddValue() 102 bool CFCMutableDictionary::SetValue(CFStringRef key, const void *value, in SetValue() 113 bool CFCMutableDictionary::AddValueSInt8(CFStringRef key, int8_t value, in AddValueSInt8() 128 bool CFCMutableDictionary::SetValueSInt8(CFStringRef key, int8_t value, in SetValueSInt8() 143 bool CFCMutableDictionary::AddValueSInt16(CFStringRef key, int16_t value, in AddValueSInt16() 158 bool CFCMutableDictionary::SetValueSInt16(CFStringRef key, int16_t value, in SetValueSInt16() 173 bool CFCMutableDictionary::AddValueSInt32(CFStringRef key, int32_t value, in AddValueSInt32() 188 bool CFCMutableDictionary::SetValueSInt32(CFStringRef key, int32_t value, in SetValueSInt32() 203 bool CFCMutableDictionary::AddValueSInt64(CFStringRef key, int64_t value, in AddValueSInt64() 218 bool CFCMutableDictionary::SetValueSInt64(CFStringRef key, int64_t value, in SetValueSInt64() [all …]
|
D | CFCString.h | 16 class CFCString : public CFCReleaser<CFStringRef> { 19 CFCString(CFStringRef cf_str = NULL); 26 CFStringRef SetFileSystemRepresentation(const char *path); 27 CFStringRef SetFileSystemRepresentationFromCFType(CFTypeRef cf_type); 28 CFStringRef SetFileSystemRepresentationAndExpandTilde(const char *path); 31 static const char *UTF8(CFStringRef cf_str, std::string &str); 32 static const char *FileSystemRepresentation(CFStringRef cf_str,
|
/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); 35 extern const CFStringRef kUserConst; [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 …]
|
/external/llvm-project/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); 35 extern const CFStringRef kUserConst; [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 …]
|
/external/llvm-project/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 …]
|
/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 …]
|
/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; 10 extern CFStringRef kNonConst; 17 extern CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid); 20 CFStringRef sref_member; 24 CFStringRef sref; 49 CFStringRef str = (__bridge CFStringRef)self; 50 CFStringRef str2 = (__bridge CFStringRef)(self); 65 extern void consumeParam(CFStringRef CF_CONSUMED p); [all …]
|
D | nonobjc-to-objc-cast.m | 7 typedef const struct __CFString * CFStringRef; typedef 8 extern const CFStringRef kUTTypePlainText; 9 extern const CFStringRef kUTTypeRTF; 10 extern CFStringRef kNonConst; 17 extern CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid); 20 CFStringRef sref_member; 24 CFStringRef sref; 49 CFStringRef str = (CFStringRef)self; 50 CFStringRef str2 = self; 65 extern void consumeParam(CFStringRef CF_CONSUMED p); [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/llvm-project/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; 10 extern CFStringRef kNonConst; 17 extern CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid); 20 CFStringRef sref_member; 24 CFStringRef sref; 49 CFStringRef str = (__bridge CFStringRef)self; 50 CFStringRef str2 = (__bridge CFStringRef)(self); 65 extern void consumeParam(CFStringRef CF_CONSUMED p); [all …]
|
D | nonobjc-to-objc-cast.m | 7 typedef const struct __CFString * CFStringRef; typedef 8 extern const CFStringRef kUTTypePlainText; 9 extern const CFStringRef kUTTypeRTF; 10 extern CFStringRef kNonConst; 17 extern CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid); 20 CFStringRef sref_member; 24 CFStringRef sref; 49 CFStringRef str = (CFStringRef)self; 50 CFStringRef str2 = self; 65 extern void consumeParam(CFStringRef CF_CONSUMED p); [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/llvm-project/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/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
D | CFString.cpp | 18 CFString::CFString(CFStringRef s) : CFReleaser<CFStringRef>(s) {} in CFString() 21 CFString::CFString(const CFString &rhs) : CFReleaser<CFStringRef>(rhs) {} in CFString() 31 : CFReleaser<CFStringRef>() { in CFString() 45 CFStringRef CFString::SetFileSystemRepresentation(const char *path) { in SetFileSystemRepresentation() 46 CFStringRef new_value = NULL; in SetFileSystemRepresentation() 54 CFStringRef CFString::SetFileSystemRepresentationFromCFType(CFTypeRef cf_type) { in SetFileSystemRepresentationFromCFType() 55 CFStringRef new_value = NULL; in SetFileSystemRepresentationFromCFType() 61 new_value = (CFStringRef)::CFRetain(cf_type); in SetFileSystemRepresentationFromCFType() 71 CFStringRef 93 const char *CFString::UTF8(CFStringRef cf_str, std::string &str) { in UTF8() [all …]
|
D | CFString.h | 19 class CFString : public CFReleaser<CFStringRef> { 22 CFString(CFStringRef cf_str = NULL); 29 CFStringRef SetFileSystemRepresentation(const char *path); 30 CFStringRef SetFileSystemRepresentationFromCFType(CFTypeRef cf_type); 31 CFStringRef SetFileSystemRepresentationAndExpandTilde(const char *path); 34 static const char *UTF8(CFStringRef cf_str, std::string &str); 35 static const char *FileSystemRepresentation(CFStringRef cf_str,
|
/external/llvm-project/llvm/tools/dsymutil/ |
D | CFBundle.cpp | 41 class CFString : public CFReleaser<CFStringRef> { 43 CFString(CFStringRef CFStr = nullptr) : CFReleaser<CFStringRef>(CFStr) {} in CFString() 50 if (CFStringRef Str = get()) in GetLength() 55 static const char *UTF8(CFStringRef CFStr, std::string &Str); 64 const char *CFString::UTF8(CFStringRef CFStr, std::string &Str) { in UTF8() 94 CFStringRef GetIdentifier() const { in GetIdentifier() 101 CFTypeRef GetValueForInfoDictionaryKey(CFStringRef key) const { in GetValueForInfoDictionaryKey() 160 if (CFStringRef BundleID = Bundle.GetIdentifier()) { in getBundleInfo() 166 CFString::UTF8((CFStringRef)TypeRef, BundleInfo.VersionStr); in getBundleInfo() 174 CFString::UTF8((CFStringRef)TypeRef, BundleInfo.ShortVersionStr); in getBundleInfo()
|
/external/webrtc/sdk/objc/components/video_codec/ |
D | helpers.h | 29 std::string CFStringToString(const CFStringRef cf_string); 32 void SetVTSessionProperty(VTSessionRef session, CFStringRef key, int32_t value); 36 CFStringRef key, 40 void SetVTSessionProperty(VTSessionRef session, CFStringRef key, bool value); 44 CFStringRef key, 45 CFStringRef value);
|
/external/clang/test/CodeGen/ |
D | CFStrings.c | 16 typedef struct __CFString *CFStringRef; typedef 17 const CFStringRef one = (CFStringRef)__builtin___CFStringMakeConstantString("one"); 18 const CFStringRef two = (CFStringRef)__builtin___CFStringMakeConstantString("\xef\xbf\xbd\x74\xef\x…
|
/external/llvm-project/clang/test/CodeGen/ |
D | cfstring3.c | 19 typedef struct __CFString *CFStringRef; typedef 20 const CFStringRef one = (CFStringRef)__builtin___CFStringMakeConstantString("one"); 21 const CFStringRef two = (CFStringRef)__builtin___CFStringMakeConstantString("\xef\xbf\xbd\x74\xef\x…
|
D | cfstring-elf-sections-x86_64.c | 5 typedef struct __CFString *CFStringRef; typedef 6 const CFStringRef one = (CFStringRef)__builtin___CFStringMakeConstantString("one"); 7 const CFStringRef two = (CFStringRef)__builtin___CFStringMakeConstantString("\xef\xbf\xbd\x74\xef\x…
|