Home
last modified time | relevance | path

Searched refs:DT_DIR (Results 1 - 24 of 24) sorted by relevance

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcm_event_process.c281 if (dire->d_type == DT_DIR && (strcmp("..", dire->d_name) != 0) && (strcmp(".", dire->d_name) != 0)) { in CmTraversalUserIdLayerDir()
283 } else if (dire->d_type != DT_DIR) { in CmTraversalUserIdLayerDir()
328 if (dire->d_type == DT_DIR && (strcmp("..", dire->d_name) != 0) && (strcmp(".", dire->d_name) != 0) && in CmTraversalDir()
331 } else if (dire->d_type != DT_DIR) { in CmTraversalDir()
H A Dcert_manager_file_operator.c473 if ((dire->d_type == DT_DIR) && (strcmp("..", dire->d_name) != 0) && (strcmp(".", dire->d_name) != 0)) { in CmUserIdLayerGetFileCountAndNames()
479 } else if (dire->d_type != DT_DIR) { in CmUserIdLayerGetFileCountAndNames()
513 if ((dire->d_type != DT_DIR) || (strcmp(dire->d_name, ".") == 0) || in CmGetSubDir()
H A Dcert_manager_updateflag.c446 if ((dire->d_type != DT_DIR) || (strcmp(dire->d_name, ".") == 0) || (strcmp(dire->d_name, "..") == 0)) { in UpdateAllUserCerts()
/base/security/huks/utils/file_operator/
H A Dhks_file_operator.c435 if (dire->d_type == DT_DIR && (strcmp("..", dire->d_name) != 0) && (strcmp(".", dire->d_name) != 0)) { in HksDeletDirPartOne()
437 } else if (dire->d_type != DT_DIR) { in HksDeletDirPartOne()
476 if (dire->d_type == DT_DIR && (strcmp("..", dire->d_name) != 0) && (strcmp(".", dire->d_name) != 0)) { in HksDeleteDir()
478 } else if (dire->d_type != DT_DIR) { in HksDeleteDir()
/base/powermgr/battery_manager/charger/src/
H A Dpower_supply_provider.cpp195 if (entry->d_type == DT_DIR || entry->d_type == DT_LNK) { in InitPowerSupplySysfs()
265 if (entry->d_type == DT_DIR || entry->d_type == DT_LNK) { in CheckSubfolderNode()
/base/startup/init/interfaces/innerkits/fs_manager/switch_root/
H A Dswitch_root.c43 if (de->d_type == DT_DIR || de->d_type == DT_UNKNOWN) { in FreeOldRoot()
/base/startup/init/services/utils/
H A Dinit_utils.c40 #ifndef DT_DIR
41 #define DT_DIR 4 macro
540 if (dp->d_type == DT_DIR) { in ReadFileInDir()
/base/powermgr/thermal_manager/application/protector/src/
H A Dthermal_sensor_provision.cpp157 if (entry->d_type == DT_DIR || entry->d_type == DT_LNK) { in InitThermalZoneSysfs()
/base/sensors/sensor/test/unittest/common/src/
H A Dsystem_info.cpp61 if (pidFile->d_type != DT_DIR) { in GetTaskPidFile()
/base/startup/appspawn/modules/common/
H A Dappspawn_namespace.c109 if (entry->d_type != DT_DIR) { in GetPidByName()
/base/hiviewdfx/hiview/base/utility/
H A Dfile_util.cpp129 } else if (ptr->d_type == DT_DIR && isRecursive) { in GetDirFiles()
153 } else if (ptr->d_type == DT_DIR) { in GetDirDirs()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dio_collector_impl.cpp383 if ((de->d_type == DT_LNK) || (de->d_type == DT_DIR)) { in GetEMMCPath()
421 if ((de->d_type == DT_LNK) || (de->d_type == DT_DIR)) { in CalculateEMMCInfo()
512 if (de->d_type != DT_DIR) { in CalculateAllProcIoStats()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_file_manager.cpp384 if ((entry->d_type == DT_DIR) && (!RemoveDirRecursive(subPath.c_str()))) { in RemoveDirRecursive()
388 if ((entry->d_type != DT_DIR) && (remove(subPath.c_str()) != 0)) { in RemoveDirRecursive()
/base/startup/appspawn/service/hnp/installer/src/
H A Dhnp_installer.c502 if (entry->d_type == DT_DIR) { in HnpPackageGetAndInstall()
608 if (entry->d_type == DT_DIR) { in HnpInstallHnpFileCountGet()
/base/startup/init/services/param/adapter/
H A Dparam_dac.c246 if (dp->d_type == DT_DIR) { in DacGetParamSecurityLabel()
/base/startup/init/ueventd/
H A Dueventd.c351 if (dirent->d_type == DT_DIR) { in Trigger()
/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability.cpp179 if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0 || ent->d_type == DT_DIR) { in GetFileInfoUnderDir()
/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dutils.cpp500 if (pDir->d_type != DT_REG && pDir->d_type != DT_DIR) { in GetFiles()
/base/startup/appspawn/service/hnp/base/
H A Dhnp_zip.c143 *isDir = (int)(entry->d_type == DT_DIR); in IsDirPath()
/base/startup/appspawn/util/src/
H A Dappspawn_utils.c330 if (dp->d_type == DT_DIR) { in DumpCurrentDir()
/base/account/os_account/services/accountmgr/src/
H A Dohos_account_manager.cpp674 if (curDirName == "." || curDirName == ".." || curDir->d_type != DT_DIR) { in CheckOhosAccountCanBind()
/base/global/resource_management/frameworks/resmgr/src/
H A Draw_file_manager.cpp171 if (dirp->d_type == DT_REG || dirp->d_type == DT_DIR) { in OH_ResourceManager_OpenRawDir()
/base/update/updater/utils/
H A Dutils.cpp421 if (dirent->d_type == DT_DIR) { in CopyDir()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_control_file_manager.cpp434 if (curDirName == "." || curDirName == ".." || curDir->d_type != DT_DIR) { in RecoverAccountListJsonFile()

Completed in 21 milliseconds