/external/chromium/net/websockets/ |
websocket_throttle_unittest.cc | 43 struct sockaddr_in* addr = local 49 memcpy(&addr->sin_addr, &addrint, sizeof(int)); 83 struct addrinfo* addr = AddAddr(1, 2, 3, 4, NULL); local 84 addr = AddAddr(1, 2, 3, 5, addr); 85 addr = AddAddr(1, 2, 3, 6, addr); 90 WebSocketThrottleTest::MockSocketStreamConnect(s1, addr); 91 DeleteAddrInfo(addr); 105 addr = AddAddr(1, 2, 3, 4, NULL) 287 struct addrinfo* addr = AddAddr(127, 0, 0, 1, NULL); local [all...] |
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 76 struct sockaddr_storage addr; member in struct:myaddr 94 myaddr_configured(addr) 95 struct sockaddr *addr; 103 if (cmpsaddr(addr, (struct sockaddr *) &cfg->addr) <= CMPSADDR_WILDPORT_MATCH) 111 myaddr_open(addr, udp_encap) 112 struct sockaddr *addr; 119 if (cmpsaddr(addr, (struct sockaddr *) &my->addr) <= CMPSADDR_WILDPORT_MATCH) 127 memcpy(&my->addr, addr, sysdep_sa_len(addr)) 366 struct sockaddr_nl addr; local 402 struct sockaddr_storage addr; local 474 struct sockaddr_storage addr; local 740 struct sockaddr_storage addr; local [all...] |
throttle.c | 58 throttle_add(addr) 59 struct sockaddr *addr; 67 + sysdep_sa_len(addr); 77 memcpy(&te->host, addr, sysdep_sa_len(addr)); 84 throttle_host(addr, authfail) 85 struct sockaddr *addr; 107 if (cmpsaddr(addr, (struct sockaddr *) &te->host) <= CMPSADDR_WOP_MATCH) { 120 if ((te = throttle_add(addr)) == NULL) {
|
/device/google/accessory/arduino/USB_Host_Shield/ |
Usb.h | 131 EP_RECORD* getDevTableEntry( byte addr, byte ep );
132 void setDevTableEntry( byte addr, EP_RECORD* eprecord_ptr );
133 byte ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, unsigned int wInd, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
135 byte getDevDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
136 byte getConfDescr( byte addr, byte ep, unsigned int nbytes, byte conf, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
137 byte getStrDescr( byte addr, byte ep, unsigned int nbytes, byte index, unsigned int langid, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
139 byte setConf( byte addr, byte ep, byte conf_value, unsigned int nak_limit = USB_NAK_LIMIT );
141 byte setProto( byte addr, byte ep, byte interface, byte protocol, unsigned int nak_limit = USB_NAK_LIMIT );
142 byte getProto( byte addr, byte ep, byte interface, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
143 byte getReportDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT ); [all...] |
/external/kernel-headers/original/asm-x86/ |
tlbflush_32.h | 12 #define __flush_tlb_single(addr) __native_flush_tlb_single(addr) 47 #define __native_flush_tlb_single(addr) \ 48 __asm__ __volatile__("invlpg (%0)" ::"r" (addr) : "memory") 61 # define __flush_tlb_one(addr) __flush_tlb_single(addr) 63 # define __flush_tlb_one(addr) \ 66 __flush_tlb_single(addr); \ 105 unsigned long addr) 108 __flush_tlb_one(addr); [all...] |
/libcore/luni/src/main/native/ |
java_util_regex_Matcher.cpp | 32 static RegexMatcher* toRegexMatcher(jint addr) { 33 return reinterpret_cast<RegexMatcher*>(static_cast<uintptr_t>(addr)); 44 MatcherAccessor(JNIEnv* env, jint addr, jstring javaInput, bool reset) { 45 init(env, addr); 65 MatcherAccessor(JNIEnv* env, jint addr) { 66 init(env, addr); 98 void init(JNIEnv* env, jint addr) { 101 mMatcher = toRegexMatcher(addr); 119 static void Matcher_closeImpl(JNIEnv*, jclass, jint addr) { 120 delete toRegexMatcher(addr); [all...] |
/dalvik/vm/ |
DvmDex.cpp | 124 pDexFile = dexFileParse((u1*)memMap.addr, memMap.length, parseFlags); 156 int dvmDexFileOpenPartial(const void* addr, int len, DvmDex** ppDvmDex) 168 pDexFile = dexFileParse((u1*)addr, len, parseFlags); 232 bool dvmDexChangeDex1(DvmDex* pDvmDex, u1* addr, u1 newVal) 234 if (*addr == newVal) { 235 LOGV("+++ byte at %p is already 0x%02x", addr, newVal); 245 LOGV("+++ change byte at %p from 0x%02x to 0x%02x", addr, *addr, newVal); 246 if (sysChangeMapAccess(addr, 1, true, &pDvmDex->memMap) != 0) { 251 *addr = newVal [all...] |
/external/quake/quake/src/WinQuake/ |
net_wipx.cpp | 48 struct qsockaddr addr;
local 113 WIPX_GetSocketAddr (net_controlsocket, &addr);
114 Q_strcpy(my_ipx_address, WIPX_AddrToString (&addr));
212 int WIPX_Connect (int handle, struct qsockaddr *addr)
237 int WIPX_Read (int handle, byte *buf, int len, struct qsockaddr *addr)
243 ret = precvfrom (socket, packetBuffer, len+4, 0, (struct sockaddr *)addr, &addrlen);
272 int WIPX_Write (int handle, byte *buf, int len, struct qsockaddr *addr)
283 ret = psendto (socket, packetBuffer, len, 0, (struct sockaddr *)addr, sizeof(struct qsockaddr));
293 char *WIPX_AddrToString (struct qsockaddr *addr)
298 ((struct sockaddr_ipx *)addr)->sa_netnum[0] & 0xff, [all...] |
/development/tools/emulator/system/libqemu/ |
test_host_1.c | 60 struct sockaddr_in addr; local 67 memset(&addr, 0, sizeof(addr)); 68 addr.sin_family = AF_INET; 69 addr.sin_port = htons(port); 70 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); 75 if (TFR(bind(sock, (struct sockaddr*)&addr, sizeof(addr))) < 0) { 93 struct sockaddr_un addr; local 100 memset(&addr, 0, sizeof(addr)) [all...] |
/external/bluetooth/bluez/test/ |
hstest.c | 54 struct sockaddr_rc addr; local 61 memset(&addr, 0, sizeof(addr)); 62 addr.rc_family = AF_BLUETOOTH; 63 bacpy(&addr.rc_bdaddr, src); 64 addr.rc_channel = 0; 65 if (bind(s, (struct sockaddr *)&addr, sizeof(addr)) < 0) { 70 memset(&addr, 0, sizeof(addr)); 84 struct sockaddr_sco addr; local [all...] |
/external/dnsmasq/src/ |
netlink.c | 41 struct sockaddr_nl addr; local 42 socklen_t slen = sizeof(addr); 44 addr.nl_family = AF_NETLINK; 45 addr.nl_pad = 0; 46 addr.nl_pid = 0; /* autobind */ 48 addr.nl_groups = RTMGRP_IPV4_ROUTE | RTMGRP_IPV6_ROUTE; 50 addr.nl_groups = RTMGRP_IPV4_ROUTE; 56 if (bind(daemon->netlinkfd, (struct sockaddr *)&addr, sizeof(addr)) == -1) 58 addr.nl_groups = 0 127 struct sockaddr_nl addr; local 194 struct in_addr netmask, addr, broadcast; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
sha1-tprf.c | 43 const unsigned char *addr[5]; local 46 addr[0] = hash; 48 addr[1] = (unsigned char *) label; 50 addr[2] = seed; 52 addr[3] = output_len; 54 addr[4] = &counter; 63 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash))
|
/frameworks/base/core/java/android/net/ |
InterfaceConfiguration.java | 31 public LinkAddress addr; field in class:InterfaceConfiguration 42 str.append((addr != null) ? addr.toString() : "NULL"); 59 for (byte b : addr.getAddress().getAddress()) { 77 if (addr != null) { 79 dest.writeParcelable(addr, flags); 93 info.addr = in.readParcelable(null);
|
/bionic/libc/kernel/arch-arm/asm/ |
memory.h | 79 #define PHYS_TO_NID(addr) (0) 83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) 84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) 87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) 88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
memory.h | 79 #define PHYS_TO_NID(addr) (0) 83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) 84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) 87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) 88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
|
/external/chromium/third_party/libjingle/source/talk/base/ |
socketaddress.h | 59 SocketAddress(const SocketAddress& addr); 71 SocketAddress& operator=(const SocketAddress& addr); 108 friend std::ostream& operator<<(std::ostream& os, const SocketAddress& addr); 137 bool operator ==(const SocketAddress& addr) const; 138 inline bool operator !=(const SocketAddress& addr) const { 139 return !this->operator ==(addr); 143 bool operator <(const SocketAddress& addr) const; 146 bool EqualIPs(const SocketAddress& addr) const; 149 bool EqualPorts(const SocketAddress& addr) const;
|
/external/dropbear/ |
tcp-accept.c | 49 struct sockaddr_storage addr; local 54 len = sizeof(addr); 56 fd = accept(sock, (struct sockaddr*)&addr, &len); 61 if (getnameinfo((struct sockaddr*)&addr, len, ipstring, sizeof(ipstring), 68 unsigned char* addr = NULL; local 74 addr = tcpinfo->sendaddr; 80 addr = tcpinfo->listenaddr; 84 buf_putstring(ses.writepayload, addr, strlen(addr));
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ |
memory.h | 79 #define PHYS_TO_NID(addr) (0) 83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) 84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) 87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) 88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/asm/ |
memory.h | 79 #define PHYS_TO_NID(addr) (0) 83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) 84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) 87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) 88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/asm/ |
memory.h | 79 #define PHYS_TO_NID(addr) (0) 83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) 84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) 87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) 88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/asm/ |
memory.h | 79 #define PHYS_TO_NID(addr) (0) 83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) 84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) 87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) 88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/asm/ |
memory.h | 79 #define PHYS_TO_NID(addr) (0) 83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) 84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) 87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) 88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/asm/ |
memory.h | 79 #define PHYS_TO_NID(addr) (0) 83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) 84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) 87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) 88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
|
/external/kernel-headers/original/asm-generic/bitops/ |
atomic.h | 55 * @addr: the address to start counting from 67 static inline void set_bit(int nr, volatile unsigned long *addr) 70 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); 81 * @addr: Address to start counting from 88 static inline void clear_bit(int nr, volatile unsigned long *addr) 91 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); 102 * @addr: Address to start counting from 109 static inline void change_bit(int nr, volatile unsigned long *addr) 112 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); 123 * @addr: Address to count fro [all...] |
/external/libpcap/ |
fad-getad.c | 96 #define SA_LEN(addr) ((addr)->sa_len) 100 get_sa_len(struct sockaddr *addr) 102 switch (addr->sa_family) { 123 #define SA_LEN(addr) (get_sa_len(addr)) 125 #define SA_LEN(addr) (sizeof (struct sockaddr)) 143 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; local 199 addr = ifa->ifa_addr; 200 addr_size = SA_LEN(addr); [all...] |