Home
last modified time | relevance | path

Searched refs:num_addresses (Results 1 – 24 of 24) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy_factory.cc32 size_t num_addresses, const grpc_lb_user_data_vtable* user_data_vtable) { in grpc_lb_addresses_create() argument
35 addresses->num_addresses = num_addresses; in grpc_lb_addresses_create()
37 const size_t addresses_size = sizeof(grpc_lb_address) * num_addresses; in grpc_lb_addresses_create()
45 addresses->num_addresses, addresses->user_data_vtable); in grpc_lb_addresses_copy()
47 sizeof(grpc_lb_address) * addresses->num_addresses); in grpc_lb_addresses_copy()
48 for (size_t i = 0; i < addresses->num_addresses; ++i) { in grpc_lb_addresses_copy()
65 GPR_ASSERT(index < addresses->num_addresses); in grpc_lb_addresses_set_address()
89 if (addresses1->num_addresses > addresses2->num_addresses) return 1; in grpc_lb_addresses_cmp()
90 if (addresses1->num_addresses < addresses2->num_addresses) return -1; in grpc_lb_addresses_cmp()
93 for (size_t i = 0; i < addresses1->num_addresses; ++i) { in grpc_lb_addresses_cmp()
[all …]
Dlb_policy_factory.h58 size_t num_addresses; member
67 size_t num_addresses, const grpc_lb_user_data_vtable* user_data_vtable);
/external/llvm-project/lldb/source/Target/
DThreadPlanRunToAddress.cpp60 size_t num_addresses = m_addresses.size(); in SetInitialBreakpoints() local
61 m_break_ids.resize(num_addresses); in SetInitialBreakpoints()
63 for (size_t i = 0; i < num_addresses; i++) { in SetInitialBreakpoints()
87 size_t num_addresses = m_addresses.size(); in GetDescription() local
90 if (num_addresses == 0) { in GetDescription()
93 } else if (num_addresses == 1) in GetDescription()
98 for (size_t i = 0; i < num_addresses; i++) { in GetDescription()
103 if (num_addresses == 0) { in GetDescription()
106 } else if (num_addresses == 1) in GetDescription()
112 for (size_t i = 0; i < num_addresses; i++) { in GetDescription()
[all …]
DThreadPlanStepUntil.cpp27 size_t num_addresses, bool stop_others, in ThreadPlanStepUntil() argument
65 for (size_t i = 0; i < num_addresses; i++) { in ThreadPlanStepUntil()
DThread.cpp1377 bool abort_other_plans, lldb::addr_t *address_list, size_t num_addresses, in QueueThreadPlanForStepUntil() argument
1380 *this, address_list, num_addresses, stop_other_threads, frame_idx)); in QueueThreadPlanForStepUntil()
/external/grpc-grpc/test/core/client_channel/resolvers/
Dfake_resolver_test.cc80 const size_t num_addresses = 2; in create_new_resolver_result() local
85 grpc_lb_addresses_create(num_addresses, nullptr); in create_new_resolver_result()
86 for (size_t i = 0; i < num_addresses; ++i) { in create_new_resolver_result()
88 test_counter * num_addresses + i); in create_new_resolver_result()
91 test_counter * num_addresses + i); in create_new_resolver_result()
93 addresses, i, uri, bool(num_addresses % 2), balancer_name, nullptr); in create_new_resolver_result()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc92 for (size_t i = 0; i < lb_addrs->num_addresses; i++) { in log_address_sorting_list()
112 sizeof(address_sorting_sortable) * lb_addrs->num_addresses); in grpc_cares_wrapper_address_sorting_sort()
113 for (size_t i = 0; i < lb_addrs->num_addresses; i++) { in grpc_cares_wrapper_address_sorting_sort()
119 address_sorting_rfc_6724_sort(sortables, lb_addrs->num_addresses); in grpc_cares_wrapper_address_sorting_sort()
121 sizeof(grpc_lb_address) * lb_addrs->num_addresses); in grpc_cares_wrapper_address_sorting_sort()
122 for (size_t i = 0; i < lb_addrs->num_addresses; i++) { in grpc_cares_wrapper_address_sorting_sort()
188 size_t prev_naddr = (*lb_addresses)->num_addresses; in on_hostbyname_done_locked()
192 (*lb_addresses)->num_addresses += i; in on_hostbyname_done_locked()
195 sizeof(grpc_lb_address) * (*lb_addresses)->num_addresses)); in on_hostbyname_done_locked()
196 for (i = prev_naddr; i < (*lb_addresses)->num_addresses; i++) { in on_hostbyname_done_locked()
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb_channel_secure.cc48 sizeof(*target_authority_entries) * addresses->num_addresses)); in CreateTargetAuthorityTable()
49 for (size_t i = 0; i < addresses->num_addresses; ++i) { in CreateTargetAuthorityTable()
59 TargetAuthorityTable::Create(addresses->num_addresses, in CreateTargetAuthorityTable()
Dgrpclb.cc374 for (size_t i = 0; i < addresses->num_addresses; ++i) { in ExtractBackendAddresses()
383 for (size_t i = 0; i < addresses->num_addresses; ++i) { in ExtractBackendAddresses()
922 for (size_t i = 0; i < addresses->num_addresses; ++i) { in ExtractBalancerAddresses()
931 for (size_t i = 0; i < addresses->num_addresses; ++i) { in ExtractBalancerAddresses()
1851 for (size_t i = 0; i < addresses->num_addresses; ++i) { in CreateLoadBalancingPolicy()
/external/llvm-project/lldb/include/lldb/Target/
DThreadPlanStepUntil.h34 size_t num_addresses, bool stop_others,
56 bool abort_other_plans, lldb::addr_t *address_list, size_t num_addresses,
DThread.h923 bool abort_other_plans, lldb::addr_t *address_list, size_t num_addresses,
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h497 tracer_->name(), policy, this, addresses->num_addresses); in SubchannelList()
499 subchannels_.reserve(addresses->num_addresses); in SubchannelList()
506 for (size_t i = 0; i < addresses->num_addresses; i++) { in SubchannelList()
/external/grpc-grpc/test/cpp/naming/
Dresolver_component_test.cc392 addresses->num_addresses, args->expected_addrs.size()); in CheckResolverResultLocked()
393 GPR_ASSERT(addresses->num_addresses == args->expected_addrs.size()); in CheckResolverResultLocked()
395 for (size_t i = 0; i < addresses->num_addresses; i++) { in CheckResolverResultLocked()
Daddress_sorting_test.cc174 lb_addrs->num_addresses = test_addrs.size(); in BuildLbAddrInputs()
184 EXPECT_EQ(lb_addrs->num_addresses, expected_addrs.size()); in VerifyLbAddrOutputs()
185 for (size_t i = 0; i < lb_addrs->num_addresses; i++) { in VerifyLbAddrOutputs()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc133 for (size_t i = 0; i < addresses->num_addresses; i++) { in CreateSockaddrResolver()
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py1578 self.assertEqual(self.ipv4_network.num_addresses, 256)
1579 self.assertEqual(list(self.ipv4_network.subnets())[0].num_addresses,
1581 self.assertEqual(self.ipv4_network.supernet().num_addresses, 512)
1583 self.assertEqual(self.ipv6_network.num_addresses, 18446744073709551616)
1584 self.assertEqual(list(self.ipv6_network.subnets())[0].num_addresses,
1586 self.assertEqual(self.ipv6_network.supernet().num_addresses,
1588 self.assertEqual(self.ipv6_scoped_network.num_addresses, 18446744073709551616)
1589 self.assertEqual(list(self.ipv6_scoped_network.subnets())[0].num_addresses,
1591 self.assertEqual(self.ipv6_scoped_network.supernet().num_addresses,
/external/python/cpython3/Doc/howto/
Dipaddress.rst184 >>> net4.num_addresses
187 >>> net6.num_addresses
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dencode_asn1.py423 utils.int_to_bytes(((1 << 32) - name.value.num_addresses), 4)
428 utils.int_to_bytes((1 << 128) - name.value.num_addresses, 16)
/external/python/ipaddress/
Dtest_ipaddress.py1304 self.assertEqual(self.ipv4_network.num_addresses, 256)
1305 self.assertEqual(list(self.ipv4_network.subnets())[0].num_addresses,
1307 self.assertEqual(self.ipv4_network.supernet().num_addresses, 512)
1309 self.assertEqual(self.ipv6_network.num_addresses, 18446744073709551616)
1310 self.assertEqual(list(self.ipv6_network.subnets())[0].num_addresses,
1312 self.assertEqual(self.ipv6_network.supernet().num_addresses,
Dipaddress.py847 def num_addresses(self): member in _BaseNetwork
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
Dpick_first.cc359 addresses->num_addresses); in UpdateLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc685 this, addresses->num_addresses); in UpdateLocked()
/external/python/cpython3/Doc/library/
Dipaddress.rst530 .. attribute:: num_addresses
708 .. attribute:: num_addresses
/external/python/cpython3/Lib/
Dipaddress.py782 def num_addresses(self): member in _BaseNetwork