/base/startup/init/services/modules/trace/ |
D | init_trace.cfg | 9 "sys-files" : [ 27 "sys-files" : [ 36 "sys-files" : [ 45 "sys-files" : [ 54 "sys-files" : [ 64 "sys-files" : [ 74 "sys-files" : [ 91 "sys-files" : [ 100 "sys-files" : [ 109 "sys-files" : [ [all …]
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cleaner/ |
D | app_event_log_cleaner.cpp | 37 std::vector<std::string> files; in ClearSpace() local 38 FileUtil::GetDirFiles(path_, files); in ClearSpace() 41 sort(files.begin(), files.end()); in ClearSpace() 44 while (!files.empty() && nowSize > maxSize) { in ClearSpace() 45 std::string delFile = files[0]; in ClearSpace() 46 files.erase(files.begin()); in ClearSpace()
|
/base/update/updater/interfaces/kits/packages/ |
D | package.cpp | 30 std::vector<std::pair<std::string, ComponentInfo>> &files, in GetUpgradePkgInfo() argument 54 files.resize(pkgInfoExt->entryCount); in GetUpgradePkgInfo() 56 files[i].first.assign(compInfo[i].filePath); in GetUpgradePkgInfo() 57 ComponentInfo* info = &files[i].second; in GetUpgradePkgInfo() 78 std::vector<std::pair<std::string, ZipFileInfo>> &files, in GetZipPkgInfo() argument 86 files.resize(pkgInfoExt->entryCount); in GetZipPkgInfo() 88 files[i].first.assign(compInfo[i].filePath); in GetZipPkgInfo() 89 ZipFileInfo* info = &files[i].second; in GetZipPkgInfo() 98 std::vector<std::pair<std::string, Lz4FileInfo>> &files, in GetLz4PkgInfo() argument 106 files.resize(pkgInfoExt->entryCount); in GetLz4PkgInfo() [all …]
|
/base/update/updater/services/applypatch/ |
D | store.cpp | 33 std::vector<std::string> files; in DoFreeSpace() local 34 if (GetFilesFromDirectory(directoryPath, files, true) <= 0) { in DoFreeSpace() 38 for (const auto &file : files) { in DoFreeSpace() 81 std::vector<std::string> files {}; in CreateNewSpace() local 82 if (GetFilesFromDirectory(dirPath, files) < 0) { in CreateNewSpace() 85 if (files.empty()) { in CreateNewSpace() 88 std::vector<std::string>::iterator iter = files.begin(); in CreateNewSpace() 89 while (iter != files.end()) { in CreateNewSpace() 95 files.clear(); in CreateNewSpace()
|
/base/startup/init/services/modules/seccomp/ |
D | seccomp_policy.c | 116 CfgFiles *files = GetCfgFiles(filterLibPath); in GetFilterFileByName() local 117 for (int i = MAX_CFG_POLICY_DIRS_CNT - 1; files && i >= 0; i--) { in GetFilterFileByName() 118 if (files->paths[i]) { in GetFilterFileByName() 124 if (seccompPathNum == 1 && files && files->paths[0]) { in GetFilterFileByName() 125 … if (memcpy_s(filterLibRealPath, pathSize, files->paths[0], strlen(files->paths[0]) + 1) == EOK) { in GetFilterFileByName() 129 FreeCfgFiles(files); in GetFilterFileByName()
|
/base/update/updater/test/unittest/package/ |
D | pkg_manager_unittest.cpp | 97 …tUpgradePkgInfo(UpgradePkgInfo &pkgInfo, std::vector<std::pair<std::string, ComponentInfo>> &files) in GetUpgradePkgInfo() argument 110 files.resize(testFileNames_.size()); in GetUpgradePkgInfo() 114 files[i].first = filePath; in GetUpgradePkgInfo() 116 ComponentInfo* info = &files[i].second; in GetUpgradePkgInfo() 136 std::vector<std::pair<std::string, ComponentInfo>> files; in TestPackagePack() local 137 GetUpgradePkgInfo(pkgInfo, files); in TestPackagePack() 140 int32_t ret = pkgManager_->CreatePackage(packagePath, "", &pkgInfo.pkgInfo, files); in TestPackagePack() 142 … ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, files); in TestPackagePack() 151 std::vector<std::pair<std::string, ComponentInfo>> files; in TestPackagePackFileNotExist() local 152 GetUpgradePkgInfo(pkgInfo, files); in TestPackagePackFileNotExist() [all …]
|
/base/startup/appspawn/adapter/ |
D | appspawn_sandbox.cpp | 39 CfgFiles *files = GetCfgFiles("etc/sandbox"); in LoadAppSandboxConfig() local 40 for (int i = 0; (files != nullptr) && (i < MAX_CFG_POLICY_DIRS_CNT); ++i) { in LoadAppSandboxConfig() 41 if (files->paths[i] == nullptr) { in LoadAppSandboxConfig() 44 std::string path = files->paths[i]; in LoadAppSandboxConfig() 51 FreeCfgFiles(files); in LoadAppSandboxConfig()
|
D | appspawn_ace.cpp | 77 CfgFiles *files = GetCfgFiles("etc/appspawn"); in PreloadModule() local 78 if (files == nullptr) { in PreloadModule() 83 if (files->paths[i] == nullptr) { in PreloadModule() 86 std::string path = files->paths[i]; in PreloadModule() 91 FreeCfgFiles(files); in PreloadModule()
|
/base/startup/init/services/etc/appender/ |
D | file_appender.py | 45 if options.files: 46 for append_f in options.files: 62 if options.files: 63 depfile_deps = ([options.source_file] + options.files)
|
D | file_appender.gni | 17 # Append something (files or lines) to a file and install it. 24 # files: files to be appended to the end of source file (Optional) 31 # files = [ "cust_passwd", "passwd2" ] 35 # It will append files and lines to source passwd file after deps targets 67 if (defined(invoker.files)) { 68 foreach(file, invoker.files) {
|
/base/startup/init/services/init/standard/ |
D | init.c | 292 CfgFiles *files = GetCfgFiles("etc/param"); in InitLoadParamFiles() local 293 for (int i = MAX_CFG_POLICY_DIRS_CNT - 1; files && i >= 0; i--) { in InitLoadParamFiles() 294 if (files->paths[i]) { in InitLoadParamFiles() 295 LoadDefaultParams(files->paths[i], LOAD_PARAM_ONLY_ADD); in InitLoadParamFiles() 298 FreeCfgFiles(files); in InitLoadParamFiles() 380 CfgFiles *files = GetCfgFiles("etc/init"); in ParseInitCfgByPriority() local 381 for (int i = 0; files && i < MAX_CFG_POLICY_DIRS_CNT; i++) { in ParseInitCfgByPriority() 382 if (files->paths[i]) { in ParseInitCfgByPriority() 383 if (ReadFileInDir(files->paths[i], ".cfg", ParseInitCfg, NULL) < 0) { in ParseInitCfgByPriority() 388 FreeCfgFiles(files); in ParseInitCfgByPriority()
|
/base/hiviewdfx/faultloggerd/common/dfxutil/ |
D | dfx_util.cpp | 115 bool ReadDirFiles(const std::string& path, std::vector<std::string>& files) in ReadDirFiles() argument 128 files.emplace_back(std::string(ent->d_name)); in ReadDirFiles() 131 return (files.size() > 0); in ReadDirFiles() 134 bool ReadDirFilesByPid(const int& pid, std::vector<std::string>& files) in ReadDirFilesByPid() argument 151 return ReadDirFiles(realPath, files); in ReadDirFilesByPid()
|
D | dfx_util.h | 30 AT_SYMBOL_HIDDEN bool ReadDirFiles(const std::string& path, std::vector<std::string>& files); 31 AT_SYMBOL_HIDDEN bool ReadDirFilesByPid(const int& pid, std::vector<std::string>& files);
|
/base/security/device_security_level/ |
D | .gitignore | 10 # Compiled Object files 25 # Fortran module files
|
/base/security/selinux_adapter/sepolicy/base/public/ |
D | attributes | 23 # Type of all virtual file system files. 30 # Type of all proc files. 34 # Type of all common files. 39 # Type of all rootfs files. 43 # Type of all system files. 47 # Type of all sys_prod files. 51 # Type of all vendor files. 55 # Type of all chip_prod files. 64 # Types of all files in the /data directory.
|
/base/security/selinux_adapter/ |
D | .gitignore | 8 # Compiled Object files 23 # Fortran module files
|
/base/useriam/user_auth_framework/ |
D | .gitignore | 10 # Compiled Object files 25 # Fortran module files
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/ |
D | procinfo.cpp | 141 std::vector<std::string> files; in GetTidsByPidWithFunc() local 142 if (ReadDirFilesByPid(pid, files)) { in GetTidsByPidWithFunc() 143 for (size_t i = 0; i < files.size(); ++i) { in GetTidsByPidWithFunc() 144 pid_t tid = atoi(files[i].c_str()); in GetTidsByPidWithFunc() 239 std::vector<std::string> files; in ReadProcessWchan() local 240 flag = ReadDirFiles(taskPath, files); in ReadProcessWchan() 241 for (size_t i = 0; i < files.size(); ++i) { in ReadProcessWchan() 242 std::string tidStr = files[i]; in ReadProcessWchan()
|
/base/update/updateservice/services/engine/etc/ |
D | updater_sa.cfg | 9 "mkdir /data/service/el1/public/update/dupdate_engine/files 0700 update update", 10 … "mkdir /data/service/el1/public/update/dupdate_engine/files/firmware 0700 update update", 11 …"mkdir /data/service/el1/public/update/dupdate_engine/files/firmware/changelogs 0700 update update…
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/ |
D | file_util.cpp | 107 void GetDirFiles(const std::string& dir, std::vector<std::string>& files) in GetDirFiles() argument 121 files.push_back(filePath); in GetDirFiles() 129 std::vector<std::string> files; in GetDirSize() local 130 GetDirFiles(dir, files); in GetDirSize() 133 for (auto& file : files) { in GetDirSize()
|
/base/telephony/core_service/services/sim/src/ |
D | usim_dialling_numbers_service.cpp | 65 std::vector<std::string> &files = object->fileResults; in ProcessPbrLoadDone() local 66 GeneratePbrFile(files); in ProcessPbrLoadDone() 151 std::map<int, std::shared_ptr<TagData>> files = pbrFiles_.at(recId)->fileIds_; in LoadDiallingNumberFiles() local 152 if (files.empty() || !files.size()) { in LoadDiallingNumberFiles() 158 int extEf = files.at(TAG_SIM_USIM_EXT1) != nullptr ? files.at(TAG_SIM_USIM_EXT1)->fileId : 0; in LoadDiallingNumberFiles() 159 if (extEf >= 0 && files.at(TAG_SIM_USIM_ADN) != nullptr) { in LoadDiallingNumberFiles() 161 int efId = files.at(TAG_SIM_USIM_ADN)->fileId; in LoadDiallingNumberFiles() 170 bool fileNull = files.at(TAG_SIM_USIM_ADN) == nullptr; in LoadDiallingNumberFiles()
|
/base/update/sys_installer/frameworks/ipc_server/src/ |
D | module_update_service.cpp | 137 std::vector<std::string> files; in InstallModulePackage() local 138 GetDirFiles(hmpDir, files); in InstallModulePackage() 139 for (auto &file : files) { in InstallModulePackage() 256 std::vector<std::string> files; in CollectModulePackageInfo() local 257 GetDirFiles(installHmpPath, files); in CollectModulePackageInfo() 258 GetDirFiles(activeHmpPath, files); in CollectModulePackageInfo() 261 for (auto &file : files) { in CollectModulePackageInfo() 426 std::vector<std::string> files; in ScanPreInstalledHmp() local 427 GetDirFiles(MODULE_PREINSTALL_DIR, files); in ScanPreInstalledHmp() 428 for (auto &file : files) { in ScanPreInstalledHmp()
|
/base/startup/init/test/exec_test/ |
D | fd_holder_test.c | 77 char *files[] = {"/data/test/1", "/data/test/2"}; in main() local 78 SaveFds("fd_holder_test", FD_COUNT, (char **)files); in main()
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_job_test.cpp | 85 std::vector<uint32_t> files = {1, 2, 3}; variable 87 job.SetFdList(files); 89 EXPECT_EQ(files.size(), getFiles.size()); 90 for (size_t index = 0; index < files.size(); index++) { 91 EXPECT_EQ(files[index], getFiles[index]); 441 std::vector<uint32_t> files = {1, 2, 3}; variable 459 std::vector<uint32_t> files = {1, 2, 3}; variable
|
/base/hiviewdfx/hiview/base/event_store/store/ |
D | sys_event_database.cpp | 185 FileQueue files(CompareFileLessFunc); in UpdateClearMap() local 186 GetQueryFiles(SysEventQueryArg(), files); in UpdateClearMap() 190 while (!files.empty()) { in UpdateClearMap() 191 std::string file = files.top(); in UpdateClearMap() 192 files.pop(); in UpdateClearMap() 254 std::vector<std::string> files; in GetQueryFiles() local 255 FileUtil::GetDirFiles(queryDir, files); in GetQueryFiles() 256 for (auto& file : files) { in GetQueryFiles()
|