Searched refs:grpc_grpclb_server (Results 1 – 3 of 3) sorted by relevance
31 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 …]
35 typedef grpc_lb_v1_Server grpc_grpclb_server; typedef40 grpc_grpclb_server** servers;72 bool grpc_grpclb_server_equals(const grpc_grpclb_server* lhs,73 const grpc_grpclb_server* rhs);
395 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()