Home
last modified time | relevance | path

Searched refs:CFString (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DCFString.cpp18 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 DCFString.h19 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 DCFBundle.cpp43 CFString cf_path; in SetPath()
H A DMachProcess.mm48 #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 DCFBundle.cpp41 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 Dformat-cstrings-warning.m50 …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 Dformat-strings-objc.m43 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 DNSException.py11 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 DNSNotification.py12 import CFString
50 return CFString.CFString_SummaryProvider(string_ptr, None)
75 return CFString.CFString_SummaryProvider(name_vo, None)
H A DNSURL.py13 import CFString
69 my_string = CFString.CFString_SummaryProvider(text, None)
104 return CFString.CFString_SummaryProvider(url_text_vo, None)
H A DNSDate.py17 import CFString
188 return CFString.CFString_SummaryProvider(tz_string, None)
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DRNBServices.cpp104 CFString cf_pid_path(proc_path_buf); in GetProcesses()
111 CFString pid_name(pid_basename); in GetProcesses()
H A DDNBError.cpp40 if (CFString::UTF8(statusStr, m_str) == NULL) in AsString()
H A DCMakeLists.txt220 MacOSX/CFString.cpp
H A DChangeLog919 * 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 DDNB.cpp1692 CFString::GlobPath(path, result); in DNBResolveExecutablePath()
/llvm-project-15.0.7/lldb/tools/debugserver/debugserver.xcodeproj/
H A Dproject.pbxproj44 …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 Dns_error_enum.m56 …ror@-1{{domain argument 'WrongErrorDomainType' does not point to an NSString or CFString constant}}
/llvm-project-15.0.7/clang/test/Analysis/
H A DNSString.m180 // Test double release of CFString (PR 4014).
H A Dretain-release.m531 // Test retain/release checker with CFString and CFMutableArray.
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-arc-cf-annotations.m456 // Test retain/release checker with CFString and CFMutableArray.
H A Dobjcmt-arc-cf-annotations.m.result492 // Test retain/release checker with CFString and CFMutableArray.
/llvm-project-15.0.7/lldb/docs/use/
H A Dvariable.rst1148 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 DBuiltins.def34 // F -> constant CFString
H A DDiagnosticSemaKinds.td1272 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">;

12