You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
bdwgc
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm-project
clang
clang-tools-extra
compiler-rt
eng
libcxx
libcxxabi
libunwind
lld
lldb
cmake
docs
examples
include
lit
lldb.xcodeproj
lldb.xcworkspace
packages
resources
scripts
source
third_party
tools
argdumper
compact-unwind
darwin-debug
darwin-threads
debugserver
debugserver.xcodeproj
resources
scripts
source
MacOSX
DarwinLog
arm
arm64
i386
ppc
x86_64
CFBundle.cpp
CFBundle.h
CFString.cpp
CFString.h
CFUtils.h
CMakeLists.txt
Genealogy.cpp
Genealogy.h
GenealogySPI.h
MachException.cpp
MachException.h
MachProcess.h
MachProcess.mm.REMOVED.git-id
MachTask.h
MachTask.mm
MachThread.cpp
MachThread.h
MachThreadList.cpp
MachThreadList.h
MachVMMemory.cpp
MachVMMemory.h
MachVMRegion.cpp
MachVMRegion.h
OsLogger.cpp
OsLogger.h
ThreadInfo.h
dbgnub-mig.defs
stack_logging.h
ARM_DWARF_Registers.h
ARM_ehframe_Registers.h
CMakeLists.txt
ChangeLog
DNB.cpp
DNB.h
DNBArch.cpp
DNBArch.h
DNBBreakpoint.cpp
DNBBreakpoint.h
DNBDataRef.cpp
DNBDataRef.h
DNBDefs.h
DNBError.cpp
DNBError.h
DNBLog.cpp
DNBLog.h
DNBRegisterInfo.cpp
DNBRegisterInfo.h
DNBRuntimeAction.h
DNBThreadResumeActions.cpp
DNBThreadResumeActions.h
DNBTimer.h
JSON.cpp
JSON.h
JSONGenerator.h
PThreadCondition.h
PThreadEvent.cpp
PThreadEvent.h
PThreadMutex.cpp
PThreadMutex.h
PseudoTerminal.cpp
PseudoTerminal.h
RNBContext.cpp
RNBContext.h
RNBDefs.h
RNBRemote.cpp.REMOVED.git-id
RNBRemote.h
RNBServices.cpp
RNBServices.h
RNBSocket.cpp
RNBSocket.h
StdStringExtractor.cpp
StdStringExtractor.h
SysSignal.cpp
SysSignal.h
TTYState.cpp
TTYState.h
com.apple.debugserver.applist.internal.plist
com.apple.debugserver.applist.plist
com.apple.debugserver.internal.plist
com.apple.debugserver.plist
com.apple.debugserver.posix.plist
debugserver-entitlements.plist
debugserver-macosx-entitlements.plist
debugserver.cpp
libdebugserver.cpp
libdebugserver.h
CMakeLists.txt
debugnub-exports
driver
install-headers
intel-features
lldb-mi
lldb-perf
lldb-server
lldb-test
CMakeLists.txt
unittests
utils
www
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
CODE_OWNERS.txt
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py
llvm
nuget
openmp
polly
Directory.Build.props
Directory.Build.targets
NuGet.config
azure-pipelines.yml
build.cmd
build.sh
dir.common.props
global.json
llvm.proj
mxe-Win64.cmake.in
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
llvm
m4
man
mcs
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
44 lines
1.6 KiB
C
44 lines
1.6 KiB
C
![]() |
//===-- CFString.h ----------------------------------------------*- C++ -*-===//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// Created by Greg Clayton on 1/16/08.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#ifndef __CFString_h__
|
||
|
#define __CFString_h__
|
||
|
|
||
|
#include "CFUtils.h"
|
||
|
#include <iosfwd>
|
||
|
|
||
|
class CFString : public CFReleaser<CFStringRef> {
|
||
|
public:
|
||
|
//------------------------------------------------------------------
|
||
|
// Constructors and Destructors
|
||
|
//------------------------------------------------------------------
|
||
|
CFString(CFStringRef cf_str = NULL);
|
||
|
CFString(const char *s, CFStringEncoding encoding = kCFStringEncodingUTF8);
|
||
|
CFString(const CFString &rhs);
|
||
|
CFString &operator=(const CFString &rhs);
|
||
|
virtual ~CFString();
|
||
|
|
||
|
const char *GetFileSystemRepresentation(std::string &str);
|
||
|
CFStringRef SetFileSystemRepresentation(const char *path);
|
||
|
CFStringRef SetFileSystemRepresentationFromCFType(CFTypeRef cf_type);
|
||
|
CFStringRef SetFileSystemRepresentationAndExpandTilde(const char *path);
|
||
|
const char *UTF8(std::string &str);
|
||
|
CFIndex GetLength() const;
|
||
|
static const char *UTF8(CFStringRef cf_str, std::string &str);
|
||
|
static const char *FileSystemRepresentation(CFStringRef cf_str,
|
||
|
std::string &str);
|
||
|
static const char *GlobPath(const char *path, std::string &expanded_path);
|
||
|
};
|
||
|
|
||
|
#endif // #ifndef __CFString_h__
|