Home
last modified time | relevance | path

Searched refs:d_type (Results 1 - 25 of 49) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/
H A Ddir.cpp46 d->cur.d_type = DT_DIR; in readdir()
48 d->cur.d_type = DT_REG; in readdir()
H A Ddir.h31 unsigned char d_type; member
/foundation/filemanagement/app_file_service/utils/src/b_filesystem/
H A Db_dir.cpp51 if (entry->d_type != DT_DIR || (strcmp(entry->d_name, ".") != 0 && strcmp(entry->d_name, "..") != 0)) { in IsEmptyDirectory()
116 } else if (ptr->d_type == DT_REG) { in GetDirFilesDetail()
129 } else if (ptr->d_type != DT_DIR) { in GetDirFilesDetail()
162 } else if (ptr->d_type == DT_DIR) { in GetDirFiles()
357 } else if (ptr->d_type == DT_REG) { in GetUser0DirFilesDetail()
370 } else if (ptr->d_type != DT_DIR) { in GetUser0DirFilesDetail()
/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/
H A Dprocess.cpp141 if (dirEntry->d_type != DT_LNK) continue; in CheckFds()
161 if (dirEntry->d_type != DT_DIR) continue; in UpdatePidByPath()
/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()
/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()
244 if ((*(pNameList->namelist[i])).d_type == DT_REG) { in RecursiveFunc()
246 } else if ((*(pNameList->namelist[i])).d_type == DT_DIR) { in RecursiveFunc()
H A Dcopy.cpp277 if ((pNameList->namelist[i])->d_type == DT_LNK) { in RecurCopyDir()
281 if ((pNameList->namelist[i])->d_type == DT_DIR) { in RecurCopyDir()
334 if ((pNameList->namelist[i])->d_type == DT_LNK) { in GetDirSize()
337 if ((pNameList->namelist[i])->d_type == DT_DIR) { in GetDirSize()
/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()
299 if ((*(pNameList->namelist[i])).d_type == DT_REG) { in RecursiveFunc()
301 } else if ((*(pNameList->namelist[i])).d_type == DT_DIR) { in RecursiveFunc()
H A Dcopy.cpp382 if ((pNameList->namelist[i])->d_type == DT_LNK) { in GetDirSize()
385 if ((pNameList->namelist[i])->d_type == DT_DIR) { in GetDirSize()
411 if ((pNameList->namelist[i])->d_type == DT_LNK) { in RecurCopyDir()
415 if ((pNameList->namelist[i])->d_type == DT_DIR) { in RecurCopyDir()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dfile_utils.cpp193 if (ent->d_type == DT_DIR) { in RmDirRecurse()
291 if ((ent->d_type != DT_DIR) || in GetSubDirs()
318 if ((ent->d_type != DT_DIR) || in ReadDigitDir()
354 if ((ent->d_type != DT_DIR)) { in OpenSubFile()
490 if (ent->d_type != DT_DIR && !flag) { in TraverseDirUevent()
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dapplication_cleaner.cpp204 if (ptr->d_type == DT_DIR && strncmp(ptr->d_name, MARK_TEMP_DIR.c_str(), MARK_TEMP_LEN) == 0) { in TraverseObsoleteTempDirectory()
209 if (ptr->d_type == DT_DIR) { in TraverseObsoleteTempDirectory()
/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()
/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, "..") != 0)) { in GetFIleNums()
/foundation/ability/idl_tool/idl_tool_2/util/
H A Dfile.cpp335 if (dirInfo->d_type == DT_REG && StringHelper::EndWith(dirInfo->d_name, ".idl")) { in CreatePartDir()
341 if (dirInfo->d_type == DT_DIR) { in CreatePartDir()
/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()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_util.cpp196 if (dp->d_type == DT_DIR) { in GetSubPath()
214 if (dp->d_type == DT_REG) { in GetFiles()
/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()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Dconnection_detector.cpp157 if ((pNameList->namelist[i])->d_type == DT_DIR) { in GetConnectionStatus()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_dirent/
H A Ddirent_n_exporter.cpp60 return NVal::CreateBool(env, direntEntity->dirent_.d_type == dType).val_; in CheckDirentDType()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp677 if (ptr->d_type == DT_DIR) { in ChangeDirOwnerRecursively()
769 if (ptr->d_type == DT_DIR) { in DeleteFiles()
806 if (ptr->d_type == DT_DIR) { in DeleteFilesExceptDirs()
901 if (entry->d_type == DT_DIR) { in GetDiskUsage()
940 if (ptr->d_type == DT_DIR && strcmp(ptr->d_name, CACHE_DIR) == 0) { in TraverseCacheDirectory()
945 if (ptr->d_type == DT_DIR) { in TraverseCacheDirectory()
1051 if (ptr->d_type == DT_DIR) { in ScanDir()
1059 if (ptr->d_type == DT_REG) { in ScanDir()
1098 if (ptr->d_type == DT_DIR) { in ScanSoFiles()
1105 if (ptr->d_type in ScanSoFiles()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp168 if ((de->d_name[0] != '.') && ((de->d_type == DT_DIR) || (de->d_type == DT_LNK))) { in GetInterfaceNames()
/foundation/filemanagement/dfs_service/utils/system/src/
H A Dutils_directory.cpp255 if (ptr->d_type == DT_DIR) { in ForceRemoveDirectoryDeepFirst()
344 if (entry->d_type == DT_DIR) { in ChangeOwnerRecursive()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/common/
H A Dhelp_utils.cpp188 if (ent->d_type == DT_DIR) { in RmDirRecurse()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/common/
H A Ddistributeddb_tools_test.cpp104 if (direntPtr->d_type == DT_DIR) { in RemoveTestDbFiles()
/foundation/multimodalinput/input/tools/vuinput/src/
H A Dvirtual_device.cpp129 if (ptr->d_type == DT_REG) { in RemoveDir()
134 } else if (ptr->d_type == DT_DIR) { in RemoveDir()
324 if (ptr->d_type == DT_REG) { in BrowseDirectory()

Completed in 34 milliseconds

12