Home
last modified time | relevance | path

Searched refs:basePath (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dpath_tools.cpp112 string basePath; in GetCurrentDirectory() local
117 basePath = tmp; in GetCurrentDirectory()
119 basePath += '/'; in GetCurrentDirectory()
124 basePath = "/"; in GetCurrentDirectory()
131 basePath = tmp; in GetCurrentDirectory()
138 basePath = "/"; in GetCurrentDirectory()
143 basePath = "/"; in GetCurrentDirectory()
147 if (basePath.back() != '/') { in GetCurrentDirectory()
148 basePath.push_back('/'); in GetCurrentDirectory()
152 basePath.insert(0, "/"); in GetCurrentDirectory()
[all …]
H A Dstd_filesystem.cpp177 StdFilesystem::StdFilesystem(string_view basePath) : basePath_(basePath) in StdFilesystem() argument
H A Dstd_filesystem.h36 explicit StdFilesystem(BASE_NS::string_view basePath); in CORE_BEGIN_NAMESPACE()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dhap_asset_provider.cpp48 for (const auto& basePath : assetBasePaths_) { in GetAsMapping() local
49 std::string fileName = basePath + assetName; in GetAsMapping()
68 for (const auto& basePath : assetBasePaths_) { in GetAssetPath() local
69 std::string fileName = basePath + assetName; in GetAssetPath()
74 return isAddHapPath? (hapPath_ + "/" + basePath) : fileName; in GetAssetPath()
85 for (const auto& basePath : assetBasePaths_) { in GetAssetList() local
86 std::string assetPath = basePath + path; in GetAssetList()
H A Dhap_asset_provider_impl.cpp48 for (const auto& basePath : assetBasePaths_) { in GetAsMapping() local
49 std::string fileName = basePath + assetName; in GetAsMapping()
68 for (const auto& basePath : assetBasePaths_) { in GetAssetPath() local
69 std::string fileName = basePath + assetName; in GetAssetPath()
74 return isAddHapPath ? (hapPath_ + "/" + basePath) : fileName; in GetAssetPath()
86 for (const auto& basePath : assetBasePaths_) { in GetAssetList() local
87 std::string assetPath = basePath + path; in GetAssetList()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dhap_asset_provider_impl.cpp67 for (const auto& basePath : assetBasePaths_) { in GetAsMapping() local
68 std::string fileName = basePath + assetName; in GetAsMapping()
94 for (const auto& basePath : assetBasePaths_) { in GetAsMappingFromI18n() local
95 std::string fileName = basePath + assetName; in GetAsMappingFromI18n()
114 for (const auto& basePath : assetBasePaths_) { in GetAssetPath() local
115 std::string fileName = basePath + assetName; in GetAssetPath()
120 return isAddHapPath ? (hapPath_ + "/" + basePath) : fileName; in GetAssetPath()
133 for (const auto& basePath : assetBasePaths_) { in GetAssetList() local
134 std::string assetPath = basePath + path; in GetAssetList()
H A Dfile_asset_provider_impl.cpp58 for (const auto& basePath : assetBasePaths_) { in GetAsMapping() local
59 std::string fileName = packagePath_ + basePath + assetName; in GetAsMapping()
107 for (const auto& basePath : assetBasePaths_) { in GetAssetPath() local
108 std::string assetBasePath = packagePath_ + basePath; in GetAssetPath()
128 for (const auto& basePath : assetBasePaths_) { in GetAssetList() local
129 std::string assetPath = packagePath_ + basePath + path; in GetAssetList()
/ohos5.0/base/startup/init/test/fuzztest/modulemgrscan_fuzzer/
H A Dmodulemgrscan_fuzzer.cpp25 std::string basePath("/lib/init/autorun"); in FuzzModuleMgrScan() local
26 basePath += str; in FuzzModuleMgrScan()
27 if (ModuleMgrScan(basePath.c_str()) != nullptr) { in FuzzModuleMgrScan()
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Drs_dir_asset_provider.h45 RSDirAssetProvider(const std::string& basePath) : basePath_(basePath + "\\") {} in RSDirAssetProvider() argument
47 RSDirAssetProvider(const std::string& basePath) : basePath_(basePath + "/") {}
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_worker.cpp408 for (const auto& basePath : workerInfo_->assetBasePathStr) { in ReadFilePathData() local
409 realfilePath = basePath + filePath; in ReadFilePathData()
476 for (const auto& basePath : workerInfo_->assetBasePathStr) { in GetAmi() local
477 std::string assetPath = basePath + path; in GetAmi()
509 for (const auto& basePath : workerInfo_->assetBasePathStr) { in GetAmi() local
510 std::string filePathName = basePath + targetFilePath; in GetAmi()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_sup_test.cpp107 string basePath = "/data/app/el2/" + to_string(userId); variable
108 string path = basePath + "/base";
120 EXPECT_TRUE(OHOS::ForceRemoveDirectory(basePath));
/ohos5.0/base/update/updater/test/unittest/applypatch_test/
H A Dimagepatch_unittest.h97 std::string basePath = "/data/updater/imgpatch"; in SetUp() local
98 Updater::Utils::MkdirRecursive(basePath, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
/ohos5.0/docs/zh-cn/application-dev/faqs/
H A Dfaqs-file-management.md91 let sanFile = fs.open(basePath, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE);
98 let content = fs.readSync(basePath);
/ohos5.0/base/security/code_signature/utils/include/
H A Dfile_helper.h25 bool CheckFilePathValid(const std::string &path, const std::string &basePath);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_exception_handler.h49 std::string GetBundleAndDataDir(const InnerBundleInfo &info, const std::string &basePath);
/ohos5.0/base/startup/appspawn/util/src/
H A Dappspawn_utils.c282 int ParseJsonConfig(const char *basePath, const char *fileName, ParseConfig parseConfig, ParseJsonC… in ParseJsonConfig() argument
284 APPSPAWN_CHECK_ONLY_EXPER(basePath != NULL, return APPSPAWN_ARG_INVALID); in ParseJsonConfig()
290 CfgFiles *files = GetCfgFiles(basePath); in ParseJsonConfig()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/storage/test/
H A Dstorage_total_status_service_test.cpp139 string basePath = "/data/app/el2/" + to_string(userId); variable
140 string path = basePath + "/base";
/ohos5.0/base/powermgr/battery_manager/charger/include/
H A Dpower_supply_provider.h64 …void FormatPath(std::string& path, size_t size, const char* format, const char* basePath, const ch…
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dpower_supply_provider.cpp89 … std::string& path, size_t size, const char* format, const char* basePath, const char* name) const in FormatPath() argument
97 if (snprintf_s(buff, PATH_MAX, size - 1, format, basePath, name) == -1) { in FormatPath()
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-file-management.md91 let sanFile = fs.open(basePath, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE);
98 let content = fs.readSync(basePath);
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dpower_supply_provider.h144 …void FormatPath(std::string& path, size_t size, const char* format, const char* basePath, const ch…
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp236 size_t size, const char* format, const char* basePath, const char* name) const in FormatPath() argument
244 if (snprintf_s(buff, PATH_MAX, size - 1, format, basePath, name) == -1) { in FormatPath()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp1734 const char basePath[] = "/base"; in UpdateCeEceSeceUserAuth() local
1735 size_t allPathSize = strlen(rootPath) + strlen(basePath) + 1 + USER_ID_SIZE_VALUE; in UpdateCeEceSeceUserAuth()
1741 int len = sprintf_s(path, allPathSize, "%s%u%s", rootPath, userId, basePath); in UpdateCeEceSeceUserAuth()
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp1822 const char basePath[] = "/base/"; in IsUnlockStatus() local
1823 size_t allPathSize = strlen(rootPath) + strlen(basePath) + 1 + USER_ID_SIZE + bundleNameLen; in IsUnlockStatus()
1826 int len = sprintf_s(path, allPathSize, "%s%u%s%s", rootPath, uid, basePath, bundleName); in IsUnlockStatus()