/external/skia/src/ports/ |
SkThread_pthread.cpp | 8 int32_t sk_atomic_inc(int32_t* addr) 12 int32_t value = *addr; 13 *addr = value + 1; 17 int32_t sk_atomic_dec(int32_t* addr) 21 int32_t value = *addr; 22 *addr = value - 1;
|
/system/core/include/netutils/ |
ifc.h | 39 extern int ifc_get_addr(const char *name, in_addr_t *addr); 40 extern int ifc_set_addr(const char *name, in_addr_t addr); 50 extern int ifc_add_host_route(const char *name, in_addr_t addr); 56 extern int ifc_create_default_route(const char *name, in_addr_t addr); 58 extern int ifc_add_route(const char *name, const char *addr, int prefix_length, 62 extern int ifc_get_info(const char *name, in_addr_t *addr, int *prefixLength,
|
/external/dropbear/ |
svr-x11fwd.c | 42 static int send_msg_channel_open_x11(int fd, struct sockaddr_in* addr); 104 struct sockaddr_in addr; local 109 len = sizeof(addr); 111 fd = accept(sock, (struct sockaddr*)&addr, &len); 121 ret = send_msg_channel_open_x11(fd, &addr); 190 static int send_msg_channel_open_x11(int fd, struct sockaddr_in* addr) { 195 ipstring = inet_ntoa(addr->sin_addr); 197 buf_putint(ses.writepayload, addr->sin_port); 211 struct sockaddr_in addr; local 214 memset((void*)&addr, 0x0, sizeof(addr)) [all...] |
/external/quake/quake/src/WinQuake/ |
net_wins.cpp | 52 struct hostent FAR * (PASCAL FAR *pgethostbyaddr)(const char FAR * addr,
95 unsigned long addr;
local 112 addr = ntohl(myAddr);
113 sprintf(my_tcpip_address, "%d.%d.%d.%d", (addr >> 24) & 0xff, (addr >> 16) & 0xff, (addr >> 8) & 0xff, addr & 0xff);
328 int addr;
local 340 addr = 0;
358 addr = (addr<<8) + num; [all...] |
net_ipx.cpp | 140 static void IPX_GetLocalAddress(IPXaddr *addr)
148 Q_memcpy(addr, lowmem_buffer, 10);
153 static int IPX_GetLocalTarget(IPXaddr *addr, byte *localTarget)
161 Q_memcpy(lowmem_buffer, addr, sizeof(IPXaddr));
235 struct qsockaddr addr;
local 292 IPX_GetSocketAddr (net_controlsocket, &addr);
293 Q_strcpy(my_ipx_address, IPX_AddrToString (&addr));
416 int IPX_Connect (int handle, struct qsockaddr *addr)
420 Q_memcpy(&ipxaddr, &((struct sockaddr_ipx *)addr)->sipx_addr, sizeof(IPXaddr));
447 int IPX_Read (int handle, byte *buf, int len, struct qsockaddr *addr)
498 struct sockaddr_ipx addr; local [all...] |
/external/tcpdump/ |
print-egp.c | 141 u_int32_t addr; local 148 addr = egp->egp_sourcenet; 149 if (IN_CLASSA(addr)) { 150 net = addr & IN_CLASSA_NET; 152 } else if (IN_CLASSB(addr)) { 153 net = addr & IN_CLASSB_NET; 155 } else if (IN_CLASSC(addr)) { 156 net = addr & IN_CLASSC_NET; 167 addr = 0; 172 addr = *cp++ [all...] |
/external/bluetooth/bluez/compat/ |
hidd.c | 78 struct sockaddr_l2 addr; local 85 memset(&addr, 0, sizeof(addr)); 86 addr.l2_family = AF_BLUETOOTH; 87 bacpy(&addr.l2_bdaddr, src); 89 if (bind(sk, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 101 memset(&addr, 0, sizeof(addr)); 102 addr.l2_family = AF_BLUETOOTH 116 struct sockaddr_l2 addr; local 152 struct sockaddr_l2 addr; local 171 char addr[18]; local 207 char addr[18]; local 252 struct sockaddr_l2 addr; local 425 char addr[18]; local 539 char addr[18]; local 696 char addr[18]; local [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
stunserver.cc | 121 StunMessage* msg, const talk_base::SocketAddress& addr) { 122 SendErrorResponse(*msg, addr, 600, "Operation Not Supported"); 126 StunMessage* msg, const talk_base::SocketAddress& addr) { 127 SendErrorResponse(*msg, addr, 600, "Operation Not Supported"); 131 const talk_base::SocketAddress& addr) { 132 SendErrorResponse(*msg, addr, 600, "Operation Not Supported"); 136 const StunMessage& msg, const talk_base::SocketAddress& addr, 149 SendResponse(err_msg, addr); 153 const StunMessage& msg, const talk_base::SocketAddress& addr) { 158 // TODO: Allow response addr attribute if sent from another stun server [all...] |
/external/wpa_supplicant/ |
eap_pax_common.c | 43 const u8 *addr[3]; local 55 addr[0] = (const u8 *) identifier; 57 addr[1] = entropy; 59 addr[2] = &counter; 66 hmac_sha1_vector(key, key_len, 3, addr, len, mac); 99 const u8 *addr[3]; local 107 addr[0] = data1; 109 addr[1] = data2; 111 addr[2] = data3; 115 hmac_sha1_vector(key, key_len, count, addr, len, hash) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_pax_common.c | 43 const u8 *addr[3]; local 55 addr[0] = (const u8 *) identifier; 57 addr[1] = entropy; 59 addr[2] = &counter; 66 hmac_sha1_vector(key, key_len, 3, addr, len, mac); 99 const u8 *addr[3]; local 107 addr[0] = data1; 109 addr[1] = data2; 111 addr[2] = data3; 115 hmac_sha1_vector(key, key_len, count, addr, len, hash) [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_pax_common.c | 43 const u8 *addr[3]; local 55 addr[0] = (const u8 *) identifier; 57 addr[1] = entropy; 59 addr[2] = &counter; 66 hmac_sha1_vector(key, key_len, 3, addr, len, mac); 99 const u8 *addr[3]; local 107 addr[0] = data1; 109 addr[1] = data2; 111 addr[2] = data3; 115 hmac_sha1_vector(key, key_len, count, addr, len, hash) [all...] |
/system/core/nexus/ |
InterfaceConfig.cpp | 27 mStaticProperties.propIp = new IPV4AddressPropertyHelper("Addr", propertiesReadOnly, &mIp); 42 void InterfaceConfig::setIp(struct in_addr *addr) { 43 memcpy(&mIp, addr, sizeof(struct in_addr)); 46 void InterfaceConfig::setNetmask(struct in_addr *addr) { 47 memcpy(&mNetmask, addr, sizeof(struct in_addr)); 50 void InterfaceConfig::setGateway(struct in_addr *addr) { 51 memcpy(&mGateway, addr, sizeof(struct in_addr)); 54 void InterfaceConfig::setBroadcast(struct in_addr *addr) { 55 memcpy(&mBroadcast, addr, sizeof(struct in_addr)); 58 void InterfaceConfig::setDns(int idx, struct in_addr *addr) { [all...] |
/external/kernel-headers/original/linux/ |
kernel.h | 134 extern int core_kernel_text(unsigned long addr); 135 extern int __kernel_text_address(unsigned long addr); 136 extern int kernel_text_address(unsigned long addr); 228 #define NIPQUAD(addr) \ 229 ((unsigned char *)&addr)[0], \ 230 ((unsigned char *)&addr)[1], \ 231 ((unsigned char *)&addr)[2], \ 232 ((unsigned char *)&addr)[3] 235 #define NIP6(addr) \ 236 ntohs((addr).s6_addr16[0]), [all...] |
/external/bluetooth/bluez/test/ |
attest.c | 103 struct sockaddr_rc addr; local 113 memset(&addr, 0, sizeof(addr)); 114 addr.rc_family = AF_BLUETOOTH; 115 bacpy(&addr.rc_bdaddr, BDADDR_ANY); 117 if (bind(sk, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 124 memset(&addr, 0, sizeof(addr)); 125 addr.rc_family = AF_BLUETOOTH [all...] |
scotest.c | 70 struct sockaddr_sco addr; local 84 memset(&addr, 0, sizeof(addr)); 85 addr.sco_family = AF_BLUETOOTH; 86 bacpy(&addr.sco_bdaddr, &bdaddr); 88 if (bind(sk, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 95 memset(&addr, 0, sizeof(addr)); 96 addr.sco_family = AF_BLUETOOTH 129 struct sockaddr_sco addr; local [all...] |
/external/dhcpcd/ |
net.h | 69 # define IN_PRIVATE(addr) (((addr & IN_CLASSA_NET) == 0x0a000000) || \ 70 ((addr & 0xfff00000) == 0xac100000) || \ 71 ((addr & IN_CLASSB_NET) == 0xc0a80000)) 79 # define IN_LINKLOCAL(addr) ((addr & IN_CLASSB_NET) == LINKLOCAL_ADDR) 116 #define add_address(iface, addr, net, brd) \ 117 if_address(iface, addr, net, brd, 1) 118 #define del_address(iface, addr, net) \ 119 if_address(iface, addr, net, NULL, -1 [all...] |
/external/qemu/target-arm/ |
op_helper.c | 73 void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr) 84 ret = cpu_arm_handle_mmu_fault(env, addr, is_write, mmu_idx, 1); 473 #define LDB(addr) ldub(addr) 474 #define LDW(addr) lduw(addr) 475 #define LDL(addr) ldl(addr) 476 #define LDQ(addr) ldq(addr) 518 uint32_t addr = env->regs[rn]; local [all...] |
/frameworks/base/core/java/android/net/ |
NetworkUtils.java | 129 byte [] addr = inetAddr.getAddress(); 130 if (addr.length != 4) { 133 return ((addr[3] & 0xff) << 24) | ((addr[2] & 0xff) << 16) | 134 ((addr[1] & 0xff) << 8) | (addr[0] & 0xff); 223 * @param addrHexString a 32 character hex string representing an IPv6 addr 224 * @return addr an InetAddress representation for the string 248 for (InetAddress addr : addrs) { 249 result[i++] = addr.getHostAddress() [all...] |
/system/core/toolbox/ |
ifconfig.c | 29 static inline void init_sockaddr_in(struct sockaddr_in *sin, const char *addr) 33 sin->sin_addr.s_addr = inet_addr(addr); 42 static void setdstaddr(int s, struct ifreq *ifr, const char *addr) 44 init_sockaddr_in((struct sockaddr_in *) &ifr->ifr_dstaddr, addr); 48 static void setnetmask(int s, struct ifreq *ifr, const char *addr) 50 init_sockaddr_in((struct sockaddr_in *) &ifr->ifr_netmask, addr); 54 static void setaddr(int s, struct ifreq *ifr, const char *addr) 56 init_sockaddr_in((struct sockaddr_in *) &ifr->ifr_addr, addr); 64 unsigned int addr, mask, flags; local 88 addr = ((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr [all...] |
/development/tools/jdwpspy/ |
Main.cpp | 36 const unsigned char* addr = reinterpret_cast<const unsigned char*>(vaddr); local 46 offset = (int) addr; 78 *hex++ = gHexDigit[*addr >> 4]; 79 *hex++ = gHexDigit[*addr & 0x0f]; 81 if (isprint(*addr)) 82 *asc++ = *addr; 85 addr++;
|
/external/qemu/ |
disas.c | 63 generic_print_address (bfd_vma addr, struct disassemble_info *info) 65 (*info->fprintf_func) (info->stream, "0x%" PRIx64, addr); 71 generic_symbol_at_address (bfd_vma addr, struct disassemble_info *info) 76 bfd_vma bfd_getl64 (const bfd_byte *addr) 80 v = (unsigned long long) addr[0]; 81 v |= (unsigned long long) addr[1] << 8; 82 v |= (unsigned long long) addr[2] << 16; 83 v |= (unsigned long long) addr[3] << 24; 84 v |= (unsigned long long) addr[4] << 32; 85 v |= (unsigned long long) addr[5] << 40 [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
tipc.h | 69 static __inline__ unsigned int tipc_zone(__u32 addr) 71 return addr >> 24; 74 static __inline__ unsigned int tipc_cluster(__u32 addr) 76 return (addr >> 12) & 0xfff; 79 static __inline__ unsigned int tipc_node(__u32 addr) 81 return addr & 0xfff; 193 } addr; member in struct:sockaddr_tipc
|
/external/qemu/slirp/ |
udp.c | 311 struct sockaddr_in *addr) 316 saddr = *addr; 320 else if (addr->sin_addr.s_addr == loopback_addr.s_addr || 333 struct sockaddr_in addr; local 341 addr.sin_family = AF_INET; 342 addr.sin_port = 0; 343 addr.sin_addr.s_addr = INADDR_ANY; 344 if(bind(so->s, (struct sockaddr *)&addr, sizeof(addr))<0) { 406 struct sockaddr_in addr; local 632 struct sockaddr_in addr; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
ap_drv_ops.h | 33 int hostapd_set_wds_sta(struct hostapd_data *hapd, const u8 *addr, int aid, 36 const u8 *addr, u16 aid, u16 capability, 46 const char *ifname, const u8 *addr, void *bss_ctx, 54 const u8 *addr, int idx, u8 *seq); 60 int hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr, 70 int hostapd_valid_bss_mask(struct hostapd_data *hapd, const u8 *addr, 88 enum wpa_alg alg, const u8 *addr, 95 const u8 *addr, int reason); 97 const u8 *addr, int reason); 113 const u8 *addr, int vlan_id [all...] |
/external/bluetooth/bluez/cups/ |
hcrp.c | 191 struct sockaddr_l2 addr; local 209 memset(&addr, 0, sizeof(addr)); 210 addr.l2_family = AF_BLUETOOTH; 211 bacpy(&addr.l2_bdaddr, src); 213 if (bind(ctrl_sk, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 222 memset(&addr, 0, sizeof(addr)); 223 addr.l2_family = AF_BLUETOOTH [all...] |