/base/customization/config_policy/frameworks/config_policy/src/ |
D | config_policy_utils.c | 436 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/ |
D | create_package_data.py | 142 for home, dirs, files in os.walk(package_name_path): 145 for each_dir_name in dirs:
|
/base/request/request/frameworks/js/napi/include/ |
D | js_task.h | 51 static bool SetDirsPermission(std::vector<std::string> &dirs); 54 static void RemoveDirsPermission(const std::vector<std::string> &dirs);
|
/base/update/sys_installer_lite/ |
D | README_zh.md | 67 "dirs": [
|
D | README.md | 57 "dirs": [
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_service.cpp | 546 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/ |
D | js_task.cpp | 862 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/ |
D | build_contexts.py | 302 for root, dirs, _ in sorted(os.walk(search_dir)): 303 for dir_i in dirs:
|
D | build_policy_api.py | 72 for root, dirs, _ in sorted(os.walk(search_dir)): 73 for dir_i in dirs:
|
/base/hiviewdfx/hiview/base/utility/ |
D | file_util.cpp | 136 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/ |
D | file_util.h | 79 void GetDirDirs(const std::string& path, std::vector<std::string>& dirs);
|
/base/update/packaging_tools/ |
D | build_module_img.py | 55 for root, dirs, files in os.walk(target_dir):
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record_manager.cpp | 1109 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/ |
D | sandbox_utils.cpp | 1018 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/ |
D | NOTICE | 142017 third_party_software_for_chromium: xdg-user-dirs
|