| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | CFString.cpp | 18 CFString::CFString(CFStringRef s) : CFReleaser<CFStringRef>(s) {} in CFString() function in CFString 21 CFString::CFString(const CFString &rhs) = default; 24 CFString &CFString::operator=(const CFString &rhs) { in operator =() 30 CFString::CFString(const char *cstr, CFStringEncoding cstr_encoding) in CFString() function in CFString 39 CFString::~CFString() = default; 41 const char *CFString::GetFileSystemRepresentation(std::string &s) { in GetFileSystemRepresentation() 42 return CFString::FileSystemRepresentation(get(), s); in GetFileSystemRepresentation() 74 if (CFString::GlobPath(path, expanded_path)) in SetFileSystemRepresentationAndExpandTilde() 81 const char *CFString::UTF8(std::string &str) { in UTF8() 82 return CFString::UTF8(get(), str); in UTF8() [all …]
|
| H A D | CFString.h | 19 class CFString : public CFReleaser<CFStringRef> { 22 CFString(CFStringRef cf_str = NULL); 23 CFString(const char *s, CFStringEncoding encoding = kCFStringEncodingUTF8); 24 CFString(const CFString &rhs); 25 CFString &operator=(const CFString &rhs); 26 virtual ~CFString();
|
| H A D | CFBundle.cpp | 43 CFString cf_path; in SetPath()
|
| H A D | MachProcess.mm | 48 #include "CFString.h" 2830 CFString::UTF8(bundleIDCFStr, bundleIDStr); 3007 CFString stdio_path; 3574 if (CFString::UTF8(bundleIDCFStr, bundleID) == NULL) { 3685 CFString launch_arg; 3710 CFString name_string, value_string; 3735 CFString stdio_path; 3763 CFString::UTF8(bundleIDCFStr, bundleID); 4012 CFString::UTF8(bundleIDCFStr, m_bundle_id);
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | CFBundle.cpp | 41 class CFString : public CFReleaser<CFStringRef> { class 43 CFString(CFStringRef CFStr = nullptr) : CFReleaser<CFStringRef>(CFStr) {} in CFString() function in llvm::dsymutil::CFString 46 return CFString::UTF8(get(), Str); in UTF8() 64 const char *CFString::UTF8(CFStringRef CFStr, std::string &Str) { in UTF8() 152 CFString TypeIDCFStr(::CFCopyTypeIDDescription(TypeID)); in getBundleInfo() 161 CFString::UTF8(BundleID, BundleInfo.IDStr); in getBundleInfo() 166 CFString::UTF8((CFStringRef)TypeRef, BundleInfo.VersionStr); in getBundleInfo() 174 CFString::UTF8((CFStringRef)TypeRef, BundleInfo.ShortVersionStr); in getBundleInfo()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | format-cstrings-warning.m | 50 …c, CFDictionaryRef formatOptions, CFStringRef format, ...) __attribute__((format(CFString, 3, 4))); 53 …atOptions, CFStringRef format, va_list arguments) __attribute__((format(CFString, 3, 0))); // expe… 56 …g, CFDictionaryRef formatOptions, CFStringRef format, ...) __attribute__((format(CFString, 3, 4))); 59 …atOptions, CFStringRef format, va_list arguments) __attribute__((format(CFString, 3, 0))); // expe… 63 …tringRef)@"%s\n", argList); // expected-warning {{using %s directive in CFString which is being pa… 64 …o %s there %d\n", argList); // expected-warning {{using %s directive in CFString which is being pa… 74 …MyNSLog(@"%s\n", "Hello"); // expected-warning {{using %s directive in CFString which is being pas… 76 …FStringRef)@"%s", "Hello"); // expected-warning {{using %s directive in CFString which is being pa… 77 …XMyNSLog(4, @"%s\n", "Hello"); // expected-warning {{using %s directive in CFString which is being…
|
| H A D | format-strings-objc.m | 43 extern void CFStringCreateWithFormat(CFStringRef format, ...) __attribute__((format(CFString, 1, 2)… 64 extern void CFStringCreateWithFormat2(int *format, ...) __attribute__((format(CFString, 1, 2))); //… 101 // <rdar://problem/10696348>, PR 10274 - CFString and NSString formats are ignored
|
| /llvm-project-15.0.7/lldb/examples/summaries/cocoa/ |
| H A D | NSException.py | 11 import CFString 54 return 'name:' + CFString.CFString_SummaryProvider( 55 name_ptr, None) + ' reason:' + CFString.CFString_SummaryProvider(reason_ptr, None) 82 return CFString.CFString_SummaryProvider( 83 name_vo, None) + ' ' + CFString.CFString_SummaryProvider(reason_vo, None)
|
| H A D | NSNotification.py | 12 import CFString 50 return CFString.CFString_SummaryProvider(string_ptr, None) 75 return CFString.CFString_SummaryProvider(name_vo, None)
|
| H A D | NSURL.py | 13 import CFString 69 my_string = CFString.CFString_SummaryProvider(text, None) 104 return CFString.CFString_SummaryProvider(url_text_vo, None)
|
| H A D | NSDate.py | 17 import CFString 188 return CFString.CFString_SummaryProvider(tz_string, None)
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | RNBServices.cpp | 104 CFString cf_pid_path(proc_path_buf); in GetProcesses() 111 CFString pid_name(pid_basename); in GetProcesses()
|
| H A D | DNBError.cpp | 40 if (CFString::UTF8(statusStr, m_str) == NULL) in AsString()
|
| H A D | CMakeLists.txt | 220 MacOSX/CFString.cpp
|
| H A D | ChangeLog | 919 * CFString.cpp/h (UTF8): Made a static function that can convert 1127 * CFString.cpp (CFString::GetLength() const): New function. 1128 * CFString.h (CFString::GetLength() const): New prototype.
|
| H A D | DNB.cpp | 1692 CFString::GlobPath(path, result); in DNBResolveExecutablePath()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/debugserver.xcodeproj/ |
| H A D | project.pbxproj | 44 …26CE05C3115C36580022F371 /* CFString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2695DD9B0D… 75 …456F67621AD46CE9002850C2 /* CFString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2695DD9B0D… 114 …A0D3EC160007E4CA2 /* CFString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 115 …3EC160007E4CA2 /* CFString.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =… 335 2695DD9A0D3EC160007E4CA2 /* CFString.h */, 336 2695DD9B0D3EC160007E4CA2 /* CFString.cpp */, 535 26CE05C3115C36580022F371 /* CFString.cpp in Sources */, 577 456F67621AD46CE9002850C2 /* CFString.cpp in Sources */,
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | ns_error_enum.m | 56 …ror@-1{{domain argument 'WrongErrorDomainType' does not point to an NSString or CFString constant}}
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | NSString.m | 180 // Test double release of CFString (PR 4014).
|
| H A D | retain-release.m | 531 // Test retain/release checker with CFString and CFMutableArray.
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | objcmt-arc-cf-annotations.m | 456 // Test retain/release checker with CFString and CFMutableArray.
|
| H A D | objcmt-arc-cf-annotations.m.result | 492 // Test retain/release checker with CFString and CFMutableArray.
|
| /llvm-project-15.0.7/lldb/docs/use/ |
| H A D | variable.rst | 1148 available for reference at CFString.py). However, this is out of sync with the
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Builtins.def | 34 // F -> constant CFString
|
| H A D | DiagnosticSemaKinds.td | 1272 Warning<"using %0 directive in %select{NSString|CFString}1 " 9682 // CFString checking 9684 "CFString literal is not a string constant">; 9688 InGroup<DiagGroup<"CFString-literal">>; 10056 "domain argument %0 does not point to an NSString or CFString constant">;
|