Home
last modified time | relevance | path

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

12345678910>>...149

/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-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 …]
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 …]
/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/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 …]
Dtsan_interface_inl.h21 void __tsan_read1(void *addr) { in __tsan_read1() argument
22 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_read1()
25 void __tsan_read2(void *addr) { in __tsan_read2() argument
26 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2); in __tsan_read2()
29 void __tsan_read4(void *addr) { in __tsan_read4() argument
30 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4); in __tsan_read4()
33 void __tsan_read8(void *addr) { in __tsan_read8() argument
34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read8()
37 void __tsan_write1(void *addr) { in __tsan_write1() argument
38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_write1()
[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/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 …]
Davx512pf-builtins.c8 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 …]
Dx86-atomic-long_double.c4 long double testinc(_Atomic long double *addr) { in testinc() argument
63 return ++*addr; in testinc()
66 long double testdec(_Atomic long double *addr) { in testdec() argument
125 return (*addr)--; in testdec()
128 long double testcompassign(_Atomic long double *addr) { in testcompassign() argument
129 *addr -= 25; in testcompassign()
198 return *addr; in testcompassign()
201 long double testassign(_Atomic long double *addr) { in testassign() argument
221 *addr = 115; in testassign()
236 return *addr; in testassign()
[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/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/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/f2fs-tools/scripts/
Ddumpf2fs.sh11 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/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/python/cpython2/Python/
Dstructmember.c32 PyMember_Get(const char *addr, struct memberlist *mlist, const char *name) in PyMember_Get() argument
46 return PyMember_GetOne(addr, &copy); in PyMember_Get()
54 PyMember_GetOne(const char *addr, PyMemberDef *l) in PyMember_GetOne() argument
62 addr += l->offset; in PyMember_GetOne()
65 v = PyBool_FromLong(*(char*)addr); in PyMember_GetOne()
68 v = PyInt_FromLong(*(char*)addr); in PyMember_GetOne()
71 v = PyLong_FromUnsignedLong(*(unsigned char*)addr); in PyMember_GetOne()
74 v = PyInt_FromLong(*(short*)addr); in PyMember_GetOne()
77 v = PyLong_FromUnsignedLong(*(unsigned short*)addr); in PyMember_GetOne()
80 v = PyInt_FromLong(*(int*)addr); in PyMember_GetOne()
[all …]
/external/v8/src/
Dv8memory.h16 static uint8_t& uint8_at(Address addr) { in uint8_at() argument
17 return *reinterpret_cast<uint8_t*>(addr); in uint8_at()
20 static uint16_t& uint16_at(Address addr) { in uint16_at() argument
21 return *reinterpret_cast<uint16_t*>(addr); in uint16_at()
24 static uint32_t& uint32_at(Address addr) { in uint32_at() argument
25 return *reinterpret_cast<uint32_t*>(addr); in uint32_at()
28 static int32_t& int32_at(Address addr) { in int32_at() argument
29 return *reinterpret_cast<int32_t*>(addr); in int32_at()
32 static uint64_t& uint64_at(Address addr) { in uint64_at() argument
33 return *reinterpret_cast<uint64_t*>(addr); in uint64_at()
[all …]
/external/tcpdump/tests/
Dhsrp_1.out1 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
2 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
3 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
4 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
5 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
6 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
7 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
9 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
10 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
11 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
[all …]
/external/dnsmasq/src/
Dnetwork.c51 int iface_check(int family, struct all_addr *addr, char *name, int *indexp) in iface_check() argument
90 if (daemon->if_names || (addr && daemon->if_addrs)) in iface_check()
99 if (addr && tmp->addr.sa.sa_family == family) in iface_check()
102 tmp->addr.in.sin_addr.s_addr == addr->addr.addr4.s_addr) in iface_check()
106 IN6_ARE_ADDR_EQUAL(&tmp->addr.in6.sin6_addr, in iface_check()
107 &addr->addr.addr6) && in iface_check()
108 (!IN6_IS_ADDR_LINKLOCAL(&addr->addr.addr6) || in iface_check()
109 (tmp->addr.in6.sin6_scope_id == (uint32_t) *indexp))) in iface_check()
123 union mysockaddr *addr, struct in_addr netmask) in iface_allowed() argument
134 if (sockaddr_isequal(&iface->addr, addr)) in iface_allowed()
[all …]
/external/clang/lib/Headers/
Davx512pfintrin.h34 #define _mm512_mask_prefetch_i32gather_pd(index, mask, addr, scale, hint) __extension__ ({\ argument
36 (long long const *)(addr), (int)(scale), \
39 #define _mm512_prefetch_i32gather_pd(index, addr, scale, hint) __extension__ ({\ argument
41 (long long const *)(addr), (int)(scale), \
44 #define _mm512_mask_prefetch_i32gather_ps(index, mask, addr, scale, hint) ({\ argument
46 (__v16si)(__m512i)(index), (int const *)(addr), \
49 #define _mm512_prefetch_i32gather_ps(index, addr, scale, hint) ({\ argument
51 (__v16si)(__m512i)(index), (int const *)(addr), \
54 #define _mm512_mask_prefetch_i64gather_pd(index, mask, addr, scale, hint) __extension__ ({\ argument
56 (long long const *)(addr), (int)(scale), \
[all …]
/external/libunwind/include/
Ddwarf_i.h46 dwarf_reads8 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads8() argument
49 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_reads8()
52 *addr += sizeof (mvp->s8); in dwarf_reads8()
57 dwarf_reads16 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads16() argument
60 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_reads16()
63 *addr += sizeof (mvp->s16); in dwarf_reads16()
68 dwarf_reads32 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads32() argument
71 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_reads32()
74 *addr += sizeof (mvp->s32); in dwarf_reads32()
79 dwarf_reads64 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads64() argument
[all …]
/external/libunwind_llvm/src/
DAddressSpace.hpp78 uint8_t get8(pint_t addr) { in get8() argument
80 memcpy(&val, (void *)addr, sizeof(val)); in get8()
83 uint16_t get16(pint_t addr) { in get16() argument
85 memcpy(&val, (void *)addr, sizeof(val)); in get16()
88 uint32_t get32(pint_t addr) { in get32() argument
90 memcpy(&val, (void *)addr, sizeof(val)); in get32()
93 uint64_t get64(pint_t addr) { in get64() argument
95 memcpy(&val, (void *)addr, sizeof(val)); in get64()
98 double getDouble(pint_t addr) { in getDouble() argument
100 memcpy(&val, (void *)addr, sizeof(val)); in getDouble()
[all …]
/external/libnl/src/lib/
Daddr.c24 struct rtnl_addr *addr; in nl_cli_addr_alloc() local
26 addr = rtnl_addr_alloc(); in nl_cli_addr_alloc()
27 if (!addr) in nl_cli_addr_alloc()
30 return addr; in nl_cli_addr_alloc()
33 void nl_cli_addr_parse_family(struct rtnl_addr *addr, char *arg) in nl_cli_addr_parse_family() argument
38 rtnl_addr_set_family(addr, family); in nl_cli_addr_parse_family()
41 void nl_cli_addr_parse_local(struct rtnl_addr *addr, char *arg) in nl_cli_addr_parse_local() argument
46 a = nl_cli_addr_parse(arg, rtnl_addr_get_family(addr)); in nl_cli_addr_parse_local()
47 if ((err = rtnl_addr_set_local(addr, a)) < 0) in nl_cli_addr_parse_local()
54 void nl_cli_addr_parse_dev(struct rtnl_addr *addr, struct nl_cache *link_cache, in nl_cli_addr_parse_dev() argument
[all …]
/external/libnl/tests/
Dcheck-addr.c17 struct nl_addr *addr; in START_TEST() local
19 addr = nl_addr_alloc(16); in START_TEST()
20 fail_if(addr == NULL, in START_TEST()
23 fail_if(nl_addr_iszero(addr) == 0, in START_TEST()
26 fail_if(nl_addr_get_family(addr) != AF_UNSPEC, in START_TEST()
29 fail_if(nl_addr_get_prefixlen(addr) != 0, in START_TEST()
32 fail_if(nl_addr_shared(addr), in START_TEST()
35 fail_if(nl_addr_get(addr) != addr, in START_TEST()
38 fail_if(nl_addr_shared(addr) == 0, in START_TEST()
41 nl_addr_put(addr); in START_TEST()
[all …]

12345678910>>...149