Searched refs:addrstr (Results 1 – 2 of 2) 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() 174 g_assert(getaddrinfo(addrstr, NULL, &hints, &res) == 0); in test_tls_get_ipaddr() 164 test_tls_get_ipaddr(const char * addrstr,char ** data,int * datalen) test_tls_get_ipaddr() argument
|
/qemu/ui/ |
H A D | vnc.c | 3716 static int vnc_display_get_address(const char *addrstr, in vnc_display_get_address() argument 3733 if (strncmp(addrstr, "unix:", 5) == 0) { in vnc_display_get_address() 3735 addr->u.q_unix.path = g_strdup(addrstr + 5); in vnc_display_get_address() 3748 port = strrchr(addrstr, ':'); in vnc_display_get_address() 3752 port = addrstr; in vnc_display_get_address() 3758 hostlen = port - addrstr; in vnc_display_get_address() 3768 if (hostlen && addrstr[0] == '[' && addrstr[hostlen - 1] == ']') { in vnc_display_get_address() 3769 inet->host = g_strndup(addrstr + 1, hostlen - 2); in vnc_display_get_address() 3771 inet->host = g_strndup(addrstr, hostle in vnc_display_get_address() [all...] |