Searched refs:addrstr (Results 1 – 3 of 3) sorted by relevance
/qemu/tests/unit/ |
H A D | crypto-tls-x509-helpers.c | 165 test_tls_get_ipaddr(const char *addrstr, in test_tls_get_ipaddr() argument 174 g_assert(getaddrinfo(addrstr, NULL, &hints, &res) == 0); in test_tls_get_ipaddr()
|
/qemu/ui/ |
H A D | vnc-auth-sasl.c | 544 char **addrstr, in vnc_socket_ip_addr_string() argument 559 *addrstr = NULL; in vnc_socket_ip_addr_string() 563 *addrstr = g_strdup_printf("%s;%s", addr->u.inet.host, addr->u.inet.port); in vnc_socket_ip_addr_string()
|
H A D | vnc.c | 3714 static int vnc_display_get_address(const char *addrstr, in vnc_display_get_address() argument 3731 if (strncmp(addrstr, "unix:", 5) == 0) { in vnc_display_get_address() 3733 addr->u.q_unix.path = g_strdup(addrstr + 5); in vnc_display_get_address() 3746 port = strrchr(addrstr, ':'); in vnc_display_get_address() 3750 port = addrstr; in vnc_display_get_address() 3756 hostlen = port - addrstr; in vnc_display_get_address() 3766 if (hostlen && addrstr[0] == '[' && addrstr[hostlen - 1] == ']') { in vnc_display_get_address() 3767 inet->host = g_strndup(addrstr + 1, hostlen - 2); in vnc_display_get_address() 3769 inet->host = g_strndup(addrstr, hostlen); in vnc_display_get_address() 3774 if (g_str_equal(addrstr, "") || in vnc_display_get_address() [all …]
|