Searched refs:serv_file (Results 1 – 6 of 6) sorted by relevance
38 char serv_file[] = "ssh 22/tcp\n"; in GetServByPortTest() local40 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServByPortTest()41 int streamLen[] = {sizeof(serv_file)}; in GetServByPortTest()
38 char host_file[] = "127.0.0.2 example.com\n", serv_file[] = "ftp 21/tcp\n"; in AddrInfoTest() local40 char *streamList[] = {host_file, serv_file}; in AddrInfoTest()41 int streamLen[] = {sizeof(host_file), sizeof(serv_file)}; in AddrInfoTest()
35 char serv_file[] = "echo 7/tcp\n" in GetServByNameTest() local43 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServByNameTest()44 int streamLen[] = {sizeof(serv_file)}; in GetServByNameTest()
35 char serv_file[] = "ssh 22/tcp\n"; in GetServByNameRTest() local37 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServByNameRTest()38 int streamLen[] = {sizeof(serv_file)}; in GetServByNameRTest()
38 char serv_file[] = "ssh 22/tcp\n"; in GetServByPortRTest() local40 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServByPortRTest()41 int streamLen[] = {sizeof(serv_file)}; in GetServByPortRTest()
35 char serv_file[] = "tcpmux 1/tcp # TCP port service multiplexer\n" in GetServEntTest() local43 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServEntTest()44 int streamLen[] = {sizeof(serv_file)}; in GetServEntTest()