Home
last modified time | relevance | path

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

/third_party/iptables/extensions/
Dlibip6t_rt.c72 parse_addresses(const char *addrstr, struct in6_addr *addrp) in parse_addresses() argument
77 buffer = strdup(addrstr); in parse_addresses()
/third_party/libcoap/examples/
Dcoap-client.c222 static char addrstr[256]; in resolve_address() local
225 memset(addrstr, 0, sizeof(addrstr)); in resolve_address()
227 memcpy(addrstr, server->s, server->length); in resolve_address()
229 memcpy(addrstr, "localhost", 9); in resolve_address()
235 error = getaddrinfo(addrstr, NULL, &hints, &res); in resolve_address()
Dcoap-server.c602 static char addrstr[256]; in resolve_address() local
605 memset(addrstr, 0, sizeof(addrstr)); in resolve_address()
607 memcpy(addrstr, server->s, server->length); in resolve_address()
609 memcpy(addrstr, "localhost", 9); in resolve_address()
615 error = getaddrinfo(addrstr, NULL, &hints, &res); in resolve_address()
/third_party/libnl/lib/
Daddr.c299 int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result) in nl_addr_parse() argument
305 str = strdup(addrstr); in nl_addr_parse()
/third_party/libsoup/tests/
Dserver-test.c420 char *uristr, *addrstr; in multi_server_callback() local
428 addrstr = g_inet_address_to_string (g_inet_socket_address_get_address (iaddr)); in multi_server_callback()
429 g_assert_cmpstr (addrstr, ==, uri->host); in multi_server_callback()
430 g_free (addrstr); in multi_server_callback()
/third_party/python/Lib/test/test_email/
Dtest_email.py3223 addrstr = ('"\'foo@example.com\' '
3225 self.assertEqual(utils.parseaddr(addrstr), addr)
3226 self.assertEqual(utils.formataddr(addr), addrstr)