Home
last modified time | relevance | path

Searched refs:grpc_lb_address (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy_factory.cc37 const size_t addresses_size = sizeof(grpc_lb_address) * num_addresses; in grpc_lb_addresses_create()
39 static_cast<grpc_lb_address*>(gpr_zalloc(addresses_size)); in grpc_lb_addresses_create()
47 sizeof(grpc_lb_address) * addresses->num_addresses); in grpc_lb_addresses_copy()
67 grpc_lb_address* target = &addresses->addresses[index]; in grpc_lb_addresses_set_address()
94 const grpc_lb_address* target1 = &addresses1->addresses[i]; in grpc_lb_addresses_cmp()
95 const grpc_lb_address* target2 = &addresses2->addresses[i]; in grpc_lb_addresses_cmp()
Dlb_policy_factory.h44 typedef struct grpc_lb_address { struct
49 } grpc_lb_address; argument
59 grpc_lb_address* addresses;
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc120 grpc_lb_address* sorted_lb_addrs = (grpc_lb_address*)gpr_zalloc( in grpc_cares_wrapper_address_sorting_sort()
121 sizeof(grpc_lb_address) * lb_addrs->num_addresses); in grpc_cares_wrapper_address_sorting_sort()
123 sorted_lb_addrs[i] = *(grpc_lb_address*)sortables[i].user_data; in grpc_cares_wrapper_address_sorting_sort()
193 (*lb_addresses)->addresses = static_cast<grpc_lb_address*>( in on_hostbyname_done_locked()
195 sizeof(grpc_lb_address) * (*lb_addresses)->num_addresses)); in on_hostbyname_done_locked()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h145 const grpc_lb_address& address, grpc_subchannel* subchannel,
280 const grpc_lb_address& address, grpc_subchannel* subchannel, in SubchannelData()
/external/grpc-grpc/test/cpp/naming/
Daddress_sorting_test.cc173 (grpc_lb_address*)gpr_zalloc(sizeof(grpc_lb_address) * test_addrs.size()); in BuildLbAddrInputs()
Dresolver_component_test.cc396 grpc_lb_address addr = addresses->addresses[i]; in CheckResolverResultLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
Dpick_first.cc78 const grpc_lb_address& address, grpc_subchannel* subchannel, in PickFirstSubchannelData()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc96 const grpc_lb_address& address, grpc_subchannel* subchannel, in RoundRobinSubchannelData()