Home
last modified time | relevance | path

Searched refs:FILE_SEPARATOR_CHAR (Results 1 - 23 of 23) sorted by relevance

/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dzip_file.cpp43 constexpr char FILE_SEPARATOR_CHAR = '/'; member
58 prefix.push_back(FILE_SEPARATOR_CHAR); in GetTreeFileList()
74 while (cur < fileName.size() && fileName[cur] == FILE_SEPARATOR_CHAR) { in AddEntryToTree()
80 auto next = fileName.find(FILE_SEPARATOR_CHAR, cur); in AddEntryToTree()
97 return dirName.size() == 1 && dirName.back() == FILE_SEPARATOR_CHAR; in IsRootDir()
355 if (tmpDir.front() == FILE_SEPARATOR_CHAR) { in IsDirExist()
358 if (tmpDir.back() != FILE_SEPARATOR_CHAR) { in IsDirExist()
359 tmpDir.push_back(FILE_SEPARATOR_CHAR); in IsDirExist()
384 if (!fileName.empty() && fileName.back() != FILE_SEPARATOR_CHAR) { in GetAllFileList()
396 if (tmpDir.front() == FILE_SEPARATOR_CHAR) { in GetAllFileList()
[all...]
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dext_backup_context.cpp33 path = std::string(BConstants::PATH_FILEMANAGE_BACKUP_HOME) + BConstants::FILE_SEPARATOR_CHAR; in GetBackupDir()
35 path = std::string(BConstants::PATH_MEDIALDATA_BACKUP_HOME) + BConstants::FILE_SEPARATOR_CHAR; in GetBackupDir()
H A Dext_extension.cpp190 if (fileName.front() != BConstants::FILE_SEPARATOR_CHAR) { in GetFileHandleForSpecialCloneCloud()
191 filePath = BConstants::FILE_SEPARATOR_CHAR + fileName; in GetFileHandleForSpecialCloneCloud()
193 size_t filePathPrefix = filePath.find_last_of(BConstants::FILE_SEPARATOR_CHAR); in GetFileHandleForSpecialCloneCloud()
1013 if (untarPath.back() != BConstants::FILE_SEPARATOR_CHAR) { in RestoreTarForSpecialCloneCloud()
1014 untarPath += BConstants::FILE_SEPARATOR_CHAR; in RestoreTarForSpecialCloneCloud()
/foundation/filemanagement/storage_service/services/storage_daemon/quota/
H A Dquota_manager.cpp309 bundleName + FILE_SEPARATOR_CHAR + BACKUP_INCEXC_SYMBOL + std::to_string(lastBackupTime); in ReadIncludesExcludesPath()
345 std::string physicalPrefixEl1 = PHY_APP + EL1 + FILE_SEPARATOR_CHAR + std::to_string(userId) + BASE + in AddPathMapForPathWildCard()
346 bundleName + FILE_SEPARATOR_CHAR; in AddPathMapForPathWildCard()
347 std::string physicalPrefixEl2 = PHY_APP + EL2 + FILE_SEPARATOR_CHAR + std::to_string(userId) + BASE + in AddPathMapForPathWildCard()
348 bundleName + FILE_SEPARATOR_CHAR; in AddPathMapForPathWildCard()
400 std::string path = subDir + FILE_SEPARATOR_CHAR + entry->d_name; in GetPathWildCard()
418 std::string physicalPrefix = PHY_APP + EL1 + FILE_SEPARATOR_CHAR + std::to_string(userId) + BASE + in RecognizeSandboxWildCard()
419 bundleName + FILE_SEPARATOR_CHAR; in RecognizeSandboxWildCard()
425 std::string physicalPrefix = PHY_APP + EL2 + FILE_SEPARATOR_CHAR + std::to_string(userId) + BASE + in RecognizeSandboxWildCard()
426 bundleName + FILE_SEPARATOR_CHAR; in RecognizeSandboxWildCard()
[all...]
/foundation/filemanagement/app_file_service/utils/src/b_filesystem/
H A Db_dir.cpp83 size_t found = path.find_last_of(BConstants::FILE_SEPARATOR_CHAR); in CheckOverLongPath()
99 if (path.at(path.size()-1) != BConstants::FILE_SEPARATOR_CHAR) { in GetDirFilesDetail()
100 newPath += BConstants::FILE_SEPARATOR_CHAR; in GetDirFilesDetail()
192 if (onlyPath && *it->rbegin() != BConstants::FILE_SEPARATOR_CHAR) { in ExpandPathWildcard()
231 if (excludeItem.at(item.size() - 1) == BConstants::FILE_SEPARATOR_CHAR) { in GetBigFiles()
338 if (path.at(path.size()-1) != BConstants::FILE_SEPARATOR_CHAR) { in GetUser0DirFilesDetail()
339 newPath += BConstants::FILE_SEPARATOR_CHAR; in GetUser0DirFilesDetail()
406 if (excludeItem.at(item.size() - 1) == BConstants::FILE_SEPARATOR_CHAR) { in GetBackupList()
/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op_incremental_restore_async.cpp187 string realNameInReceive = path + BConstants::FILE_SEPARATOR_CHAR + filePath; in ReadyExtManage()
189 string currentNameInReceive = path + BConstants::FILE_SEPARATOR_CHAR + fileName; in ReadyExtManage()
201 if (item.hashName.front() == BConstants::FILE_SEPARATOR_CHAR) { in ReadyExtManage()
219 manageJsonStr = manageJsonStr + BConstants::FILE_SEPARATOR_CHAR + string(BConstants::EXT_BACKUP_MANAGE); in AdapteCloneOptimize()
287 if (manageJsonPath.front() == BConstants::FILE_SEPARATOR_CHAR) { in RestoreApp()
292 string manageJsonStr = tmpDataPath + BConstants::FILE_SEPARATOR_CHAR + string(BConstants::EXT_BACKUP_MANAGE); in RestoreApp()
H A Dtools_op_restore_async.cpp191 string realNameInReceive = path + BConstants::FILE_SEPARATOR_CHAR + filePath; in ReadyExtManage()
193 string currentNameInReceive = path + BConstants::FILE_SEPARATOR_CHAR + fileName; in ReadyExtManage()
205 if (item.hashName.front() == BConstants::FILE_SEPARATOR_CHAR) { in ReadyExtManage()
223 manageJsonStr = manageJsonStr + BConstants::FILE_SEPARATOR_CHAR + string(BConstants::EXT_BACKUP_MANAGE); in AdapteCloneOptimize()
270 if (manageJsonPath.front() == BConstants::FILE_SEPARATOR_CHAR) { in RestoreApp()
275 string manageJsonStr = path + BConstants::FILE_SEPARATOR_CHAR + string(BConstants::EXT_BACKUP_MANAGE); in RestoreApp()
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dapplication_cleaner.cpp34 static const char FILE_SEPARATOR_CHAR = '/'; member
196 if (filePath.back() != FILE_SEPARATOR_CHAR) { in TraverseObsoleteTempDirectory()
197 filePath.push_back(FILE_SEPARATOR_CHAR); in TraverseObsoleteTempDirectory()
/foundation/bundlemanager/bundle_framework/common/utils/src/
H A Dbundle_file_util.cpp42 const char FILE_SEPARATOR_CHAR = '/'; member
177 if (bundlePath.back() != FILE_SEPARATOR_CHAR) { in GetHapFilesFromBundlePath()
/foundation/filemanagement/storage_service/services/common/include/
H A Dstorage_service_constant.h36 constexpr char FILE_SEPARATOR_CHAR = '/'; member
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp513 if (path.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in ExtractTargetFile()
514 path += ServiceConstants::FILE_SEPARATOR_CHAR; in ExtractTargetFile()
891 if (filePath.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in GetDiskUsage()
892 filePath.push_back(ServiceConstants::FILE_SEPARATOR_CHAR); in GetDiskUsage()
932 if (filePath.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in TraverseCacheDirectory()
933 filePath.push_back(ServiceConstants::FILE_SEPARATOR_CHAR); in TraverseCacheDirectory()
1090 if (filePath.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in ScanSoFiles()
1091 filePath.push_back(ServiceConstants::FILE_SEPARATOR_CHAR); in ScanSoFiles()
1108 if (prefixPath.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in ScanSoFiles()
1109 prefixPath.push_back(ServiceConstants::FILE_SEPARATOR_CHAR); in ScanSoFiles()
[all...]
H A Dinstalld_host_impl.cpp1387 if (path.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in PrepareEntryMap()
1388 path += ServiceConstants::FILE_SEPARATOR_CHAR; in PrepareEntryMap()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_service_constants.h60 const char FILE_SEPARATOR_CHAR = '/'; member
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dzip_file.cpp260 if (tempDir.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in IsDirExist()
261 tempDir.push_back(ServiceConstants::FILE_SEPARATOR_CHAR); in IsDirExist()
H A Dbundle_util.cpp247 if (bundlePath.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in GetHapFilesFromBundlePath()
H A Dbundle_data_mgr.cpp2303 auto posFirstSeparator = noPpefixUri.find(ServiceConstants::FILE_SEPARATOR_CHAR); in QueryAbilityInfoByUri()
2307 auto posSecondSeparator = noPpefixUri.find(ServiceConstants::FILE_SEPARATOR_CHAR, posFirstSeparator + 1); in QueryAbilityInfoByUri()
2357 auto posFirstSeparator = noPpefixUri.find(ServiceConstants::FILE_SEPARATOR_CHAR); in QueryAbilityInfosByUri()
2361 auto posSecondSeparator = noPpefixUri.find(ServiceConstants::FILE_SEPARATOR_CHAR, posFirstSeparator + 1); in QueryAbilityInfosByUri()
/foundation/filemanagement/app_file_service/utils/include/b_resources/
H A Db_constants.h70 constexpr char FILE_SEPARATOR_CHAR = '/'; member
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/
H A Dbms_adapter.cpp200 bundleNameIndex + BConstants::FILE_SEPARATOR_CHAR; in CreateIPCInteractionFiles()
203 bundleDetail.bundleName + BConstants::FILE_SEPARATOR_CHAR; in CreateIPCInteractionFiles()
/foundation/filemanagement/storage_service/services/storage_daemon/quota/test/
H A Dquota_manager_test.cpp285 FILE_SEPARATOR_CHAR; in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_daemon_test.cpp511 FILE_SEPARATOR_CHAR; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_deployer.cpp593 if (path.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in MoveHqfFiles()
594 path.push_back(ServiceConstants::FILE_SEPARATOR_CHAR); in MoveHqfFiles()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/
H A Dbundle_overlay_data_manager.cpp197 if (moduleHapPath.back() == ServiceConstants::FILE_SEPARATOR_CHAR) { in GetBundleDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_data_mgr_test.cpp1176 ServiceConstants::FILE_SEPARATOR_CHAR, Constants::ALL_USERID, abilityInfo); in HWTEST_F()
1193 + ServiceConstants::FILE_SEPARATOR_CHAR, Constants::ALL_USERID, abilityInfo); in HWTEST_F()
1222 ServiceConstants::DATA_ABILITY_URI_PREFIX + ServiceConstants::FILE_SEPARATOR_CHAR, abilityInfo); in HWTEST_F()

Completed in 54 milliseconds