Lines Matching refs:length
78 status_string.length)) in check_gss_err()
96 status_string.length)) in check_gss_err()
147 service.length = serviceptr_length; in Curl_SOCKS5_gssapi_negotiate()
148 service.value = Curl_memdup(serviceptr, service.length); in Curl_SOCKS5_gssapi_negotiate()
160 service.length = serviceptr_length + in Curl_SOCKS5_gssapi_negotiate()
162 msnprintf(service.value, service.length + 1, "%s@%s", in Curl_SOCKS5_gssapi_negotiate()
206 if(gss_send_token.length) { in Curl_SOCKS5_gssapi_negotiate()
209 us_length = htons((unsigned short)gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate()
225 gss_send_token.length, FALSE, &code); in Curl_SOCKS5_gssapi_negotiate()
226 if(code || ((ssize_t)gss_send_token.length != nwritten)) { in Curl_SOCKS5_gssapi_negotiate()
280 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate()
292 gss_recv_token.length, &actualread); in Curl_SOCKS5_gssapi_negotiate()
328 user = malloc(gss_send_token.length + 1); in Curl_SOCKS5_gssapi_negotiate()
336 memcpy(user, gss_send_token.value, gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate()
337 user[gss_send_token.length] = '\0'; in Curl_SOCKS5_gssapi_negotiate()
396 gss_send_token.length = 1; in Curl_SOCKS5_gssapi_negotiate()
416 us_length = htons((unsigned short)gss_w_token.length); in Curl_SOCKS5_gssapi_negotiate()
442 gss_w_token.length, FALSE, &code); in Curl_SOCKS5_gssapi_negotiate()
443 if(code || ((ssize_t)gss_w_token.length != nwritten)) { in Curl_SOCKS5_gssapi_negotiate()
477 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate()
478 gss_recv_token.value = malloc(gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()
484 gss_recv_token.length, &actualread); in Curl_SOCKS5_gssapi_negotiate()
507 if(gss_w_token.length != 1) { in Curl_SOCKS5_gssapi_negotiate()
509 gss_w_token.length); in Curl_SOCKS5_gssapi_negotiate()
515 memcpy(socksreq, gss_w_token.value, gss_w_token.length); in Curl_SOCKS5_gssapi_negotiate()
519 if(gss_recv_token.length != 1) { in Curl_SOCKS5_gssapi_negotiate()
521 gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()
527 memcpy(socksreq, gss_recv_token.value, gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()