/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | path_tools.cpp | 112 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 D | std_filesystem.cpp | 177 StdFilesystem::StdFilesystem(string_view basePath) : basePath_(basePath) in StdFilesystem() argument
|
H A D | std_filesystem.h | 36 explicit StdFilesystem(BASE_NS::string_view basePath); in CORE_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | hap_asset_provider.cpp | 48 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 D | hap_asset_provider_impl.cpp | 48 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 D | hap_asset_provider_impl.cpp | 67 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 D | file_asset_provider_impl.cpp | 58 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 D | modulemgrscan_fuzzer.cpp | 25 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 D | rs_dir_asset_provider.h | 45 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 D | js_worker.cpp | 408 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 D | key_manager_sup_test.cpp | 107 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 D | imagepatch_unittest.h | 97 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 D | faqs-file-management.md | 91 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 D | file_helper.h | 25 bool CheckFilePathValid(const std::string &path, const std::string &basePath);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_exception_handler.h | 49 std::string GetBundleAndDataDir(const InnerBundleInfo &info, const std::string &basePath);
|
/ohos5.0/base/startup/appspawn/util/src/ |
H A D | appspawn_utils.c | 282 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 D | storage_total_status_service_test.cpp | 139 string basePath = "/data/app/el2/" + to_string(userId); variable 140 string path = basePath + "/base";
|
/ohos5.0/base/powermgr/battery_manager/charger/include/ |
H A D | power_supply_provider.h | 64 …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 D | power_supply_provider.cpp | 89 … 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 D | faqs-file-management.md | 91 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 D | power_supply_provider.h | 144 …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 D | power_supply_provider.cpp | 236 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 D | key_manager.cpp | 1734 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 D | sandbox_utils.cpp | 1822 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()
|