Home
last modified time | relevance | path

Searched refs:af (Results 1 – 25 of 851) sorted by relevance

12345678910>>...35

/external/clang/test/CodeGenCXX/
Dptr-to-datamember.cpp49 F A::* af = &A::Af; in test_aggr_pdata() local
50 pr(a1.*af); in test_aggr_pdata()
52 (a1.*af).iF = 100; in test_aggr_pdata()
53 (a1.*af).fF = 200.00; in test_aggr_pdata()
54 printf(" %d %f\n", (a1.*af).iF, (a1.*af).fF); in test_aggr_pdata()
55 pr(a1.*af); in test_aggr_pdata()
57 (a1.*af).iF++; in test_aggr_pdata()
58 (a1.*af).fF--; in test_aggr_pdata()
59 --(a1.*af).fF; in test_aggr_pdata()
60 pr(a1.*af); in test_aggr_pdata()
[all …]
/external/openssh/
Daddrmatch.c36 sa_family_t af; member
51 addr_unicast_masklen(int af) in addr_unicast_masklen() argument
53 switch (af) { in addr_unicast_masklen()
64 masklen_valid(int af, u_int masklen) in masklen_valid() argument
66 switch (af) { in masklen_valid()
92 xa->af = AF_INET; in addr_sa_to_xaddr()
98 xa->af = AF_INET6; in addr_sa_to_xaddr()
117 addr_netmask(int af, u_int l, struct xaddr *n) in addr_netmask() argument
121 if (masklen_valid(af, l) != 0 || n == NULL) in addr_netmask()
125 switch (af) { in addr_netmask()
[all …]
/external/python/cpython2/Mac/Demo/sound/
Dplayaiff.py7 af = aifc.open(fn, 'r') variable
8 print af.getparams()
9 print 'nframes =', af.getnframes()
10 print 'nchannels =', af.getnchannels()
11 print 'framerate =', af.getframerate()
12 nframes = min(af.getnframes(), 100000)
13 frames = af.readframes(nframes)
23 af.getnchannels(),
24 af.getframerate(),0,
33 af.getsampwidth()*8,
/external/openssh/openbsd-compat/
Dport-tun.c212 u_int32_t *af; in sys_tun_infilter() local
217 if (len <= 0 || len > (int)(sizeof(rbuf) - sizeof(*af))) in sys_tun_infilter()
222 af = (u_int32_t *)ptr; in sys_tun_infilter()
227 *af = AF_INET6; in sys_tun_infilter()
231 *af = AF_INET; in sys_tun_infilter()
240 af = (u_int32_t *)ptr; in sys_tun_infilter()
241 if (*af == htonl(AF_INET6)) in sys_tun_infilter()
242 *af = htonl(OPENBSD_AF_INET6); in sys_tun_infilter()
244 *af = htonl(OPENBSD_AF_INET); in sys_tun_infilter()
256 u_int32_t *af; in sys_tun_outfilter() local
[all …]
Dbindresvport.c55 int error, af; in bindresvport_sa() local
72 af = sa->sa_family; in bindresvport_sa()
75 af = sa->sa_family; in bindresvport_sa()
77 if (af == AF_INET) { in bindresvport_sa()
81 } else if (af == AF_INET6) { in bindresvport_sa()
89 sa->sa_family = af; in bindresvport_sa()
Drresvport.c58 rresvport_af(int *alport, sa_family_t af) in rresvport_af() argument
69 switch (af) { in rresvport_af()
82 sa->sa_family = af; in rresvport_af()
84 s = socket(af, SOCK_STREAM, 0); in rresvport_af()
99 sa->sa_family = af; in rresvport_af()
/external/iproute2/include/
Dutils.h116 int af_bit_len(int af);
117 int af_byte_len(int af);
119 const char *format_host_r(int af, int len, const void *addr,
121 const char *format_host(int af, int lne, const void *addr);
122 #define format_host_rta(af, rta) \ argument
123 format_host(af, RTA_PAYLOAD(rta), RTA_DATA(rta))
124 const char *rt_addr_n2a_r(int af, int len, const void *addr,
126 const char *rt_addr_n2a(int af, int len, const void *addr);
127 #define rt_addr_n2a_rta(af, rta) \ argument
128 rt_addr_n2a(af, RTA_PAYLOAD(rta), RTA_DATA(rta))
[all …]
/external/mesa3d/src/intel/tools/tests/gen4/
Dmul.expected9 41 01 60 00 bd 7f af 20 64 00 6e 00 00 00 80 37
12 41 01 60 00 be 7f af 20 64 00 6e 00 00 00 00 3f
16 41 09 60 00 a1 7f 48 23 af 03 6f 00 00 00 00 45
21 41 01 60 80 be 7f af 20 c4 00 6e 00 00 00 80 3b
24 41 01 60 80 be 77 af 20 64 00 6e 00 64 00 6e 00
31 41 01 60 80 be 5f af 20 84 00 6e 00 30 30 30 20
32 41 01 60 00 be 5f af 20 64 00 6e 00 54 54 30 20
36 41 01 60 00 be 77 af 20 64 00 6e 00 20 00 00 00
Dsel.expected14 02 01 61 80 be 7f af 20 64 00 6e 00 00 00 00 3f
16 02 01 61 80 be 77 af 20 24 00 0e 00 64 00 6e 00
19 02 01 61 00 21 0c af 20 64 00 6e 00 00 00 00 00
23 02 01 71 00 21 0c a8 20 af 00 6f 00 00 00 80 3f
/external/mesa3d/src/intel/tools/tests/gen4.5/
Dmul.expected10 41 01 60 00 bd 7f af 20 64 00 6e 00 00 00 80 37
13 41 01 60 00 be 7f af 20 64 00 6e 00 00 00 00 3f
17 41 09 60 00 a1 7f 48 23 af 03 6f 00 00 00 00 45
21 41 01 60 80 be 7f af 20 c4 00 6e 00 00 00 80 3b
32 41 01 60 80 be 5f af 20 84 00 6e 00 30 30 30 20
33 41 01 60 00 be 5f af 20 64 00 6e 00 54 54 30 20
37 41 01 60 00 be 77 af 20 64 00 6e 00 20 00 00 00
Dsel.expected16 02 01 61 80 be 77 af 20 24 00 0e 00 64 00 6e 00
21 02 01 61 00 21 0c af 20 64 00 6e 00 00 00 00 00
25 02 01 71 00 21 0c a8 20 af 00 6f 00 00 00 80 3f
31 02 01 61 80 be 7f af 20 c4 00 6e 00 00 00 80 bf
/external/scapy/scapy/
Dpton_ntop.py80 def inet_pton(af, addr): argument
86 return socket.inet_pton(af, addr)
89 return _INET_PTON[af](addr)
126 def inet_ntop(af, addr): argument
131 return socket.inet_ntop(af, addr)
134 return _INET_NTOP[af](addr)
136 raise ValueError("unknown address family %d" % af)
/external/curl/lib/
Dif2ip.c99 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, in Curl_if2ip() argument
118 if(iface->ifa_addr->sa_family == af) { in Curl_if2ip()
125 if(af == AF_INET6) { in Curl_if2ip()
164 ip = (char *) Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr)); in Curl_if2ip()
184 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, in Curl_if2ip() argument
197 if(!interf || (af != AF_INET)) in Curl_if2ip()
230 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, in Curl_if2ip() argument
234 (void) af; in Curl_if2ip()
Dinet_ntop.h27 char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size);
33 #define Curl_inet_ntop(af,addr,buf,size) \ argument
34 inet_ntop(af, addr, buf, (curl_socklen_t)size)
/external/mesa3d/src/intel/tools/tests/gen5/
Dmul.expected13 41 01 60 00 bd 7f af 20 64 00 6e 00 00 00 80 37
24 41 09 60 00 a1 7f 48 23 af 03 6f 00 00 00 00 45
28 41 01 60 00 be 7f af 20 64 00 6e 00 00 00 00 3f
29 41 01 60 80 be 7f af 20 c4 00 6e 00 00 00 80 3b
31 41 01 60 80 be 77 af 20 64 00 6e 00 64 00 6e 00
33 41 01 60 80 be 5f af 20 84 00 6e 00 30 30 30 20
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c130 format_reverse_addr (int af, const void * addr, int prefixlen, char * buf);
231 af_to_rr (int af);
440 int af,
473 int af,
530 int af,
545 int af,
556 int af,
632 int af,
684 int af, in _nss_mdns_gethostbyname2_r() argument
700 name, af, result_buf, buf, buflen, errnop, h_errnop in _nss_mdns_gethostbyname2_r()
[all …]
/external/iproute2/ip/
Dipaddrlabel.c100 int af = preferred_family; in ipaddrlabel_list() local
102 if (af == AF_UNSPEC) in ipaddrlabel_list()
103 af = AF_INET6; in ipaddrlabel_list()
110 if (rtnl_wilddump_request(&rth, af, RTM_GETADDRLABEL) < 0) { in ipaddrlabel_list()
217 int af = preferred_family; in ipaddrlabel_flush() local
219 if (af == AF_UNSPEC) in ipaddrlabel_flush()
220 af = AF_INET6; in ipaddrlabel_flush()
227 if (rtnl_wilddump_request(&rth, af, RTM_GETADDRLABEL) < 0) { in ipaddrlabel_flush()
/external/ltp/testcases/network/lib6/
Din6_01.c162 uint8_t af; in test_sockaddr_storage() local
164 af = psin->sin_family = AF_INET; in test_sockaddr_storage()
167 af = psin6->sin6_family = AF_INET6; in test_sockaddr_storage()
174 if (ss.ss_family == af) in test_sockaddr_storage()
176 sstab[i].addr, af == AF_INET ? "" : "6"); in test_sockaddr_storage()
179 sstab[i].addr, af, af == AF_INET ? "" : "6"); in test_sockaddr_storage()
/external/webrtc/webrtc/base/
Dnethelpers.cc102 const char* inet_ntop(int af, const void *src, char* dst, socklen_t size) { in inet_ntop() argument
104 return win32_inet_ntop(af, src, dst, size); in inet_ntop()
106 return ::inet_ntop(af, src, dst, size); in inet_ntop()
110 int inet_pton(int af, const char* src, void *dst) { in inet_pton() argument
112 return win32_inet_pton(af, src, dst); in inet_pton()
114 return ::inet_pton(af, src, dst); in inet_pton()
/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_windows.cc38 int grpc_inet_pton(int af, const char* src, void* dst) { in grpc_inet_pton() argument
39 return inet_pton(af, src, dst); in grpc_inet_pton()
42 const char* grpc_inet_ntop(int af, const void* src, char* dst, size_t size) { in grpc_inet_ntop() argument
44 return InetNtopA(af, (void*)src, dst, size); in grpc_inet_ntop()
Dsocket_utils_uv.cc40 int grpc_inet_pton(int af, const char* src, void* dst) { in grpc_inet_pton() argument
41 return inet_pton(af, src, dst); in grpc_inet_pton()
44 const char* grpc_inet_ntop(int af, const void* src, char* dst, size_t size) { in grpc_inet_ntop() argument
45 uv_inet_ntop(af, src, dst, size); in grpc_inet_ntop()
/external/wpa_supplicant_8/src/utils/
Dip_addr.c20 if (addr->af == AF_INET) { in hostapd_ip_txt()
26 if (addr->af == AF_INET6) { in hostapd_ip_txt()
40 addr->af = AF_INET; in hostapd_parse_ip_addr()
46 addr->af = AF_INET6; in hostapd_parse_ip_addr()
/external/iproute2/lib/
Dutils.c557 int af_bit_len(int af) in af_bit_len() argument
559 switch (af) { in af_bit_len()
575 int af_byte_len(int af) in af_byte_len() argument
577 return af_bit_len(af) / 8; in af_byte_len()
813 const char *rt_addr_n2a_r(int af, int len, in rt_addr_n2a_r() argument
816 switch (af) { in rt_addr_n2a_r()
819 return inet_ntop(af, addr, buf, buflen); in rt_addr_n2a_r()
822 return mpls_ntop(af, addr, buf, buflen); in rt_addr_n2a_r()
824 return ipx_ntop(af, addr, buf, buflen); in rt_addr_n2a_r()
830 return dnet_ntop(af, &dna, buf, buflen); in rt_addr_n2a_r()
[all …]
/external/python/cpython2/Lib/
Daudiodev.py245 af = aifc.open(fn, 'r')
246 print fn, af.getparams()
248 p.setoutrate(af.getframerate())
249 p.setsampwidth(af.getsampwidth())
250 p.setnchannels(af.getnchannels())
251 BUFSIZ = af.getframerate()/af.getsampwidth()/af.getnchannels()
253 data = af.readframes(BUFSIZ)
/external/python/cpython2/Lib/plat-mac/
DAudio_mac.py109 af = aifc.open(fn, 'r')
110 print af.getparams()
112 p.setoutrate(af.getframerate())
113 p.setsampwidth(af.getsampwidth())
114 p.setnchannels(af.getnchannels())
117 data = af.readframes(BUFSIZ)

12345678910>>...35