Home
last modified time | relevance | path

Searched refs:host_name (Results 1 – 25 of 54) sorted by relevance

123

/third_party/boost/libs/asio/include/boost/asio/ip/
Dbasic_resolver_results.hpp127 const std::string& host_name, const std::string& service_name) in create() argument
133 std::string actual_host_name = host_name; in create()
161 const std::string& host_name, const std::string& service_name) in create() argument
167 endpoint, host_name, service_name)); in create()
175 const std::string& host_name, const std::string& service_name) in create() argument
185 *ep_iter, host_name, service_name)); in create()
197 const std::string& host_name, const std::string& service_name)
225 host_name, service_name));
Dhost_name.hpp29 BOOST_ASIO_DECL std::string host_name();
32 BOOST_ASIO_DECL std::string host_name(boost::system::error_code& ec);
Dbasic_resolver_entry.hpp74 std::string host_name() const in host_name() function in boost::asio::ip::basic_resolver_entry
81 std::basic_string<char, std::char_traits<char>, Allocator> host_name( in host_name() function in boost::asio::ip::basic_resolver_entry
/third_party/boost/boost/asio/ip/
Dbasic_resolver_results.hpp127 const std::string& host_name, const std::string& service_name) in create() argument
133 std::string actual_host_name = host_name; in create()
161 const std::string& host_name, const std::string& service_name) in create() argument
167 endpoint, host_name, service_name)); in create()
175 const std::string& host_name, const std::string& service_name) in create() argument
185 *ep_iter, host_name, service_name)); in create()
197 const std::string& host_name, const std::string& service_name)
225 host_name, service_name));
Dhost_name.hpp29 BOOST_ASIO_DECL std::string host_name();
32 BOOST_ASIO_DECL std::string host_name(boost::system::error_code& ec);
Dbasic_resolver_entry.hpp74 std::string host_name() const in host_name() function in boost::asio::ip::basic_resolver_entry
81 std::basic_string<char, std::char_traits<char>, Allocator> host_name( in host_name() function in boost::asio::ip::basic_resolver_entry
/third_party/boost/libs/asio/test/ip/
Dhost_name.cpp39 std::string host_name = ip::host_name(); in test() local
40 std::string host_name2 = ip::host_name(ec); in test()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dresolver_service.hpp80 socket_ops::getaddrinfo(qry.host_name().c_str(), in resolve()
85 address_info, qry.host_name(), qry.service_name()); in resolve()
110 char host_name[NI_MAXHOST]; in resolve() local
113 host_name, NI_MAXHOST, service_name, NI_MAXSERV, in resolve()
117 endpoint, host_name, service_name); in resolve()
Dwinrt_resolver_service.hpp123 winrt_utils::host_name(query.host_name()), in resolve()
131 query.host_name(), query.service_name()); in resolve()
163 winrt_utils::host_name(query.host_name()), in async_resolve()
Dresolve_endpoint_op.hpp83 char host_name[NI_MAXHOST]; in do_complete() local
86 o->endpoint_.size(), host_name, NI_MAXHOST, service_name, NI_MAXSERV, in do_complete()
88 o->results_ = results_type::create(o->endpoint_, host_name, service_name); in do_complete()
Dresolve_query_op.hpp92 o->query_.host_name().c_str(), o->query_.service_name().c_str(), in do_complete()
123 o->query_.host_name(), o->query_.service_name()); in do_complete()
/third_party/boost/boost/asio/detail/
Dresolver_service.hpp80 socket_ops::getaddrinfo(qry.host_name().c_str(), in resolve()
85 address_info, qry.host_name(), qry.service_name()); in resolve()
110 char host_name[NI_MAXHOST]; in resolve() local
113 host_name, NI_MAXHOST, service_name, NI_MAXSERV, in resolve()
117 endpoint, host_name, service_name); in resolve()
Dwinrt_resolver_service.hpp123 winrt_utils::host_name(query.host_name()), in resolve()
131 query.host_name(), query.service_name()); in resolve()
163 winrt_utils::host_name(query.host_name()), in async_resolve()
Dresolve_endpoint_op.hpp83 char host_name[NI_MAXHOST]; in do_complete() local
86 o->endpoint_.size(), host_name, NI_MAXHOST, service_name, NI_MAXSERV, in do_complete()
88 o->results_ = results_type::create(o->endpoint_, host_name, service_name); in do_complete()
Dresolve_query_op.hpp92 o->query_.host_name().c_str(), o->query_.service_name().c_str(), in do_complete()
123 o->query_.host_name(), o->query_.service_name()); in do_complete()
/third_party/boost/boost/asio/ip/impl/
Dhost_name.ipp2 // ip/impl/host_name.ipp
22 #include <boost/asio/ip/host_name.hpp>
30 std::string host_name()
42 std::string host_name(boost::system::error_code& ec)
/third_party/boost/libs/asio/include/boost/asio/ip/impl/
Dhost_name.ipp2 // ip/impl/host_name.ipp
22 #include <boost/asio/ip/host_name.hpp>
30 std::string host_name()
42 std::string host_name(boost::system::error_code& ec)
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/distribute/
Dmpi_collective_group.cc111 char host_name[MAX_HOSTNAME_LEN] = {0}; in AssignLocalRankID() local
112 CHECK_RET(gethostname(host_name, MAX_HOSTNAME_LEN), MPI_SUCCESS, "Getting host name failed!"); in AssignLocalRankID()
113 size_t host_hash = std::hash<std::string>()(host_name); in AssignLocalRankID()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/distribution/
Dmpi_wrapper.cc138 char host_name[MAX_HOSTNAME_LEN] = {0}; in AssignLocalRankID() local
139 CHECK_RET(gethostname(host_name, MAX_HOSTNAME_LEN), 0, "Getting host name failed."); in AssignLocalRankID()
140 size_t host_hash = std::hash<std::string>()(host_name); in AssignLocalRankID()
/third_party/toybox/toys/pending/
Dbootchartd.c195 char host_name[32]; in stop_logging() local
204 gethostname(host_name, sizeof(host_name)); in stop_logging()
210 fprintf(hdr_fp, "title = Boot chart for %s (%s)\n", host_name, toybuf); in stop_logging()
Darp.c246 char *host_name = "?"; in arp_main() local
257 else if (!ip_to_host(&sa, NI_NAMEREQD)) host_name = toybuf; in arp_main()
260 printf("%s (%s) at" , host_name, ip); in arp_main()
/third_party/ltp/testcases/network/rpc/basic_tests/rpc01/
Drpc1.c18 char host_name[100]; variable
103 gethostname(host_name, 100); in main()
104 if ((hp = gethostbyname(host_name)) != NULL) in main()
/third_party/ltp/
Dltpmenu321 host_name=" "
377 host_name=$(cat /tmp/runltp.out.$$ | awk '{print $1}') ;
379 RHOST=$host_name ;
/third_party/boost/doc/html/boost_asio/example/cpp03/porthopper/
Dclient.cpp37 std::string host_name = argv[1]; in main() local
44 tcp::endpoint remote_endpoint = *resolver.resolve(host_name, port).begin(); in main()
/third_party/boost/libs/asio/example/cpp03/porthopper/
Dclient.cpp37 std::string host_name = argv[1]; in main() local
44 tcp::endpoint remote_endpoint = *resolver.resolve(host_name, port).begin(); in main()

123