Home
last modified time | relevance | path

Searched refs:iaddr (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ltp/testcases/cve/
Dcve-2017-2671.c46 static struct sockaddr_in iaddr, uaddr; variable
51 iaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in setup()
52 uaddr = iaddr; in setup()
53 iaddr.sin_family = AF_INET; in setup()
97 (struct sockaddr *)&iaddr, sizeof(iaddr)); in run()
/third_party/glib/gio/
Dgsocketaddress.c223 GInetAddress *iaddr; in g_socket_address_new_from_native() local
229 iaddr = g_inet_address_new_from_bytes ((guint8 *) &(addr->sin_addr), AF_INET); in g_socket_address_new_from_native()
230 sockaddr = g_inet_socket_address_new (iaddr, g_ntohs (addr->sin_port)); in g_socket_address_new_from_native()
231 g_object_unref (iaddr); in g_socket_address_new_from_native()
238 GInetAddress *iaddr; in g_socket_address_new_from_native() local
251 iaddr = g_inet_address_new_from_bytes ((guint8 *) &(sin_addr.sin_addr), AF_INET); in g_socket_address_new_from_native()
255 iaddr = g_inet_address_new_from_bytes ((guint8 *) &(addr->sin6_addr), AF_INET6); in g_socket_address_new_from_native()
259 "address", iaddr, in g_socket_address_new_from_native()
264 g_object_unref (iaddr); in g_socket_address_new_from_native()
Dgsimpleproxyresolver.c158 GInetAddress *iaddr; in reparse_ignore_hosts() local
222 iaddr = g_inet_address_new_from_string (host); in reparse_ignore_hosts()
223 if (iaddr) in reparse_ignore_hosts()
224 g_object_unref (iaddr); in reparse_ignore_hosts()
267 GInetAddress *iaddr; in ignore_host() local
269 iaddr = g_inet_address_new_from_string (host); in ignore_host()
270 if (iaddr) in ignore_host()
276 if (g_inet_address_mask_matches (mask, iaddr)) in ignore_host()
283 g_object_unref (iaddr); in ignore_host()
Dginetsocketaddress.c412 GInetAddress *iaddr; in g_inet_socket_address_new_from_string() local
454 iaddr = g_inet_address_new_from_string (address); in g_inet_socket_address_new_from_string()
455 if (!iaddr) in g_inet_socket_address_new_from_string()
458 g_warn_if_fail (g_inet_address_get_family (iaddr) == G_SOCKET_FAMILY_IPV4); in g_inet_socket_address_new_from_string()
460 saddr = g_inet_socket_address_new (iaddr, port); in g_inet_socket_address_new_from_string()
461 g_object_unref (iaddr); in g_inet_socket_address_new_from_string()
Dgnetworkmonitorbase.c187 GInetAddress *iaddr; in g_network_monitor_base_can_reach_sockaddr() local
194 iaddr = g_inet_socket_address_get_address (G_INET_SOCKET_ADDRESS (sockaddr)); in g_network_monitor_base_can_reach_sockaddr()
199 if (g_inet_address_mask_matches (mask, iaddr)) in g_network_monitor_base_can_reach_sockaddr()
/third_party/glib/gio/tests/
Dsocket-listener.c56 GInetAddress *iaddr; in test_event_signal() local
61 iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4); in test_event_signal()
62 saddr = g_inet_socket_address_new (iaddr, 0); in test_event_signal()
63 g_object_unref (iaddr); in test_event_signal()
Dsocket-service.c56 GInetAddress *iaddr; in test_start_stop() local
62 iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4); in test_start_stop()
63 saddr = g_inet_socket_address_new (iaddr, 0); in test_start_stop()
64 g_object_unref (iaddr); in test_start_stop()
472 GInetAddress *iaddr; in test_read_write_async_internal() local
479 iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4); in test_read_write_async_internal()
480 saddr = g_inet_socket_address_new (iaddr, 0); in test_read_write_async_internal()
481 g_object_unref (iaddr); in test_read_write_async_internal()
Dsocket.c121 GInetAddress *iaddr; in create_server_full() local
153 iaddr = g_inet_address_new_any (family); in create_server_full()
155 iaddr = g_inet_address_new_loopback (family); in create_server_full()
156 addr = g_inet_socket_address_new (iaddr, 0); in create_server_full()
157 g_object_unref (iaddr); in create_server_full()
839 GInetAddress *iaddr; in test_ip_sync_dgram_timeouts() local
855 iaddr = g_inet_address_new_loopback (family); in test_ip_sync_dgram_timeouts()
856 addr = g_inet_socket_address_new (iaddr, 0); in test_ip_sync_dgram_timeouts()
857 g_object_unref (iaddr); in test_ip_sync_dgram_timeouts()
1076 GInetAddress *iaddr; in test_ipv6_v4mapped() local
[all …]
Dpollable.c332 GInetAddress *iaddr; in test_pollable_socket() local
339 iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4); in test_pollable_socket()
340 saddr = g_inet_socket_address_new (iaddr, 0); in test_pollable_socket()
341 g_object_unref (iaddr); in test_pollable_socket()
Dproxy-test.c591 GInetAddress *iaddr; in create_proxy() local
603 iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4); in create_proxy()
604 addr = g_inet_socket_address_new (iaddr, 0); in create_proxy()
605 g_object_unref (iaddr); in create_proxy()
682 GInetAddress *iaddr; in create_server() local
693 iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4); in create_server()
694 addr = g_inet_socket_address_new (iaddr, 0); in create_server()
695 g_object_unref (iaddr); in create_server()
Dnetwork-address.c191 GInetAddress *iaddr; in test_resolve_address_gresolver() local
205 iaddr = addrs->data; in test_resolve_address_gresolver()
206 g_assert_true (G_IS_INET_ADDRESS (iaddr)); in test_resolve_address_gresolver()
208 g_object_unref (iaddr); in test_resolve_address_gresolver()
279 GInetAddress *iaddr; in test_scope_id() local
294 iaddr = g_inet_socket_address_get_address (isaddr); in test_scope_id()
295 tostring = g_inet_address_to_string (iaddr); in test_scope_id()
Dconverter-stream.c918 GInetAddress *iaddr; in make_socketpair() local
925 iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4); in make_socketpair()
926 saddr = g_inet_socket_address_new (iaddr, 0); in make_socketpair()
927 g_object_unref (iaddr); in make_socketpair()
/third_party/boost/libs/intrusive/test/
Diterator_test.hpp208 I *iaddr = &ittmp; in test_iterator_forward_functions() local
209 BOOST_TEST(&(++ittmp) == iaddr); in test_iterator_forward_functions()
237 I*iaddr = &ittmp; in test_iterator_bidirectional_functions() local
238 BOOST_TEST(&(--ittmp) == iaddr); in test_iterator_bidirectional_functions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstr64Bit.td411 (PPCdynalloc i64:$negsize, iaddr:$fpsi))]>;
413 [(set i64:$result, (PPCdynareaoffset iaddr:$fpsi))]>;
923 [(set i64:$rD, (sextloadi16 iaddr:$src))]>,
978 [(set i64:$rD, (zextloadi8 iaddr:$src))]>;
981 [(set i64:$rD, (zextloadi16 iaddr:$src))]>;
984 [(set i64:$rD, (zextloadi32 iaddr:$src))]>, isPPC64;
1207 [(truncstorei8 i64:$rS, iaddr:$src)]>;
1210 [(truncstorei16 i64:$rS, iaddr:$src)]>;
1213 [(truncstorei32 i64:$rS, iaddr:$src)]>;
1371 def : Pat<(zextloadi1 iaddr:$src),
[all …]
DPPCInstrInfo.td908 def iaddr : ComplexPattern<iPTR, 2, "SelectAddrImm", [], []>; // "stb"
929 /// This is just the offset part of iaddr, used for preinc.
1318 (PPCdynalloc i32:$negsize, iaddr:$fpsi))]>;
1320 [(set i32:$result, (PPCdynareaoffset iaddr:$fpsi))]>;
1651 [(PPCbctrl_load_toc iaddr:$src)]>, Requires<[In32BitMode]>;
1976 [(set i32:$rD, (zextloadi8 iaddr:$src))]>;
1979 [(set i32:$rD, (sextloadi16 iaddr:$src))]>,
1983 [(set i32:$rD, (zextloadi16 iaddr:$src))]>;
1986 [(set i32:$rD, (load iaddr:$src))]>;
1991 [(set f32:$rD, (load iaddr:$src))]>;
[all …]
DPPCInstrSPE.td465 [(set f64:$RT, (load iaddr:$dst))]>;
756 [(store f64:$RT, iaddr:$dst)]>;
808 [(set f32:$rD, (load iaddr:$src))]>;
814 [(store f32:$rS, iaddr:$src)]>;
823 def : Pat<(f64 (extloadf32 iaddr:$src)),
824 (COPY_TO_REGCLASS (SPELWZ iaddr:$src), SPERC)>;
/third_party/pulseaudio/src/modules/rtp/
Drtp-gstreamer.c81 GInetAddress *iaddr; in init_send_pipeline() local
108 iaddr = g_inet_socket_address_get_address(addr); in init_send_pipeline()
109 addr_str = g_inet_address_to_string(iaddr); in init_send_pipeline()
/third_party/e2fsprogs/tests/progs/
Dtest_rel_cmds.ct68 irel_add_ref, iaddref, iaddr;
/third_party/libsoup/tests/
Dwebsocket-test.c1441 GInetAddress *iaddr; in test_client_context_got_server_connection() local
1446 iaddr = g_inet_socket_address_get_address (G_INET_SOCKET_ADDRESS (addr)); in test_client_context_got_server_connection()
1447 str = g_inet_address_to_string (iaddr); in test_client_context_got_server_connection()
1448 if (g_inet_address_get_family (iaddr) == G_SOCKET_FAMILY_IPV4) in test_client_context_got_server_connection()
1455 iaddr = g_inet_socket_address_get_address (G_INET_SOCKET_ADDRESS (addr)); in test_client_context_got_server_connection()
1456 str = g_inet_address_to_string (iaddr); in test_client_context_got_server_connection()
1457 if (g_inet_address_get_family (iaddr) == G_SOCKET_FAMILY_IPV4) in test_client_context_got_server_connection()
Dserver-test.c418 GInetSocketAddress *iaddr; in multi_server_callback() local
423 iaddr = G_INET_SOCKET_ADDRESS (addr); in multi_server_callback()
428 addrstr = g_inet_address_to_string (g_inet_socket_address_get_address (iaddr)); in multi_server_callback()
432 g_assert_cmpint (g_inet_socket_address_get_port (iaddr), ==, uri->port); in multi_server_callback()
/third_party/nghttp2/src/
Dshrpx.cc882 auto &iaddr = iaddrs[idx++]; in get_inherited_addr_from_config() local
885 iaddr.host = addr.host; in get_inherited_addr_from_config()
886 iaddr.host_unix = true; in get_inherited_addr_from_config()
887 iaddr.fd = addr.fd; in get_inherited_addr_from_config()
892 iaddr.port = addr.port; in get_inherited_addr_from_config()
893 iaddr.fd = addr.fd; in get_inherited_addr_from_config()
923 iaddr.host = make_string_ref(balloc, StringRef{host.data()}); in get_inherited_addr_from_config()
3165 [&addr](const InheritedAddr &iaddr) { return addr.fd == iaddr.fd; }); in close_not_inherited_fd() argument
/third_party/gstreamer/gstplugins_good/gst/udp/
Dgstudpsrc.c921 GInetAddress *iaddr = g_inet_socket_address_get_address (udpsrc->addr); local
923 gsize iaddr_size = g_inet_address_get_native_size (iaddr);
924 const guint8 *iaddr_bytes = g_inet_address_to_bytes (iaddr);
/third_party/libsoup/libsoup/
Dsoup-server.c2433 GInetAddress *iaddr; in soup_client_context_get_host() local
2437 iaddr = g_inet_socket_address_get_address (G_INET_SOCKET_ADDRESS (addr)); in soup_client_context_get_host()
2438 client->remote_ip = g_inet_address_to_string (iaddr); in soup_client_context_get_host()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/sdp/
Dgstsdpmessage.c467 GInetAddress *iaddr; in gst_sdp_address_is_multicast() local
476 if ((iaddr = g_inet_address_new_from_string (addr)) == NULL) in gst_sdp_address_is_multicast()
479 ret = g_inet_address_get_is_multicast (iaddr); in gst_sdp_address_is_multicast()
480 g_object_unref (iaddr); in gst_sdp_address_is_multicast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenDAGISel.inc1778 …// Src: (st f32:{ *:[f32] }:$rS, iaddr:{ *:[iPTR] }:$dst)<<P:Predicate_unindexedstore>><<P:Predica…
1779 // Dst: (STFS f32:{ *:[f32] }:$rS, iaddr:{ *:[iPTR] }:$dst)
1795 …// Src: (st f32:{ *:[f32] }:$rS, iaddr:{ *:[iPTR] }:$src)<<P:Predicate_unindexedstore>><<P:Predica…
1796 // Dst: (SPESTW f32:{ *:[f32] }:$rS, iaddr:{ *:[iPTR] }:$src)
1855 …// Src: (st f64:{ *:[f64] }:$rS, iaddr:{ *:[iPTR] }:$dst)<<P:Predicate_unindexedstore>><<P:Predica…
1856 // Dst: (STFD f64:{ *:[f64] }:$rS, iaddr:{ *:[iPTR] }:$dst)
1872 …// Src: (st f64:{ *:[f64] }:$RT, iaddr:{ *:[iPTR] }:$dst)<<P:Predicate_unindexedstore>><<P:Predica…
1873 // Dst: (EVSTDD f64:{ *:[f64] }:$RT, iaddr:{ *:[iPTR] }:$dst)
1946 …// Src: (st i32:{ *:[i32] }:$rS, iaddr:{ *:[iPTR] }:$dst)<<P:Predicate_unindexedstore>><<P:Predica…
1947 // Dst: (STB i32:{ *:[i32] }:$rS, iaddr:{ *:[iPTR] }:$dst)
[all …]

12