/libcore/ojluni/src/main/native/ |
Inet4AddressImpl.c | 196 jbyte caddr[4]; local 205 memset((char *) caddr, 0, sizeof(caddr)); 212 (*env)->GetByteArrayRegion(env, addrArray, 0, 4, caddr); 213 addr = ((caddr[0]<<24) & 0xff000000); 214 addr |= ((caddr[1] <<16) & 0xff0000); 215 addr |= ((caddr[2] <<8) & 0xff00); 216 addr |= (caddr[3] & 0xff); 226 memset((char *) caddr, 0, sizeof(caddr)); [all...] |
Inet6AddressImpl.c | 86 jbyte caddr[16]; local 98 (*env)->GetByteArrayRegion(env, addrArray, 0, 4, caddr); 99 addr = ((caddr[0]<<24) & 0xff000000); 100 addr |= ((caddr[1] <<16) & 0xff0000); 101 addr |= ((caddr[2] <<8) & 0xff00); 102 addr |= (caddr[3] & 0xff); 112 (*env)->GetByteArrayRegion(env, addrArray, 0, 16, caddr); 114 memcpy((void *)&(him6.sin6_addr), caddr, sizeof(struct in6_addr) ); 153 jbyte *caddr, *recv_caddr; local 171 caddr = (jbyte *)&(him->sin6_addr) 268 jbyte caddr[16]; local [all...] |
net_util_md.c | 776 jbyte caddr[16]; local 781 memset((char *) caddr, 0, 16); 785 caddr[10] = 0xff; 786 caddr[11] = 0xff; */ 788 caddr[10] = 0xff; 789 caddr[11] = 0xff; 790 caddr[12] = ((address >> 24) & 0xff); 791 caddr[13] = ((address >> 16) & 0xff); 792 caddr[14] = ((address >> 8) & 0xff); 793 caddr[15] = (address & 0xff) [all...] |
net_util.h | 138 NET_IsIPv4Mapped(jbyte* caddr); 141 NET_IPv4MappedToIPv4(jbyte* caddr); 147 NET_IsZeroAddr(jbyte* caddr);
|
net_util.c | 123 jbyte *caddr = (jbyte *)&(him6->sin6_addr); local 124 if (NET_IsIPv4Mapped(caddr)) { 136 address = NET_IPv4MappedToIPv4(caddr);
|
PlainDatagramSocketImpl.c | 1884 jbyte caddr[16]; local [all...] |
NetworkInterface.c | 288 jbyte caddr[16]; local 291 (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddr); 294 if (caddr[i] != bytes[i]) {
|
/external/mdnsresponder/mDNSShared/ |
dnssd_clientstub.c | 578 dnssd_sockaddr_t caddr; local 579 dnssd_socklen_t len = (dnssd_socklen_t) sizeof(caddr); 583 caddr.sin_family = AF_INET; 584 caddr.sin_port = 0; 585 caddr.sin_addr.s_addr = inet_addr(MDNS_TCP_SERVERADDR); 586 if (bind(listenfd, (struct sockaddr*) &caddr, sizeof(caddr)) < 0) deliver_request_bailout("TCP bind"); 587 if (getsockname(listenfd, (struct sockaddr*) &caddr, &len) < 0) deliver_request_bailout("TCP getsockname"); 589 port.s = caddr.sin_port; 597 dnssd_sockaddr_t caddr; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
InetAddressTest.java | 62 byte[] caddr = new byte[] { 127, 0, 0, 1 }; 65 assertTrue("Incorrect address returned", caddr[i] == addr[i]);
|
/external/v8/tools/gyp/tools/emacs/ |
gyp.el | 201 (caddr sections))
|
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-rx.c | 3475 bfd_vma caddr = section->vma + offset; local [all...] |
/external/avahi/avahi-core/ |
iface-pfroute.c | 382 char caddr[AVAHI_ADDRESS_STR_MAX]; local
|