/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | directory_ex.cpp | 112 } else if (ptr->d_type == DT_DIR) { in GetDirFiles() 179 if (ptr->d_type == DT_DIR) { in ForceRemoveDirectory() 270 if (ptr->d_type == DT_DIR) { in ChangeModeDirectory()
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cm_event_process.c | 275 …if (dire->d_type == DT_DIR && (strcmp("..", dire->d_name) != 0) && (strcmp(".", dire->d_name) != 0… in CmTraversalUserIdLayerDir() 277 } else if (dire->d_type != DT_DIR) { in CmTraversalUserIdLayerDir() 315 …if (dire->d_type == DT_DIR && (strcmp("..", dire->d_name) != 0) && (strcmp(".", dire->d_name) != 0… in CmTraversalDir() 318 } 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) !=… 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()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | file_utils.cpp | 195 if (ent->d_type == DT_DIR) { in RmDirRecurse() 293 if ((ent->d_type != DT_DIR) || in GetSubDirs() 320 if ((ent->d_type != DT_DIR) || in ReadDigitDir() 356 if ((ent->d_type != DT_DIR)) { in OpenSubFile() 490 if (ent->d_type != DT_DIR && !flag) { in TraverseDirUevent()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | list_file.cpp | 99 if (filename.d_type == DT_DIR) { in FilterSuffix() 191 if ((filename->d_type == DT_DIR && g_optionArgs.recursion) || FilterResult(*filename)) { in FilterFunc() 246 } else if ((*(pNameList->namelist[i])).d_type == DT_DIR) { in RecursiveFunc()
|
/ohos5.0/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()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/ |
H A D | dir.h | 24 #define DT_DIR 4 macro
|
H A D | dir.cpp | 46 d->cur.d_type = DT_DIR; in readdir()
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_filesystem/ |
H A D | b_dir.cpp | 55 …if (entry->d_type != DT_DIR || (strcmp(entry->d_name, ".") != 0 && strcmp(entry->d_name, "..") != … in IsEmptyDirectory() 134 } else if (ptr->d_type != DT_DIR) { in GetDirFilesDetail() 186 } else if (ptr->d_type == DT_DIR) { in GetDirFiles() 213 } else if (ptr->d_type == DT_DIR) { in GetSubDir() 444 } else if (ptr->d_type != DT_DIR) { in GetUser0DirFilesDetail()
|
/ohos5.0/foundation/communication/ipc/services/dbinder/test/distributedtest/src/ |
H A D | dbinder_service_test_helper.cpp | 53 if (DT_DIR != ptr->d_type) { in GetPidByName() 100 if (DT_DIR != ptr->d_type) { in GetChildPids()
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | directory_ex.cpp | 181 if (ptr->d_type == DT_DIR) { in GetDirFiles() 268 if (ptr->d_type == DT_DIR) { in ForceRemoveDirectory() 393 if (ptr->d_type == DT_DIR) { in ChangeModeDirectory()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | application_cleaner.cpp | 207 … if (ptr->d_type == DT_DIR && strncmp(ptr->d_name, MARK_TEMP_DIR.c_str(), MARK_TEMP_LEN) == 0) { in TraverseObsoleteTempDirectory() 212 if (ptr->d_type == DT_DIR) { in TraverseObsoleteTempDirectory()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | listfile.cpp | 155 if (filename.d_type == DT_DIR) { in FilterSuffix() 247 if ((filename->d_type == DT_DIR && g_optionArgs.recursion) || FilterResult(*filename)) { in FilterFunc() 301 } else if ((*(pNameList->namelist[i])).d_type == DT_DIR) { in RecursiveFunc()
|
/ohos5.0/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | ipc_test_helper.cpp | 110 (ptr->d_type != DT_DIR)) { in GetPidByName() 168 if (ptr->d_type != DT_DIR) { in GetChildPids()
|
/ohos5.0/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()
|
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/ |
H A D | tools_op.cpp | 103 …if (entry->d_type != DT_DIR || (strcmp(entry->d_name, ".") != 0 && strcmp(entry->d_name, "..") != … in GetFIleNums()
|
/ohos5.0/foundation/filemanagement/dfs_service/utils/system/src/ |
H A D | utils_directory.cpp | 254 if (ptr->d_type == DT_DIR) { in ForceRemoveDirectoryDeepFirst() 343 if (entry->d_type == DT_DIR) { in ChangeOwnerRecursive()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 788 if (ptr->d_type == DT_DIR) { in ChangeDirOwnerRecursively() 880 if (ptr->d_type == DT_DIR) { in DeleteFiles() 927 if (ptr->d_type == DT_DIR) { in DeleteFilesExceptDirs() 1022 if (entry->d_type == DT_DIR) { in GetDiskUsage() 1061 if (ptr->d_type == DT_DIR && strcmp(ptr->d_name, CACHE_DIR) == 0) { in TraverseCacheDirectory() 1066 if (ptr->d_type == DT_DIR) { in TraverseCacheDirectory() 1173 if (ptr->d_type == DT_DIR) { in ScanDir() 1220 if (ptr->d_type == DT_DIR) { in ScanSoFiles() 2187 if (ptr->d_type == DT_DIR) { in GetAtomicServiceBundleDataDir()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/ |
H A D | process.cpp | 161 if (dirEntry->d_type != DT_DIR) continue; in UpdatePidByPath()
|
/ohos5.0/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()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_dirent/ |
H A D | dirent_n_exporter.cpp | 75 return CheckDirentDType(env, cbinfo, DT_DIR); in isDirectory()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | process_system_api_adapter_impl.cpp | 91 if (direntPtr->d_type == DT_DIR) { in SetSecurityOption()
|
/ohos5.0/base/theme/wallpaper_mgr/utils/src/ |
H A D | file_deal.cpp | 102 if (dirent->d_type == DT_DIR) { in DeleteDir()
|