Home
last modified time | relevance | path

Searched refs:DT_DIR (Results 1 – 25 of 73) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Ddirectory_ex.cpp112 } 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 Dcm_event_process.c275 …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 Dcert_manager_file_operator.c473 …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 Dfile_utils.cpp195 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 Dlist_file.cpp99 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 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()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/
H A Ddir.h24 #define DT_DIR 4 macro
H A Ddir.cpp46 d->cur.d_type = DT_DIR; in readdir()
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_filesystem/
H A Db_dir.cpp55 …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 Ddbinder_service_test_helper.cpp53 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 Ddirectory_ex.cpp181 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 Dapplication_cleaner.cpp207 … 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 Dlistfile.cpp155 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 Dipc_test_helper.cpp110 (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 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()
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op.cpp103 …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 Dutils_directory.cpp254 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 Dfile_util.cpp129 } 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 Dinit_utils.c40 #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 Dinstalld_operator.cpp788 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 Dprocess.cpp161 if (dirEntry->d_type != DT_DIR) continue; in UpdatePidByPath()
/ohos5.0/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()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_dirent/
H A Ddirent_n_exporter.cpp75 return CheckDirentDType(env, cbinfo, DT_DIR); in isDirectory()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Dprocess_system_api_adapter_impl.cpp91 if (direntPtr->d_type == DT_DIR) { in SetSecurityOption()
/ohos5.0/base/theme/wallpaper_mgr/utils/src/
H A Dfile_deal.cpp102 if (dirent->d_type == DT_DIR) { in DeleteDir()

123