Home
last modified time | relevance | path

Searched refs:serv_file (Results 1 – 6 of 6) sorted by relevance

/kernel/liteos_a/testsuites/unittest/net/netdb/full/
Dnet_netdb_test_011.cpp38 char serv_file[] = "ssh 22/tcp\n"; in GetServByPortTest() local
40 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServByPortTest()
41 int streamLen[] = {sizeof(serv_file)}; in GetServByPortTest()
Dnet_netdb_test_002.cpp38 char host_file[] = "127.0.0.2 example.com\n", serv_file[] = "ftp 21/tcp\n"; in AddrInfoTest() local
40 char *streamList[] = {host_file, serv_file}; in AddrInfoTest()
41 int streamLen[] = {sizeof(host_file), sizeof(serv_file)}; in AddrInfoTest()
Dnet_netdb_test_016.cpp35 char serv_file[] = "echo 7/tcp\n" in GetServByNameTest() local
43 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServByNameTest()
44 int streamLen[] = {sizeof(serv_file)}; in GetServByNameTest()
Dnet_netdb_test_017.cpp35 char serv_file[] = "ssh 22/tcp\n"; in GetServByNameRTest() local
37 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServByNameRTest()
38 int streamLen[] = {sizeof(serv_file)}; in GetServByNameRTest()
Dnet_netdb_test_012.cpp38 char serv_file[] = "ssh 22/tcp\n"; in GetServByPortRTest() local
40 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServByPortRTest()
41 int streamLen[] = {sizeof(serv_file)}; in GetServByPortRTest()
Dnet_netdb_test_018.cpp35 char serv_file[] = "tcpmux 1/tcp # TCP port service multiplexer\n" in GetServEntTest() local
43 char *streamList[] = {static_cast<char *>(serv_file)}; in GetServEntTest()
44 int streamLen[] = {sizeof(serv_file)}; in GetServEntTest()