/bionic/libc/kernel/arch-x86/asm/ |
H A D | io_32.h | 25 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 26 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_i [all...] |
/bionic/libc/kernel/arch-sh/asm/hd64465/ |
H A D | gpio.h | 17 #define HD64465_GPIO_PORTPIN(port,pin) (((port)-'A')<<3|(pin))
|
/bionic/libc/inet/ |
H A D | bindresvport.c | 41 static short port; local 54 if (port == 0) { 55 port = START_PORT + (getpid() % NUM_PORTS); 58 for (nn = NUM_PORTS; nn > 0; nn--, port++) 60 if (port == END_PORT) 61 port = START_PORT; 63 sin->sin_port = htons(port);
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
H A D | ip_conntrack_tuple.h | 24 __be16 port; member in struct:ip_conntrack_manip_proto::__anon322 27 u_int16_t port; member in struct:ip_conntrack_manip_proto::__anon323 33 u_int16_t port; member in struct:ip_conntrack_manip_proto::__anon325 57 u_int16_t port; member in struct:ip_conntrack_tuple::__anon327::__anon328::__anon329 60 u_int16_t port; member in struct:ip_conntrack_tuple::__anon327::__anon328::__anon330 66 u_int16_t port; member in struct:ip_conntrack_tuple::__anon327::__anon328::__anon332
|
/bionic/libc/netbsd/net/ |
H A D | getservbyport.c | 33 getservbyport(int port, const char *proto) argument 48 if ( s->s_port == port && !strcmp( s->s_proto, proto ) )
|
H A D | getservbyport_r.c | 47 getservbyport_r(int port, const char *proto, struct servent *sp, argument 54 if (s->s_port != port)
|
H A D | getservent.c | 58 int port; local 70 q = p + 1 + namelen + 3; /* skip name + port + proto */ 93 /* copy name + port + setup protocol */ 99 port = ((((unsigned char*)p)[0] << 8) | 102 rs->servent.s_port = htons(port); 104 p += 4; /* skip port(2) + proto(1) + aliascount(1) */
|
H A D | getnameinfo.c | 145 u_short port; local 177 port = ((const struct sockinet *)(const void *)sa)->si_port; 191 sp = getservbyport(port, 199 snprintf(numserv, sizeof(numserv), "%u", ntohs(port));
|
H A D | getaddrinfo.c | 945 int port; local 981 port = str2number(servname); 982 if (port >= 0) { 985 if (port < 0 || port > 65535) 987 port = htons(port); 1006 port = sp->s_port; 1013 ai->ai_addr)->sin_port = port; 1018 ai->ai_addr)->sin6_port = port; [all...] |
/bionic/libc/kernel/common/linux/ |
H A D | kernelcapi.h | 26 unsigned int port; member in struct:kcapi_carddef
|
H A D | usbdevice_fs.h | 96 char port [127]; member in struct:usbdevfs_hub_portinfo
|
H A D | if_link.h | 55 __u8 port; member in struct:rtnl_link_ifmap
|
H A D | if.h | 100 unsigned char port; member in struct:ifmap
|
H A D | telephony.h | 33 port, enumerator in enum:__anon465
|
H A D | wanrouter.h | 313 unsigned char port; member in struct:wanif_conf
|
H A D | ethtool.h | 23 __u8 port; member in struct:ethtool_cmd
|
/bionic/libc/tools/ |
H A D | genserv.py | 18 def __init__(self,name,port,proto): 20 self.port = port 29 result += "\\%0o\\%0o" % (((self.port >> 8) & 255), self.port & 255)
|
/bionic/libc/kernel/common/linux/sunrpc/ |
H A D | xprt.h | 81 void (*set_port)(struct rpc_xprt *xprt, unsigned short port); 136 unsigned short port; member in struct:rpc_xprt
|
/bionic/libc/kernel/arch-sh/asm/ |
H A D | machvec.h | 61 void __iomem *(*mv_ioport_map)(unsigned long port, unsigned int size);
|
/bionic/libc/netbsd/nameser/ |
H A D | ns_print.c | 392 u_int priority, weight, port; local 401 port = ns_get16(rdata); rdata += NS_INT16SZ; 402 len = SPRINTF((t, "%u %u %u ", priority, weight, port));
|
/bionic/libc/netbsd/resolv/ |
H A D | res_send.c | 4 * Copyright 2008 Android Open Source Project (source port randomization) 157 /* BIONIC-BEGIN: implement source port randomization */ 188 /* first try to bind to a random source port a few times */ 190 /* find a random port between 1025 .. 65534 */ 191 int port = 1025 + (res_randomid() % (65535-1025)); local 193 u.sin.sin_port = htons(port); 195 u.sin6.sin6_port = htons(port); 202 /* let the system decide which port is best */ 904 * port with no nameserver will cause an 905 * ICMP port unreachabl [all...] |