Home
last modified time | relevance | path

Searched refs:gethostbyname (Results 1 - 25 of 71) sorted by relevance

123

/third_party/ltp/testcases/network/multicast/mc_opts/
H A Dmc_verify_opts_error.c22 struct hostent *hp, *gethostbyname(); in main()
39 hp = gethostbyname(argv[1]); in main()
H A Dmc_verify_opts.c28 struct hostent *hp, *gethostbyname(); in main()
47 hp = gethostbyname(argv[1]); in main()
/third_party/curl/lib/
H A Damigaos.c67 * gethostbyname().
152 /* gethostbyname() is not thread safe, so we need to reopen bsdsocket in Curl_ipv4_resolve_r()
159 h = gethostbyname((STRPTR)hostname); in Curl_ipv4_resolve_r()
169 h = gethostbyname(hostname); in Curl_ipv4_resolve_r()
/third_party/ltp/testcases/network/multicast/mc_commo/
H A Dmc_send.c24 struct hostent *hp, *gethostbyname(); in main()
49 if ((hp = gethostbyname(argv[2]))) { in main()
H A Dmc_recv.c29 struct hostent *hp, *gethostbyname(); in main()
48 if ((hp = gethostbyname(argv[2]))) in main()
/third_party/node/deps/openssl/openssl/
H A De_os.h282 struct hostent *gethostbyname(const char *name);
343 # define gethostbyname(name) gethostbyname((char*)name) macro
/third_party/openssl/
H A De_os.h282 struct hostent *gethostbyname(const char *name);
343 # define gethostbyname(name) gethostbyname((char*)name) macro
/third_party/ltp/testcases/network/multicast/mc_member/
H A Dmc_member_test.c26 struct hostent *hp, *gethostbyname(); in main()
75 hp = gethostbyname(interface); in main()
/third_party/musl/src/network/
H A Dgethostbyname.c8 struct hostent *gethostbyname(const char *name) in gethostbyname() function
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
H A Dnetwork_herror_test.cpp18 hostInfo = gethostbyname("nonexistenthostname"); in HWTEST_F()
20 herror("gethostbyname failed"); in HWTEST_F()
/third_party/musl/src/misc/
H A Dgethostid.c27 hst = gethostbyname(host); in gethostid()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dgethostid.c22 hst = gethostbyname(host); in gethostid()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/
H A Drpc_pmap_getport.c56 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
57 fprintf(stderr, "gethostbyname failed\n"); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getmaps/
H A Drpc_pmap_getmaps.c55 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
56 fprintf(stderr, "gethostbyname failed\n"); in main()
/third_party/ltp/testcases/network/rpc/basic_tests/rpc01/
H A Drpc1.c89 hp = gethostbyname(server); in main()
104 if ((hp = gethostbyname(host_name)) != NULL) in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/
H A Drpc_pmap_rmtcall.c62 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
63 fprintf(stderr, "gethostbyname failed\n"); in main()
H A Drpc_pmap_rmtcall_stress.c66 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
67 fprintf(stderr, "gethostbyname failed\n"); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/
H A Drpc_clnttcp_create.c60 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
H A Drpc_clnttcp_create_stress.c64 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
/third_party/toybox/toys/lsb/
H A Dhostname.c64 if (!(h = gethostbyname(toybuf))) in hostname_main()
65 error_exit("gethostbyname: %s", hstrerror(h_errno)); in hostname_main()
/third_party/curl/tests/server/
H A Dresolve.c143 /* gethostbyname() resolve */ in main()
146 he = gethostbyname(host); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/
H A Drpc_clntudp_bufcreate.c61 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/
H A Drpc_clntudp_create_stress.c65 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
H A Drpc_clntudp_create.c61 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
/third_party/ltp/testcases/network/sockets/
H A DltpClient.c115 hostEntry = gethostbyname(hostName); in main()
316 hostEntry = gethostbyname(hostName); in ltp_run_traceroute_tests()
343 hostEntry = gethostbyname(hostName); in ltp_run_ping_tests()

Completed in 11 milliseconds

123