Searched refs:divider (Results 1 – 2 of 2) sorted by relevance
45 const char* divider = strchr(network, '/'); in parseNetwork() local46 if (divider == nullptr) { in parseNetwork()50 if (divider - network >= INET_ADDRSTRLEN) { in parseNetwork()57 strlcpy(buffer, network, divider - network + 1); in parseNetwork()66 ++divider; in parseNetwork()69 if (sscanf(divider, "%u%c", mask, &dummy) != 1) { in parseNetwork()71 network, divider); in parseNetwork()
95 const char* divider = ::strchr(args, ' '); in onCommand() local96 if (divider == nullptr) { in onCommand()101 std::string subCommand(args, divider); in onCommand()106 std::vector<std::string> subArgs = explode(divider + 1); in onCommand()