Home
last modified time | relevance | path

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

12

/external/lzma/CPP/7zip/UI/Common/
DHashCalc.cpp141 void CHashBundle::Final(bool isDir, bool isAltStream, const UString &path) in Final() argument
143 if (isDir) in Final()
158 if (isDir) in Final()
164 if (!isDir) in Final()
259 bool isDir = false; in HashCalc() local
270 isDir = dirItem.IsDir(); in HashCalc()
273 if (!isDir) in HashCalc()
286 RINOK(callback->GetStream(path, isDir)); in HashCalc()
290 if (!isDir) in HashCalc()
305 hb.Final(isDir, isAltStream, path); in HashCalc()
[all …]
DUpdateCallback.cpp453 bool isDir = IsDir(up); in GetStream2() local
462 RINOK(Callback->GetStream(name, isDir, true, mode)); in GetStream2()
467 if (!isDir) in GetStream2()
477 RINOK(Callback->GetStream(DirItems->GetLogPath(up.DirIndex), isDir, false, mode)); in GetStream2()
479 if (isDir) in GetStream2()
585 bool isDir = false; in ReportOperation() local
596 isDir = DirItems->Items[up.DirIndex].IsDir(); in ReportOperation()
599 return Callback->ReportUpdateOpeartion(op, name.IsEmpty() ? NULL : name.Ptr(), isDir); in ReportOperation()
614 isDir = ai.IsDir; in ReportOperation()
620 RINOK(Archive_IsItem_Dir(Arc->Archive, index, isDir)); in ReportOperation()
[all …]
DExtractingFilePath.cpp178 …rrect_FsPath(bool absIsAllowed, bool keepAndReplaceEmptyPrefixes, UStringVector &parts, bool isDir) in Correct_FsPath() argument
239 if (isDir || i != parts.Size() - 1) in Correct_FsPath()
257 if (!isDir) in Correct_FsPath()
DUpdateCallback.h38 virtual HRESULT GetStream(const wchar_t *name, bool isDir, bool isAnti, UInt32 mode) x; \
43 virtual HRESULT ReportUpdateOpeartion(UInt32 op, const wchar_t *name, bool isDir) x; \
47 virtual HRESULT ShowDeleteFile(const wchar_t *name, bool isDir) x; \
DHashCalc.h38 virtual void Final(bool isDir, bool isAltStream, const UString &path) = 0;
68 void Final(bool isDir, bool isAltStream, const UString &path);
DExtractingFilePath.h27 …rect_FsPath(bool absIsAllowed, bool keepAndReplaceEmptyPrefixes, UStringVector &parts, bool isDir);
DEnumDirItems.cpp625 bool isDir = fi.IsDir(); in EnumerateDirItems() local
626 if (isDir && !item.ForDir || !isDir && !item.ForFile) in EnumerateDirItems()
634 if (curNode.CheckPathToRoot(false, pathParts, !isDir)) in EnumerateDirItems()
676 if (!isDir) in EnumerateDirItems()
DIFileExtractCallback.h104 …STDMETHOD(GetStream7)(const wchar_t *name, Int32 isDir, ISequentialOutStream **outStream, Int32 as…
DDirItem.h72 virtual HRESULT ScanProgress(const CDirItemsStat &st, const FString &path, bool isDir) x; \
DUpdate.h181 virtual HRESULT DeletingAfterArchiving(const FString &path, bool isDir) x; \
/external/lzma/C/Util/7z/
D7zMain.c357 static void GetAttribString(UInt32 wa, BoolInt isDir, char *s) in GetAttribString() argument
360 s[0] = (char)(((wa & FILE_ATTRIBUTE_DIRECTORY) != 0 || isDir) ? 'D' : '.'); in GetAttribString()
367 s[0] = (char)(((wa & (1 << 4)) != 0 || isDir) ? 'D' : '.'); in GetAttribString()
486 unsigned isDir = SzArEx_IsDir(&db, i); in main() local
487 if (listCommand == 0 && isDir && !fullPaths) in main()
518 … GetAttribString(SzBitWithVals_Check(&db.Attribs, i) ? db.Attribs.Vals[i] : 0, isDir, attr); in main()
542 if (isDir) in main()
555 if (isDir) in main()
588 if (isDir) in main()
/external/icu/icu4c/source/tools/toolutil/
Dfiletools.cpp45 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { in isFileModTimeLater() argument
52 if (isDir == TRUE) { in isFileModTimeLater()
73 isLatest = isFileModTimeLater(filePath, newpath.data(), isDir); in isFileModTimeLater()
Dfiletools.h29 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE);
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.h83 …HRESULT ScanProgress(UInt64 numFiles, UInt64 totalSize, const FString &fileName, bool isDir = fals…
94 HRESULT Set_Status2(const UString &s, const wchar_t *path, bool isDir = false);
95 void Set_FilePath(const wchar_t *path, bool isDir = false);
DProgressDialog2.cpp106 …CProgressSync::ScanProgress(UInt64 numFiles, UInt64 totalSize, const FString &fileName, bool isDir) in ScanProgress() argument
113 _isDir = isDir; in ScanProgress()
184 HRESULT CProgressSync::Set_Status2(const UString &s, const wchar_t *path, bool isDir) in Set_Status2() argument
193 _isDir = isDir; in Set_Status2()
198 void CProgressSync::Set_FilePath(const wchar_t *path, bool isDir) in Set_FilePath() argument
205 _isDir = isDir; in Set_FilePath()
DExtractCallback.cpp813 Int32 isDir, in GetStream7() argument
832 _isFolder = IntToBool(isDir); in GetStream7()
863 file.IsDir = IntToBool(isDir); in GetStream7()
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp255 bool isDir; member
335 RINOK(IsArchiveItemFolder(_archiveHandler, index, _processedFileInfo.isDir)); in GetStream()
375 if (_processedFileInfo.isDir) in GetStream()
516 bool isDir() const { return (Attrib & FILE_ATTRIBUTE_DIRECTORY) != 0 ; } in isDir() function
611 case kpidIsDir: prop = dirItem.isDir(); break; in GetProperty()
648 if (dirItem.isDir()) in GetStream()
/external/lzma/CPP/Windows/
DFileLink.cpp396 bool SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size) in SetReparseData() argument
401 if (fi.IsDir() != isDir) in SetReparseData()
409 if (isDir) in SetReparseData()
DFileIO.h66 bool SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size);
/external/webrtc/talk/app/webrtc/objc/
DRTCFileLogger.mm73 BOOL isDir = NO;
75 if ([fileManager fileExistsAtPath:dirPath isDirectory:&isDir]) {
76 if (!isDir) {
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPathV1.h49 bool isDir : 1; ///< True if this is a directory. variable
53 group(999), uniqueID(0), isDir(false), isFile(false) { } in FileStatus()
/external/swiftshader/third_party/LLVM/tools/llvm-ar/
Dllvm-ar.cpp292 if (Status->isDir) { in recurseDirectories()
322 if (si->isDir) { in buildPaths()
645 if (!si->isDir) { in doReplaceOrInsert()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveEntry.java275 final boolean isDir = name.endsWith("/"); in TarArchiveEntry()
278 this.mode = isDir ? DEFAULT_DIR_MODE : DEFAULT_FILE_MODE; in TarArchiveEntry()
279 this.linkFlag = isDir ? LF_DIR : LF_NORMAL; in TarArchiveEntry()
/external/google-breakpad/src/tools/mac/crash_report/
Don_demand_symbol_supplier.mm223 BOOL isDir;
224 if ([mgr fileExistsAtPath:path isDirectory:&isDir] && (!isDir)) {
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZOutputFile.java528 final boolean isDir = file1.isDirectory();
529 emptyFiles.set(emptyStreamCounter++, !isDir);
530 hasEmptyFiles |= !isDir;

12