Home
last modified time | relevance | path

Searched refs:servlen (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Modules/
Dgetnameinfo.c89 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument
95 size_t servlen;
136 if (serv == NULL || servlen == 0) {
140 if (strlen(numserv) > servlen)
146 if (strlen(sp->s_name) > servlen)
/third_party/musl/src/network/
Dgetnameinfo.c123 char *restrict serv, socklen_t servlen, in getnameinfo() argument
185 if (serv && servlen) { in getnameinfo()
193 if (strlen(p) >= servlen) in getnameinfo()
/third_party/musl/porting/liteos_a/user/src/network/
Dgetnameinfo.c123 char *restrict serv, socklen_t servlen, in getnameinfo() argument
185 if (serv && servlen) { in getnameinfo()
193 if (strlen(p) >= servlen) in getnameinfo()
/third_party/ffmpeg/libavformat/
Dos_support.c143 char *serv, int servlen, int flags) in ff_getnameinfo() argument
171 if (serv && servlen > 0) { in ff_getnameinfo()
174 snprintf(serv, servlen, "%d", ntohs(sin->sin_port)); in ff_getnameinfo()
Dnetwork.h216 char *serv, int servlen, int flags);
/third_party/boost/libs/asio/include/boost/asio/detail/
Dsocket_ops.hpp351 std::size_t servlen, int flags, boost::system::error_code& ec);
356 std::size_t servlen, int sock_type, boost::system::error_code& ec);
362 std::size_t servlen, int sock_type, boost::system::error_code& ec);
/third_party/boost/boost/asio/detail/
Dsocket_ops.hpp351 std::size_t servlen, int flags, boost::system::error_code& ec);
356 std::size_t servlen, int sock_type, boost::system::error_code& ec);
362 std::size_t servlen, int sock_type, boost::system::error_code& ec);
/third_party/boost/boost/asio/detail/impl/
Dsocket_ops.ipp3539 std::size_t hostlen, char* serv, std::size_t servlen, int flags,
3618 if (serv && servlen > 0)
3622 if (servlen < 6)
3627 sprintf_s(serv, servlen, "%u", ntohs(port));
3641 gai_strcpy(serv, sptr->s_name, servlen);
3645 if (servlen < 6)
3650 sprintf_s(serv, servlen, "%u", ntohs(port));
3813 char* serv, std::size_t servlen, int flags, boost::system::error_code& ec)
3821 serv, static_cast<DWORD>(servlen), flags);
3834 serv, static_cast<DWORD>(servlen), flags);
[all …]
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dsocket_ops.ipp3539 std::size_t hostlen, char* serv, std::size_t servlen, int flags,
3618 if (serv && servlen > 0)
3622 if (servlen < 6)
3627 sprintf_s(serv, servlen, "%u", ntohs(port));
3641 gai_strcpy(serv, sptr->s_name, servlen);
3645 if (servlen < 6)
3650 sprintf_s(serv, servlen, "%u", ntohs(port));
3813 char* serv, std::size_t servlen, int flags, boost::system::error_code& ec)
3821 serv, static_cast<DWORD>(servlen), flags);
3834 serv, static_cast<DWORD>(servlen), flags);
[all …]
/third_party/nghttp2/src/
Dutil.cc706 auto servlen = strlen(serv.data()); in to_numeric_addr() local
711 s.resize(hostlen + servlen + 2 + 1); in to_numeric_addr()
717 s.resize(hostlen + servlen + 1); in to_numeric_addr()
722 std::copy_n(serv.data(), servlen, p); in to_numeric_addr()
/third_party/node/deps/cares/
Dacinclude.m4557 $gni_arg46 servlen=0;
559 int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
Dconfigure33406 $gni_arg46 servlen=0;
33408 int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);