Home
last modified time | relevance | path

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

123

/external/lzma/CPP/Windows/
DFileName.h22 bool IsAltPathPrefix(CFSTR s) throw(); /* name: */
31 bool IsDevicePath(CFSTR s) throw(); /* \\.\ */
32 bool IsSuperUncPath(CFSTR s) throw(); /* \\?\UNC\ */
33 bool IsNetworkPath(CFSTR s) throw(); /* \\?\UNC\ or \\SERVER */
41 unsigned GetNetworkServerPrefixSize(CFSTR s) throw();
43 bool IsNetworkShareRootPath(CFSTR s) throw(); /* \\?\UNC\SERVER\share or \\SERVER\share or with sl…
46 bool IsDriveRootPath_SuperAllowed(CFSTR s) throw(); // exact drive root path "a:\" or "\\?\a:\"
54 bool IsDrivePath2(CFSTR s) throw(); // first 2 chars are drive chars like "a:"
56 bool IsDrivePath(CFSTR s) throw();
57 bool IsSuperPath(CFSTR s) throw();
[all …]
DFileDir.h17 bool SetDirTime(CFSTR path, const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime);
18 bool SetFileAttrib(CFSTR path, DWORD attrib);
19 bool MyMoveFile(CFSTR existFileName, CFSTR newFileName);
22 bool MyCreateHardLink(CFSTR newFileName, CFSTR existFileName);
25 bool RemoveDir(CFSTR path);
26 bool CreateDir(CFSTR path);
33 bool CreateComplexDir(CFSTR path);
35 bool DeleteFileAlways(CFSTR name);
38 bool MyGetFullPathName(CFSTR path, FString &resFullPath);
39 bool GetFullPathAndSplit(CFSTR path, FString &resDirPrefix, FString &resFileName);
[all …]
DFileName.cpp65 bool IsAltPathPrefix(CFSTR s) throw() in IsAltPathPrefix()
103 bool IsDevicePath(CFSTR s) throw() in IsDevicePath()
136 bool IsSuperUncPath(CFSTR s) throw() { return (IS_SUPER_PREFIX(s) && IS_UNC_WITH_SLASH(s + kSuperPa… in IsSuperUncPath()
137 bool IsNetworkPath(CFSTR s) throw() in IsNetworkPath()
147 unsigned GetNetworkServerPrefixSize(CFSTR s) throw() in GetNetworkServerPrefixSize()
166 bool IsNetworkShareRootPath(CFSTR s) throw() in IsNetworkShareRootPath()
187 bool IsDrivePath2(CFSTR s) throw() { return IS_LETTER_CHAR(s[0]) && s[1] == ':'; } in IsDrivePath2()
189 bool IsDrivePath(CFSTR s) throw() { return IS_LETTER_CHAR(s[0]) && s[1] == ':' && IS_SEPAR(s[2]); } in IsDrivePath()
190 bool IsSuperPath(CFSTR s) throw() { return IS_SUPER_PREFIX(s); } in IsSuperPath()
191 bool IsSuperOrDevicePath(CFSTR s) throw() { return IS_SUPER_OR_DEVICE_PATH(s); } in IsSuperOrDevicePath()
[all …]
DFileIO.h61 bool GetReparseData(CFSTR path, CByteBuffer &reparseData, BY_HANDLE_FILE_INFORMATION *fileInfo = NU…
62 bool SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size);
69 bool Create(CFSTR path, DWORD desiredAccess,
115 static bool GetFileInformation(CFSTR path, BY_HANDLE_FILE_INFORMATION *info) in GetFileInformation()
161 void CalcDeviceSize(CFSTR name);
166 bool Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes);
167 bool OpenShared(CFSTR fileName, bool shareForWrite);
168 bool Open(CFSTR fileName);
172 bool OpenReparse(CFSTR fileName) in OpenReparse()
188 bool Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes);
[all …]
DFileDir.cpp72 bool SetDirTime(CFSTR path, const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime) in SetDirTime()
105 bool SetFileAttrib(CFSTR path, DWORD attrib) in SetFileAttrib()
131 bool RemoveDir(CFSTR path) in RemoveDir()
157 bool MyMoveFile(CFSTR oldFile, CFSTR newFile) in MyMoveFile()
193 bool MyCreateHardLink(CFSTR newFileName, CFSTR existFileName) in MyCreateHardLink()
252 bool CreateDir(CFSTR path) in CreateDir()
287 static bool CreateDir2(CFSTR path) in CreateDir2()
327 bool CreateComplexDir(CFSTR _path) in CreateComplexDir()
396 bool DeleteFileAlways(CFSTR path) in DeleteFileAlways()
482 bool MyGetFullPathName(CFSTR path, FString &resFullPath) in MyGetFullPathName()
[all …]
DFileFind.h71 bool Find(CFSTR path);
88 bool FindFirst(CFSTR wildcard, CFileInfo &fileInfo);
107 bool FindFirst(CFSTR filePath, CStreamInfo &streamInfo);
124 bool DoesFileExist(CFSTR name);
125 bool DoesDirExist(CFSTR name);
126 bool DoesFileOrDirExist(CFSTR name);
128 DWORD GetFileAttrib(CFSTR path);
151 HANDLE FindFirst(CFSTR pathName, bool watchSubtree, DWORD notifyFilter);
DFileIO.cpp27 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
49 bool CFileBase::Create(CFSTR path, DWORD desiredAccess, in Create()
217 void CInFile::CalcDeviceSize(CFSTR s) in CalcDeviceSize()
311 bool CInFile::Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttrib… in Open()
318 bool CInFile::OpenShared(CFSTR fileName, bool shareForWrite) in OpenShared()
321 bool CInFile::Open(CFSTR fileName) in Open()
374 bool COutFile::Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttri… in Open()
377 bool COutFile::Open(CFSTR fileName, DWORD creationDisposition) in Open()
380 bool COutFile::Create(CFSTR fileName, bool createAlways) in Create()
383 bool COutFile::CreateAlways(CFSTR fileName, DWORD flagsAndAttributes) in CreateAlways()
DFileSystem.h14 CFSTR rootPath ,
21 UINT MyGetDriveType(CFSTR pathName);
23 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
DFileFind.cpp52 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
149 bool CFindFile::FindFirst(CFSTR path, CFileInfo &fi) in FindFirst()
269 bool CFindStream::FindFirst(CFSTR path, CStreamInfo &si) in FindFirst()
370 DWORD GetFileAttrib(CFSTR path) in GetFileAttrib()
419 bool CFileInfo::Find(CFSTR path) in Find()
602 bool DoesFileExist(CFSTR name) in DoesFileExist()
608 bool DoesDirExist(CFSTR name) in DoesDirExist()
614 bool DoesFileOrDirExist(CFSTR name) in DoesFileOrDirExist()
665 HANDLE CFindChangeNotification::FindFirst(CFSTR path, bool watchSubtree, DWORD notifyFilter) in FindFirst()
DFileSystem.cpp23 CFSTR rootPath, in MyGetVolumeInformation()
58 UINT MyGetDriveType(CFSTR pathName) in MyGetDriveType()
86 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize) in MyGetDiskFreeSpace()
DDLL.h47 bool LoadEx(CFSTR path, DWORD flags = LOAD_LIBRARY_AS_DATAFILE) throw();
48 bool Load(CFSTR path) throw();
DDLL.cpp26 bool CLibrary::LoadEx(CFSTR path, DWORD flags) throw() in LoadEx()
43 bool CLibrary::Load(CFSTR path) throw() in Load()
DFileLink.cpp350 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
358 bool GetReparseData(CFSTR path, CByteBuffer &reparseData, BY_HANDLE_FILE_INFORMATION *fileInfo) in GetReparseData()
377 static bool CreatePrefixDirOfFile(CFSTR path) in CreatePrefixDirOfFile()
392 bool SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size) in SetReparseData()
/external/clang/test/CodeGen/
Dcfstring.c14 #define CFSTR __builtin___CFStringMakeConstantString macro
17 CFSTR("Hello, World!"); in f()
21 void *G = CFSTR("yo joe");
24 static void* h = CFSTR("Goodbye, World!"); in h()
Dcfstring2.c5 #define CFSTR(x) (CFStringRef) __builtin___CFStringMakeConstantString (x) macro
8 CFSTR("Hello, World!"); in f()
12 void *G = CFSTR("yo joe");
Dutf16-cfstrings.c6 #define CFSTR __builtin___CFStringMakeConstantString macro
9 CFSTR("überhund"); in foo()
/external/clang/test/Sema/
Dbuiltins.c26 #define CFSTR __builtin___CFStringMakeConstantString macro
29 X = CFSTR("\242"); // expected-warning {{input conversion stopped}} in test7()
30 X = CFSTR("\0"); // no-warning in test7()
31 …X = CFSTR(242); // expected-error {{CFString literal is not a string constant}} expected-warning {… in test7()
32 X = CFSTR("foo", "bar"); // expected-error {{too many arguments to function call}} in test7()
/external/lzma/CPP/7zip/Common/
DFileStreams.h68 bool Open(CFSTR fileName) in Open()
73 bool OpenShared(CFSTR fileName, bool shareForWrite) in OpenShared()
119 bool Create(CFSTR fileName, bool createAlways) in Create()
124 bool Open(CFSTR fileName, DWORD creationDisposition) in Open()
/external/clang/test/SemaObjC/
Dformat-ostrace-warning.m16 CFStringRef CFSTR ( const char *cStr ); function
50 …os_trace("testing %@, %s, %d, %@, %m", CFSTR("object"), "string", 3, "it"); // expected-warning {{…
52 os_trace("testing %@, %s, %d, %@, %m", CFSTR("object"), "string", 3, @"ok");
Dformat-strings-objc.m35 #define CFSTR(cStr) ((CFStringRef) __builtin___CFStringMakeConstantString ("" cStr "")) macro
62 …CFStringCreateWithFormat(CFSTR("%i"),test); // expected-warning{{format specifies type 'int' but t…
83 …MyCFStringCreateWithFormat(CFSTR("%@")); // expected-warning {{more '%' conversions than data argu… category
176 CFStringCreateWithFormat(CFSTR("%@"), x); // no-warning
179 CFStringCreateWithFormat(CFSTR("%@"), y); // no-warning
226 …NSLog(@"no specifiers", dict[CFSTR("abc")]); // expected-error{{indexing expression is invalid bec…
227 …NSLog(@"%@", dict[CFSTR("abc")]); // expected-error{{indexing expression is invalid because subscr…
228 …NSLog(@"%@ %@", dict[CFSTR("abc")]); // expected-error{{indexing expression is invalid because sub…
230 …[Foo fooWithFormat:@"no specifiers", dict[CFSTR("abc")]]; // expected-error{{indexing expression i…
231 …[Foo fooWithFormat:@"%@", dict[CFSTR("abc")]]; // expected-error{{indexing expression is invalid b…
[all …]
/external/clang/test/SemaCXX/
Dbuiltins.cpp3 #define CFSTR __builtin___CFStringMakeConstantString macro
6 (void)CFStringRef(CFSTR("Hello")); in f()
/external/clang/test/Analysis/
DCFContainers.mm94 #define CFSTR(cStr) ((CFStringRef) __builtin___CFStringMakeConstantString ("" cStr "")) macro
119 …keys[0] = CFSTR("January"); values[0] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &…
120 …keys[1] = CFSTR("February"); values[1] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &…
121 …keys[2] = CFSTR("March"); values[2] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &day…
122 …keys[3] = CFSTR("April"); values[3] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &day…
123 …keys[4] = CFSTR("May"); values[4] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days3…
124 …keys[5] = CFSTR("June"); values[5] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days…
/external/libcups/cups/
Dusersys.c37 # define kCUPSPrintingPrefs CFSTR("org.cups.PrintingPrefs")
38 # define kAllowAnyRootKey CFSTR("AllowAnyRoot")
39 # define kAllowExpiredCertsKey CFSTR("AllowExpiredCerts")
40 # define kEncryptionKey CFSTR("Encryption")
41 # define kGSSServiceNameKey CFSTR("GSSServiceName")
42 # define kSSLOptionsKey CFSTR("SSLOptions")
43 # define kTrustOnFirstUseKey CFSTR("TrustOnFirstUse")
44 # define kValidateCertsKey CFSTR("ValidateCerts")
/external/lzma/CPP/Common/
DListFileUtils.h12 bool ReadNamesFromListFile(CFSTR fileName, UStringVector &strings, UINT codePage = CP_OEMCP);
DLang.h18 bool Open(CFSTR fileName, const wchar_t *id);

123