Home
last modified time | relevance | path

Searched refs:strLine (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_config.cpp182 static int SetDhcpConfig(DhcpConfig *dhcpConfig, const char *strLine, int common) in SetDhcpConfig() argument
184 if ((strLine == nullptr) || (strlen(strLine) == 0)) { in SetDhcpConfig()
185 DHCP_LOGE("SetDhcpConfig param strLine is nullptr or len = 0!"); in SetDhcpConfig()
189 char *pSrc = (char *)strLine; in SetDhcpConfig()
231 char strLine[FILE_LINE_LEN_MAX] = {0}; in ParseConfigFile() local
232 while (fgets(strLine, FILE_LINE_LEN_MAX, fp) != nullptr) { in ParseConfigFile()
233 DHCP_LOGI("fgets strLine = %{public}s", strLine); in ParseConfigFile()
234 if ((strchr(strLine, '#') ! in ParseConfigFile()
[all...]
/foundation/multimodalinput/input/test/unittest/common/src/
H A Dsystem_info.cpp66 std::string strLine; in GetTaskPidFile() local
67 if (!std::getline(file, strLine)) { in GetTaskPidFile()
72 if (strLine.empty()) { in GetTaskPidFile()
76 if ((strLine.find(process_name)) == std::string::npos) { in GetTaskPidFile()
80 while (std::getline(file, strLine)) { in GetTaskPidFile()
81 if ((strLine.find("Pid")) != std::string::npos) { in GetTaskPidFile()
82 if (::sscanf_s(strLine.c_str(), "%*s%d", &pid, sizeof(pid)) != 1) { in GetTaskPidFile()
135 std::string strLine; in GetProcOccupy() local
136 std::getline(file, strLine); in GetProcOccupy()
137 if (strLine in GetProcOccupy()
176 std::string strLine; GetSystemCpuStatInfo() local
[all...]
/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_configuration.cpp178 std::string strLine; in ReadConfigFile() local
179 while (getline(infile, strLine)) { in ReadConfigFile()
180 strAll.push_back(strLine); in ReadConfigFile()
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_default_rule_parser.cpp280 std::string strLine; in ReadJsonFile() local
281 while (getline(infile, strLine)) { in ReadJsonFile()
282 strAll.append(strLine); in ReadJsonFile()
/foundation/multimodalinput/input/util/common/src/
H A Dutil.cpp339 std::string strLine; in ReadProConfigFile() local
345 while (std::getline(reader, strLine)) { in ReadProConfigFile()
346 const char* line = strLine.c_str(); in ReadProConfigFile()
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_configuration.cpp364 std::string strLine; in ReadJsonFile() local
371 while (getline(infile, strLine)) { in ReadJsonFile()
372 strAll.append(strLine); in ReadJsonFile()

Completed in 5 milliseconds