Lines Matching defs:dir
188 DIR *dir = nullptr;
190 if ((dir = opendir(USER_CONFIG_DIR)) == nullptr) {
191 NETMGR_EXT_LOG_E("Read user configuration open dir error dir=[%{public}s]", USER_CONFIG_DIR);
195 while ((ptr = readdir(dir)) != nullptr) {
219 closedir(dir);
230 NETMGR_EXT_LOG_E("create dir failed");
401 DIR *dir = nullptr;
404 if ((dir = opendir(dirPath.c_str())) == nullptr) {
405 NETMGR_EXT_LOG_E("EthernetConfiguration DelDir open user dir failed!");
408 while ((entry = readdir(dir)) != nullptr) {
415 closedir(dir);