/external/llvm-project/clang/test/Sema/ |
D | aarch64-neon-ranges.c | 39 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-re {{argument value {{.*}} is outside the valid ra… in test_ld1st1() [all …]
|
D | builtins-arm64-exclusive.c | 7 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 …]
|
D | builtins-arm-exclusive.c | 7 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/clang/test/Sema/ |
D | aarch64-neon-ranges.c | 39 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 …]
|
D | builtins-arm-exclusive.c | 7 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 …]
|
D | builtins-arm64-exclusive.c | 7 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 …]
|
/external/rust/crates/macaddr/src/parser/ |
D | tests.rs | 13 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/webrtc/rtc_base/ |
D | socket_address_unittest.cc | 37 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 …]
|
D | ip_address_unittest.cc | 97 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/clang/test/CodeGen/ |
D | inline-asm-x86-flag-output.c | 3 int test_cca(long nr, volatile long *addr) { in test_cca() argument 8 : "=@cca"(x), "=m"(*(volatile long *)(addr)) in test_cca() 16 int test_ccae(long nr, volatile long *addr) { in test_ccae() argument 21 : "=@ccae"(x), "=m"(*(volatile long *)(addr)) in test_ccae() 29 int test_ccb(long nr, volatile long *addr) { in test_ccb() argument 34 : "=@ccb"(x), "=m"(*(volatile long *)(addr)) in test_ccb() 42 int test_ccbe(long nr, volatile long *addr) { in test_ccbe() argument 47 : "=@ccbe"(x), "=m"(*(volatile long *)(addr)) in test_ccbe() 55 int test_ccc(long nr, volatile long *addr) { in test_ccc() argument 60 : "=@ccc"(x), "=m"(*(volatile long *)(addr)) in test_ccc() [all …]
|
D | builtins-arm-exclusive.c | 8 int test_ldrex(char *addr, long long *addr64, float *addrfloat) { in test_ldrex() argument 12 sum += __builtin_arm_ldrex(addr); in test_ldrex() 19 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex() 28 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex() 36 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex() 60 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex() 77 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex() 88 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex() 101 int test_ldaex(char *addr, long long *addr64, float *addrfloat) { in test_ldaex() argument 105 sum += __builtin_arm_ldaex(addr); in test_ldaex() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface.cc | 31 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/libnl/lib/route/ |
D | addr.c | 138 struct rtnl_addr *addr = nl_object_priv(obj); in addr_constructor() local 140 addr->a_scope = RT_SCOPE_NOWHERE; in addr_constructor() 145 struct rtnl_addr *addr = nl_object_priv(obj); in addr_free_data() local 147 if (!addr) in addr_free_data() 150 nl_addr_put(addr->a_peer); in addr_free_data() 151 nl_addr_put(addr->a_local); in addr_free_data() 152 nl_addr_put(addr->a_bcast); in addr_free_data() 153 nl_addr_put(addr->a_multicast); in addr_free_data() 154 nl_addr_put(addr->a_anycast); in addr_free_data() 155 rtnl_link_put(addr->a_link); in addr_free_data() [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface.cpp | 32 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/clang/test/CodeGen/ |
D | builtins-arm-exclusive.c | 9 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 …]
|
D | avx512pf-builtins.c | 8 void test_mm512_mask_prefetch_i32gather_pd(__m256i index, __mmask8 mask, void const *addr, int hint… in test_mm512_mask_prefetch_i32gather_pd() argument 11 return _mm512_mask_prefetch_i32gather_pd(index, mask, addr, 2, 1); in test_mm512_mask_prefetch_i32gather_pd() 14 void test_mm512_prefetch_i32gather_pd(__m256i index, void const *addr, int hint) { in test_mm512_prefetch_i32gather_pd() argument 17 return _mm512_prefetch_i32gather_pd(index, addr, 2, 1); in test_mm512_prefetch_i32gather_pd() 20 void test_mm512_mask_prefetch_i32gather_ps(__m512i index, __mmask16 mask, void const *addr, int hin… in test_mm512_mask_prefetch_i32gather_ps() argument 23 return _mm512_mask_prefetch_i32gather_ps(index, mask, addr, 2, 1); in test_mm512_mask_prefetch_i32gather_ps() 26 void test_mm512_prefetch_i32gather_ps(__m512i index, void const *addr, int hint) { in test_mm512_prefetch_i32gather_ps() argument 29 return _mm512_prefetch_i32gather_ps(index, addr, 2, 1); in test_mm512_prefetch_i32gather_ps() 32 void test_mm512_mask_prefetch_i64gather_pd(__m512i index, __mmask8 mask, void const *addr, int hint… in test_mm512_mask_prefetch_i64gather_pd() argument 35 return _mm512_mask_prefetch_i64gather_pd(index, mask, addr, 2, 1); in test_mm512_mask_prefetch_i64gather_pd() [all …]
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
D | ptrace06.c | 42 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/libcups/cups/ |
D | http-addr.c | 36 httpAddrAny(const http_addr_t *addr) /* I - Address to check */ in httpAddrAny() argument 38 if (!addr) in httpAddrAny() 42 if (addr->addr.sa_family == AF_INET6 && in httpAddrAny() 43 IN6_IS_ADDR_UNSPECIFIED(&(addr->ipv6.sin6_addr))) in httpAddrAny() 47 if (addr->addr.sa_family == AF_INET && in httpAddrAny() 48 ntohl(addr->ipv4.sin_addr.s_addr) == 0x00000000) in httpAddrAny() 67 httpAddrClose(http_addr_t *addr, /* I - Listen address or @code NULL@ */ in httpAddrClose() argument 78 if (addr && addr->addr.sa_family == AF_LOCAL) in httpAddrClose() 79 return (unlink(addr->un.sun_path)); in httpAddrClose() 102 if (addr1->addr.sa_family != addr2->addr.sa_family) in httpAddrEqual() [all …]
|
/external/libnl/lib/ |
D | addr.c | 40 static inline uint16_t dn_ntohs(uint16_t addr) in dn_ntohs() argument 46 .word = addr, in dn_ntohs() 52 static inline int do_digit(char *str, uint16_t *addr, uint16_t scale, in do_digit() argument 55 uint16_t tmp = *addr / scale; in do_digit() 64 *addr -= (tmp * scale); in do_digit() 73 uint16_t addr = dn_ntohs(*(uint16_t *)addrbuf); in dnet_ntop() local 74 uint16_t area = addr >> 10; in dnet_ntop() 81 addr &= 0x03ff; in dnet_ntop() 99 if (do_digit(str + pos, &addr, 1000, &pos, len, &started)) in dnet_ntop() 102 if (do_digit(str + pos, &addr, 100, &pos, len, &started)) in dnet_ntop() [all …]
|
/external/python/cpython3/Python/ |
D | structmember.c | 8 PyMember_GetOne(const char *addr, PyMemberDef *l) in PyMember_GetOne() argument 12 addr += l->offset; in PyMember_GetOne() 15 v = PyBool_FromLong(*(char*)addr); in PyMember_GetOne() 18 v = PyLong_FromLong(*(char*)addr); in PyMember_GetOne() 21 v = PyLong_FromUnsignedLong(*(unsigned char*)addr); in PyMember_GetOne() 24 v = PyLong_FromLong(*(short*)addr); in PyMember_GetOne() 27 v = PyLong_FromUnsignedLong(*(unsigned short*)addr); in PyMember_GetOne() 30 v = PyLong_FromLong(*(int*)addr); in PyMember_GetOne() 33 v = PyLong_FromUnsignedLong(*(unsigned int*)addr); in PyMember_GetOne() 36 v = PyLong_FromLong(*(long*)addr); in PyMember_GetOne() [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | arm64-zeroreg.ll | 10 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/elfutils/libdw/ |
D | dwarf_ranges.c | 57 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/f2fs-tools/scripts/ |
D | dumpf2fs.sh | 11 let addr=$BASE 12 echo $addr 13 hexdump -s $addr -n 4096 $DEV;; 16 let addr=$BASE+0x200000 17 hexdump -s $addr -n 4096 $DEV;; 20 let addr=$BASE 21 hexdump -s $addr -n 409 $DEV 22 let addr=$BASE+0x200000 23 hexdump -s $addr -n 4096 $DEV;; 26 let addr=$BASE [all …]
|
/external/arm-trusted-firmware/include/lib/ |
D | mmio.h | 12 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 …]
|
/external/llvm-project/clang/test/CodeGen/X86/ |
D | avx512pf-builtins.c | 6 void test_mm512_mask_prefetch_i32gather_pd(__m256i index, __mmask8 mask, void const *addr, int hint… in test_mm512_mask_prefetch_i32gather_pd() argument 9 return _mm512_mask_prefetch_i32gather_pd(index, mask, addr, 2, _MM_HINT_T0); in test_mm512_mask_prefetch_i32gather_pd() 12 void test_mm512_prefetch_i32gather_pd(__m256i index, void const *addr, int hint) { in test_mm512_prefetch_i32gather_pd() argument 15 return _mm512_prefetch_i32gather_pd(index, addr, 2, _MM_HINT_T0); in test_mm512_prefetch_i32gather_pd() 18 void test_mm512_mask_prefetch_i32gather_ps(__m512i index, __mmask16 mask, void const *addr, int hin… in test_mm512_mask_prefetch_i32gather_ps() argument 21 return _mm512_mask_prefetch_i32gather_ps(index, mask, addr, 2, _MM_HINT_T0); in test_mm512_mask_prefetch_i32gather_ps() 24 void test_mm512_prefetch_i32gather_ps(__m512i index, void const *addr, int hint) { in test_mm512_prefetch_i32gather_ps() argument 27 return _mm512_prefetch_i32gather_ps(index, addr, 2, _MM_HINT_T0); in test_mm512_prefetch_i32gather_ps() 30 void test_mm512_mask_prefetch_i64gather_pd(__m512i index, __mmask8 mask, void const *addr, int hint… in test_mm512_mask_prefetch_i64gather_pd() argument 33 return _mm512_mask_prefetch_i64gather_pd(index, mask, addr, 2, _MM_HINT_T0); in test_mm512_mask_prefetch_i64gather_pd() [all …]
|