Home
last modified time | relevance | path

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

12345678910>>...25

/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/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/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/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/ltp/testcases/network/multicast/mc_gethost/
Dmc_gethost.c32 int af = AF_INET; local
55 af = AF_INET6, size = IN6ADDRSZ;
69 if (inet_pton(af, arg, b_addr)) {
72 printf("[%s]\n", inet_ntop(af, b_addr, p, sizeof p));
73 if (!(host = gethostbyaddr((char *)b_addr, size, af))) {
80 host = gethostbyname2(arg, af);
/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/curl/lib/
Dif2ip.c117 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, in Curl_if2ip() argument
136 if(iface->ifa_addr->sa_family == af) { in Curl_if2ip()
143 if(af == AF_INET6) { in Curl_if2ip()
179 ip = (char *) Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr)); in Curl_if2ip()
208 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, in Curl_if2ip() argument
221 if(!interf || (af != AF_INET)) in Curl_if2ip()
261 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, in Curl_if2ip() argument
265 (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/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.c177 uint8_t af; in test_sockaddr_storage() local
179 af = psin->sin_family = AF_INET; in test_sockaddr_storage()
182 af = psin6->sin6_family = AF_INET6; in test_sockaddr_storage()
189 if (ss.ss_family == af) in test_sockaddr_storage()
191 sstab[i].addr, af == AF_INET ? "" : "6"); in test_sockaddr_storage()
194 sstab[i].addr, af, af == AF_INET ? "" : "6"); in test_sockaddr_storage()
/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/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/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/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/mesa3d/src/compiler/nir/
Dnir_lower_idiv.c42 nir_ssa_def *numer, *denom, *af, *bf, *a, *b, *q, *r; in convert_instr() local
59 af = nir_i2f(bld, numer); in convert_instr()
61 af = nir_fabs(bld, af); in convert_instr()
66 af = nir_u2f(bld, numer); in convert_instr()
75 q = nir_fmul(bld, af, bf); in convert_instr()
/external/libvncserver/webclients/novnc/include/web-socket-js/
Dswfobject.js4af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag… argument
/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)
/external/toybox/toys/pending/
Dtftp.c33 int af;
69 int port = 69, sd = xsocket(TT.af, SOCK_DGRAM, IPPROTO_UDP);
76 if (TT.af == AF_INET6) {
285 if (TT.af == AF_INET6) ((struct sockaddr_in6 *)&server)->sin6_port = 0; in file_get()
293 if ( ((TT.af == AF_INET) && in file_get()
297 ((TT.af == AF_INET6) && in file_get()
305 if ( ((TT.af == AF_INET) && ((struct sockaddr_in *)&server)->sin_port in file_get()
308 ((TT.af == AF_INET6) && ((struct sockaddr_in6 *)&server)->sin6_port in file_get()
339 if ((TT.af == AF_INET6) && !((struct sockaddr_in6 *)&server)->sin6_port) in file_get()
342 else if ((TT.af == AF_INET) && !((struct sockaddr_in *)&server)->sin_port) in file_get()
[all …]
Dtelnetd.c70 int status, af = AF_UNSPEC; in get_sockaddr() local
79 af = AF_INET6; in get_sockaddr()
84 af = AF_INET; in get_sockaddr()
86 af = AF_INET6; in get_sockaddr()
99 hints.ai_family = af; in get_sockaddr()
108 if (af == AF_INET) ((struct sockaddr_in*)buf)->sin_port = port_num; in get_sockaddr()
131 int s, af = AF_INET, yes = 1; in listen_socket() local
137 af = ((struct sockaddr *)buf)->sa_family; in listen_socket()
140 ((struct sockaddr_in*)buf)->sin_family = af; in listen_socket()
142 s = xsocket(af, SOCK_STREAM, 0); in listen_socket()
[all …]
Dlsof.c138 static void scan_unix(char *line, int af, char type) in scan_unix() argument
151 static void scan_netlink(char *line, int af, char type) in scan_netlink() argument
170 static void scan_ip(char *line, int af, char type) in scan_ip() argument
183 if (af == 4) { in scan_ip()
200 struct file_info *fi = add_socket(inode, af == 4 ? "IPv4" : "IPv6"); in scan_ip()
201 inet_ntop(af, &local, local_ip, sizeof(local_ip)); in scan_ip()
202 inet_ntop(af, &remote, remote_ip, sizeof(remote_ip)); in scan_ip()
205 fi->name = xmprintf(af == 4 ? in scan_ip()
211 fi->name = xmprintf(af == 4 ? "%s %s:%d->%s:%d" : "%s [%s]:%d->[%s]:%d", in scan_ip()
/external/mesa3d/src/mesa/main/
Dimports.h190 double af, bf; in IFLOOR() local
191 af = (3 << 22) + 0.5 + (double)f; in IFLOOR()
194 __asm__ ("fstps %0" : "=m" (ai) : "t" (af) : "st"); in IFLOOR()
199 double af, bf; in IFLOOR()
201 af = (3 << 22) + 0.5 + (double)f; in IFLOOR()
203 u.f = (float) af; ai = u.i; in IFLOOR()
/external/fio/os/windows/
Dposix.c959 const char* inet_ntop(int af, const void *restrict src, in inet_ntop() argument
966 if (af != AF_INET && af != AF_INET6) { in inet_ntop()
973 if (af == AF_INET) { in inet_ntop()
977 si.sin_family = af; in inet_ntop()
980 } else if (af == AF_INET6) { in inet_ntop()
984 si6.sin6_family = af; in inet_ntop()
999 int inet_pton(int af, const char *restrict src, void *restrict dst) in inet_pton() argument
1005 if (af != AF_INET && af != AF_INET6) { in inet_pton()
1012 if (af == AF_INET) { in inet_pton()
1016 si.sin_family = af; in inet_pton()
[all …]
/external/eigen/Eigen/src/Core/arch/AltiVec/
DComplex.h85 std::complex<float> EIGEN_ALIGN16 af[2];
86 af[0] = from[0*stride];
87 af[1] = from[1*stride];
88 return pload<Packet2cf>(af);
92 std::complex<float> EIGEN_ALIGN16 af[2];
93 pstore<std::complex<float> >((std::complex<float> *) af, from);
94 to[0*stride] = af[0];
95 to[1*stride] = af[1];
317 std::complex<double> EIGEN_ALIGN16 af[2];
318 af[0] = from[0*stride];
[all …]
/external/tcpdump/
Dprint-gre.c174 uint16_t af; in gre_print_0() local
181 af = EXTRACT_16BITS(bp); in gre_print_0()
187 if (af == 0 && srelen == 0) in gre_print_0()
190 if (!gre_sre_print(ndo, af, sreoff, srelen, bp, len)) in gre_print_0()
328 gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff, in gre_sre_print() argument
333 switch (af) { in gre_sre_print()
345 ND_PRINT((ndo, ", (rtaf=0x%x)", af)); in gre_sre_print()
Dprint-pflog.c115 uint8_t af; in pflog_if_print() local
142 af = hdr->af; in pflog_if_print()
146 switch (af) { in pflog_if_print()

12345678910>>...25