Home
last modified time | relevance | path

Searched refs:addr1 (Results 1 – 25 of 133) sorted by relevance

123456

/third_party/node/test/cctest/
Dtest_sockaddr.cc89 SocketAddress addr1(reinterpret_cast<const sockaddr*>(&storage[0])); in TEST()
94 Foo* foo = lru.Upsert(addr1); in TEST()
102 foo = lru.Upsert(addr1); in TEST()
103 CHECK_NOT_NULL(lru.Peek(addr1)); in TEST()
104 CHECK_EQ(lru.Peek(addr1), lru.Peek(addr4)); in TEST()
105 CHECK_EQ(lru.Peek(addr1)->c, 1); in TEST()
106 CHECK_EQ(lru.Peek(addr1)->expired, false); in TEST()
127 CHECK_NULL(lru.Peek(addr1)); in TEST()
141 SocketAddress addr1(reinterpret_cast<const sockaddr*>(&storage[0])); in TEST()
148 CHECK_EQ(addr1.compare(addr1), SocketAddress::CompareResult::SAME); in TEST()
[all …]
/third_party/lwip/src/include/lwip/
Dip4_addr.h141 #define ip4_addr_netcmp(addr1, addr2, mask) (((addr1)->addr & \ argument
145 #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr) argument
147 #define ip4_addr_isany_val(addr1) ((addr1).addr == IPADDR_ANY) argument
148 #define ip4_addr_isany(addr1) ((addr1) == NULL || ip4_addr_isany_val(*(addr1))) argument
150 #define ip4_addr_isbroadcast(addr1, netif) ip4_addr_isbroadcast_u32((addr1)->addr, netif) argument
156 #define ip4_addr_ismulticast(addr1) (((addr1)->addr & PP_HTONL(0xf0000000UL)) == PP_HTONL(0xe000000… argument
158 #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe000… argument
Dip6_addr.h150 #define ip6_addr_netcmp_zoneless(addr1, addr2) (((addr1)->addr[0] == (addr2)->addr[0]) && \ argument
151 ((addr1)->addr[1] == (addr2)->addr[1]))
160 #define ip6_addr_netcmp(addr1, addr2) (ip6_addr_netcmp_zoneless((addr1), (addr2)) && \ argument
161 ip6_addr_cmp_zone((addr1), (addr2)))
164 #define ip6_addr_nethostcmp(addr1, addr2) (((addr1)->addr[2] == (addr2)->addr[2]) && \ argument
165 ((addr1)->addr[3] == (addr2)->addr[3]))
168 #define ip6_addr_cmp_zoneless(addr1, addr2) (((addr1)->addr[0] == (addr2)->addr[0]) && \ argument
169 ((addr1)->addr[1] == (addr2)->addr[1]) && \
170 ((addr1)->addr[2] == (addr2)->addr[2]) && \
171 ((addr1)->addr[3] == (addr2)->addr[3]))
[all …]
Dip_addr.h198 #define ip_addr_netcmp(addr1, addr2, mask) ((IP_IS_V6(addr1) && IP_IS_V6(addr2)) ? \ argument
200 ip4_addr_netcmp(ip_2_ip4(addr1), ip_2_ip4(addr2), mask))
202 #define ip_addr_cmp(addr1, addr2) ((IP_GET_TYPE(addr1) != IP_GET_TYPE(addr2)) ? 0 : (IP_IS_V6_VA… argument
203 ip6_addr_cmp(ip_2_ip6(addr1), ip_2_ip6(addr2)) : \
204 ip4_addr_cmp(ip_2_ip4(addr1), ip_2_ip4(addr2))))
206 #define ip_addr_cmp_zoneless(addr1, addr2) ((IP_GET_TYPE(addr1) != IP_GET_TYPE(addr2)) ? 0 : (IP… argument
207 ip6_addr_cmp_zoneless(ip_2_ip6(addr1), ip_2_ip6(addr2)) : \
208 ip4_addr_cmp(ip_2_ip4(addr1), ip_2_ip4(addr2))))
298 #define ip_addr_netcmp(addr1, addr2, mask) ip4_addr_netcmp(addr1, addr2, mask) argument
299 #define ip_addr_cmp(addr1, addr2) ip4_addr_cmp(addr1, addr2) argument
[all …]
/third_party/ltp/testcases/kernel/syscalls/msync/
Dmsync03.c57 static char *addr1; variable
69 { &addr1, MS_INVALIDATE, EBUSY },
70 { &addr1, MS_ASYNC | MS_SYNC, EINVAL },
71 { &addr1, INV_SYNC, EINVAL },
123 addr1 = SAFE_MMAP(cleanup, 0, page_sz, PROT_READ | PROT_WRITE, in setup()
127 addr2 = addr1 + 1; in setup()
157 if (addr1 && munmap(addr1, page_sz) < 0) in cleanup()
/third_party/ffmpeg/libavcodec/mips/
Dhpeldsp_mmi.c162 MMI_ULWC1(%[ftmp3], %[addr1], 0x00) in ff_avg_pixels4_8_mmi()
169 MMI_SWC1(%[ftmp1], %[addr1], 0x00) in ff_avg_pixels4_8_mmi()
177 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]), in ff_avg_pixels4_8_mmi()
201 MMI_ULDC1(%[ftmp3], %[addr1], 0x00) in ff_avg_pixels8_8_mmi()
214 MMI_ULDC1(%[ftmp3], %[addr1], 0x00) in ff_avg_pixels8_8_mmi()
228 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]), in ff_avg_pixels8_8_mmi()
319 MMI_ULWC1(%[ftmp3], %[addr1], 0x00) in ff_put_pixels4_l2_8_mmi()
337 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]), in ff_put_pixels4_l2_8_mmi()
367 MMI_ULDC1(%[ftmp3], %[addr1], 0x00) in ff_put_pixels8_l2_8_mmi()
381 MMI_ULDC1(%[ftmp3], %[addr1], 0x00) in ff_put_pixels8_l2_8_mmi()
[all …]
Dh264dsp_mmi.c1456 MMI_LDXC1(%[ftmp1], %[addr1], %[stride], 0x00) in ff_deblock_v8_luma_8_mmi()
1457 MMI_LDXC1(%[ftmp2], %[addr1], %[addr0], 0x00) in ff_deblock_v8_luma_8_mmi()
1485 MMI_LDC1(%[ftmp4], %[addr1], 0x00) in ff_deblock_v8_luma_8_mmi()
1497 MMI_LDC1(%[ftmp11], %[addr1], 0x00) in ff_deblock_v8_luma_8_mmi()
1506 MMI_SDXC1(%[ftmp4], %[addr1], %[stride], 0x00) in ff_deblock_v8_luma_8_mmi()
1546 MMI_SDXC1(%[ftmp2], %[addr1], %[addr0], 0x00) in ff_deblock_v8_luma_8_mmi()
1557 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_deblock_v8_luma_8_mmi()
1592 MMI_LDXC1(%[ftmp2], %[addr0], %[addr1], 0x00) in deblock_v8_luma_intra_8_mmi()
1686 MMI_SDXC1(%[ftmp6], %[addr0], %[addr1], 0x00) in deblock_v8_luma_intra_8_mmi()
1750 MMI_LDXC1(%[ftmp6], %[pix], %[addr1], 0x00) in deblock_v8_luma_intra_8_mmi()
[all …]
Dh264pred_mmi.c90 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_pred16x16_horizontal_8_mmi()
148 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_pred16x16_dc_8_mmi()
486 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_pred8x8_vertical_8_mmi()
518 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_pred8x8_horizontal_8_mmi()
674 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]), in ff_pred8x8_dc_8_mmi()
740 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_pred8x16_horizontal_8_mmi()
/third_party/node/src/
Dnode_win32_etw_provider-inl.h78 #define ETW_WRITE_V8ADDRESSCHANGE(descriptors, addr1, addr2) \ argument
79 ETW_WRITE_ADDRESS_DATA(descriptors, &addr1); \
195 void NODE_V8SYMBOL_REMOVE(const void* addr1, const void* addr2) { in NODE_V8SYMBOL_REMOVE() argument
198 ETW_WRITE_V8ADDRESSCHANGE(descriptors, addr1, addr2); in NODE_V8SYMBOL_REMOVE()
204 void NODE_V8SYMBOL_MOVE(const void* addr1, const void* addr2) { in NODE_V8SYMBOL_MOVE() argument
207 ETW_WRITE_V8ADDRESSCHANGE(descriptors, addr1, addr2); in NODE_V8SYMBOL_MOVE()
225 const void* addr1, in NODE_V8SYMBOL_ADD() argument
249 INT32 id = (INT32)addr1; in NODE_V8SYMBOL_ADD()
258 addr1, in NODE_V8SYMBOL_ADD()
Dnode_win32_etw_provider.h79 INLINE void NODE_V8SYMBOL_REMOVE(const void* addr1, const void* addr2);
80 INLINE void NODE_V8SYMBOL_MOVE(const void* addr1, const void* addr2);
84 const void* addr1,
/third_party/ltp/utils/sctp/testlib/
Dsctputil.c346 static int cmp_addr(sockaddr_storage_t *addr1, sockaddr_storage_t *addr2) in cmp_addr() argument
348 if (addr1->sa.sa_family != addr2->sa.sa_family) in cmp_addr()
350 switch (addr1->sa.sa_family) { in cmp_addr()
352 if (addr1->v6.sin6_port != addr2->v6.sin6_port) in cmp_addr()
354 return memcmp(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr, in cmp_addr()
355 sizeof(addr1->v6.sin6_addr)); in cmp_addr()
357 if (addr1->v4.sin_port != addr2->v4.sin_port) in cmp_addr()
359 return memcmp(&addr1->v4.sin_addr, &addr2->v4.sin_addr, in cmp_addr()
360 sizeof(addr1->v4.sin_addr)); in cmp_addr()
363 "invalid address type %d", addr1->sa.sa_family); in cmp_addr()
/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind06.c26 static struct sockaddr_ll addr1, addr2; variable
40 addr1.sll_family = AF_PACKET; in setup()
41 addr1.sll_ifindex = ifr.ifr_ifindex; in setup()
55 SAFE_BIND(fd, (struct sockaddr *)&addr1, sizeof(addr1)); in do_bind()
/third_party/openh264/codec/processing/src/mips/
Dvaa_mmi.c272 %[addr0], %[addr1], %[addr2]) in VAACalcSad_mmi()
275 %[addr0], %[addr1], %[addr2]) in VAACalcSad_mmi()
278 %[addr0], %[addr1], %[addr2]) in VAACalcSad_mmi()
281 %[addr0], %[addr1], %[addr2]) in VAACalcSad_mmi()
291 %[addr0], %[addr1], %[addr2]) in VAACalcSad_mmi()
294 %[addr0], %[addr1], %[addr2]) in VAACalcSad_mmi()
297 %[addr0], %[addr1], %[addr2]) in VAACalcSad_mmi()
300 %[addr0], %[addr1], %[addr2]) in VAACalcSad_mmi()
328 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]), in VAACalcSad_mmi()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dsae.h123 int sae_prepare_commit(const u8 *addr1, const u8 *addr2,
127 const u8 *addr1, const u8 *addr2,
146 const u8 *addr1, const u8 *addr2);
149 const u8 *addr1, const u8 *addr2);
Dsae.c131 static void sae_pwd_seed_key(const u8 *addr1, const u8 *addr2, u8 *key) in sae_pwd_seed_key() argument
134 " addr2=" MACSTR_SEC, MAC2STR_SEC(addr1), MAC2STR_SEC(addr2)); in sae_pwd_seed_key()
135 if (os_memcmp(addr1, addr2, ETH_ALEN) > 0) { in sae_pwd_seed_key()
136 os_memcpy(key, addr1, ETH_ALEN); in sae_pwd_seed_key()
140 os_memcpy(key + ETH_ALEN, addr1, ETH_ALEN); in sae_pwd_seed_key()
281 static int sae_derive_pwe_ecc(struct sae_data *sae, const u8 *addr1, in sae_derive_pwe_ecc() argument
335 sae_pwd_seed_key(addr1, addr2, addrs); in sae_derive_pwe_ecc()
447 static int sae_derive_pwe_ffc(struct sae_data *sae, const u8 *addr1, in sae_derive_pwe_ffc() argument
480 sae_pwd_seed_key(addr1, addr2, addrs); in sae_derive_pwe_ffc()
1122 const u8 *addr1, const u8 *addr2) in sae_max_min_addr() argument
[all …]
/third_party/popt/tests/
Dtest2.c35 char *addr1 = NULL; variable
61 { "addr1", '1', POPT_ARG_STRING, &addr1, 0, in main()
146 addr1,addr2, city, state, postal, in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dms_funcs.c248 const unsigned char *addr1[3]; in generate_authenticator_response_pwhash() local
253 addr1[0] = password_hash_hash; in generate_authenticator_response_pwhash()
254 addr1[1] = nt_response; in generate_authenticator_response_pwhash()
255 addr1[2] = magic1; in generate_authenticator_response_pwhash()
262 sha1_vector(3, addr1, len1, response) || in generate_authenticator_response_pwhash()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dms_funcs.c248 const unsigned char *addr1[3]; in generate_authenticator_response_pwhash() local
253 addr1[0] = password_hash_hash; in generate_authenticator_response_pwhash()
254 addr1[1] = nt_response; in generate_authenticator_response_pwhash()
255 addr1[2] = magic1; in generate_authenticator_response_pwhash()
262 sha1_vector(3, addr1, len1, response) || in generate_authenticator_response_pwhash()
/third_party/libuv/test/
Dtest-tcp-bind6-error.c130 struct sockaddr_in6 addr1; in TEST_IMPL() local
138 ASSERT(0 == uv_ip6_addr("::", TEST_PORT, &addr1)); in TEST_IMPL()
143 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr1, 0); in TEST_IMPL()
Dtest-tcp-bind-error.c188 struct sockaddr_in addr1; in TEST_IMPL() local
193 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr1)); in TEST_IMPL()
198 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr1, 0); in TEST_IMPL()
/third_party/node/deps/cares/src/lib/
Dares_update_servers.c66 static ares_bool_t ares__addr_match(const struct ares_addr *addr1, in ares__addr_match() argument
69 if (addr1 == NULL && addr2 == NULL) { in ares__addr_match()
73 if (addr1 == NULL || addr2 == NULL) { in ares__addr_match()
77 if (addr1->family != addr2->family) { in ares__addr_match()
81 if (addr1->family == AF_INET && memcmp(&addr1->addr.addr4, &addr2->addr.addr4, in ares__addr_match()
82 sizeof(addr1->addr.addr4)) == 0) { in ares__addr_match()
86 if (addr1->family == AF_INET6 && in ares__addr_match()
87 memcmp(&addr1->addr.addr6._S6_un._S6_u8, &addr2->addr.addr6._S6_un._S6_u8, in ares__addr_match()
88 sizeof(addr1->addr.addr6._S6_un._S6_u8)) == 0) { in ares__addr_match()
/third_party/lwip/src/include/lwip/prot/
Dethernet.h119 #define eth_addr_cmp(addr1, addr2) (memcmp((addr1)->addr, (addr2)->addr, ETH_HWADDR_LEN) == 0) argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dsae.c126 static void sae_pwd_seed_key(const u8 *addr1, const u8 *addr2, u8 *key) in sae_pwd_seed_key() argument
129 " addr2=" MACSTR, MAC2STR(addr1), MAC2STR(addr2)); in sae_pwd_seed_key()
130 if (os_memcmp(addr1, addr2, ETH_ALEN) > 0) { in sae_pwd_seed_key()
131 os_memcpy(key, addr1, ETH_ALEN); in sae_pwd_seed_key()
135 os_memcpy(key + ETH_ALEN, addr1, ETH_ALEN); in sae_pwd_seed_key()
276 static int sae_derive_pwe_ecc(struct sae_data *sae, const u8 *addr1, in sae_derive_pwe_ecc() argument
334 sae_pwd_seed_key(addr1, addr2, addrs); in sae_derive_pwe_ecc()
453 static int sae_derive_pwe_ffc(struct sae_data *sae, const u8 *addr1, in sae_derive_pwe_ffc() argument
487 sae_pwd_seed_key(addr1, addr2, addrs); in sae_derive_pwe_ffc()
616 int sae_prepare_commit(const u8 *addr1, const u8 *addr2, in sae_prepare_commit() argument
[all …]
/third_party/mesa3d/src/util/
Dfutex.h41 static inline long sys_futex(void *addr1, int op, int val1, const struct timespec *timeout, void *a… in sys_futex() argument
43 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_sched.c99 struct ir3_instruction *addr1; /* current a1.x user, if any */ member
276 assert(ctx->addr1 == NULL); in schedule()
277 ctx->addr1 = instr; in schedule()
482 if (writes_addr1(instr) && ctx->addr1) { in check_instr()
483 assert(ctx->addr1 != instr); in check_instr()
1184 ctx->addr1 = NULL; in sched_block()
1259 split_addr(ctx, &ctx->addr1, ir->a1_users, ir->a1_users_count); in sched_block()

123456