Searched refs:hostname_len (Results 1 – 11 of 11) sorted by relevance
/third_party/node/deps/uv/src/unix/ |
D | getaddrinfo.c | 145 size_t hostname_len; in uv_getaddrinfo() local 172 hostname_len = hostname ? strlen(hostname) + 1 : 0; in uv_getaddrinfo() 175 buf = uv__malloc(hostname_len + service_len + hints_len); in uv_getaddrinfo() 203 req->hostname = memcpy(buf + len, hostname, hostname_len); in uv_getaddrinfo()
|
/third_party/libuv/src/unix/ |
D | getaddrinfo.c | 145 size_t hostname_len; in uv_getaddrinfo() local 172 hostname_len = hostname ? strlen(hostname) + 1 : 0; in uv_getaddrinfo() 175 buf = uv__malloc(hostname_len + service_len + hints_len); in uv_getaddrinfo() 203 req->hostname = memcpy(buf + len, hostname, hostname_len); in uv_getaddrinfo()
|
/third_party/mbedtls/library/ |
D | ssl_client.c | 46 size_t hostname_len; in ssl_write_hostname_ext() local 58 hostname_len = strlen(ssl->hostname); in ssl_write_hostname_ext() 60 MBEDTLS_SSL_CHK_BUF_PTR(p, end, hostname_len + 9); in ssl_write_hostname_ext() 91 MBEDTLS_PUT_UINT16_BE(hostname_len + 5, p, 0); in ssl_write_hostname_ext() 94 MBEDTLS_PUT_UINT16_BE(hostname_len + 3, p, 0); in ssl_write_hostname_ext() 99 MBEDTLS_PUT_UINT16_BE(hostname_len, p, 0); in ssl_write_hostname_ext() 102 memcpy(p, ssl->hostname, hostname_len); in ssl_write_hostname_ext() 104 *olen = hostname_len + 9; in ssl_write_hostname_ext()
|
D | ssl_tls.c | 2493 size_t hostname_len = (session->hostname == NULL) ? in ssl_tls13_session_save() local 2516 + hostname_len; /* hostname */ in ssl_tls13_session_save() 2557 MBEDTLS_PUT_UINT16_BE(hostname_len, p, 0); in ssl_tls13_session_save() 2559 if (hostname_len > 0) { in ssl_tls13_session_save() 2561 memcpy(p, session->hostname, hostname_len); in ssl_tls13_session_save() 2562 p += hostname_len; in ssl_tls13_session_save() 2629 size_t hostname_len; in ssl_tls13_session_load() local 2634 hostname_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load() 2637 if (end - p < (long int) hostname_len) { in ssl_tls13_session_load() 2640 if (hostname_len > 0) { in ssl_tls13_session_load() [all …]
|
/third_party/curl/lib/ |
D | socks.c | 575 const size_t hostname_len = strlen(sx->hostname); in do_SOCKS5() local 589 if(!socks5_resolve_local && hostname_len > 255) { in do_SOCKS5() 906 socksreq[len++] = (unsigned char) hostname_len; /* one byte length */ in do_SOCKS5() 907 memcpy(&socksreq[len], sx->hostname, hostname_len); /* w/o NULL */ in do_SOCKS5() 908 len += hostname_len; in do_SOCKS5()
|
D | cookie.c | 127 size_t hostname_len = strlen(hostname); in cookie_tailmatch() local 129 if(hostname_len < cookie_domain_len) in cookie_tailmatch() 133 hostname + hostname_len-cookie_domain_len, in cookie_tailmatch() 145 if(hostname_len == cookie_domain_len) in cookie_tailmatch() 147 if('.' == *(hostname + hostname_len - cookie_domain_len - 1)) in cookie_tailmatch()
|
D | hostip.c | 683 size_t hostname_len = strlen(hostname); in Curl_resolv() local 684 if(hostname_len >= 7 && in Curl_resolv() 685 (curl_strequal(&hostname[hostname_len - 6], ".onion") || in Curl_resolv() 686 curl_strequal(&hostname[hostname_len - 7], ".onion."))) { in Curl_resolv()
|
/third_party/NuttX/fs/nfs/ |
D | rpc.h | 278 uint32_t hostname_len; member
|
D | rpc_clnt.c | 528 ch->rpc_auth_unix.hostname_len = htonl(CONFIG_NFS_MACHINE_NAME_SIZE); in rpcclnt_fmtheader()
|
/third_party/curl/lib/vtls/ |
D | wolfssl.c | 616 size_t hostname_len = strlen(connssl->hostname); in wolfssl_connect_step1() local 618 if((hostname_len < USHRT_MAX) && in wolfssl_connect_step1()
|
/third_party/rust/crates/libc/src/ |
D | psp.rs | 4168 hostname_len: u32, in sceNetResolverStartAtoN()
|