Home
last modified time | relevance | path

Searched refs:basePath (Results 1 - 14 of 14) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dpath_tools.cpp112 string basePath; in GetCurrentDirectory() local
117 basePath = tmp; in GetCurrentDirectory()
118 if (basePath.back() != '/') { in GetCurrentDirectory()
119 basePath += '/'; in GetCurrentDirectory()
124 basePath = "/"; in GetCurrentDirectory()
131 basePath = tmp; in GetCurrentDirectory()
132 StringUtil::FindAndReplaceAll(basePath, "\\", "/"); in GetCurrentDirectory()
138 basePath = "/"; in GetCurrentDirectory()
143 basePath = "/"; in GetCurrentDirectory()
147 if (basePath 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);
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dhap_asset_provider_impl.cpp48 for (const auto& basePath : assetBasePaths_) { in GetAsMapping()
49 std::string fileName = basePath + assetName; in GetAsMapping()
68 for (const auto& basePath : assetBasePaths_) { in GetAssetPath()
69 std::string fileName = basePath + assetName; in GetAssetPath()
74 return isAddHapPath ? (hapPath_ + "/" + basePath) : fileName; in GetAssetPath()
86 for (const auto& basePath : assetBasePaths_) { in GetAssetList()
87 std::string assetPath = basePath + path; in GetAssetList()
H A Dhap_asset_provider.cpp48 for (const auto& basePath : assetBasePaths_) { in GetAsMapping()
49 std::string fileName = basePath + assetName; in GetAsMapping()
68 for (const auto& basePath : assetBasePaths_) { in GetAssetPath()
69 std::string fileName = basePath + assetName; in GetAssetPath()
74 return isAddHapPath? (hapPath_ + "/" + basePath) : fileName; in GetAssetPath()
85 for (const auto& basePath : assetBasePaths_) { in GetAssetList()
86 std::string assetPath = basePath + path; in GetAssetList()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dhap_asset_provider_impl.cpp64 for (const auto& basePath : assetBasePaths_) { in GetAsMapping()
65 std::string fileName = basePath + assetName; in GetAsMapping()
88 for (const auto& basePath : assetBasePaths_) { in GetAsMappingFromI18n()
89 std::string fileName = basePath + assetName; in GetAsMappingFromI18n()
108 for (const auto& basePath : assetBasePaths_) { in GetAssetPath()
109 std::string fileName = basePath + assetName; in GetAssetPath()
114 return isAddHapPath ? (hapPath_ + "/" + basePath) : fileName; in GetAssetPath()
127 for (const auto& basePath : assetBasePaths_) { in GetAssetList()
128 std::string assetPath = basePath + path; in GetAssetList()
H A Dfile_asset_provider_impl.cpp53 for (const auto& basePath : assetBasePaths_) { in GetAsMapping()
54 std::string fileName = packagePath_ + basePath + assetName; in GetAsMapping()
102 for (const auto& basePath : assetBasePaths_) { in GetAssetPath()
103 std::string assetBasePath = packagePath_ + basePath; in GetAssetPath()
123 for (const auto& basePath : assetBasePaths_) { in GetAssetList()
124 std::string assetPath = packagePath_ + basePath + path; in GetAssetList()
/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 + "/") {} in RSDirAssetProvider() argument
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_sup_test.cpp117 string basePath = "/data/app/el2/" + to_string(userId); in HWTEST_F() local
118 string path = basePath + "/base"; in HWTEST_F()
130 EXPECT_TRUE(OHOS::ForceRemoveDirectory(basePath)); in HWTEST_F()
158 string basePath = "/data/app/el2/" + to_string(user); in HWTEST_F() local
159 string path = basePath + "/base"; in HWTEST_F()
160 OHOS::ForceRemoveDirectory(basePath); in HWTEST_F()
178 EXPECT_TRUE(OHOS::ForceRemoveDirectory(basePath)); in HWTEST_F()
202 string basePath = "/data/app/el2/" + to_string(user); in HWTEST_F() local
203 string path = basePath + "/base"; in HWTEST_F()
219 EXPECT_TRUE(OHOS::ForceRemoveDirectory(basePath)); in HWTEST_F()
[all...]
H A Dkey_manager_other_test.cpp149 string basePath = "/data/app/el2/" + to_string(user); in HWTEST_F() local
150 string path = basePath + "/base"; in HWTEST_F()
151 ForceRemoveDirectory(basePath); in HWTEST_F()
189 ForceRemoveDirectory(basePath); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_exception_handler.h46 * @param basePath Indicates the base bundle path or data path.
49 std::string GetBundleAndDataDir(const InnerBundleInfo &info, const std::string &basePath);
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_worker.cpp409 for (const auto& basePath : workerInfo_->assetBasePathStr) { in ReadFilePathData()
410 realfilePath = basePath + filePath; in ReadFilePathData()
477 for (const auto& basePath : workerInfo_->assetBasePathStr) { in GetAmi()
478 std::string assetPath = basePath + path; in GetAmi()
510 for (const auto& basePath : workerInfo_->assetBasePathStr) { in GetAmi()
511 std::string filePathName = basePath + targetFilePath; in GetAmi()
/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); in HWTEST_F() local
140 string path = basePath + "/base"; in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp1813 const char basePath[] = "/base"; in UpdateCeEceSeceUserAuth() local
1814 size_t allPathSize = strlen(rootPath) + strlen(basePath) + 1 + USER_ID_SIZE_VALUE; in UpdateCeEceSeceUserAuth()
1820 int len = sprintf_s(path, allPathSize, "%s%u%s", rootPath, userId, basePath); in UpdateCeEceSeceUserAuth()

Completed in 8 milliseconds