Lines Matching refs:std
43 constexpr std::chrono::seconds InactivityCheckInterval(5);
45 std::pair<std::unique_ptr<grpc::Server>, uint32_t> RunGrpcServer( in RunGrpcServer()
49 builder.AddListeningPort("0.0.0.0:" + std::to_string(netsim_grpc_port), in RunGrpcServer()
58 std::string vsock_uri = in RunGrpcServer()
59 "vsock:" + std::to_string(VMADDR_CID_ANY) + ":" + std::to_string(vsock); in RunGrpcServer()
68 std::unique_ptr<grpc::Server> server(builder.BuildAndStart()); in RunGrpcServer()
70 return std::make_pair(nullptr, static_cast<uint32_t>(selected_port)); in RunGrpcServer()
74 std::to_string(selected_port).c_str()); in RunGrpcServer()
76 return std::make_pair(std::move(server), in RunGrpcServer()
81 std::unique_ptr<GrpcServer> RunGrpcServerCxx(uint32_t netsim_grpc_port, in RunGrpcServerCxx()
85 return std::make_unique<GrpcServer>(std::move(grpc_server), port); in RunGrpcServerCxx()