/third_party/node/test/cctest/ |
H A D | test_sockaddr.cc | 18 SocketAddress addr2(reinterpret_cast<const sockaddr*>(&storage2)); in TEST() 28 CHECK_NE(addr, addr2); in TEST() 32 CHECK_NE(SocketAddress::Hash()(addr), SocketAddress::Hash()(addr2)); in TEST() 90 SocketAddress addr2(reinterpret_cast<const sockaddr*>(&storage[1])); in TEST() 109 foo = lru.Upsert(addr2); in TEST() 112 CHECK_NOT_NULL(lru.Peek(addr2)); in TEST() 113 CHECK_EQ(lru.Peek(addr2)->c, 2); in TEST() 126 // addr2 was removed because it was expired. in TEST() 128 CHECK_NULL(lru.Peek(addr2)); in TEST() 142 SocketAddress addr2(reinterpret_cas in TEST() 203 std::shared_ptr<SocketAddress> addr2 = TEST() local [all...] |
/third_party/lwip/src/include/lwip/ |
H A D | ip6_addr.h | 150 #define ip6_addr_netcmp_zoneless(addr1, addr2) (((addr1)->addr[0] == (addr2)->addr[0]) && \ 151 ((addr1)->addr[1] == (addr2)->addr[1])) 157 * @param addr2 IPv6 address 2 160 #define ip6_addr_netcmp(addr1, addr2) (ip6_addr_netcmp_zoneless((addr1), (addr2)) && \ 161 ip6_addr_cmp_zone((addr1), (addr2))) 164 #define ip6_addr_nethostcmp(addr1, addr2) (((addr1)->addr[2] == (addr2)->addr[2]) && \ 165 ((addr1)->addr[3] == (addr2) [all...] |
H A D | ip_addr.h | 198 #define ip_addr_netcmp(addr1, addr2, mask) ((IP_IS_V6(addr1) && IP_IS_V6(addr2)) ? \ 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_VAL(*(addr1)) ? \ 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_IS_V6_VAL(*(addr1)) ? \ 207 ip6_addr_cmp_zoneless(ip_2_ip6(addr1), ip_2_ip6(addr2)) [all...] |
H A D | ip4_addr.h | 137 * @arg addr2 IP address 2 141 #define ip4_addr_netcmp(addr1, addr2, mask) (((addr1)->addr & \ 143 ((addr2)->addr & \ 145 #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr)
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
H A D | hugemmap02.c | 40 static unsigned long *addr2; variable 84 addr2 = mmap((void *)low_addr2, map_sz, PROT_READ | PROT_WRITE, in test_hugemmap() 87 if (addr2 == MAP_FAILED) { in test_hugemmap() 94 if (addr2 == MAP_FAILED) in test_hugemmap() 97 else if (addr2 > 0) { in test_hugemmap() 110 if (munmap(addr2, map_sz) == -1) in test_hugemmap()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
H A D | bind06.c | 26 static struct sockaddr_ll addr1, addr2; variable 42 addr2.sll_family = AF_PACKET; in setup() 56 SAFE_BIND(fd, (struct sockaddr *)&addr2, sizeof(addr2)); in do_bind()
|
/third_party/selinux/libsepol/src/ |
H A D | nodes.c | 187 unsigned int *addr2 = &c->u.node.addr; in sepol_node_exists() local 190 if (!memcmp(addr, addr2, 4) && in sepol_node_exists() 203 unsigned int *addr2 = c->u.node6.addr; in sepol_node_exists() local 206 if (!memcmp(addr, addr2, 16) && in sepol_node_exists() 247 unsigned int *addr2 = &c->u.node.addr; in sepol_node_query() local 250 if (!memcmp(addr, addr2, 4) && in sepol_node_query() 266 unsigned int *addr2 = c->u.node6.addr; in sepol_node_query() local 269 if (!memcmp(addr, addr2, 16) && in sepol_node_query()
|
/third_party/musl/src/linux/ |
H A D | ptrace.c | 10 void *addr, *data, *addr2 = 0; in ptrace() local 20 addr2 = va_arg(ap, void *); in ptrace() 25 ret = syscall(SYS_ptrace, req, pid, addr, data, addr2); in ptrace()
|
/third_party/node/src/ |
H A D | node_win32_etw_provider-inl.h | 78 #define ETW_WRITE_V8ADDRESSCHANGE(descriptors, addr1, addr2) \ 80 ETW_WRITE_ADDRESS_DATA(descriptors + 1, &addr2); 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()
|
H A D | node_win32_etw_provider.h | 79 INLINE void NODE_V8SYMBOL_REMOVE(const void* addr1, const void* addr2); 80 INLINE void NODE_V8SYMBOL_MOVE(const void* addr1, const void* addr2);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_wired.c | 173 struct sockaddr_in addr2; in wired_init_sockets() local 245 os_memset(&addr2, 0, sizeof(addr2)); in wired_init_sockets() 246 addr2.sin_family = AF_INET; in wired_init_sockets() 247 addr2.sin_port = htons(67); in wired_init_sockets() 248 addr2.sin_addr.s_addr = INADDR_ANY; in wired_init_sockets() 273 if (bind(drv->dhcp_sock, (struct sockaddr *) &addr2, in wired_init_sockets()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_wired.c | 173 struct sockaddr_in addr2; in wired_init_sockets() local 245 os_memset(&addr2, 0, sizeof(addr2)); in wired_init_sockets() 246 addr2.sin_family = AF_INET; in wired_init_sockets() 247 addr2.sin_port = htons(67); in wired_init_sockets() 248 addr2.sin_addr.s_addr = INADDR_ANY; in wired_init_sockets() 273 if (bind(drv->dhcp_sock, (struct sockaddr *) &addr2, in wired_init_sockets()
|
/third_party/elfutils/tests/ |
H A D | show-die-info.c | 106 Dwarf_Addr addr2; in handle() local 111 || dwarf_formaddr (&attr, &addr2) != 0 in handle() 112 || addr != addr2) in handle() 124 Dwarf_Addr addr2; in handle() local 128 || dwarf_formaddr (&attr, &addr2) != 0 in handle() 129 || addr != addr2) in handle()
|
/third_party/ltp/utils/sctp/testlib/ |
H A D | sctputil.c | 346 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() 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() 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()
|
/third_party/libuv/test/ |
H A D | test-tcp-bind6-error.c | 131 struct sockaddr_in6 addr2; in TEST_IMPL() local 139 ASSERT_OK(uv_ip6_addr("::", TEST_PORT_2, &addr2)); in TEST_IMPL() 145 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr2, 0); in TEST_IMPL()
|
H A D | test-udp-send-unreachable.c | 108 struct sockaddr_in addr2; in TEST_IMPL() local 119 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT_2, &addr2)); in TEST_IMPL() 131 r = uv_udp_bind(&client, (const struct sockaddr*) &addr2, 0); in TEST_IMPL()
|
/third_party/ltp/testcases/kernel/syscalls/msync/ |
H A D | msync03.c | 58 static char *addr2; variable 72 { &addr2, MS_SYNC, EINVAL }, 126 /* addr2 is not a multiple of PAGESIZE */ in setup() 127 addr2 = addr1 + 1; in setup()
|
/third_party/popt/tests/ |
H A D | test2.c | 34 static char *addr2 = NULL; variable 61 { "addr2", '2', POPT_ARG_STRING, &addr2, 0, in main() 62 "line 2 of address", "addr2" }, in main() 144 addr1,addr2, city, state, postal, in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | sae.h | 128 int sae_prepare_commit(const u8 *addr1, const u8 *addr2, 132 const u8 *addr1, const u8 *addr2, 159 const u8 *addr1, const u8 *addr2); 162 const u8 *addr1, const u8 *addr2);
|
H A D | sae.c | 133 static void sae_pwd_seed_key(const u8 *addr1, const u8 *addr2, u8 *key) in sae_pwd_seed_key() argument 136 " addr2=" MACSTR_SEC, MAC2STR_SEC(addr1), MAC2STR_SEC(addr2)); in sae_pwd_seed_key() 137 if (os_memcmp(addr1, addr2, ETH_ALEN) > 0) { in sae_pwd_seed_key() 139 os_memcpy(key + ETH_ALEN, addr2, ETH_ALEN); in sae_pwd_seed_key() 141 os_memcpy(key, addr2, ETH_ALEN); in sae_pwd_seed_key() 284 const u8 *addr2, const u8 *password, in sae_derive_pwe_ecc() 337 sae_pwd_seed_key(addr1, addr2, addrs); in sae_derive_pwe_ecc() 450 const u8 *addr2, const u8 *password, in sae_derive_pwe_ffc() 482 sae_pwd_seed_key(addr1, addr2, addr in sae_derive_pwe_ffc() 283 sae_derive_pwe_ecc(struct sae_data *sae, const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len) sae_derive_pwe_ecc() argument 449 sae_derive_pwe_ffc(struct sae_data *sae, const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len) sae_derive_pwe_ffc() argument 1123 sae_max_min_addr(const u8 *addr[], size_t len[], const u8 *addr1, const u8 *addr2) sae_max_min_addr() argument 1139 sae_derive_pwe_from_pt_ecc(const struct sae_pt *pt, const u8 *addr1, const u8 *addr2) sae_derive_pwe_from_pt_ecc() argument 1204 sae_derive_pwe_from_pt_ffc(const struct sae_pt *pt, const u8 *addr1, const u8 *addr2) sae_derive_pwe_from_pt_ffc() argument 1347 sae_prepare_commit(const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len, struct sae_data *sae) sae_prepare_commit() argument 1364 sae_prepare_commit_pt(struct sae_data *sae, const struct sae_pt *pt, const u8 *addr1, const u8 *addr2, int *rejected_groups, const struct sae_pk *pk) sae_prepare_commit_pt() argument [all...] |
/third_party/node/deps/v8/include/v8-include/cppgc/internal/ |
H A D | caged-heap.h | 34 V8_INLINE static bool AreWithinCage(const void* addr1, const void* addr2) { in AreWithinCage() argument 44 (reinterpret_cast<uintptr_t>(addr2) ^ g_heap_base_)) >> in AreWithinCage()
|
/third_party/lwip/src/include/lwip/prot/ |
H A D | ethernet.h | 119 #define eth_addr_cmp(addr1, addr2) (memcmp((addr1)->addr, (addr2)->addr, ETH_HWADDR_LEN) == 0)
|
/third_party/skia/infra/bots/recipe_modules/flavor/resources/ |
H A D | symbolize_stack_trace.py | 55 stack_line = r'^(?P<path>.+)\(\+?(?P<addr>.*)\) ?\[(?P<addr2>.+)\]' 75 addr2 = m.group('addr2') 78 addr = addr2
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | sae.c | 126 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() 132 os_memcpy(key + ETH_ALEN, addr2, ETH_ALEN); in sae_pwd_seed_key() 134 os_memcpy(key, addr2, ETH_ALEN); in sae_pwd_seed_key() 277 const u8 *addr2, const u8 *password, in sae_derive_pwe_ecc() 334 sae_pwd_seed_key(addr1, addr2, addrs); in sae_derive_pwe_ecc() 454 const u8 *addr2, const u8 *password, in sae_derive_pwe_ffc() 487 sae_pwd_seed_key(addr1, addr2, addr in sae_derive_pwe_ffc() 276 sae_derive_pwe_ecc(struct sae_data *sae, const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len, const char *identifier) sae_derive_pwe_ecc() argument 453 sae_derive_pwe_ffc(struct sae_data *sae, const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len, const char *identifier) sae_derive_pwe_ffc() argument 616 sae_prepare_commit(const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len, const char *identifier, struct sae_data *sae) sae_prepare_commit() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
H A D | sfn_value_test.cpp | 203 auto addr2 = new LiteralConstant( 3); in TEST_F() local 204 ASSERT_TRUE(addr2); in TEST_F() 206 auto elm_direct = array.element(0, addr2, 0); in TEST_F()
|