Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 5327) sorted by relevance

12345678910>>...214

/external/clang/test/Sema/
Daarch64-neon-ranges.c39 void test_ld1st1(int8x8_t small, int8x16_t big, void *addr) { in test_ld1st1() argument
40 vld1_lane_s8(addr, small, 7); in test_ld1st1()
41 vld1_lane_s16(addr, small, 3); in test_ld1st1()
42 vld1_lane_s32(addr, small, 1); in test_ld1st1()
43 vld1_lane_s64(addr, small, 0); in test_ld1st1()
45 vld1q_lane_s8(addr, big, 15); in test_ld1st1()
46 vld1q_lane_s16(addr, big, 7); in test_ld1st1()
47 vld1q_lane_s32(addr, big, 3); in test_ld1st1()
48 vld1q_lane_s64(addr, big, 1); in test_ld1st1()
50 vld1_lane_s8(addr, small, 8); // expected-error {{argument should be a value from 0 to 7}} in test_ld1st1()
[all …]
Dbuiltins-arm64-exclusive.c7 int test_ldrex(char *addr) { in test_ldrex() argument
9 sum += __builtin_arm_ldrex(addr); in test_ldrex()
10 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
11 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
12 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
13 sum += __builtin_arm_ldrex((__int128 *)addr); in test_ldrex()
14 sum += __builtin_arm_ldrex((float *)addr); in test_ldrex()
15 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
16 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
17 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
[all …]
Dbuiltins-arm-exclusive.c7 int test_ldrex(char *addr) { in test_ldrex() argument
9 sum += __builtin_arm_ldrex(addr); in test_ldrex()
10 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
11 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
12 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
13 sum += __builtin_arm_ldrex((float *)addr); in test_ldrex()
14 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
15 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
16 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
17 sum += __builtin_arm_ldrex((volatile char *)addr); in test_ldrex()
[all …]
/external/webrtc/webrtc/base/
Dsocketaddress_unittest.cc37 SocketAddress addr; in TEST() local
38 EXPECT_FALSE(addr.IsUnresolvedIP()); in TEST()
39 EXPECT_EQ(IPAddress(), addr.ipaddr()); in TEST()
40 EXPECT_EQ(0, addr.port()); in TEST()
41 EXPECT_EQ("", addr.hostname()); in TEST()
45 SocketAddress addr(IPAddress(0x01020304), 5678); in TEST() local
46 EXPECT_FALSE(addr.IsUnresolvedIP()); in TEST()
47 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); in TEST()
48 EXPECT_EQ(5678, addr.port()); in TEST()
49 EXPECT_EQ("", addr.hostname()); in TEST()
[all …]
Dipaddress_unittest.cc105 bool AreEqual(const IPAddress& addr, in AreEqual() argument
107 if ((IPIsAny(addr) != IPIsAny(addr2)) || in AreEqual()
108 (IPIsLoopback(addr) != IPIsLoopback(addr2)) || in AreEqual()
109 (IPIsPrivate(addr) != IPIsPrivate(addr2)) || in AreEqual()
110 (HashIP(addr) != HashIP(addr2)) || in AreEqual()
111 (addr.Size() != addr2.Size()) || in AreEqual()
112 (addr.family() != addr2.family()) || in AreEqual()
113 (addr.ToString() != addr2.ToString())) { in AreEqual()
117 v4addr = addr.ipv4_address(); in AreEqual()
123 v6addr = addr.ipv6_address(); in AreEqual()
[all …]
/external/u-boot/arch/sandbox/include/asm/
Dio.h42 #define readb(addr) ((void)addr, 0) argument
43 #define readw(addr) ((void)addr, 0) argument
44 #define readl(addr) ((void)addr, 0) argument
46 #define readq(addr) ((void)addr, 0) argument
48 #define writeb(v, addr) ((void)addr) argument
49 #define writew(v, addr) ((void)addr) argument
50 #define writel(v, addr) ((void)addr) argument
52 #define writeq(v, addr) ((void)addr) argument
83 #define clrbits(type, addr, clear) \ argument
84 out_##type((addr), in_##type(addr) & ~(clear))
[all …]
/external/libnl/lib/route/
Daddr.c137 struct rtnl_addr *addr = nl_object_priv(obj); in addr_constructor() local
139 addr->a_scope = RT_SCOPE_NOWHERE; in addr_constructor()
144 struct rtnl_addr *addr = nl_object_priv(obj); in addr_free_data() local
146 if (!addr) in addr_free_data()
149 nl_addr_put(addr->a_peer); in addr_free_data()
150 nl_addr_put(addr->a_local); in addr_free_data()
151 nl_addr_put(addr->a_bcast); in addr_free_data()
152 nl_addr_put(addr->a_multicast); in addr_free_data()
153 nl_addr_put(addr->a_anycast); in addr_free_data()
154 rtnl_link_put(addr->a_link); in addr_free_data()
[all …]
/external/u-boot/arch/m68k/include/asm/
Dio.h18 #define __raw_readb(addr) (*(volatile u8 *)(addr)) argument
19 #define __raw_readw(addr) (*(volatile u16 *)(addr)) argument
20 #define __raw_readl(addr) (*(volatile u32 *)(addr)) argument
22 #define __raw_writeb(b,addr) ((*(volatile u8 *) (addr)) = (b)) argument
23 #define __raw_writew(w,addr) ((*(volatile u16 *) (addr)) = (w)) argument
24 #define __raw_writel(l,addr) ((*(volatile u32 *) (addr)) = (l)) argument
26 #define readb(addr) in_8((volatile u8 *)(addr)) argument
27 #define writeb(b,addr) out_8((volatile u8 *)(addr), (b)) argument
29 #define readw(addr) (*(volatile u16 *) (addr)) argument
30 #define readl(addr) (*(volatile u32 *) (addr)) argument
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface.cc31 void __tsan_read16(void *addr) { in __tsan_read16() argument
32 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read16()
33 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_read16()
36 void __tsan_write16(void *addr) { in __tsan_write16() argument
37 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write16()
38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_write16()
41 void __tsan_read16_pc(void *addr, void *pc) { in __tsan_read16_pc() argument
42 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8); in __tsan_read16_pc()
43 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8); in __tsan_read16_pc()
46 void __tsan_write16_pc(void *addr, void *pc) { in __tsan_write16_pc() argument
[all …]
/external/u-boot/board/gdsys/common/
Ddp501.c24 static void dp501_setbits(u8 addr, u8 reg, u8 mask) in dp501_setbits() argument
28 val = i2c_reg_read(addr, reg); in dp501_setbits()
30 i2c_reg_write(addr, reg, val); in dp501_setbits()
33 static void dp501_clrbits(u8 addr, u8 reg, u8 mask) in dp501_clrbits() argument
37 val = i2c_reg_read(addr, reg); in dp501_clrbits()
39 i2c_reg_write(addr, reg, val); in dp501_clrbits()
42 static int dp501_detect_cable_adapter(u8 addr) in dp501_detect_cable_adapter() argument
44 u8 val = i2c_reg_read(addr, 0x00); in dp501_detect_cable_adapter()
49 static void dp501_link_training(u8 addr) in dp501_link_training() argument
56 val = i2c_reg_read(addr, 0x51); in dp501_link_training()
[all …]
/external/u-boot/arch/powerpc/include/asm/
Dio.h23 #define readb(addr) in_8((volatile u8 *)(addr)) argument
24 #define writeb(b,addr) out_8((volatile u8 *)(addr), (b)) argument
26 #define readw(addr) (*(volatile u16 *) (addr)) argument
27 #define readl(addr) (*(volatile u32 *) (addr)) argument
28 #define writew(b,addr) ((*(volatile u16 *) (addr)) = (b)) argument
29 #define writel(b,addr) ((*(volatile u32 *) (addr)) = (b)) argument
31 #define readw(addr) in_le16((volatile u16 *)(addr)) argument
32 #define readl(addr) in_le32((volatile u32 *)(addr)) argument
33 #define writew(b,addr) out_le16((volatile u16 *)(addr),(b)) argument
34 #define writel(b,addr) out_le32((volatile u32 *)(addr),(b)) argument
[all …]
Dpci_io.h10 #define pci_read_le16(addr, dest) \ argument
12 "r" (addr), "m" (*addr));
14 #define pci_write_le16(addr, val) \ argument
15 __asm__ __volatile__("sthbrx %1,0,%2" : "=m" (*addr) : \
16 "r" (val), "r" (addr));
19 #define pci_read_le32(addr, dest) \ argument
21 "r" (addr), "m" (*addr));
23 #define pci_write_le32(addr, val) \ argument
24 __asm__ __volatile__("stwbrx %1,0,%2" : "=m" (*addr) : \
25 "r" (val), "r" (addr));
[all …]
/external/u-boot/arch/x86/include/asm/
Dio.h60 #define readb(addr) (*(volatile unsigned char *) (addr)) argument
61 #define readw(addr) (*(volatile unsigned short *) (addr)) argument
62 #define readl(addr) (*(volatile unsigned int *) (addr)) argument
63 #define readq(addr) (*(volatile unsigned long long *) (addr)) argument
69 #define writeb(b,addr) (*(volatile unsigned char *) (addr) = (b)) argument
70 #define writew(b,addr) (*(volatile unsigned short *) (addr) = (b)) argument
71 #define writel(b,addr) (*(volatile unsigned int *) (addr) = (b)) argument
72 #define writeq(b,addr) (*(volatile unsigned long long *) (addr) = (b)) argument
102 #define clrbits(type, addr, clear) \ argument
103 out_##type((addr), in_##type(addr) & ~(clear))
[all …]
/external/libcups/cups/
Dhttp-addr.c38 httpAddrAny(const http_addr_t *addr) /* I - Address to check */ in httpAddrAny() argument
40 if (!addr) in httpAddrAny()
44 if (addr->addr.sa_family == AF_INET6 && in httpAddrAny()
45 IN6_IS_ADDR_UNSPECIFIED(&(addr->ipv6.sin6_addr))) in httpAddrAny()
49 if (addr->addr.sa_family == AF_INET && in httpAddrAny()
50 ntohl(addr->ipv4.sin_addr.s_addr) == 0x00000000) in httpAddrAny()
69 httpAddrClose(http_addr_t *addr, /* I - Listen address or @code NULL@ */ in httpAddrClose() argument
80 if (addr && addr->addr.sa_family == AF_LOCAL) in httpAddrClose()
81 return (unlink(addr->un.sun_path)); in httpAddrClose()
104 if (addr1->addr.sa_family != addr2->addr.sa_family) in httpAddrEqual()
[all …]
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace06.c42 long addr; member
46 PTRACE_PEEKDATA,.addr = 0}, {
47 PTRACE_PEEKDATA,.addr = 1}, {
48 PTRACE_PEEKDATA,.addr = 2}, {
49 PTRACE_PEEKDATA,.addr = 3}, {
50 PTRACE_PEEKDATA,.addr = -1}, {
51 PTRACE_PEEKDATA,.addr = -2}, {
52 PTRACE_PEEKDATA,.addr = -3}, {
53 PTRACE_PEEKDATA,.addr = -4}, {
54 PTRACE_PEEKTEXT,.addr = 0}, {
[all …]
/external/clang/test/CodeGen/
Dbuiltins-arm-exclusive.c9 int test_ldrex(char *addr, long long *addr64, float *addrfloat) { in test_ldrex() argument
13 sum += __builtin_arm_ldrex(addr); in test_ldrex()
20 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
29 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
37 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
61 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
78 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
89 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
102 int test_ldaex(char *addr, long long *addr64, float *addrfloat) { in test_ldaex() argument
106 sum += __builtin_arm_ldaex(addr); in test_ldaex()
[all …]
/external/u-boot/arch/nios2/include/asm/
Dio.h56 #define readb(addr)\ argument
58 asm volatile( "ldbio %0, 0(%1)" :"=r"(val) : "r" (addr)); val;})
59 #define readw(addr)\ argument
61 asm volatile( "ldhio %0, 0(%1)" :"=r"(val) : "r" (addr)); val;})
62 #define readl(addr)\ argument
64 asm volatile( "ldwio %0, 0(%1)" :"=r"(val) : "r" (addr)); val;})
66 #define writeb(val,addr)\ argument
67 asm volatile ("stbio %0, 0(%1)" : : "r" (val), "r" (addr))
68 #define writew(val,addr)\ argument
69 asm volatile ("sthio %0, 0(%1)" : : "r" (val), "r" (addr))
[all …]
/external/u-boot/arch/mips/include/asm/
Dbitops.h65 set_bit(int nr, volatile void *addr) in set_bit() argument
67 unsigned long *m = ((unsigned long *) addr) + (nr >> 5); in set_bit()
88 static __inline__ void __set_bit(int nr, volatile void * addr) in __set_bit() argument
90 unsigned long * m = ((unsigned long *) addr) + (nr >> 5); in __set_bit()
107 clear_bit(int nr, volatile void *addr) in clear_bit() argument
109 unsigned long *m = ((unsigned long *) addr) + (nr >> 5); in clear_bit()
131 change_bit(int nr, volatile void *addr) in change_bit() argument
133 unsigned long *m = ((unsigned long *) addr) + (nr >> 5); in change_bit()
154 static __inline__ void __change_bit(int nr, volatile void * addr) in __change_bit() argument
156 unsigned long * m = ((unsigned long *) addr) + (nr >> 5); in __change_bit()
[all …]
/external/u-boot/arch/arc/include/asm/
Dio.h57 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() argument
63 : "m" (*(volatile u8 __force *)addr) in __raw_readb()
68 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() argument
74 : "m" (*(volatile u16 __force *)addr) in __raw_readw()
79 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() argument
85 : "m" (*(volatile u32 __force *)addr) in __raw_readl()
90 static inline void __raw_writeb(u8 b, volatile void __iomem *addr) in __raw_writeb() argument
94 : "r" (b), "m" (*(volatile u8 __force *)addr) in __raw_writeb()
98 static inline void __raw_writew(u16 s, volatile void __iomem *addr) in __raw_writew() argument
102 : "r" (s), "m" (*(volatile u16 __force *)addr) in __raw_writew()
[all …]
/external/elfutils/libdw/
Ddwarf_ranges.c57 const unsigned char *addr = *addrp; in __libdw_read_begin_end_pair_inc() local
58 if (addrend - addr < 1) in __libdw_read_begin_end_pair_inc()
61 const char code = *addr++; in __libdw_read_begin_end_pair_inc()
66 *addrp = addr; in __libdw_read_begin_end_pair_inc()
70 if (addrend - addr < 1) in __libdw_read_begin_end_pair_inc()
72 get_uleb128 (addr_idx, addr, addrend); in __libdw_read_begin_end_pair_inc()
76 *addrp = addr; in __libdw_read_begin_end_pair_inc()
80 if (addrend - addr < 1) in __libdw_read_begin_end_pair_inc()
82 get_uleb128 (addr_idx, addr, addrend); in __libdw_read_begin_end_pair_inc()
85 if (addrend - addr < 1) in __libdw_read_begin_end_pair_inc()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Darm64-zeroreg.ll10 define void @func(i64* %addr) {
18 %v0 = load volatile i64, i64* %addr
19 %v1 = load volatile i64, i64* %addr
20 %v2 = load volatile i64, i64* %addr
21 %v3 = load volatile i64, i64* %addr
22 %v4 = load volatile i64, i64* %addr
23 %v5 = load volatile i64, i64* %addr
24 %v6 = load volatile i64, i64* %addr
25 %v7 = load volatile i64, i64* %addr
26 %v8 = load volatile i64, i64* %addr
[all …]
/external/python/cpython3/Python/
Dstructmember.c9 PyMember_GetOne(const char *addr, PyMemberDef *l) in PyMember_GetOne() argument
13 addr += l->offset; in PyMember_GetOne()
16 v = PyBool_FromLong(*(char*)addr); in PyMember_GetOne()
19 v = PyLong_FromLong(*(char*)addr); in PyMember_GetOne()
22 v = PyLong_FromUnsignedLong(*(unsigned char*)addr); in PyMember_GetOne()
25 v = PyLong_FromLong(*(short*)addr); in PyMember_GetOne()
28 v = PyLong_FromUnsignedLong(*(unsigned short*)addr); in PyMember_GetOne()
31 v = PyLong_FromLong(*(int*)addr); in PyMember_GetOne()
34 v = PyLong_FromUnsignedLong(*(unsigned int*)addr); in PyMember_GetOne()
37 v = PyLong_FromLong(*(long*)addr); in PyMember_GetOne()
[all …]
/external/libnl/lib/
Daddr.c38 static inline uint16_t dn_ntohs(uint16_t addr) in dn_ntohs() argument
44 .word = addr, in dn_ntohs()
50 static inline int do_digit(char *str, uint16_t *addr, uint16_t scale, in do_digit() argument
53 uint16_t tmp = *addr / scale; in do_digit()
62 *addr -= (tmp * scale); in do_digit()
71 uint16_t addr = dn_ntohs(*(uint16_t *)addrbuf); in dnet_ntop() local
72 uint16_t area = addr >> 10; in dnet_ntop()
79 addr &= 0x03ff; in dnet_ntop()
97 if (do_digit(str + pos, &addr, 1000, &pos, len, &started)) in dnet_ntop()
100 if (do_digit(str + pos, &addr, 100, &pos, len, &started)) in dnet_ntop()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrMemory.td27 def regPlusImm : PatFrag<(ops node:$addr, node:$off),
28 (add node:$addr, node:$off),
45 def regPlusGA : PatFrag<(ops node:$addr, node:$off),
46 (add node:$addr, node:$off),
61 def LOAD_I32 : I<(outs I32:$dst), (ins i32imm:$off, I32:$addr,
63 "i32.load\t$dst, ${off}(${addr})${p2align}">;
64 def LOAD_I64 : I<(outs I64:$dst), (ins i32imm:$off, I32:$addr,
66 "i64.load\t$dst, ${off}(${addr})${p2align}">;
67 def LOAD_F32 : I<(outs F32:$dst), (ins i32imm:$off, I32:$addr,
69 "f32.load\t$dst, ${off}(${addr})${p2align}">;
[all …]
/external/jemalloc_new/src/
Dpages.c56 static void os_pages_unmap(void *addr, size_t size);
61 os_pages_map(void *addr, size_t size, size_t alignment, bool *commit) { in os_pages_map() argument
62 assert(ALIGNMENT_ADDR2BASE(addr, os_page) == addr); in os_pages_map()
76 ret = VirtualAlloc(addr, size, MEM_RESERVE | (*commit ? MEM_COMMIT : 0), in os_pages_map()
86 ret = mmap(addr, size, prot, mmap_flags, -1, 0); in os_pages_map()
92 } else if (addr != NULL && ret != addr) { in os_pages_map()
107 assert(ret == NULL || (addr == NULL && ret != addr) || (addr != NULL && in os_pages_map()
108 ret == addr)); in os_pages_map()
113 os_pages_trim(void *addr, size_t alloc_size, size_t leadsize, size_t size, in os_pages_trim() argument
115 void *ret = (void *)((uintptr_t)addr + leadsize); in os_pages_trim()
[all …]

12345678910>>...214