Home
last modified time | relevance | path

Searched refs:dirPtr (Results 1 – 3 of 3) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
Dfile_util.cpp81 DIR* dirPtr = opendir(dir.c_str()); in ForceRemoveDirectory() local
82 if (dirPtr == nullptr) { in ForceRemoveDirectory()
86 while ((dirInfo = readdir(dirPtr)) != nullptr) { in ForceRemoveDirectory()
93 closedir(dirPtr); in ForceRemoveDirectory()
97 closedir(dirPtr); in ForceRemoveDirectory()
109 DIR* dirPtr = opendir(dir.c_str()); in GetDirFiles() local
110 if (dirPtr == nullptr) { in GetDirFiles()
115 while ((ent = readdir(dirPtr)) != nullptr) { in GetDirFiles()
124 closedir(dirPtr); in GetDirFiles()
/base/hiviewdfx/hiview/service/unified_collection/
Dxcollect_service.cpp140 DIR *dirPtr = opendir(dirName.c_str()); in RemoveDir() local
141 if (!dirPtr) { in RemoveDir()
146 while ((ptr = readdir(dirPtr)) != nullptr) { in RemoveDir()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_dump.cpp1076 DIR* dirPtr = opendir(DEFAULT_OUTPUT_DIR.c_str()); in ClearRemainingTrace() local
1077 if (dirPtr == nullptr) { in ClearRemainingTrace()
1082 while ((ptr = readdir(dirPtr)) != nullptr) { in ClearRemainingTrace()
1092 closedir(dirPtr); in ClearRemainingTrace()