Home
last modified time | relevance | path

Searched refs:FILE_SEPARATOR (Results 1 - 15 of 15) sorted by relevance

/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dconstants.h25 constexpr const char* FILE_SEPARATOR = "/"; member
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dfile_path_utils.cpp444 std::regex hapPattern(std::string(Constants::ABS_CODE_PATH) + std::string(Constants::FILE_SEPARATOR)); in GetLoadPath()
446 loadPath = std::string(Constants::LOCAL_CODE_PATH) + std::string(Constants::FILE_SEPARATOR) + in GetLoadPath()
447 loadPath.substr(loadPath.find(std::string(Constants::FILE_SEPARATOR)) + 1); in GetLoadPath()
458 if (relativePath.find(Constants::FILE_SEPARATOR) == 0) { in GetRelativePath()
460 relativePath = relativePath.substr(relativePath.find(std::string(Constants::FILE_SEPARATOR)) + 1); in GetRelativePath()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_session_listener.cpp35 const std::string FILE_SEPARATOR = "/"; member
148 auto bundleNamePos = tmpUri.find(FILE_SEPARATOR); in GetBundleName()
/foundation/ability/ability_runtime/services/abilitymgr/include/mission/
H A Dmission_data_storage.h35 constexpr const char* FILE_SEPARATOR = "/"; member
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dcontext_impl.cpp51 const std::string PATTERN_VERSION = std::string(FILE_SEPARATOR) + "v\\d+" + FILE_SEPARATOR;
860 std::regex inner_pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) in InitResourceManagerInner()
863 std::regex hsp_pattern(std::string(ABS_CODE_PATH) + FILE_SEPARATOR + bundleInfo.name + PATTERN_VERSION); in InitResourceManagerInner()
864 std::string hsp_sandbox = std::string(LOCAL_CODE_PATH) + FILE_SEPARATOR + bundleInfo.name + FILE_SEPARATOR; in InitResourceManagerInner()
903 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) in AddPatchResource()
934 std::string(FILE_SEPARATOR) + GetBundleNameWithContext(inputContext)), LOCAL_CODE_PATH); in GetOverlayPath()
1421 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleName); in ChangeToLocalPath()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dpackage_file.cpp43 const string FILE_SEPARATOR = "/"; member
363 fileName = targetPath + FILE_SEPARATOR + fileName; in UnpackFileContent()
576 int errCode = CopyFilePermissions(sourcePath + FILE_SEPARATOR + fileName, targetFile); in CopyFilePermissionsIfNeed()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dothers_clone_restore.cpp471 std::size_t startPos = lPath.find_first_of(FILE_SEPARATOR);
475 std::size_t pos = lPath.find_last_of(FILE_SEPARATOR);
494 std::size_t pos = lPath.find_last_of(FILE_SEPARATOR);
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Dphotos_restore.cpp96 size_t fileIndex = albumlPath.find_last_of(FILE_SEPARATOR); in BuildAlbumInfoByLPath()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.cpp59 const std::string FILE_SEPARATOR = "/"; member
343 std::regex pattern(ABS_BUNDLE_CODE_PATH + info->bundleName + FILE_SEPARATOR); in OnStart()
345 resPath = moduleSourceDir + "/assets/" + module.moduleName + FILE_SEPARATOR; in OnStart()
H A Dui_content_impl.cpp119 const std::string FILE_SEPARATOR = "/"; member
1122 std::regex pattern(ABS_BUNDLE_CODE_PATH + bundleName + FILE_SEPARATOR); in CommonInitializeForm()
1169 std::regex pattern(ABS_BUNDLE_CODE_PATH + bundleName + FILE_SEPARATOR); in CommonInitializeForm()
1670 std::regex pattern(ABS_BUNDLE_CODE_PATH + bundleName + FILE_SEPARATOR); in CommonInitialize()
1717 std::regex pattern(ABS_BUNDLE_CODE_PATH + bundleName + FILE_SEPARATOR); in CommonInitialize()
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp1001 fileName.append(codePath_).append(Constants::FILE_SEPARATOR).append(modulePath); in LoadModule()
1002 std::regex pattern(std::string(Constants::FILE_DOT) + std::string(Constants::FILE_SEPARATOR)); in LoadModule()
1138 fileName.append(codePath_).append(Constants::FILE_SEPARATOR).append(path); in RunSandboxScript()
1139 std::regex pattern(std::string(Constants::FILE_DOT) + std::string(Constants::FILE_SEPARATOR)); in RunSandboxScript()
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dmain_thread.cpp1046 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleName); in OnStartAbility()
1084 std::string(FILE_SEPARATOR) + bundleName), std::string(LOCAL_CODE_PATH)); in GetOverlayPaths()
1682 std::regex inner_pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleInfo.name); in HandleLaunchApplication()
1862 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleName in ChangeToLocalPath()
1863 + std::string(FILE_SEPARATOR)); in ChangeToLocalPath()
1869 std::regex_replace(item, pattern, std::string(LOCAL_CODE_PATH) + std::string(FILE_SEPARATOR))); in ChangeToLocalPath()
1876 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleName); in ChangeToLocalPath()
H A Dcontext_deal.cpp203 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + abilityInfo_->bundleName); in GetBundleResourcePath()
/foundation/ability/ability_runtime/services/abilitymgr/src/mission/
H A Dmission_data_storage.cpp176 std::string filePath = GetMissionDataDirPath() + FILE_SEPARATOR + MISSION_JSON_FILE_PREFIX + in GetMissionSnapshotPath()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dbackup_const.h181 const std::string FILE_SEPARATOR = "/"; member

Completed in 27 milliseconds