/base/startup/init/ueventd/ |
D | ueventd.c | 344 struct dirent *dirent = NULL; in Trigger() local 345 while ((dirent = readdir(dir)) != NULL) { in Trigger() 346 if (dirent->d_name[0] == '.') { in Trigger() 349 if (dirent->d_type == DT_DIR) { in Trigger() 351 … if (snprintf_s(pathBuffer, PATH_MAX, PATH_MAX - 1, "%s/%s", path, dirent->d_name) == -1) { in Trigger() 356 if (strcmp(dirent->d_name, "uevent") != 0) { in Trigger()
|
/base/security/huks/utils/compatibility_bin/ |
D | compatibility_bin.c | 40 struct dirent *ptr; in ChangeDirAndFilesPerm() 115 static int ConstructSrcAndTargetPath(char *curPath, char *desPath, struct dirent *ptr, in ConstructSrcAndTargetPath() 156 struct dirent *ptr; in MoveOldFolderToNew()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cm_event_process.c | 143 struct dirent *dire = readdir(dir); in RemoveDir() 202 struct dirent *dire = readdir(dir); in CmTraversalUidLayerDir() 265 struct dirent *dire = readdir(dir); in CmTraversalUserIdLayerDir() 305 struct dirent *dire = readdir(dir); in CmTraversalDir()
|
D | cert_manager_file_operator.c | 248 struct dirent *dire = readdir(dir); in CmGetDirFile() 361 struct dirent *dire = readdir(dir); in CmUidLayerGetFileCountAndNames() 409 struct dirent *dire = readdir(dir); in CmUserIdLayerGetFileCountAndNames() 466 struct dirent *dire = readdir(dir); in CmGetSubDir() 499 struct dirent *dire = NULL; in DirRemove()
|
/base/msdp/device_status/services/device_manager/src/ |
D | enumerator.cpp | 51 struct dirent *dent; in ScanAndAddDevices()
|
/base/security/huks/utils/file_operator/ |
D | hks_file_operator.c | 269 struct dirent *dire = readdir(dir); in HksGetDirFile() 330 struct dirent *dire = readdir(dir); in HksRemoveDir() 349 struct dirent *dire = readdir(dir); in HksDeletDirPartTwo() 384 struct dirent *dire = readdir(dir); in HksDeletDirPartOne() 422 struct dirent *dire = readdir(dir); in HksDeleteDir()
|
D | hks_file_operator_lite.c | 238 struct dirent *dire = readdir(dir); in HksGetDirFile() 304 struct dirent *dire = readdir(dir); in HksRemoveDir()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/ |
D | file_util.cpp | 85 struct dirent* dirInfo = nullptr; in ForceRemoveDirectory() 114 struct dirent* ent = nullptr; in GetDirFiles()
|
/base/powermgr/battery_manager/test/utils/ |
D | test_utils.cpp | 90 struct dirent* ptr = nullptr; in IsMock()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_common_utils.cpp | 45 for (struct dirent *ent = readdir(dir); ent != nullptr; ent = readdir(dir)) { in GetSubNodes() 77 for (struct dirent *ent = readdir(dir); ent != nullptr; ent = readdir(dir)) { in GetSubDir() 236 dirent* ptr = nullptr; in GetNamesInFolder()
|
/base/security/huks/test/unittest/modify_old_version_key_test_util/ |
D | hks_test_modify_old_key.c | 95 struct dirent *ptr; in ChangeDirAndFiles()
|
/base/startup/init/services/modules/init_eng/ |
D | init_eng.c | 147 struct dirent *de = NULL; in DebugFilesOverlay()
|
/base/powermgr/battery_manager/charger/src/ |
D | power_supply_provider.cpp | 186 struct dirent* entry = readdir(dir); in InitPowerSupplySysfs() 256 struct dirent* entry = readdir(dir); in CheckSubfolderNode()
|
/base/hiviewdfx/faultloggerd/common/dfxutil/ |
D | dfx_util.cpp | 122 struct dirent *ent; in ReadDirFiles()
|
/base/startup/init/services/init/standard/ |
D | switch_root.c | 37 struct dirent *de = NULL; in FreeOldRoot()
|
/base/update/updater/utils/ |
D | utils.cpp | 129 struct dirent *dp; in GetFilesFromDirectory() 598 struct dirent *dt = nullptr; in RemoveDir() 646 struct dirent* entry; in GetDirSize() 688 struct dirent* entry; in DeleteOldFile()
|
/base/time/time_service/services/ |
D | time_system_ability.cpp | 552 struct dirent *dirent; in GetWallClockRtcId() local 554 while (errno = 0, dirent = readdir(dir.get())) { in GetWallClockRtcId() 555 std::string name(dirent->d_name); in GetWallClockRtcId()
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
D | hc_file.c | 189 struct dirent *entry = NULL; in HcFileGetSubFileName()
|
/base/powermgr/thermal_manager/test/common/src/ |
D | thermal_test.cpp | 118 struct dirent* ptr = nullptr; in IsMock()
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
D | hc_file_posix.c | 198 struct dirent *entry = NULL; in HcFileGetSubFileName()
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | plugin_manager.cpp | 129 struct dirent *entry; in LoadPlugin()
|
/base/security/selinux_adapter/test/unittest/common/ |
D | test_common.cpp | 51 struct dirent *dp; in RemoveDirectory()
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_persister_rotator.cpp | 111 struct dirent *ent = nullptr; in RemoveOldFile()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | file_stream_dumper.cpp | 188 dirent* ptr = nullptr; in BuildFileNames()
|
/base/powermgr/thermal_manager/application/protector/src/ |
D | thermal_sensor_provision.cpp | 133 struct dirent *entry = NULL; in InitThermalZoneSysfs()
|