Home
last modified time | relevance | path

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

/external/grpc-grpc/test/cpp/client/
Dclient_channel_stress_test.cc217 void SetNextResolution(const std::vector<AddressData>& address_data) { in SetNextResolution() argument
220 grpc_lb_addresses_create(address_data.size(), nullptr); in SetNextResolution()
221 for (size_t i = 0; i < address_data.size(); ++i) { in SetNextResolution()
223 gpr_asprintf(&lb_uri_str, "ipv4:127.0.0.1:%d", address_data[i].port); in SetNextResolution()
227 addresses, i, lb_uri, address_data[i].is_balancer, in SetNextResolution()
228 address_data[i].balancer_name.c_str(), nullptr); in SetNextResolution()
/external/grpc-grpc/test/cpp/end2end/
Dgrpclb_end2end_test.cc490 const std::vector<AddressData>& address_data) { in CreateLbAddressesFromAddressDataList() argument
492 grpc_lb_addresses_create(address_data.size(), nullptr); in CreateLbAddressesFromAddressDataList()
493 for (size_t i = 0; i < address_data.size(); ++i) { in CreateLbAddressesFromAddressDataList()
495 gpr_asprintf(&lb_uri_str, "ipv4:127.0.0.1:%d", address_data[i].port); in CreateLbAddressesFromAddressDataList()
499 addresses, i, lb_uri, address_data[i].is_balancer, in CreateLbAddressesFromAddressDataList()
500 address_data[i].balancer_name.c_str(), nullptr); in CreateLbAddressesFromAddressDataList()
507 void SetNextResolution(const std::vector<AddressData>& address_data) { in SetNextResolution() argument
510 CreateLbAddressesFromAddressDataList(address_data); in SetNextResolution()
518 const std::vector<AddressData>& address_data) { in SetNextReresolutionResponse() argument
521 CreateLbAddressesFromAddressDataList(address_data); in SetNextReresolutionResponse()