Home
last modified time | relevance | path

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

12

/external/lzma/CPP/Windows/
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);
27 bool CreateComplexDir(CFSTR path);
28 bool DeleteFileAlways(CFSTR name);
31 bool MyGetFullPathName(CFSTR path, FString &resFullPath);
32 bool GetFullPathAndSplit(CFSTR path, FString &resDirPrefix, FString &resFileName);
[all …]
DFileName.h22 bool IsDevicePath(CFSTR s) throw(); /* \\.\ */
23 bool IsSuperUncPath(CFSTR s) throw();
30 bool IsDrivePath(CFSTR s) throw();
31 bool IsSuperPath(CFSTR s) throw();
32 bool IsSuperOrDevicePath(CFSTR s) throw();
46 int GetUseSuperPathType(CFSTR s) throw();
47 bool GetSuperPath(CFSTR path, UString &longPath, bool onlyIfNew);
48 bool GetSuperPaths(CFSTR s1, CFSTR s2, UString &d1, UString &d2, bool onlyIfNew);
69 bool GetFullPath(CFSTR dirPrefix, CFSTR path, FString &fullPath);
70 bool GetFullPath(CFSTR path, FString &fullPath);
DFileIO.h59 bool GetReparseData(CFSTR path, CByteBuffer &reparseData, BY_HANDLE_FILE_INFORMATION *fileInfo = NU…
60 bool SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size);
67 bool Create(CFSTR path, DWORD desiredAccess,
113 static bool GetFileInformation(CFSTR path, BY_HANDLE_FILE_INFORMATION *info) in GetFileInformation()
159 void CalcDeviceSize(CFSTR name);
164 bool Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes);
165 bool OpenShared(CFSTR fileName, bool shareForWrite);
166 bool Open(CFSTR fileName);
170 bool OpenReparse(CFSTR fileName) in OpenReparse()
186 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()
229 bool CreateDir(CFSTR path) in CreateDir()
255 bool CreateComplexDir(CFSTR _aPathName) in CreateComplexDir()
302 bool DeleteFileAlways(CFSTR path) in DeleteFileAlways()
375 bool MyGetFullPathName(CFSTR path, FString &resFullPath) in MyGetFullPathName()
383 bool MyGetFullPathName(CFSTR path, FString &resFullPath) in MyGetFullPathName()
[all …]
DFileName.cpp50 bool IsDevicePath(CFSTR s) throw() in IsDevicePath()
83 bool IsSuperUncPath(CFSTR s) throw() { return (IS_SUPER_PREFIX(s) && IS_UNC_WITH_SLASH(s + kSuperPa… in IsSuperUncPath()
91 bool IsDrivePath(CFSTR s) throw() { return IS_LETTER_CHAR(s[0]) && s[1] == ':' && s[2] == '\\'; } in IsDrivePath()
92 bool IsSuperPath(CFSTR s) throw() { return IS_SUPER_PREFIX(s); } in IsSuperPath()
93 bool IsSuperOrDevicePath(CFSTR s) throw() { return IS_SUPER_OR_DEVICE_PATH(s); } in IsSuperOrDevicePath()
105 static unsigned GetRootPrefixSize_Of_NetworkPath(CFSTR s) throw() in GetRootPrefixSize_Of_NetworkPath()
117 static unsigned GetRootPrefixSize_Of_SimplePath(CFSTR s) throw() in GetRootPrefixSize_Of_SimplePath()
127 static unsigned GetRootPrefixSize_Of_SuperPath(CFSTR s) throw() in GetRootPrefixSize_Of_SuperPath()
141 unsigned GetRootPrefixSize(CFSTR s) throw() in GetRootPrefixSize()
202 unsigned GetRootPrefixSize(CFSTR s) throw() { return s[0] == CHAR_PATH_SEPRATOR ? 1 : 0; } in GetRootPrefixSize()
[all …]
DFileFind.h71 bool Find(CFSTR wildcard);
88 bool FindFirst(CFSTR wildcard, CFileInfo &fileInfo);
106 bool FindFirst(CFSTR filePath, CStreamInfo &streamInfo);
123 bool DoesFileExist(CFSTR name);
124 bool DoesDirExist(CFSTR name);
125 bool DoesFileOrDirExist(CFSTR name);
148 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.cpp51 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
117 bool CFindFile::FindFirst(CFSTR path, CFileInfo &fi) in FindFirst()
210 bool CFindStream::FindFirst(CFSTR path, CStreamInfo &si) in FindFirst()
294 static int FindAltStreamColon(CFSTR path) in FindAltStreamColon()
318 bool CFileInfo::Find(CFSTR path) in Find()
438 bool DoesFileExist(CFSTR name) in DoesFileExist()
444 bool DoesDirExist(CFSTR name) in DoesDirExist()
449 bool DoesFileOrDirExist(CFSTR name) in DoesFileOrDirExist()
499 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.h41 bool LoadEx(CFSTR path, DWORD flags = LOAD_LIBRARY_AS_DATAFILE) throw();
42 bool Load(CFSTR path) throw();
DFileLink.cpp340 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
348 bool GetReparseData(CFSTR path, CByteBuffer &reparseData, BY_HANDLE_FILE_INFORMATION *fileInfo) in GetReparseData()
367 static bool CreatePrefixDirOfFile(CFSTR path) in CreatePrefixDirOfFile()
382 bool SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size) in SetReparseData()
DDLL.cpp26 bool CLibrary::LoadEx(CFSTR path, DWORD flags) throw() in LoadEx()
43 bool CLibrary::Load(CFSTR path) throw() in Load()
/external/clang/test/CodeGen/
Dcfstring.c12 #define CFSTR __builtin___CFStringMakeConstantString macro
15 CFSTR("Hello, World!"); in f()
19 void *G = CFSTR("yo joe");
22 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/opencv/otherlibs/highgui/
Dgrfmt_imageio.cpp257 imageUTI = CFSTR( "com.microsoft.bmp" ); in FilenameToUTI()
259 imageUTI = CFSTR( "com.ilm.openexr-image" ); in FilenameToUTI()
261 imageUTI = CFSTR( "public.jpeg" ); in FilenameToUTI()
263 imageUTI = CFSTR( "public.jpeg-2000" ); in FilenameToUTI()
265 imageUTI = CFSTR( "com.adobe.pdf" ); in FilenameToUTI()
267 imageUTI = CFSTR( "public.png" ); in FilenameToUTI()
269 imageUTI = CFSTR( "public.tiff" ); in FilenameToUTI()
/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.h55 bool Open(CFSTR fileName) in Open()
60 bool OpenShared(CFSTR fileName, bool shareForWrite) in OpenShared()
106 bool Create(CFSTR fileName, bool createAlways) in Create()
111 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
175 CFStringCreateWithFormat(CFSTR("%@"), x); // no-warning
178 CFStringCreateWithFormat(CFSTR("%@"), y); // no-warning
225 …NSLog(@"no specifiers", dict[CFSTR("abc")]); // expected-error{{indexing expression is invalid bec…
226 …NSLog(@"%@", dict[CFSTR("abc")]); // expected-error{{indexing expression is invalid because subscr…
227 …NSLog(@"%@ %@", dict[CFSTR("abc")]); // expected-error{{indexing expression is invalid because sub…
229 …[Foo fooWithFormat:@"no specifiers", dict[CFSTR("abc")]]; // expected-error{{indexing expression i…
230 …[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/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);

12