Home
last modified time | relevance | path

Searched refs:dirent (Results 1 – 25 of 46) sorted by relevance

12

/base/startup/init/ueventd/
Dueventd.c344 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/
Dcompatibility_bin.c40 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/
Dcm_event_process.c143 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()
Dcert_manager_file_operator.c248 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/
Denumerator.cpp51 struct dirent *dent; in ScanAndAddDevices()
/base/security/huks/utils/file_operator/
Dhks_file_operator.c269 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()
Dhks_file_operator_lite.c238 struct dirent *dire = readdir(dir); in HksGetDirFile()
304 struct dirent *dire = readdir(dir); in HksRemoveDir()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
Dfile_util.cpp85 struct dirent* dirInfo = nullptr; in ForceRemoveDirectory()
114 struct dirent* ent = nullptr; in GetDirFiles()
/base/powermgr/battery_manager/test/utils/
Dtest_utils.cpp90 struct dirent* ptr = nullptr; in IsMock()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_common_utils.cpp45 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/
Dhks_test_modify_old_key.c95 struct dirent *ptr; in ChangeDirAndFiles()
/base/startup/init/services/modules/init_eng/
Dinit_eng.c147 struct dirent *de = NULL; in DebugFilesOverlay()
/base/powermgr/battery_manager/charger/src/
Dpower_supply_provider.cpp186 struct dirent* entry = readdir(dir); in InitPowerSupplySysfs()
256 struct dirent* entry = readdir(dir); in CheckSubfolderNode()
/base/hiviewdfx/faultloggerd/common/dfxutil/
Ddfx_util.cpp122 struct dirent *ent; in ReadDirFiles()
/base/startup/init/services/init/standard/
Dswitch_root.c37 struct dirent *de = NULL; in FreeOldRoot()
/base/update/updater/utils/
Dutils.cpp129 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/
Dtime_system_ability.cpp552 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/
Dhc_file.c189 struct dirent *entry = NULL; in HcFileGetSubFileName()
/base/powermgr/thermal_manager/test/common/src/
Dthermal_test.cpp118 struct dirent* ptr = nullptr; in IsMock()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file_posix.c198 struct dirent *entry = NULL; in HcFileGetSubFileName()
/base/customization/enterprise_device_management/services/edm/src/
Dplugin_manager.cpp129 struct dirent *entry; in LoadPlugin()
/base/security/selinux_adapter/test/unittest/common/
Dtest_common.cpp51 struct dirent *dp; in RemoveDirectory()
/base/hiviewdfx/hilog/services/hilogd/
Dlog_persister_rotator.cpp111 struct dirent *ent = nullptr; in RemoveOldFile()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dfile_stream_dumper.cpp188 dirent* ptr = nullptr; in BuildFileNames()
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_sensor_provision.cpp133 struct dirent *entry = NULL; in InitThermalZoneSysfs()

12