Searched refs:dp (Results 1 – 10 of 10) sorted by relevance
/base/security/selinux_adapter/test/unittest/common/ |
D | test_common.cpp | 51 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/ |
D | file_deal.cpp | 36 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/ |
D | param_dac.c | 188 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/ |
D | cd58d51e.0 | 9 zbl+dp+++T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVM
|
/base/update/updater/services/ |
D | updater_utils.cpp | 48 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/ |
D | init_utils.c | 530 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/ |
D | ueventd_event_unittest.cpp | 107 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/ |
D | param_stub.cpp | 326 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/ |
D | utils.cpp | 129 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/ |
D | confirmDialog.ets | 66 .height('24dp')
|