/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cm_event_process.c | 281 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 D | cert_manager_file_operator.c | 473 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 D | cert_manager_updateflag.c | 446 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 D | hks_file_operator.c | 435 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 D | power_supply_provider.cpp | 195 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 D | switch_root.c | 43 if (de->d_type == DT_DIR || de->d_type == DT_UNKNOWN) { in FreeOldRoot()
|
/base/startup/init/services/utils/ |
H A D | init_utils.c | 40 #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 D | thermal_sensor_provision.cpp | 157 if (entry->d_type == DT_DIR || entry->d_type == DT_LNK) { in InitThermalZoneSysfs()
|
/base/sensors/sensor/test/unittest/common/src/ |
H A D | system_info.cpp | 61 if (pidFile->d_type != DT_DIR) {
in GetTaskPidFile()
|
/base/startup/appspawn/modules/common/ |
H A D | appspawn_namespace.c | 109 if (entry->d_type != DT_DIR) { in GetPidByName()
|
/base/hiviewdfx/hiview/base/utility/ |
H A D | file_util.cpp | 129 } 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 D | io_collector_impl.cpp | 383 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 D | dlp_file_manager.cpp | 384 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 D | hnp_installer.c | 502 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 D | param_dac.c | 246 if (dp->d_type == DT_DIR) {
in DacGetParamSecurityLabel()
|
/base/startup/init/ueventd/ |
H A D | ueventd.c | 351 if (dirent->d_type == DT_DIR) { in Trigger()
|
/base/hiviewdfx/hiview/adapter/service/server/src/ |
H A D | hiview_service_ability.cpp | 179 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 D | utils.cpp | 500 if (pDir->d_type != DT_REG && pDir->d_type != DT_DIR) { in GetFiles()
|
/base/startup/appspawn/service/hnp/base/ |
H A D | hnp_zip.c | 143 *isDir = (int)(entry->d_type == DT_DIR);
in IsDirPath()
|
/base/startup/appspawn/util/src/ |
H A D | appspawn_utils.c | 330 if (dp->d_type == DT_DIR) { in DumpCurrentDir()
|
/base/account/os_account/services/accountmgr/src/ |
H A D | ohos_account_manager.cpp | 674 if (curDirName == "." || curDirName == ".." || curDir->d_type != DT_DIR) { in CheckOhosAccountCanBind()
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | raw_file_manager.cpp | 171 if (dirp->d_type == DT_REG || dirp->d_type == DT_DIR) {
in OH_ResourceManager_OpenRawDir()
|
/base/update/updater/utils/ |
H A D | utils.cpp | 421 if (dirent->d_type == DT_DIR) { in CopyDir()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_control_file_manager.cpp | 434 if (curDirName == "." || curDirName == ".." || curDir->d_type != DT_DIR) { in RecoverAccountListJsonFile()
|