Home
last modified time | relevance | path

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

12345678910>>...289

/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/rtc_base/
Dsocket_address_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 …]
Dip_address_unittest.cc97 bool AreEqual(const IPAddress& addr, const IPAddress& addr2) { in AreEqual() argument
98 if ((IPIsAny(addr) != IPIsAny(addr2)) || in AreEqual()
99 (IPIsLoopback(addr) != IPIsLoopback(addr2)) || in AreEqual()
100 (IPIsPrivate(addr) != IPIsPrivate(addr2)) || in AreEqual()
101 (HashIP(addr) != HashIP(addr2)) || (addr.Size() != addr2.Size()) || in AreEqual()
102 (addr.family() != addr2.family()) || in AreEqual()
103 (addr.ToString() != addr2.ToString())) { in AreEqual()
107 v4addr = addr.ipv4_address(); in AreEqual()
113 v6addr = addr.ipv6_address(); in AreEqual()
122 IPAddress addr(0); // Intentionally make it v4. in BrokenIPStringFails() local
[all …]
/external/llvm-project/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-project/llvm/test/Transforms/InstCombine/
Datomicrmw.ll8 ; CHECK-NEXT: %res = load atomic i32, i32* %addr monotonic, align 4
10 define i32 @atomic_add_zero(i32* %addr) {
11 %res = atomicrmw add i32* %addr, i32 0 monotonic
16 ; CHECK-NEXT: %res = load atomic i32, i32* %addr monotonic, align 4
18 define i32 @atomic_or_zero(i32* %addr) {
19 %res = atomicrmw add i32* %addr, i32 0 monotonic
24 ; CHECK-NEXT: %res = load atomic i32, i32* %addr monotonic, align 4
26 define i32 @atomic_sub_zero(i32* %addr) {
27 %res = atomicrmw sub i32* %addr, i32 0 monotonic
32 ; CHECK-NEXT: %res = load atomic i32, i32* %addr monotonic, align 4
[all …]
/external/rust/crates/macaddr/src/parser/
Dtests.rs13 let addr = MacAddr6::from_str("12-34-56-78-9A-BC"); in test_parse_v6_upper_case_canonical_format() localVariable
15 assert!(addr.is_ok()); in test_parse_v6_upper_case_canonical_format()
16 let addr = addr.unwrap(); in test_parse_v6_upper_case_canonical_format() localVariable
18 assert_eq!(&[0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC], addr.as_bytes()); in test_parse_v6_upper_case_canonical_format()
23 let addr = MacAddr6::from_str("ab-cd-ef-ab-cd-ef"); in test_parse_v6_lower_case_canonical_format() localVariable
25 assert!(addr.is_ok()); in test_parse_v6_lower_case_canonical_format()
26 let addr = addr.unwrap(); in test_parse_v6_lower_case_canonical_format() localVariable
28 assert_eq!(&[0xAB, 0xCD, 0xEF, 0xAB, 0xCD, 0xEF], addr.as_bytes()); in test_parse_v6_lower_case_canonical_format()
33 let addr = MacAddr6::from_str("AB-cd-Ef-Ab-cD-EF"); in test_parse_v6_mixed_case_canonical_format() localVariable
35 assert!(addr.is_ok()); in test_parse_v6_mixed_case_canonical_format()
[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/libnl/lib/route/
Daddr.c3 * lib/route/addr.c Addresses
29 * struct rtnl_addr *addr = rtnl_addr_alloc();
34 * rtnl_addr_set_ifindex(addr, ifindex);
35 * rtnl_addr_set_local(addr, local_addr);
39 * rtnl_addr_set_label(addr, "mylabel");
45 * rtnl_addr_set_peer(addr, peer_addr);
50 * rtnl_addr_set_scope(addr, rtnl_str2scope("site"));
55 * rtnl_addr_set_broadcast(addr, broadcast_addr);
61 * rtnl_addr_add(sk, addr, 0);
64 * rtnl_addr_put(addr);
[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/llvm-project/clang/test/Sema/
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/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/llvm-project/llvm/test/CodeGen/ARM/
Dindexed-mem.ll7 %addr = getelementptr i32, i32* %base, i32 1
8 %ld = load i32, i32* %addr
9 %addr.1 = getelementptr i32, i32* %base, i32 2
11 store i32 %res, i32* %addr.1
12 ret i32* %addr
18 %addr = getelementptr i32, i32* %base, i32 -1
19 %ld = load i32, i32* %addr
20 %addr.1 = getelementptr i32, i32* %base, i32 2
22 store i32 %res, i32* %addr.1
23 ret i32* %addr
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interface.cpp32 void __tsan_read16(void *addr) { in __tsan_read16() argument
33 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read16()
34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_read16()
37 void __tsan_write16(void *addr) { in __tsan_write16() argument
38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write16()
39 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_write16()
42 void __tsan_read16_pc(void *addr, void *pc) { in __tsan_read16_pc() argument
43 MemoryRead(cur_thread(), STRIP_PC(pc), (uptr)addr, kSizeLog8); in __tsan_read16_pc()
44 MemoryRead(cur_thread(), STRIP_PC(pc), (uptr)addr + 8, kSizeLog8); in __tsan_read16_pc()
47 void __tsan_write16_pc(void *addr, void *pc) { in __tsan_write16_pc() argument
[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/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-project/clang/lib/CodeGen/
DCGBuilder.h68 llvm::LoadInst *CreateLoad(Address Addr, const llvm::Twine &Name = "") {
69 return CreateAlignedLoad(Addr.getPointer(),
70 Addr.getAlignment().getAsAlign(), Name);
72 llvm::LoadInst *CreateLoad(Address Addr, const char *Name) { in CreateLoad() argument
75 return CreateAlignedLoad(Addr.getPointer(), in CreateLoad()
76 Addr.getAlignment().getAsAlign(), Name); in CreateLoad()
78 llvm::LoadInst *CreateLoad(Address Addr, bool IsVolatile,
81 Addr.getPointer(), Addr.getAlignment().getAsAlign(), IsVolatile, Name);
85 llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align,
87 return CreateAlignedLoad(Addr, Align.getAsAlign(), Name);
[all …]
/external/llvm-project/polly/test/Isl/CodeGen/
Dphi_scalar_simple_2.ll16 ; CHECK-DAG: %x.addr.2.s2a = alloca i32
17 ; CHECK-DAG: %x.addr.2.phiops = alloca i32
18 ; CHECK-DAG: %x.addr.1.s2a = alloca i32
19 ; CHECK-DAG: %x.addr.1.phiops = alloca i32
20 ; CHECK-DAG: %x.addr.0.s2a = alloca i32
21 ; CHECK-DAG: %x.addr.0.phiops = alloca i32
27 ; CHECK: %x.addr.0.merge = phi i32 [ %x.addr.0.final_reload, %polly.exiting ], [ %x.addr.0,…
28 ; CHECK: ret i32 %x.addr.0.merge
31 ; CHECK-NEXT: store i32 %x, i32* %x.addr.0.phiops
35 ; CHECK: %x.addr.0.final_reload = load i32, i32* %x.addr.0.s2a
[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/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/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 …]
/external/arm-trusted-firmware/include/lib/
Dmmio.h12 static inline void mmio_write_8(uintptr_t addr, uint8_t value) in mmio_write_8() argument
14 *(volatile uint8_t*)addr = value; in mmio_write_8()
17 static inline uint8_t mmio_read_8(uintptr_t addr) in mmio_read_8() argument
19 return *(volatile uint8_t*)addr; in mmio_read_8()
22 static inline void mmio_write_16(uintptr_t addr, uint16_t value) in mmio_write_16() argument
24 *(volatile uint16_t*)addr = value; in mmio_write_16()
27 static inline uint16_t mmio_read_16(uintptr_t addr) in mmio_read_16() argument
29 return *(volatile uint16_t*)addr; in mmio_read_16()
32 static inline void mmio_clrsetbits_16(uintptr_t addr, in mmio_clrsetbits_16() argument
36 mmio_write_16(addr, (mmio_read_16(addr) & ~clear) | set); in mmio_clrsetbits_16()
[all …]

12345678910>>...289