Home
last modified time | relevance | path

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

/llvm-project/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()
45 CFStringRef CFString::SetFileSystemRepresentation(const char *path) { in SetFileSystemRepresentation()
54 CFStringRef CFString::SetFileSystemRepresentationFromCFType(CFTypeRef cf_type) { in SetFileSystemRepresentationFromCFType()
72 CFString::SetFileSystemRepresentationAndExpandTilde(const char *path) { in SetFileSystemRepresentationAndExpandTilde()
[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.mm49 #include "CFString.h"
3025 CFString::UTF8(bundleIDCFStr, bundleIDStr);
3202 CFString stdio_path;
3775 if (CFString::UTF8(bundleIDCFStr, bundleID) == NULL) {
3890 CFString launch_arg;
3915 CFString name_string, value_string;
3940 CFString stdio_path;
3968 CFString::UTF8(bundleIDCFStr, bundleID);
4221 CFString::UTF8(bundleIDCFStr, m_bundle_id);
/llvm-project/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/clang/test/SemaObjC/
H A Dformat-cstrings-warning.m49 …c, CFDictionaryRef formatOptions, CFStringRef format, ...) __attribute__((format(CFString, 3, 4)));
52 …atOptions, CFStringRef format, va_list arguments) __attribute__((format(CFString, 3, 0))); // expe…
55 …g, CFDictionaryRef formatOptions, CFStringRef format, ...) __attribute__((format(CFString, 3, 4)));
58 …atOptions, CFStringRef format, va_list arguments) __attribute__((format(CFString, 3, 0))); // expe…
62 …tringRef)@"%s\n", argList); // expected-warning {{using %s directive in CFString which is being pa…
63 …o %s there %d\n", argList); // expected-warning {{using %s directive in CFString which is being pa…
73 …MyNSLog(@"%s\n", "Hello"); // expected-warning {{using %s directive in CFString which is being pas…
75 …FStringRef)@"%s", "Hello"); // expected-warning {{using %s directive in CFString which is being pa…
76 …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))); //…
100 // PR 10274 - CFString and NSString formats are ignored
/llvm-project/lldb/examples/summaries/cocoa/
H A DNSException.py11 import CFString
58 + CFString.CFString_SummaryProvider(name_ptr, None)
60 + CFString.CFString_SummaryProvider(reason_ptr, None)
90 CFString.CFString_SummaryProvider(name_vo, None)
92 + CFString.CFString_SummaryProvider(reason_vo, None)
H A DNSNotification.py12 import CFString
51 return CFString.CFString_SummaryProvider(string_ptr, None)
76 return CFString.CFString_SummaryProvider(name_vo, None)
H A DNSURL.py13 import CFString
72 my_string = CFString.CFString_SummaryProvider(text, None)
107 return CFString.CFString_SummaryProvider(url_text_vo, None)
H A DNSDate.py17 import CFString
194 return CFString.CFString_SummaryProvider(tz_string, None)
/llvm-project/lldb/tools/debugserver/source/
H A DRNBServices.cpp16 #include "CFString.h"
104 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.txt215 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.cpp44 #include "CFString.h"
1757 CFString::GlobPath(path, result); in DNBResolveExecutablePath()
/llvm-project/lldb/tools/debugserver/debugserver.xcodeproj/
H A Dproject.pbxproj42 26CE05C3115C36580022F371 /* CFString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2695DD9B0D3EC160007E4CA2 /* CFString.cpp */; };
71 456F67621AD46CE9002850C2 /* CFString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2695DD9B0D3EC160007E4CA2 /* CFString.cpp */; };
108 2695DD9A0D3EC160007E4CA2 /* CFString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CFString.h; sourceTree = "<group>"; };
109 2695DD9B0D3EC160007E4CA2 /* CFString.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CFString.cpp; sourceTree = "<group>"; };
324 2695DD9A0D3EC160007E4CA2 /* CFString.h */,
325 2695DD9B0D3EC160007E4CA2 /* CFString
[all...]
/llvm-project/clang/include/clang/Basic/
H A DBuiltins.def26 // F -> constant CFString
H A DDiagnosticSemaKinds.td1402 Warning<"using %0 directive in %select{NSString|CFString}1 "
10399 // CFString checking
10401 "CFString literal is not a string constant">;
10405 InGroup<DiagGroup<"CFString-literal">>;
10792 "domain argument %0 does not point to an NSString or CFString constant">;
H A DAttrDocs.td4875 ``CFString`` constant representing the error domain that an error code belongs
/llvm-project/clang/test/Analysis/
H A DNSString.m179 // Test double release of CFString (PR 4014).
H A Dretain-release.m531 // Test retain/release checker with CFString and CFMutableArray.
/llvm-project/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/lldb/docs/use/
H A Dvariable.rst1204 available for reference at CFString.py). However, this is out of sync with the