Lines Matching refs:string_view
459 asocket* create_local_service_socket(std::string_view name, atransport* transport) { in create_local_service_socket()
560 void connect_to_remote(asocket* s, std::string_view destination) { in connect_to_remote()
662 bool parse_host_service(std::string_view* out_serial, std::string_view* out_command, in parse_host_service()
663 std::string_view full_service) { in parse_host_service()
668 std::string_view serial; in parse_host_service()
669 std::string_view command = full_service; in parse_host_service()
695 static constexpr std::string_view prefixes[] = { in parse_host_service()
697 for (std::string_view prefix : prefixes) { in parse_host_service()
767 std::string_view port = command.substr(0, next_colon); in parse_host_service()
785 std::string_view service; in smart_socket_enqueue()
786 std::string_view serial; in smart_socket_enqueue()
821 service = std::string_view(s->smart_socket_data).substr(4); in smart_socket_enqueue()
848 service = std::string_view{}; in smart_socket_enqueue()
933 connect_to_remote(s->peer, std::string_view(s->smart_socket_data).substr(4)); in smart_socket_enqueue()