/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-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/webrtc/webrtc/base/ |
D | socketaddress_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 | ipaddress_unittest.cc | 105 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/ |
D | io.h | 48 unsigned int sandbox_read(const void *addr, enum sandboxio_size_t size); 49 void sandbox_write(void *addr, unsigned int val, enum sandboxio_size_t size); 51 #define readb(addr) sandbox_read((const void *)addr, SB_SIZE_8) argument 52 #define readw(addr) sandbox_read((const void *)addr, SB_SIZE_16) argument 53 #define readl(addr) sandbox_read((const void *)addr, SB_SIZE_32) argument 55 #define readq(addr) sandbox_read((const void *)addr, SB_SIZE_64) argument 57 #define writeb(v, addr) sandbox_write((void *)addr, v, SB_SIZE_8) argument 58 #define writew(v, addr) sandbox_write((void *)addr, v, SB_SIZE_16) argument 59 #define writel(v, addr) sandbox_write((void *)addr, v, SB_SIZE_32) argument 61 #define writeq(v, addr) sandbox_write((void *)addr, v, SB_SIZE_64) argument [all …]
|
/external/u-boot/arch/x86/include/asm/ |
D | io.h | 60 #define readb(addr) (*(volatile u8 *)(uintptr_t)(addr)) argument 61 #define readw(addr) (*(volatile u16 *)(uintptr_t)(addr)) argument 62 #define readl(addr) (*(volatile u32 *)(uintptr_t)(addr)) argument 63 #define readq(addr) (*(volatile u64 *)(uintptr_t)(addr)) argument 69 #define writeb(b, addr) (*(volatile u8 *)(addr) = (b)) argument 70 #define writew(b, addr) (*(volatile u16 *)(addr) = (b)) argument 71 #define writel(b, addr) (*(volatile u32 *)(addr) = (b)) argument 72 #define writeq(b, addr) (*(volatile u64 *)(addr) = (b)) argument 102 #define clrbits(type, addr, clear) \ argument 103 out_##type((addr), in_##type(addr) & ~(clear)) [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/u-boot/arch/m68k/include/asm/ |
D | io.h | 18 #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/u-boot/arch/powerpc/include/asm/ |
D | io.h | 23 #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 …]
|
D | pci_io.h | 10 #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/libnl/lib/route/ |
D | addr.c | 137 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/board/gdsys/common/ |
D | dp501.c | 26 static void dp501_setbits(u8 addr, u8 reg, u8 mask) in dp501_setbits() argument 30 val = i2c_reg_read(addr, reg); in dp501_setbits() 32 i2c_reg_write(addr, reg, val); in dp501_setbits() 35 static void dp501_clrbits(u8 addr, u8 reg, u8 mask) in dp501_clrbits() argument 39 val = i2c_reg_read(addr, reg); in dp501_clrbits() 41 i2c_reg_write(addr, reg, val); in dp501_clrbits() 44 static int dp501_detect_cable_adapter(u8 addr) in dp501_detect_cable_adapter() argument 46 u8 val = i2c_reg_read(addr, 0x00); in dp501_detect_cable_adapter() 51 static void dp501_link_training(u8 addr) in dp501_link_training() argument 58 val = i2c_reg_read(addr, 0x51); in dp501_link_training() [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 | 38 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/u-boot/arch/nios2/include/asm/ |
D | io.h | 56 #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/ |
D | bitops.h | 65 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/ |
D | io.h | 57 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/python/cpython3/Python/ |
D | structmember.c | 9 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/swiftshader/third_party/llvm-7.0/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/libnl/lib/ |
D | addr.c | 38 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/linux-kselftest/tools/testing/selftests/vm/ |
D | map_fixed_noreplace.c | 33 unsigned long flags, addr, size, page_size; in main() local 42 addr = BASE_ADDRESS; in main() 44 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 46 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 55 if (munmap((void *)addr, 5 * page_size) != 0) { in main() 63 addr = BASE_ADDRESS + page_size; in main() 65 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 66 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 83 addr = BASE_ADDRESS; in main() 85 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() [all …]
|