/external/clang/test/CodeGenCXX/ |
D | ptr-to-datamember.cpp | 49 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/ |
D | addrmatch.c | 36 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/ |
D | playaiff.py | 7 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/ |
D | port-tun.c | 212 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 …]
|
D | bindresvport.c | 55 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()
|
D | rresvport.c | 58 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/ |
D | utils.h | 116 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/ |
D | pton_ntop.py | 80 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/ |
D | if2ip.c | 99 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() 161 ip = (char *) Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr)); in Curl_if2ip() 181 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, in Curl_if2ip() argument 194 if(!interf || (af != AF_INET)) in Curl_if2ip() 227 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, in Curl_if2ip() argument 231 (void) af; in Curl_if2ip()
|
D | inet_ntop.h | 27 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/ltp/testcases/network/multicast/mc_gethost/ |
D | mc_gethost.c | 30 int af = AF_INET; in main() local 53 af = AF_INET6, size = IN6ADDRSZ; in main() 67 if (inet_pton(af, arg, b_addr)) { in main() 70 printf("[%s]\n", inet_ntop(af, b_addr, p, sizeof p)); in main() 71 if (!(host = gethostbyaddr((char *)b_addr, size, af))) { in main() 78 host = gethostbyname2(arg, af); in main()
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 130 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/ |
D | ipaddrlabel.c | 100 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/ |
D | in6_01.c | 177 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/ |
D | utils.c | 557 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/ |
D | nethelpers.cc | 102 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/ |
D | audiodev.py | 245 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/grpc-grpc/src/core/lib/iomgr/ |
D | socket_utils_windows.cc | 38 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()
|
D | socket_utils_uv.cc | 40 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/ |
D | ip_addr.c | 20 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/ |
D | nir_lower_idiv.c | 42 nir_ssa_def *numer, *denom, *af, *bf, *a, *b, *q, *r; in convert_instr() local 59 af = nir_i2f32(bld, numer); in convert_instr() 61 af = nir_fabs(bld, af); in convert_instr() 66 af = nir_u2f32(bld, numer); in convert_instr() 75 q = nir_fmul(bld, af, bf); in convert_instr()
|
/external/python/cpython2/Lib/plat-mac/ |
D | Audio_mac.py | 109 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/ |
D | tftp.c | 33 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() 347 if ((TT.af == AF_INET6) && !((struct sockaddr_in6 *)&server)->sin6_port) in file_get() 350 else if ((TT.af == AF_INET) && !((struct sockaddr_in *)&server)->sin_port) in file_get() [all …]
|
D | telnetd.c | 70 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 …]
|
/external/mesa3d/src/mesa/main/ |
D | imports.h | 190 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()
|