Home
last modified time | relevance | path

Searched refs:dirs (Results 1 – 15 of 15) sorted by relevance

/base/customization/config_policy/frameworks/config_policy/src/
Dconfig_policy_utils.c436 CfgDir *dirs = GetCfgDirList(); in GetOneCfgFileEx() local
437 if (dirs == NULL) { in GetOneCfgFileEx()
443 if (dirs->paths[i - 1] == NULL) { in GetOneCfgFileEx()
449 … snprintf_s(buf, bufLength, bufLength - 1, "%s/%s/%s", dirs->paths[i - 1], result->segs[j - 1], in GetOneCfgFileEx()
459 … if (snprintf_s(buf, bufLength, bufLength - 1, "%s/%s", dirs->paths[i - 1], pathSuffix) > 0 && in GetOneCfgFileEx()
465 FreeCfgDirList(dirs); in GetOneCfgFileEx()
481 CfgDir *dirs = GetCfgDirList(); in GetCfgFilesEx() local
482 if (dirs == NULL) { in GetCfgFilesEx()
487 FreeCfgDirList(dirs); in GetCfgFilesEx()
495 if (dirs->paths[i] == NULL) { in GetCfgFilesEx()
[all …]
/base/update/packaging_tools/test/
Dcreate_package_data.py142 for home, dirs, files in os.walk(package_name_path):
145 for each_dir_name in dirs:
/base/request/request/frameworks/js/napi/include/
Djs_task.h51 static bool SetDirsPermission(std::vector<std::string> &dirs);
54 static void RemoveDirsPermission(const std::vector<std::string> &dirs);
/base/update/sys_installer_lite/
DREADME_zh.md67 "dirs": [
DREADME.md57 "dirs": [
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp546 CfgDir *dirs = GetCfgDirList(); // malloc a CfgDir point, need to free later in GetValidConfigFilePathList() local
547 if (dirs != nullptr) { in GetValidConfigFilePathList()
548 for (const auto& path : dirs->paths) { in GetValidConfigFilePathList()
557 FreeCfgDirList(dirs); // free in GetValidConfigFilePathList()
/base/request/request/frameworks/js/napi/src/
Djs_task.cpp862 bool JsTask::SetDirsPermission(std::vector<std::string> &dirs) in SetDirsPermission() argument
864 if (dirs.empty()) { in SetDirsPermission()
875 for (const auto &folderPath : dirs) { in SetDirsPermission()
897 if (!dirs.empty()) { in SetDirsPermission()
898 dirs.clear(); in SetDirsPermission()
899 dirs.push_back(newPath); in SetDirsPermission()
1013 void JsTask::RemoveDirsPermission(const std::vector<std::string> &dirs) in RemoveDirsPermission() argument
1015 for (const auto &folderPath : dirs) { in RemoveDirsPermission()
/base/security/selinux_adapter/scripts/
Dbuild_contexts.py302 for root, dirs, _ in sorted(os.walk(search_dir)):
303 for dir_i in dirs:
Dbuild_policy_api.py72 for root, dirs, _ in sorted(os.walk(search_dir)):
73 for dir_i in dirs:
/base/hiviewdfx/hiview/base/utility/
Dfile_util.cpp136 void GetDirDirs(const std::string& path, std::vector<std::string>& dirs) in GetDirDirs() argument
151 dirs.push_back(IncludeTrailingPathDelimiter(path) + string(ptr->d_name)); in GetDirDirs()
/base/hiviewdfx/hiview/base/utility/include/
Dfile_util.h79 void GetDirDirs(const std::string& path, std::vector<std::string>& dirs);
/base/update/packaging_tools/
Dbuild_module_img.py55 for root, dirs, files in os.walk(target_dir):
/base/security/access_token/services/privacymanager/src/record/
Dpermission_record_manager.cpp1109 CfgDir *dirs = GetCfgDirList(); // malloc a CfgDir point, need to free later in GetConfigFilePathList() local
1110 if (dirs != nullptr) { in GetConfigFilePathList()
1111 for (const auto& path : dirs->paths) { in GetConfigFilePathList()
1120 FreeCfgDirList(dirs); // free in GetConfigFilePathList()
/base/startup/appspawn/util/src/
Dsandbox_utils.cpp1018 nlohmann::json& dirs = groups[g_groupList_key_dir]; in MountAllGroup() local
1019 …APPSPAWN_CHECK(dataGroupIds.is_array() && gids.is_array() && dirs.is_array() && dataGroupIds.size(… in MountAllGroup()
1020 …&& dataGroupIds.size() == dirs.size(), return -1, "MountAllGroup: value is not arrary or sizes are… in MountAllGroup()
1025 APPSPAWN_CHECK(dataGroupIds[i].is_string() && gids[i].is_string() && dirs[i].is_string(), in MountAllGroup()
1028 std::string libPhysicalPath = dirs[i]; in MountAllGroup()
/base/web/webview/ohos_nweb/prebuilts/
DNOTICE142017 third_party_software_for_chromium: xdg-user-dirs