Home
last modified time | relevance | path

Searched full:addr (Results 1 – 25 of 6916) sorted by relevance

12345678910>>...277

/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/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/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/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/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/libnl/lib/route/
Daddr.c2 * lib/route/addr.c Addresses
28 * struct rtnl_addr *addr = rtnl_addr_alloc();
33 * rtnl_addr_set_ifindex(addr, ifindex);
34 * rtnl_addr_set_local(addr, local_addr);
38 * rtnl_addr_set_label(addr, "mylabel");
44 * rtnl_addr_set_peer(addr, peer_addr);
49 * rtnl_addr_set_scope(addr, rtnl_str2scope("site"));
54 * rtnl_addr_set_broadcast(addr, broadcast_addr);
60 * rtnl_addr_add(sk, addr, 0);
63 * rtnl_addr_put(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/elfutils/libdw/
Dmemory-access.h44 const unsigned char *addr, const unsigned char *end) in __libdw_max_len_leb128() argument
46 const size_t pointer_len = likely (addr < end) ? end - addr : 0; in __libdw_max_len_leb128()
51 __libdw_max_len_uleb128 (const unsigned char *addr, const unsigned char *end) in __libdw_max_len_uleb128() argument
54 return __libdw_max_len_leb128 (type_len, addr, end); in __libdw_max_len_uleb128()
58 __libdw_max_len_sleb128 (const unsigned char *addr, const unsigned char *end) in __libdw_max_len_sleb128() argument
62 return __libdw_max_len_leb128 (type_len, addr, end); in __libdw_max_len_sleb128()
65 #define get_uleb128_step(var, addr, nth) \ argument
67 unsigned char __b = *(addr)++; \
107 /* Note, addr needs to me smaller than end. */
108 #define get_uleb128(var, addr, end) ((var) = __libdw_get_uleb128 (&(addr), end)) argument
[all …]
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/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/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/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/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/microblaze/include/asm/
Dbitops.h36 static inline void set_bit(int nr, volatile void *addr) in set_bit() argument
38 int * a = (int *) addr; in set_bit()
49 static inline void __set_bit(int nr, volatile void *addr) in __set_bit() argument
51 int * a = (int *) addr; in __set_bit()
66 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() argument
68 int * a = (int *) addr; in clear_bit()
79 #define __clear_bit(nr, addr) clear_bit(nr, addr) argument
82 static inline void change_bit(int nr, volatile void *addr) in change_bit() argument
86 unsigned long *ADDR = (unsigned long *) addr; in change_bit() local
88 ADDR += nr >> 5; in change_bit()
[all …]
/external/elfutils/libcpu/
Dmemory-access.h53 # define read_2ubyte_unaligned(Addr) \ argument
55 ? bswap_16 (*((const uint16_t *) (Addr))) \
56 : *((const uint16_t *) (Addr)))
57 # define read_2sbyte_unaligned(Addr) \ argument
59 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \
60 : *((const int16_t *) (Addr)))
62 # define read_4ubyte_unaligned_noncvt(Addr) \ argument
63 *((const uint32_t *) (Addr))
64 # define read_4ubyte_unaligned(Addr) \ argument
66 ? bswap_32 (*((const uint32_t *) (Addr))) \
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dfp-int-conversions-direct-moves.ll7 %arg.addr = alloca float, align 4
8 store float %arg, float* %arg.addr, align 4
9 %0 = load float, float* %arg.addr, align 4
20 %arg.addr = alloca i8, align 1
21 store i8 %arg, i8* %arg.addr, align 1
22 %0 = load i8, i8* %arg.addr, align 1
33 %arg.addr = alloca double, align 8
34 store double %arg, double* %arg.addr, align 8
35 %0 = load double, double* %arg.addr, align 8
46 %arg.addr = alloca i8, align 1
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dfp-int-conversions-direct-moves.ll7 %arg.addr = alloca float, align 4
8 store float %arg, float* %arg.addr, align 4
9 %0 = load float, float* %arg.addr, align 4
20 %arg.addr = alloca i8, align 1
21 store i8 %arg, i8* %arg.addr, align 1
22 %0 = load i8, i8* %arg.addr, align 1
33 %arg.addr = alloca double, align 8
34 store double %arg, double* %arg.addr, align 8
35 %0 = load double, double* %arg.addr, align 8
46 %arg.addr = alloca i8, align 1
[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/lib/CodeGen/
DCGBuilder.h70 llvm::LoadInst *CreateLoad(Address Addr, const llvm::Twine &Name = "") {
71 return CreateAlignedLoad(Addr.getPointer(),
72 Addr.getAlignment().getQuantity(),
75 llvm::LoadInst *CreateLoad(Address Addr, const char *Name) { in CreateLoad() argument
78 return CreateAlignedLoad(Addr.getPointer(), in CreateLoad()
79 Addr.getAlignment().getQuantity(), in CreateLoad()
82 llvm::LoadInst *CreateLoad(Address Addr, bool IsVolatile,
84 return CreateAlignedLoad(Addr.getPointer(),
85 Addr.getAlignment().getQuantity(),
91 llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align,
[all …]
/external/compiler-rt/lib/esan/
Desan_interface.cpp33 void __esan_aligned_load1(void *Addr) { in __esan_aligned_load1() argument
34 processRangeAccess(GET_CALLER_PC(), (uptr)Addr, 1, false); in __esan_aligned_load1()
37 void __esan_aligned_load2(void *Addr) { in __esan_aligned_load2() argument
38 processRangeAccess(GET_CALLER_PC(), (uptr)Addr, 2, false); in __esan_aligned_load2()
41 void __esan_aligned_load4(void *Addr) { in __esan_aligned_load4() argument
42 processRangeAccess(GET_CALLER_PC(), (uptr)Addr, 4, false); in __esan_aligned_load4()
45 void __esan_aligned_load8(void *Addr) { in __esan_aligned_load8() argument
46 processRangeAccess(GET_CALLER_PC(), (uptr)Addr, 8, false); in __esan_aligned_load8()
49 void __esan_aligned_load16(void *Addr) { in __esan_aligned_load16() argument
50 processRangeAccess(GET_CALLER_PC(), (uptr)Addr, 16, false); in __esan_aligned_load16()
[all …]

12345678910>>...277