Home
last modified time | relevance | path

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

12

/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_notify.cpp147 trashNotifyData.isDir = originNotifyData.isDir; in HandleRecycleRestore()
180 notifyData.isDir = true; in HandleMkdir()
211 notifyData.isDir = paramOthers.isDir; in HandleRename()
212 newNotifyData.isDir = paramOthers.isDir; in HandleRename()
263 notifyData.isDir = paramService.node.isDir == TYPE_DIR_STR; in HandleInsert()
286 notifyData.isDir = curNode.isDir == TYPE_DIR_STR; in HandleUpdate()
320 trashNotifyData.isDir = paramService.node.isDir == TYPE_DIR_STR; in HandleUpdateRecycle()
321 originNotifyData.isDir = trashNotifyData.isDir; in HandleUpdateRecycle()
340 notifyData.isDir = true; in HandleDelete()
394 notifyData.isDir = curNode.isDir == TYPE_DIR_STR; in GetDeleteNotifyData()
[all …]
H A Dclouddisk_notify_utils.cpp73 notifyData.isDir = inoPtr->stat.st_mode & S_IFDIR; in GetNotifyData()
100 notifyData.isDir = inoPtr->stat.st_mode & S_IFDIR; in GetNotifyData()
133 if (cacheNode.isDir != TYPE_DIR_STR) { in PutCacheNode()
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/switch_root/
H A Dswitch_root.c36 bool isDir = false; in FreeOldRoot() local
42 isDir = false; in FreeOldRoot()
57 isDir = true; in FreeOldRoot()
69 if (unlinkat(dfd, de->d_name, isDir ? AT_REMOVEDIR : 0) < 0) { in FreeOldRoot()
/ohos5.0/foundation/filemanagement/dfs_service/test/fuzztest/clouddisknotify_fuzzer/
H A Dclouddisknotify_fuzzer.cpp45 cacheNode.isDir = (size % DIVIDED_NUM == 0) ? "file" : "directory"; in TryNotifyServiceFuzzTest()
53 notifyData.isDir = (size % DIVIDED_NUM == 0); in TryNotifyServiceFuzzTest()
81 notifyData.isDir = (size % DIVIDED_NUM == 0); in AddNotifyFuzzTest()
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/include/
H A Dclouddisk_db_const.h50 bool isDir; member
58 std::string isDir; member
H A Dclouddisk_notify_const.h60 bool isDir = false; member
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dfile_stat.cpp27 isDir = parcel.ReadBool(); in ReadFromParcel()
37 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Bool, parcel, isDir); in Marshalling()
/ohos5.0/base/startup/appspawn/service/hnp/base/
H A Dhnp_zip.c127 static int IsDirPath(struct dirent *entry, char *fullPath, int *isDir) in IsDirPath() argument
141 *isDir = (int)(fileAttr & FILE_ATTRIBUTE_DIRECTORY); in IsDirPath()
143 *isDir = (int)(entry->d_type == DT_DIR); in IsDirPath()
176 int isDir; in ZipAddDir() local
193 int ret = IsDirPath(entry, fullPath, &isDir); in ZipAddDir()
198 if (isDir) { in ZipAddDir()
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/
H A Dclouddisk_notify_utils_test.cpp189 cacheNode.isDir = "";
206 cacheNode.isDir = "directory";
224 cacheNode.isDir = "";
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_report_entity_test.cpp72 string isDir = "0"; variable
78 content += fileName + ";" + mode + ";" + isDir + ";" + size + ";" + mtime + ";" + hash;
92 EXPECT_EQ(to_string(item.second.isDir), isDir);
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/distributed_file_inner/
H A Ddistributed_file_daemon_proxy_test.cpp678 bool isDir = false; variable
680 auto ret = proxy_->GetRemoteCopyInfo("test", isFile, isDir);
685 ret = proxy_->GetRemoteCopyInfo("test", isFile, isDir);
691 ret = testProxy->GetRemoteCopyInfo("test", isFile, isDir);
706 bool isDir = false; variable
710 auto ret = proxy_->GetRemoteCopyInfo("test", isFile, isDir);
717 ret = proxy_->GetRemoteCopyInfo("test", isFile, isDir);
724 ret = proxy_->GetRemoteCopyInfo("test", isFile, isDir);
732 ret = proxy_->GetRemoteCopyInfo("test", isFile, isDir);
747 bool isDir = false; variable
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/
H A Dext_extension_test.cpp382 info.isDir = 0;
422 info.isDir = 0;
485 info.isDir = 0;
518 info.isDir = 0;
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/distributed_file_inner/src/
H A Ddistributed_file_daemon_manager_impl.cpp103 …butedFileDaemonManagerImpl::GetRemoteCopyInfo(const std::string &srcUri, bool &isFile, bool &isDir) in GetRemoteCopyInfo() argument
110 return distributedFileDaemonProxy->GetRemoteCopyInfo(srcUri, isFile, isDir); in GetRemoteCopyInfo()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Dfile_access_helper.cpp532 int FileAccessHelper::IsDirectory(Uri &uri, bool &isDir) in IsDirectory() argument
547isDir = fileInfo.mode >= 0 && (static_cast<uint32_t>(fileInfo.mode) & DOCUMENT_FLAG_REPRESENTS_DIR… in IsDirectory()
654 bool isDir = false; in Copy() local
655 int ret = IsDirectory(destUri, isDir); in Copy()
661 if (!isDir) { in Copy()
684 bool isDir = false; in CopyFile() local
685 int ret = IsDirectory(destUri, isDir); in CopyFile()
690 if (!isDir) { in CopyFile()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dfile_stat.h27 bool isDir = false; member
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/quota/
H A Dquota_manager.cpp487 if (fileStat.isDir) { in WriteFileList()
574 fileStat.isDir = false; in CheckIfDirForIncludes()
615 fileStat.isDir = true; in AddOuterDirIntoFileStat()
645 if (fileStat.isDir == true && formatPath.back() != FILE_SEPARATOR_CHAR) { in InsertStatFile()
702 fileStat.isDir = true; in GetIncludesFileStats()
744 … auto [isSucc, isDir] = CheckIfDirForIncludes(includeDir, paras, pathMap, statFile, excludesMap); in ScanExtensionPath()
749 if (isDir && !GetIncludesFileStats(includeDir, paras, pathMap, statFile, excludesMap)) { in ScanExtensionPath()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_writer.cpp191 bool isDir = FilePath::IsDir(absolutePath); in FlushEntriesIfNeeded() local
192 if (isValid && !isDir) { in FlushEntriesIfNeeded()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Ddaemon_stub.cpp294 bool isDir = false; in HandleGetRemoteCopyInfo() local
295 auto res = GetRemoteCopyInfo(srcUri, isFile, isDir); in HandleGetRemoteCopyInfo()
304 if (!reply.WriteBool(isDir)) { in HandleGetRemoteCopyInfo()
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_json/
H A Db_report_entity.h30 bool isDir {false};
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_media_library.cpp669 …MtpMediaLibrary::MoveObjectSub(const sf::path &fromPath, const sf::path &toPath, const bool &isDir, in MoveObjectSub() argument
674 if (isDir) { in MoveObjectSub()
679 if (isDir) { in MoveObjectSub()
694 void CrossCopyAfter(bool isDir, const std::string &toPath) in CrossCopyAfter() argument
696 CHECK_AND_RETURN_LOG(isDir, "MoveObjectAfter not dir"); in CrossCopyAfter()
731 bool isDir = sf::is_directory(fromPath, ec); in MoveObject() local
743 CrossCopyAfter(isDir, toPath); in MoveObject()
744 isDir ? sf::remove_all(fromPath, ec) : sf::remove(fromPath, ec); in MoveObject()
750 MoveObjectSub(fromPath, toPath, isDir, repeatHandle); in MoveObject()
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/distributed_file_inner/include/
H A Di_daemon_mock.h44 MOCK_METHOD3(GetRemoteCopyInfo, int32_t(const std::string &srcUri, bool &isFile, bool &isDir));
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/quota/
H A Dquota_manager.h32 bool isDir; member
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/distributed_file_inner/include/
H A Ddistributed_file_daemon_manager_impl.h49 int32_t GetRemoteCopyInfo(const std::string &srcUri, bool &isFile, bool &isDir);
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/ipc/
H A Di_daemon.h51 virtual int32_t GetRemoteCopyInfo(const std::string &srcUri, bool &isFile, bool &isDir) = 0;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Dsingle_ver_database_oper.h71 int SetSecOpt(const std::string &path, bool isDir = true) const;

12