Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 10 of 10) sorted by relevance

/base/security/selinux_adapter/test/unittest/common/
Dtest_common.cpp51 struct dirent *dp; in RemoveDirectory() local
66 while ((dp = readdir(dirp)) != nullptr) { in RemoveDirectory()
67 if ((curDir == std::string(dp->d_name)) || (upDir == std::string(dp->d_name))) { in RemoveDirectory()
70 std::string dirName = path + "/" + std::string(dp->d_name); in RemoveDirectory()
/base/theme/wallpaper_mgr/utils/src/
Dfile_deal.cpp36 DIR *dp; in IsDirExist() local
37 if ((dp = opendir(path.c_str())) == NULL) { in IsDirExist()
41 closedir(dp); in IsDirExist()
/base/startup/init/services/param/adapter/
Dparam_dac.c188 struct dirent *dp; in DacGetParamSecurityLabel() local
190 while ((dp = readdir(pDir)) != NULL) { in DacGetParamSecurityLabel()
191 if (dp->d_type == DT_DIR) { in DacGetParamSecurityLabel()
194 char *tmp = strstr(dp->d_name, ".para.dac"); in DacGetParamSecurityLabel()
201 int ret = PARAM_SPRINTF(fileName, MAX_BUF_SIZE, "%s/%s", path, dp->d_name); in DacGetParamSecurityLabel()
203 PARAM_LOGE("Failed to get file name for %s", dp->d_name); in DacGetParamSecurityLabel()
/base/security/certificate_manager/config/systemCertificates/
Dcd58d51e.09 zbl+dp+++T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVM
/base/update/updater/services/
Dupdater_utils.cpp48 struct dirent *dp = nullptr; in DeleteUpdaterPath() local
49 while ((dp = readdir(pDir.get())) != nullptr) { in DeleteUpdaterPath()
50 std::string currentName(dp->d_name); in DeleteUpdaterPath()
/base/startup/init/services/utils/
Dinit_utils.c530 struct dirent *dp; in ReadFileInDir() local
532 while ((dp = readdir(pDir)) != NULL) { in ReadFileInDir()
533 if (dp->d_type == DT_DIR) { in ReadFileInDir()
537 char *tmp = strstr(dp->d_name, includeExt); in ReadFileInDir()
545 … int ret = snprintf_s(fileName, MAX_BUF_SIZE, MAX_BUF_SIZE - 1, "%s/%s", dirPath, dp->d_name); in ReadFileInDir()
547 INIT_LOGE("Failed to get file name for %s", dp->d_name); in ReadFileInDir()
/base/startup/init/test/unittest/ueventd/
Dueventd_event_unittest.cpp107 struct dirent *dp = nullptr; in RemoveDir() local
108 while ((dp = readdir(dir.get())) != nullptr) { in RemoveDir()
110 if (dp->d_name[0] == '.') { in RemoveDir()
116 fullPath = path + dp->d_name; in RemoveDir()
118 fullPath = path + "/" + dp->d_name; in RemoveDir()
/base/startup/init/test/unittest/param/
Dparam_stub.cpp326 struct dirent *dp = nullptr; in DeleteDir() local
327 while ((dp = readdir(pDir.get())) != nullptr) { in DeleteDir()
328 std::string currentName(dp->d_name); in DeleteDir()
/base/update/updater/utils/
Dutils.cpp129 struct dirent *dp; in GetFilesFromDirectory() local
131 while ((dp = readdir(dirp)) != nullptr) { in GetFilesFromDirectory()
132 std::string fileName = path + "/" + dp->d_name; in GetFilesFromDirectory()
135 std::string tmpName = dp->d_name; in GetFilesFromDirectory()
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/component/
DconfirmDialog.ets66 .height('24dp')