/external/clang/test/CodeGen/ |
cfstring2.c | 5 #define CFSTR(x) (CFStringRef) __builtin___CFStringMakeConstantString (x) 8 CFSTR("Hello, World!"); 12 void *G = CFSTR("yo joe");
|
cfstring.c | 12 #define CFSTR __builtin___CFStringMakeConstantString 15 CFSTR("Hello, World!"); 19 void *G = CFSTR("yo joe"); 22 static void* h = CFSTR("Goodbye, World!");
|
utf16-cfstrings.c | 6 #define CFSTR __builtin___CFStringMakeConstantString 9 CFSTR("überhund");
|
/external/lzma/CPP/Windows/ |
FileDir.h | 17 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); [all...] |
FileName.h | 22 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); [all...] |
FileSystem.h | 14 CFSTR rootPath ,
21 UINT MyGetDriveType(CFSTR pathName);
23 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
|
FileIO.h | 59 bool GetReparseData(CFSTR path, CByteBuffer &reparseData, BY_HANDLE_FILE_INFORMATION *fileInfo = NULL);
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)
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)
186 bool Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes); [all...] |
DLL.h | 41 bool LoadEx(CFSTR path, DWORD flags = LOAD_LIBRARY_AS_DATAFILE) throw();
42 bool Load(CFSTR path) throw();
|
FileDir.cpp | 72 bool SetDirTime(CFSTR path, const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime)
105 bool SetFileAttrib(CFSTR path, DWORD attrib)
131 bool RemoveDir(CFSTR path)
157 bool MyMoveFile(CFSTR oldFile, CFSTR newFile)
193 bool MyCreateHardLink(CFSTR newFileName, CFSTR existFileName)
229 bool CreateDir(CFSTR path)
255 bool CreateComplexDir(CFSTR _aPathName)
302 bool DeleteFileAlways(CFSTR path) [all...] |
FileFind.h | 71 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);
|
DLL.cpp | 26 bool CLibrary::LoadEx(CFSTR path, DWORD flags) throw()
43 bool CLibrary::Load(CFSTR path) throw()
|
FileName.cpp | 50 bool IsDevicePath(CFSTR s) throw()
83 bool IsSuperUncPath(CFSTR s) throw() { return (IS_SUPER_PREFIX(s) && IS_UNC_WITH_SLASH(s + kSuperPathPrefixSize)); }
91 bool IsDrivePath(CFSTR s) throw() { return IS_LETTER_CHAR(s[0]) && s[1] == ':' && s[2] == '\\'; }
92 bool IsSuperPath(CFSTR s) throw() { return IS_SUPER_PREFIX(s); }
93 bool IsSuperOrDevicePath(CFSTR s) throw() { return IS_SUPER_OR_DEVICE_PATH(s); }
105 static unsigned GetRootPrefixSize_Of_NetworkPath(CFSTR s) throw()
117 static unsigned GetRootPrefixSize_Of_SimplePath(CFSTR s) throw()
127 static unsigned GetRootPrefixSize_Of_SuperPath(CFSTR s) throw()
141 unsigned GetRootPrefixSize(CFSTR s) throw()
202 unsigned GetRootPrefixSize(CFSTR s) throw() { return s[0] == CHAR_PATH_SEPRATOR ? 1 : 0; } [all...] |
FileSystem.cpp | 23 CFSTR rootPath,
58 UINT MyGetDriveType(CFSTR pathName)
86 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize)
|
FileIO.cpp | 27 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
49 bool CFileBase::Create(CFSTR path, DWORD desiredAccess,
217 void CInFile::CalcDeviceSize(CFSTR s)
311 bool CInFile::Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes)
318 bool CInFile::OpenShared(CFSTR fileName, bool shareForWrite)
321 bool CInFile::Open(CFSTR fileName)
374 bool COutFile::Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes)
377 bool COutFile::Open(CFSTR fileName, DWORD creationDisposition)
380 bool COutFile::Create(CFSTR fileName, bool createAlways)
383 bool COutFile::CreateAlways(CFSTR fileName, DWORD flagsAndAttributes) [all...] |
FileFind.cpp | 51 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
117 bool CFindFile::FindFirst(CFSTR path, CFileInfo &fi)
210 bool CFindStream::FindFirst(CFSTR path, CStreamInfo &si)
294 static int FindAltStreamColon(CFSTR path)
318 bool CFileInfo::Find(CFSTR path)
438 bool DoesFileExist(CFSTR name)
444 bool DoesDirExist(CFSTR name)
449 bool DoesFileOrDirExist(CFSTR name)
499 HANDLE CFindChangeNotification::FindFirst(CFSTR path, bool watchSubtree, DWORD notifyFilter)
|
/external/lzma/CPP/Common/ |
ListFileUtils.h | 12 bool ReadNamesFromListFile(CFSTR fileName, UStringVector &strings, UINT codePage = CP_OEMCP);
|
Lang.h | 18 bool Open(CFSTR fileName, const wchar_t *id);
|
/external/webrtc/webrtc/base/ |
macconversion.cc | 19 const CFStringRef cfstr, std::string& cppstr) { 23 if (NULL != cfstr) { 26 if (CFGetTypeID(cfstr) == CFStringGetTypeID()) { 28 // (The cfstr owns this buffer; it came from somewhere else, 29 // so someone else gets to take care of getting rid of the cfstr, 31 unsigned length = CFStringGetLength(cfstr); 33 if (CFStringGetCString(cfstr, buf, 1 + length, kCFStringEncodingASCII)) {
|
/external/clang/test/SemaObjC/ |
format-ostrace-warning.m | 16 CFStringRef CFSTR ( const char *cStr ); 50 os_trace("testing %@, %s, %d, %@, %m", CFSTR("object"), "string", 3, "it"); // expected-warning {{format specifies type 'id' but the argument has type 'char *'}} 52 os_trace("testing %@, %s, %d, %@, %m", CFSTR("object"), "string", 3, @"ok");
|
/external/lzma/CPP/7zip/Common/ |
FileStreams.h | 55 bool Open(CFSTR fileName)
60 bool OpenShared(CFSTR fileName, bool shareForWrite)
106 bool Create(CFSTR fileName, bool createAlways)
111 bool Open(CFSTR fileName, DWORD creationDisposition)
|
/external/clang/test/SemaCXX/ |
builtins.cpp | 3 #define CFSTR __builtin___CFStringMakeConstantString 6 (void)CFStringRef(CFSTR("Hello"));
|
/external/lzma/CPP/7zip/UI/FileManager/ |
SysIconUtils.h | 46 DWORD_PTR GetRealIconIndex(CFSTR path, DWORD attrib, int &iconIndex);
|
/external/clang/test/Analysis/ |
CFContainers.mm | 94 #define CFSTR(cStr) ((CFStringRef) __builtin___CFStringMakeConstantString ("" cStr "")) 119 keys[0] = CFSTR("January"); values[0] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days31); 120 keys[1] = CFSTR("February"); values[1] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days28); 121 keys[2] = CFSTR("March"); values[2] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days31); 122 keys[3] = CFSTR("April"); values[3] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days30); 123 keys[4] = CFSTR("May"); values[4] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days31); 124 keys[5] = CFSTR("June"); values[5] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days30);
|
/external/opencv/otherlibs/highgui/ |
grfmt_imageio.cpp | 257 imageUTI = CFSTR( "com.microsoft.bmp" ); 259 imageUTI = CFSTR( "com.ilm.openexr-image" ); 261 imageUTI = CFSTR( "public.jpeg" ); 263 imageUTI = CFSTR( "public.jpeg-2000" ); 265 imageUTI = CFSTR( "com.adobe.pdf" ); 267 imageUTI = CFSTR( "public.png" ); 269 imageUTI = CFSTR( "public.tiff" );
|
/external/clang/test/ARCMT/ |
nonobjc-to-objc-cast-2.m | 37 CFStringRef cfstr; 38 NSString *str = (NSString *)cfstr; // expected-error {{cast of C pointer type 'CFStringRef' (aka 'const struct __CFString *') to Objective-C pointer type 'NSString *' requires a bridged cast}} \
|