/external/v8/src/ |
v8memory.h | 39 static uint8_t& uint8_at(Address addr) { 40 return *reinterpret_cast<uint8_t*>(addr); 43 static uint16_t& uint16_at(Address addr) { 44 return *reinterpret_cast<uint16_t*>(addr); 47 static uint32_t& uint32_at(Address addr) { 48 return *reinterpret_cast<uint32_t*>(addr); 51 static int32_t& int32_at(Address addr) { 52 return *reinterpret_cast<int32_t*>(addr); 55 static uint64_t& uint64_at(Address addr) { 56 return *reinterpret_cast<uint64_t*>(addr); [all...] |
/bionic/libc/inet/ |
ether_ntoa.c | 38 ether_ntoa_r (const struct ether_addr *addr, char * buf) 41 addr->ether_addr_octet[0], addr->ether_addr_octet[1], 42 addr->ether_addr_octet[2], addr->ether_addr_octet[3], 43 addr->ether_addr_octet[4], addr->ether_addr_octet[5]); 51 ether_ntoa (const struct ether_addr *addr) 54 return ether_ntoa_r(addr, buf);
|
/system/core/libcutils/ |
atomic-android-sh.c | 48 #define SWAP_LOCK(addr) \ 49 &_swap_locks[((unsigned)(void*)(addr) >> 3U) % SWAP_LOCK_COUNT] 52 int32_t android_atomic_acquire_load(volatile const int32_t* addr) 54 return *addr; 57 int32_t android_atomic_release_load(volatile const int32_t* addr) 59 return *addr; 62 void android_atomic_acquire_store(int32_t value, volatile int32_t* addr) { 65 oldValue = *addr; 66 } while (android_atomic_release_cas(oldValue, value, addr)); 69 void android_atomic_release_store(int32_t value, volatile int32_t* addr) { [all...] |
/external/kernel-headers/original/asm-generic/bitops/ |
find.h | 4 extern unsigned long find_next_bit(const unsigned long *addr, unsigned long 7 extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned 10 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0) 11 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
|
/external/skia/src/ports/ |
SkThread_none.cpp | 20 int32_t sk_atomic_inc(int32_t* addr) 22 int32_t value = *addr; 23 *addr = value + 1; 27 int32_t sk_atomic_dec(int32_t* addr) 29 int32_t value = *addr; 30 *addr = value - 1;
|
/external/srtp/crypto/include/ |
integers.h | 117 #define PUT_32(addr,value) \ 119 ((unsigned char *) (addr))[0] = (value >> 24); \ 120 ((unsigned char *) (addr))[1] = (value >> 16) & 0xff; \ 121 ((unsigned char *) (addr))[2] = (value >> 8) & 0xff; \ 122 ((unsigned char *) (addr))[3] = (value) & 0xff; \ 124 #define GET_32(addr) ((((unsigned char *) (addr))[0] << 24) | \ 125 (((unsigned char *) (addr))[1] << 16) | \ 126 (((unsigned char *) (addr))[2] << 8) | \ 127 (((unsigned char *) (addr))[3])) [all...] |
/external/kernel-headers/original/linux/ |
etherdevice.h | 52 * @addr: Pointer to a six-byte array containing the Ethernet address 56 static inline int is_zero_ether_addr(const u8 *addr) 58 return !(addr[0] | addr[1] | addr[2] | addr[3] | addr[4] | addr[5]); 63 * @addr: Pointer to a six-byte array containing the Ethernet address 68 static inline int is_multicast_ether_addr(const u8 *addr) [all...] |
/external/quake/quake/src/WinQuake/ |
net_bw.h | 27 int BW_Connect (int socket, struct qsockaddr *addr);
29 int BW_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int BW_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
32 char *BW_AddrToString (struct qsockaddr *addr);
33 int BW_StringToAddr (char *string, struct qsockaddr *addr);
34 int BW_GetSocketAddr (int socket, struct qsockaddr *addr);
35 int BW_GetNameFromAddr (struct qsockaddr *addr, char *name);
36 int BW_GetAddrFromName (char *name, struct qsockaddr *addr);
38 int BW_GetSocketPort (struct qsockaddr *addr);
39 int BW_SetSocketPort (struct qsockaddr *addr, int port); [all...] |
net_ipx.h | 27 int IPX_Connect (int socket, struct qsockaddr *addr);
29 int IPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int IPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
32 char *IPX_AddrToString (struct qsockaddr *addr);
33 int IPX_StringToAddr (char *string, struct qsockaddr *addr);
34 int IPX_GetSocketAddr (int socket, struct qsockaddr *addr);
35 int IPX_GetNameFromAddr (struct qsockaddr *addr, char *name);
36 int IPX_GetAddrFromName (char *name, struct qsockaddr *addr);
38 int IPX_GetSocketPort (struct qsockaddr *addr);
39 int IPX_SetSocketPort (struct qsockaddr *addr, int port); [all...] |
net_mp.h | 27 int MPATH_Connect (int socket, struct qsockaddr *addr);
29 int MPATH_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int MPATH_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
32 char *MPATH_AddrToString (struct qsockaddr *addr);
33 int MPATH_StringToAddr (char *string, struct qsockaddr *addr);
34 int MPATH_GetSocketAddr (int socket, struct qsockaddr *addr);
35 int MPATH_GetNameFromAddr (struct qsockaddr *addr, char *name);
36 int MPATH_GetAddrFromName (char *name, struct qsockaddr *addr);
38 int MPATH_GetSocketPort (struct qsockaddr *addr);
39 int MPATH_SetSocketPort (struct qsockaddr *addr, int port); [all...] |
net_udp.h | 27 int UDP_Connect (int socket, struct qsockaddr *addr); 29 int UDP_Read (int socket, byte *buf, int len, struct qsockaddr *addr); 30 int UDP_Write (int socket, byte *buf, int len, struct qsockaddr *addr); 32 char *UDP_AddrToString (struct qsockaddr *addr); 33 int UDP_StringToAddr (const char *string, struct qsockaddr *addr); 34 int UDP_GetSocketAddr (int socket, struct qsockaddr *addr); 35 int UDP_GetNameFromAddr (struct qsockaddr *addr, char *name); 36 int UDP_GetAddrFromName (const char *name, struct qsockaddr *addr); 38 int UDP_GetSocketPort (struct qsockaddr *addr); 39 int UDP_SetSocketPort (struct qsockaddr *addr, int port) [all...] |
net_wins.h | 27 int WINS_Connect (int socket, struct qsockaddr *addr);
29 int WINS_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int WINS_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
32 char *WINS_AddrToString (struct qsockaddr *addr);
33 int WINS_StringToAddr (char *string, struct qsockaddr *addr);
34 int WINS_GetSocketAddr (int socket, struct qsockaddr *addr);
35 int WINS_GetNameFromAddr (struct qsockaddr *addr, char *name);
36 int WINS_GetAddrFromName (char *name, struct qsockaddr *addr);
38 int WINS_GetSocketPort (struct qsockaddr *addr);
39 int WINS_SetSocketPort (struct qsockaddr *addr, int port); [all...] |
net_wipx.h | 27 int WIPX_Connect (int socket, struct qsockaddr *addr);
29 int WIPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int WIPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
32 char *WIPX_AddrToString (struct qsockaddr *addr);
33 int WIPX_StringToAddr (char *string, struct qsockaddr *addr);
34 int WIPX_GetSocketAddr (int socket, struct qsockaddr *addr);
35 int WIPX_GetNameFromAddr (struct qsockaddr *addr, char *name);
36 int WIPX_GetAddrFromName (char *name, struct qsockaddr *addr);
38 int WIPX_GetSocketPort (struct qsockaddr *addr);
39 int WIPX_SetSocketPort (struct qsockaddr *addr, int port); [all...] |
/external/webkit/Source/WebKit/android/wds/client/ |
ClientUtils.cpp | 30 void createTcpSocket(sockaddr_in& addr, short port) { 31 memset(&addr, 0, sizeof(sockaddr_in)); 32 addr.sin_family = AF_INET; 33 addr.sin_port = htons(port); 34 inet_pton(AF_INET, "127.0.0.1", &addr.sin_addr);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
chap.c | 25 const u8 *addr[3]; local 28 addr[0] = &id; 30 addr[1] = secret; 32 addr[2] = challenge; 34 md5_vector(3, addr, len, response);
|
/external/wpa_supplicant_8/src/eap_common/ |
chap.c | 24 const u8 *addr[3]; local 27 addr[0] = &id; 29 addr[1] = secret; 31 addr[2] = challenge; 33 return md5_vector(3, addr, len, response);
|
/dalvik/vm/ |
Atomic.cpp | 44 volatile int64_t* addr) 47 (int64_t*)addr) == 0; 52 volatile int64_t* addr) 56 oldValue = *addr; 57 } while (dvmQuasiAtomicCas64(oldValue, value, addr)); 61 int64_t dvmQuasiAtomicSwap64(int64_t value, volatile int64_t* addr) 63 return dvmQuasiAtomicSwap64Body(value, addr); 66 int64_t dvmQuasiAtomicSwap64Sync(int64_t value, volatile int64_t* addr) 70 oldValue = dvmQuasiAtomicSwap64Body(value, addr); 76 int64_t dvmQuasiAtomicRead64(volatile const int64_t* addr) [all...] |
/external/qemu/ |
ioport-user.c | 26 void cpu_outb(pio_addr_t addr, uint8_t val) 29 addr, val); 32 void cpu_outw(pio_addr_t addr, uint16_t val) 35 addr, val); 38 void cpu_outl(pio_addr_t addr, uint32_t val) 41 addr, val); 44 uint8_t cpu_inb(pio_addr_t addr) 46 fprintf(stderr, "inb: port=0x%04"FMT_pioaddr"\n", addr); 50 uint16_t cpu_inw(pio_addr_t addr) 52 fprintf(stderr, "inw: port=0x%04"FMT_pioaddr"\n", addr); [all...] |
/external/tcpdump/missing/ |
inet_aton.c | 56 inet_aton(const char *cp, struct in_addr *addr) 58 addr->s_addr = inet_addr(cp); 59 return (addr->s_addr == INADDR_NONE) ? 0 : 1;
|
/external/clang/test/CodeGen/ |
2003-11-18-CondExprLValue.c | 5 void split_large_page(unsigned long addr, pgprot_t prot) 7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
|
/external/dbus/cmake/modules/ |
CheckForAbstractSockets.c | 10 struct sockaddr_un addr; local 20 memset (&addr, '\0', sizeof (addr)); 21 addr.sun_family = AF_UNIX; 22 strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test"); 23 addr.sun_path[0] = '\0'; /* this is what makes it abstract */ 25 if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
|
/external/grub/stage2/ |
mb_header.h | 58 #define MULTIBOOT_FOUND(addr, len) \ 59 (! ((addr) & 0x3) \ 61 && *((int *) (addr)) == MULTIBOOT_MAGIC \ 62 && ! (*((unsigned *) (addr)) + *((unsigned *) (addr + 4)) \ 63 + *((unsigned *) (addr + 8))) \ 64 && (! (MULTIBOOT_AOUT_KLUDGE & *((int *) (addr + 4))) || (len) >= 32) \ 65 && (! (MULTIBOOT_VIDEO_MODE & *((int *) (addr + 4))) || (len) >= 48))
|
/external/kernel-headers/original/asm-arm/ |
ide.h | 29 #define __ide_mm_insw(port,addr,len) readsw(port,addr,len) 30 #define __ide_mm_insl(port,addr,len) readsl(port,addr,len) 31 #define __ide_mm_outsw(port,addr,len) writesw(port,addr,len) 32 #define __ide_mm_outsl(port,addr,len) writesl(port,addr,len)
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
qemu_tracing.h | 26 int qemu_add_mapping(unsigned int addr, const char *name); 27 int qemu_remove_mapping(unsigned int addr);
|
/system/core/include/cutils/ |
atomic.h | 68 int32_t android_atomic_inc(volatile int32_t* addr); 69 int32_t android_atomic_dec(volatile int32_t* addr); 70 int32_t android_atomic_add(int32_t value, volatile int32_t* addr); 71 int32_t android_atomic_and(int32_t value, volatile int32_t* addr); 72 int32_t android_atomic_or(int32_t value, volatile int32_t* addr); 80 int32_t android_atomic_acquire_load(volatile const int32_t* addr); 81 int32_t android_atomic_release_load(volatile const int32_t* addr); 89 void android_atomic_acquire_store(int32_t value, volatile int32_t* addr); 90 void android_atomic_release_store(int32_t value, volatile int32_t* addr); 96 * only happen when *addr == oldvalue [all...] |