Lines Matching refs:WRAP

68 constexpr const char *WRAP = "\n";  variable
489 const auto &device = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseDevice()
500 const auto &bootProto = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseBootProto()
521 ipAddresses = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
527 netMasks = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
533 gateways = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
539 routes = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
545 routeMasks = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
551 dnsServers = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
567 cfg->httpProxy_.SetHost(fileContent.substr(pos, fileContent.find(WRAP, pos) - pos)); in ParserFileHttpProxy()
573 …uint32_t port = CommonUtils::StrToUint(fileContent.substr(pos, fileContent.find(WRAP, pos) - pos)); in ParserFileHttpProxy()
580 auto exclusions = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParserFileHttpProxy()
645 fileContent = fileContent + KEY_DEVICE + iface + WRAP; in GenCfgContent()
647 fileContent = fileContent + KEY_BOOTPROTO + mode + WRAP; in GenCfgContent()
662 fileContent = fileContent + KEY_IPADDR + ipAddresses + WRAP; in GenCfgContent()
663 fileContent = fileContent + KEY_NETMASK + netMasks + WRAP; in GenCfgContent()
664 fileContent = fileContent + KEY_GATEWAY + gateways + WRAP; in GenCfgContent()
665 fileContent = fileContent + KEY_ROUTE + routes + WRAP; in GenCfgContent()
666 fileContent = fileContent + KEY_ROUTE_NETMASK + routeMasks + WRAP; in GenCfgContent()
667 fileContent = fileContent + KEY_DNS + dnsServers + WRAP; in GenCfgContent()
681 fileContent = fileContent + KEY_PROXY_HOST + cfg->httpProxy_.GetHost() + WRAP; in GenHttpProxyContent()
682 fileContent = fileContent + KEY_PROXY_PORT + std::to_string(cfg->httpProxy_.GetPort()) + WRAP; in GenHttpProxyContent()
683 fileContent = fileContent + KEY_PROXY_EXCLUSIONS + exclusions + WRAP; in GenHttpProxyContent()