/third_party/boost/libs/asio/test/ip/ |
D | address.cpp | 42 ip::address addr1; in test() local 50 bool b = addr1.is_v4(); in test() 53 b = addr1.is_v6(); in test() 56 b = addr1.is_loopback(); in test() 59 b = addr1.is_unspecified(); in test() 62 b = addr1.is_multicast(); in test() 65 ip::address_v4 addr_v4_value = addr1.to_v4(); in test() 68 ip::address_v6 addr_v6_value = addr1.to_v6(); in test() 71 std::string string_value = addr1.to_string(); in test() 73 string_value = addr1.to_string(ec); in test() [all …]
|
D | address_v4.cpp | 42 ip::address_v4 addr1; in test() local 50 bool b = addr1.is_loopback(); in test() 53 b = addr1.is_unspecified(); in test() 57 b = addr1.is_class_a(); in test() 60 b = addr1.is_class_b(); in test() 63 b = addr1.is_class_c(); in test() 67 b = addr1.is_multicast(); in test() 70 ip::address_v4::bytes_type bytes_value = addr1.to_bytes(); in test() 73 ip::address_v4::uint_type uint_value = addr1.to_uint(); in test() 77 unsigned long ulong_value = addr1.to_ulong(); in test() [all …]
|
D | address_v6.cpp | 42 ip::address_v6 addr1; in test() local 48 unsigned long scope_id = addr1.scope_id(); in test() 49 addr1.scope_id(scope_id); in test() 51 bool b = addr1.is_unspecified(); in test() 54 b = addr1.is_loopback(); in test() 57 b = addr1.is_multicast(); in test() 60 b = addr1.is_link_local(); in test() 63 b = addr1.is_site_local(); in test() 66 b = addr1.is_v4_mapped(); in test() 70 b = addr1.is_v4_compatible(); in test() [all …]
|
/third_party/node/test/cctest/ |
D | test_sockaddr.cc | 89 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/boost/libs/type_traits/test/ |
D | aligned_storage_empy_test.cpp | 58 std::ptrdiff_t addr1 = get_address1<0,T>(); in do_check() local 63 BOOST_CHECK( addr1 != addr2 ); in do_check() 65 addr1 = get_address1<1,T>(); in do_check() 67 BOOST_CHECK( addr1 == addr2 ); in do_check() 69 addr1 = get_address1<2,T>(); in do_check() 71 BOOST_CHECK( addr1 == addr2 ); in do_check() 73 addr1 = get_address1<3,T>(); in do_check() 75 BOOST_CHECK( addr1 == addr2 ); in do_check() 77 addr1 = get_address1<4,T>(); in do_check() 79 BOOST_CHECK( addr1 == addr2 ); in do_check() [all …]
|
/third_party/lwip/src/include/lwip/ |
D | ip4_addr.h | 141 #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
|
D | ip6_addr.h | 150 #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 …]
|
D | ip_addr.h | 198 #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/mlock/ |
D | mlock01.c | 61 void *addr1; variable 73 &addr1, 1, setup1}, { 74 &addr1, 1024, setup1}, { 75 &addr1, 1024 * 1024, setup1}, { 76 &addr1, 1024 * 1024 * 10, setup1} 138 addr1 = malloc(len); in setup1() 139 if (addr1 == NULL) in setup1()
|
/third_party/ltp/testcases/kernel/syscalls/msync/ |
D | msync03.c | 57 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/ltp/testcases/kernel/syscalls/munlock/ |
D | munlock01.c | 78 void *addr1; variable 86 &addr1, 1, setup1}, { 87 &addr1, 1024, setup1}, { 88 &addr1, 1024 * 1024, setup1}, { 89 &addr1, 1024 * 1024 * 10, setup1} 133 addr1 = malloc(TC[i].len); in setup1() 134 if (addr1 == NULL) in setup1()
|
/third_party/boost/boost/atomic/detail/ |
D | futex.hpp | 68 BOOST_FORCEINLINE int futex_invoke(void* addr1, int op, unsigned int val1, const void* timeout = NU… in futex_invoke() argument 71 return ::syscall(BOOST_ATOMIC_DETAIL_SYS_FUTEX, addr1, op, val1, timeout, addr2, val3); in futex_invoke() 74 return ::syscall(BOOST_ATOMIC_DETAIL_SYS_FUTEX, addr1, op, val1, timeout, addr2, 0u, val3); in futex_invoke() 79 BOOST_FORCEINLINE int futex_invoke(void* addr1, int op, unsigned int val1, unsigned int val2, void*… in futex_invoke() argument 82 …return ::syscall(BOOST_ATOMIC_DETAIL_SYS_FUTEX, addr1, op, val1, static_cast< atomics::detail::uin… in futex_invoke() 85 …return ::syscall(BOOST_ATOMIC_DETAIL_SYS_FUTEX, addr1, op, val1, static_cast< void* >(NULL), addr2… in futex_invoke()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind06.c | 28 static struct sockaddr_ll addr1, addr2; variable 50 addr1.sll_family = AF_PACKET; in setup() 51 addr1.sll_ifindex = ifr.ifr_ifindex; in setup() 65 SAFE_BIND(fd, (struct sockaddr *)&addr1, sizeof(addr1)); in do_bind()
|
/third_party/ffmpeg/libavcodec/mips/ |
D | hpeldsp_mmi.c | 162 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() 318 MMI_ULWC1(%[ftmp3], %[addr1], 0x00) in ff_put_pixels4_l2_8_mmi() 336 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]), in ff_put_pixels4_l2_8_mmi() 366 MMI_ULDC1(%[ftmp3], %[addr1], 0x00) in ff_put_pixels8_l2_8_mmi() 380 MMI_ULDC1(%[ftmp3], %[addr1], 0x00) in ff_put_pixels8_l2_8_mmi() [all …]
|
D | h264dsp_mmi.c | 1455 MMI_LDXC1(%[ftmp1], %[addr1], %[stride], 0x00) in ff_deblock_v8_luma_8_mmi() 1456 MMI_LDXC1(%[ftmp2], %[addr1], %[addr0], 0x00) in ff_deblock_v8_luma_8_mmi() 1484 MMI_LDC1(%[ftmp4], %[addr1], 0x00) in ff_deblock_v8_luma_8_mmi() 1496 MMI_LDC1(%[ftmp11], %[addr1], 0x00) in ff_deblock_v8_luma_8_mmi() 1505 MMI_SDXC1(%[ftmp4], %[addr1], %[stride], 0x00) in ff_deblock_v8_luma_8_mmi() 1545 MMI_SDXC1(%[ftmp2], %[addr1], %[addr0], 0x00) in ff_deblock_v8_luma_8_mmi() 1556 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_deblock_v8_luma_8_mmi() 1591 MMI_LDXC1(%[ftmp2], %[addr0], %[addr1], 0x00) in deblock_v8_luma_intra_8_mmi() 1685 MMI_SDXC1(%[ftmp6], %[addr0], %[addr1], 0x00) in deblock_v8_luma_intra_8_mmi() 1749 MMI_LDXC1(%[ftmp6], %[pix], %[addr1], 0x00) in deblock_v8_luma_intra_8_mmi() [all …]
|
/third_party/node/src/ |
D | node_win32_etw_provider-inl.h | 78 #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()
|
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); 84 const void* addr1,
|
/third_party/ltp/utils/sctp/testlib/ |
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() 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/popt/tests/ |
D | test2.c | 35 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_standard/src/common/ |
D | sae.h | 123 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);
|
/third_party/openh264/codec/processing/src/mips/ |
D | vaa_mmi.c | 272 %[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/src/crypto/ |
D | ms_funcs.c | 248 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/ |
D | ms_funcs.c | 248 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/glib/gio/tests/ |
D | inet-address.c | 121 GInetAddress *addr1, *addr2, *addr3; in test_bytes() local 124 addr1 = g_inet_address_new_from_string ("192.168.0.100"); in test_bytes() 126 bytes = g_inet_address_to_bytes (addr1); in test_bytes() 129 g_assert (!g_inet_address_equal (addr1, addr2)); in test_bytes() 130 g_assert (g_inet_address_equal (addr1, addr3)); in test_bytes() 132 g_object_unref (addr1); in test_bytes()
|
/third_party/libuv/test/ |
D | test-tcp-bind6-error.c | 130 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()
|