Lines Matching refs:file
4 * you may not use this file except in compliance with the License.
139 NETMGR_EXT_LOG_E("ReadConfigData config file is return empty!");
424 NETMGR_EXT_LOG_E("file name is error");
428 NETMGR_EXT_LOG_E("file path is error");
447 std::fstream file(realPath.c_str(), std::fstream::in);
448 if (!file.is_open()) {
449 NETMGR_EXT_LOG_E("EthernetConfiguration read file failed.err %{public}d %{public}s", errno, strerror(errno));
453 buffer << file.rdbuf();
455 file.close();
461 std::fstream file(filePath.c_str(), std::fstream::out | std::fstream::trunc);
462 if (!file.is_open()) {
463 NETMGR_EXT_LOG_E("EthernetConfiguration write file=%{public}s fstream failed. err %{public}d %{public}s",
467 file << fileContent.c_str();
468 file.close();