/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/ |
H A D | dir.h | 35 DIR* opendir(const char* path);
|
H A D | dir.cpp | 25 DIR* opendir(const char* path) in opendir() function
|
/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | file_utils.cpp | 182 DIR *dir = opendir(path.c_str()); in RmDirRecurse() 234 if (!(d = opendir(path.c_str()))) { in TravelChmod() 235 LOGE("opendir failed"); in TravelChmod() 284 DIR *dir = opendir(path.c_str()); in GetSubDirs() 311 DIR *dir = opendir(path.c_str()); in ReadDigitDir() 348 DIR *dir = opendir(path.c_str()); in OpenSubFile() 472 DIR *dir = opendir(path.c_str()); in TraverseDirUevent() 582 if ((dir = opendir(path.c_str())) == NULL) in DeleteFile() 617 if ((dir = opendir(path.c_str())) != NULL) { in DelTemp()
|
H A D | set_flag_utils.cpp | 116 DIR *dir = opendir(absPath); in SetDirDelFlags()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | read_dir.cpp | 57 unique_ptr<DIR, function<void(DIR *)>> dir = { opendir(path.get()), closedir }; in Sync() 98 unique_ptr<DIR, function<void(DIR *)>> dir = { opendir(path.c_str()), closedir }; in Async()
|
H A D | open_dir.cpp | 48 std::unique_ptr<DIR, std::function<void(DIR *)>> dir = { opendir(path.get()), closedir }; in Sync() 95 dir = opendir(path.c_str()); in Async()
|
/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/ |
H A D | process.cpp | 135 DIR *dir = opendir(path.c_str()); in CheckFds() 155 DIR *dir = opendir("/proc"); in UpdatePidByPath()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | directory_ex.cpp | 98 DIR *dir = opendir(path.c_str()); in GetDirFiles() 163 DIR *dir = opendir(path.c_str()); in ForceRemoveDirectory() 254 DIR *dir = opendir(path.c_str()); in ChangeModeDirectory()
|
/foundation/multimodalinput/input/intention/services/device_manager/src/ |
H A D | enumerator.cpp | 49 DIR *dir = opendir(DEV_INPUT_PATH.c_str()); in ScanAndAddDevices()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_scanner.cpp | 61 DIR *dirp = opendir(dirPath.c_str()); in ScanImpl()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_util.cpp | 189 DIR *dirp = opendir(path.c_str()); in GetSubPath() 191 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetSubPath() 207 DIR *dirp = opendir(path.c_str()); in GetFiles() 209 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetFiles() 294 DIR *dirp = opendir(path.c_str()); in RemoveRWXForOthers()
|
/foundation/filemanagement/app_file_service/utils/src/b_filesystem/ |
H A D | b_dir.cpp | 43 DIR *dir = opendir(path.c_str()); in IsEmptyDirectory() 106 unique_ptr<DIR, function<void(DIR *)>> dir = {opendir(path.c_str()), closedir}; in GetDirFilesDetail() 151 unique_ptr<DIR, function<void(DIR *)>> dir = {opendir(path.c_str()), closedir}; in GetDirFiles() 347 unique_ptr<DIR, function<void(DIR *)>> dir = {opendir(path.c_str()), closedir}; in GetUser0DirFilesDetail()
|
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/ |
H A D | dbinder_service_test_helper.cpp | 45 dir = opendir("/proc"); in GetPidByName() 94 dir = opendir(TASK_PATH.c_str()); in GetChildPids()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/common/ |
H A D | distributeddb_tools_test.cpp | 64 DIR *dirTmp = opendir(dir.c_str()); in TestDirInit() 86 DIR *dirPtr = opendir(dir.c_str()); in RemoveTestDbFiles() 88 LOGE("opendir error!"); in RemoveTestDbFiles()
|
/foundation/multimedia/image_framework/mock/native/src/ |
H A D | directory_ex.cpp | 73 DIR *dir = opendir(path.c_str()); in GetDirFiles()
|
/foundation/window/window_manager/utils/src/ |
H A D | typec_port_info.cpp | 26 DIR* dir = opendir("sys/class/thermal"); in GetDirList()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_manager_service.cpp | 314 dir = (scanFlag == SYSTEM_APP_FLAG) ? opendir(SYSTEM_BUNDLE_PATH) : opendir(THIRD_SYSTEM_BUNDLE_PATH); in InstallAllSystemBundle() 390 DIR *dir = opendir(appDir); in ScanAppDir() 505 DIR *dir = opendir(codePath); in ReloadBundleInfo()
|
/foundation/filemanagement/dfs_service/utils/system/src/ |
H A D | utils_directory.cpp | 238 DIR *dir = opendir(path.c_str()); in ForceRemoveDirectoryDeepFirst() 240 LOGE("opendir failed, path = %{public}s, err:%{public}d", GetAnonyString(path).c_str(), errno); in ForceRemoveDirectoryDeepFirst() 315 auto dir = opendir(name.data()); in GetFilePath() 336 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path.c_str()), &closedir); in ChangeOwnerRecursive()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | cjson_parser.cpp | 338 intptr_t opendir; in GetWinFiles() local 345 if ((opendir = _findfirst(fileDir, &file)) == -1) { in GetWinFiles() 350 while ((_findnext(opendir, &file) == 0) && (fileCount < UINT8_MAX)) { in GetWinFiles() 363 _findclose(opendir); in GetWinFiles() 371 if ((dp = opendir(filePath_)) == nullptr) { in GetFiles()
|
/foundation/ability/dmsfwk_lite/moduletest/dtbschedmgr_lite/source/ |
H A D | permission_test.cpp | 90 DIR *dir = opendir(NATIVE_APPID_DIR); in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | rs_dir_asset_provider.h | 134 if (nullptr == (dp = opendir(dirPath.c_str()))) {
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | file_asset_provider_impl.cpp | 125 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(assetPath.c_str()), closedir); in GetAssetList()
|
/foundation/multimedia/media_foundation/src/osal/filesystem/ |
H A D | file_system.cpp | 137 if ((directory = opendir(path.c_str())) != nullptr) { in RemoveFilesInDir()
|
/foundation/multimodalinput/input/service/libinput_adapter/src/ |
H A D | hotplug_detector.cpp | 85 auto* dir = opendir(INPUT_DEVICES_PATH); in Scan()
|
/foundation/filemanagement/app_file_service/tools/backup_tool/src/ |
H A D | tools_op.cpp | 96 DIR *dir = opendir(path.c_str()); in GetFIleNums()
|