Home
last modified time | relevance | path

Searched refs:addresses1 (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy_factory.cc87 int grpc_lb_addresses_cmp(const grpc_lb_addresses* addresses1, in grpc_lb_addresses_cmp() argument
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()
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()
93 for (size_t i = 0; i < addresses1->num_addresses; ++i) { in grpc_lb_addresses_cmp()
94 const grpc_lb_address* target1 = &addresses1->addresses[i]; 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()
135 static int lb_addresses_cmp(void* addresses1, void* addresses2) { in lb_addresses_cmp() argument
[all …]
Dlb_policy_factory.h90 int grpc_lb_addresses_cmp(const grpc_lb_addresses* addresses1,