Home
last modified time | relevance | path

Searched refs:grpc_grpclb_server (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dload_balancer_api.cc31 grpc_grpclb_server server; in count_serverlist()
53 grpc_grpclb_server* server = in decode_serverlist()
54 static_cast<grpc_grpclb_server*>(gpr_zalloc(sizeof(grpc_grpclb_server))); in decode_serverlist()
208 sl->servers = static_cast<grpc_grpclb_server**>( in grpc_grpclb_response_parse_serverlist()
209 gpr_zalloc(sizeof(grpc_grpclb_server*) * sl->num_servers)); in grpc_grpclb_response_parse_serverlist()
242 copy->servers = static_cast<grpc_grpclb_server**>( in grpc_grpclb_serverlist_copy()
243 gpr_malloc(sizeof(grpc_grpclb_server*) * sl->num_servers)); in grpc_grpclb_serverlist_copy()
245 copy->servers[i] = static_cast<grpc_grpclb_server*>( in grpc_grpclb_serverlist_copy()
246 gpr_malloc(sizeof(grpc_grpclb_server))); in grpc_grpclb_serverlist_copy()
247 memcpy(copy->servers[i], sl->servers[i], sizeof(grpc_grpclb_server)); in grpc_grpclb_serverlist_copy()
[all …]
Dload_balancer_api.h35 typedef grpc_lb_v1_Server grpc_grpclb_server; typedef
40 grpc_grpclb_server** servers;
72 bool grpc_grpclb_server_equals(const grpc_grpclb_server* lhs,
73 const grpc_grpclb_server* rhs);
Dgrpclb.cc395 bool IsServerValid(const grpc_grpclb_server* server, size_t idx, bool log) { in IsServerValid()
418 void ParseServer(const grpc_grpclb_server* server, in ParseServer()
458 const grpc_grpclb_server* server = serverlist->servers[sl_idx]; in ProcessServerlist()
1586 grpc_grpclb_server* server = serverlist_->servers[serverlist_index_++]; in PickFromRoundRobinPolicyLocked()