Home
last modified time | relevance | path

Searched refs:user_data_vtable (Results 1 – 5 of 5) 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
36 addresses->user_data_vtable = user_data_vtable; in grpc_lb_addresses_create()
45 addresses->num_addresses, addresses->user_data_vtable); in grpc_lb_addresses_copy()
54 new_addresses->addresses[i].user_data = addresses->user_data_vtable->copy( in grpc_lb_addresses_copy()
66 if (user_data != nullptr) GPR_ASSERT(addresses->user_data_vtable != nullptr); in grpc_lb_addresses_set_address()
91 if (addresses1->user_data_vtable > addresses2->user_data_vtable) return 1; in grpc_lb_addresses_cmp()
92 if (addresses1->user_data_vtable < addresses2->user_data_vtable) return -1; in grpc_lb_addresses_cmp()
109 if (addresses1->user_data_vtable != nullptr) { in grpc_lb_addresses_cmp()
110 retval = addresses1->user_data_vtable->cmp(target1->user_data, in grpc_lb_addresses_cmp()
122 addresses->user_data_vtable->destroy(addresses->addresses[i].user_data); in grpc_lb_addresses_destroy()
Dlb_policy_factory.h60 const grpc_lb_user_data_vtable* user_data_vtable; member
67 size_t num_addresses, const grpc_lb_user_data_vtable* user_data_vtable);
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h144 const grpc_lb_user_data_vtable* user_data_vtable,
279 const grpc_lb_user_data_vtable* user_data_vtable, in SubchannelData() argument
542 subchannels_.emplace_back(this, addresses->user_data_vtable, in SubchannelList()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc95 const grpc_lb_user_data_vtable* user_data_vtable, in RoundRobinSubchannelData() argument
98 : SubchannelData(subchannel_list, user_data_vtable, address, subchannel, in RoundRobinSubchannelData()
100 user_data_vtable_(user_data_vtable), in RoundRobinSubchannelData()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
Dpick_first.cc77 const grpc_lb_user_data_vtable* user_data_vtable, in PickFirstSubchannelData() argument
80 : SubchannelData(subchannel_list, user_data_vtable, address, subchannel, in PickFirstSubchannelData()